Changeset 1242723
- Timestamp:
- 09/10/2015 07:05:00 PM (11 years ago)
- Location:
- now-featuring/trunk
- Files:
-
- 1 deleted
- 4 edited
-
assets/css/fonts (deleted)
-
assets/css/now_featuring.css (modified) (5 diffs)
-
includes/shortcodes.php (modified) (1 diff)
-
now_featuring.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
now-featuring/trunk/assets/css/now_featuring.css
r1238406 r1242723 1 .nf_single{ 2 3 } 4 .nf_list{ 5 6 } 7 .nf_list_item{ 1 .nf_single {} .nf_list {} .nf_list_item { 8 2 margin: 15px 0; 9 3 } 10 11 .nf_list_header{ 4 .nf_list_header { 12 5 margin: 2px 0; 13 6 } 14 15 7 .nf_list_item img { 16 8 float: left; 17 9 margin: 0 5px 0 0; 18 10 } 19 .nf_title {11 .nf_title { 20 12 font-size: 16px; 21 13 font-weight: 700; … … 23 15 margin-bottom: 5px; 24 16 } 25 .clear {17 .clear { 26 18 clear: both; 27 19 } … … 30 22 * 31 23 * jQuery FlexSlider v2.5.0 from WooThemes 32 * http://www.woothemes.com/ nf_flexslider/24 * http://www.woothemes.com/flexslider/ 33 25 * 34 26 * Free to use under the GPLv2 and later license. … … 36 28 */ 37 29 /* ==================================================================================================================== 38 * FONT-FACE39 * ====================================================================================================================*/40 @font-face {41 font-family: 'Glyphicons Halflings';42 src: url('./fonts/glyphicons-halflings-regular.eot');43 src: url('./fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('./fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('./fonts/glyphicons-halflings-regular.woff') format('woff'), url('./fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('./fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');44 }45 .glyphicons {46 position: relative;47 top: 1px;48 display: inline-block;49 font-family: 'Glyphicons Halflings';50 font-style: normal;51 font-weight: normal;52 line-height: 1;53 vertical-align: top;54 speak: none;55 -webkit-font-smoothing: antialiased;56 -moz-osx-font-smoothing: grayscale;57 58 font-size: 69px;59 }60 61 .glyphicons-chevron-right:before {62 content: "\e079";63 }64 .glyphicons-chevron-left:before {65 content: "\e080";66 }67 68 69 /* ====================================================================================================================70 30 * RESETS 71 31 * ====================================================================================================================*/ 32 72 33 .nf_flex_container a:hover, 73 34 .nf_flex_slider a:hover, 74 35 .nf_flex_container a:focus, 75 36 .nf_flex_slider a:focus { 76 outline: none;37 outline: none; 77 38 } 78 39 .slides, … … 80 41 .nf_flex_control_nav, 81 42 .nf_flex_direction_nav { 82 margin: 0;83 padding: 0;84 list-style: none;43 margin: 0; 44 padding: 0; 45 list-style: none; 85 46 } 86 47 .nf_flex_pauseplay span { 87 text-transform: capitalize;48 text-transform: capitalize; 88 49 } 89 50 /* ==================================================================================================================== 90 51 * BASE STYLES 91 52 * ====================================================================================================================*/ 53 92 54 .nf_flexslider { 93 margin: 0;94 padding: 0;55 margin: 0; 56 padding: 0; 95 57 } 96 58 .nf_flexslider .slides > li { 97 display: none;98 -webkit-backface-visibility: hidden;59 display: none; 60 -webkit-backface-visibility: hidden; 99 61 } 100 62 .nf_flexslider .slides img { 101 width: 100%; 102 display: block; 103 margin-bottom: 5px; 104 } 105 .nf_flexslider .slides:after { 106 content: "\0020"; 107 display: block; 108 clear: both; 109 visibility: hidden; 110 line-height: 0; 111 height: 0; 112 } 63 width: 100%; 64 display: block; 65 margin-bottom: 5px; 66 } 67 113 68 html[xmlns] .nf_flexslider .slides { 114 display: block;69 display: block; 115 70 } 116 71 * html .nf_flexslider .slides { 117 height: 1%;72 height: 1%; 118 73 } 119 74 .no-js .nf_flexslider .slides > li:first-child { 120 display: block;75 display: block; 121 76 } 122 77 /* ==================================================================================================================== 123 78 * DEFAULT THEME 124 79 * ====================================================================================================================*/ 80 125 81 .nf_flexslider { 126 background: #ffffff; 127 border: 4px solid #ffffff; 128 position: relative; 82 background: #ffffff; 83 border: 4px solid #ffffff; 84 position: relative; 85 } 86 .nf_flexslider .slides {} .nf_flexslider .slides img { 87 height: auto; 88 } 89 .nf_flex_viewport { 90 max-height: 2000px; 91 -webkit-transition: all 1s ease; 92 -moz-transition: all 1s ease; 93 -ms-transition: all 1s ease; 94 -o-transition: all 1s ease; 95 transition: all 1s ease; 96 } 97 .loading .nf_flex_viewport { 98 max-height: 300px; 99 } 100 .carousel li { 101 margin-right: 5px; 102 } 103 .nf_flex_direction_nav { 104 height: 0; 105 } 106 .nf_flex_direction_nav a { 107 text-decoration: none; 108 display: block; 109 width: 40px; 110 height: 40px; 111 margin: -20px 0 0; 112 position: absolute; 113 z-index: 10; 114 opacity: 0; 115 cursor: pointer; 116 color: rgba(0, 0, 0, 0.8); 117 text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); 118 -webkit-transition: all 0.3s ease-in-out; 119 -moz-transition: all 0.3s ease-in-out; 120 -ms-transition: all 0.3s ease-in-out; 121 -o-transition: all 0.3s ease-in-out; 122 transition: all 0.3s ease-in-out; 123 } 124 .nf_flex_direction_nav .nf_flex_prev { 125 left: -50px; 126 font-size: 60px; 127 font-family: OCR A Std; 128 font-weight: bold; 129 } 130 .nf_flex_direction_nav .nf_flex_next { 131 right: -50px; 132 text-align: right; 133 font-size: 60px; 134 font-family: OCR A Std; 135 font-weight: bold; 136 } 137 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_prev { 138 opacity: 0.7; 139 left: 10px; 140 } 141 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_prev:hover { 142 opacity: 1; 143 } 144 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_next { 145 opacity: 0.7; 146 right: 10px; 147 } 148 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_next:hover { 149 opacity: 1; 150 } 151 .nf_flex_direction_nav .nf_flex_disabled { 152 opacity: 0!important; 153 filter: alpha(opacity=0); 154 cursor: default; 155 } 156 .nf_flex_pauseplay a { 157 display: block; 158 width: 20px; 159 height: 20px; 160 position: absolute; 161 bottom: 5px; 162 left: 10px; 163 opacity: 0.8; 164 z-index: 10; 165 overflow: hidden; 166 cursor: pointer; 167 color: #000; 168 } 169 .nf_flex_pauseplay a:hover { 170 opacity: 1; 171 } 172 .nf_flex_control_nav { 173 width: 100%; 174 position: absolute; 175 bottom: -40px; 176 text-align: center; 177 } 178 .nf_flex_control_nav li { 179 margin: 0 6px; 180 display: inline-block; 181 *display: inline; 182 } 183 .nf_flex_control_paging li a { 184 width: 11px; 185 height: 11px; 186 display: block; 187 background: #666; 188 background: rgba(0, 0, 0, 0.5); 189 cursor: pointer; 190 text-indent: -9999px; 191 -webkit-box_shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); 192 -o-box_shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); 193 box_shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); 194 -webkit-border-radius: 20px; 195 border-radius: 20px; 196 } 197 .nf_flex_control_paging li a:hover { 198 background: #333; 199 background: rgba(0, 0, 0, 0.7); 200 } 201 .nf_flex_control_paging li a.nf_flex_active { 202 background: #000; 203 background: rgba(0, 0, 0, 0.9); 204 cursor: default; 205 } 206 .nf_flex_control_thumbs { 207 margin: 5px 0 0; 208 position: static; 209 overflow: hidden; 210 } 211 .nf_flex_control_thumbs li { 212 width: 25%; 213 float: left; 214 margin: 0; 215 } 216 .nf_flex_control_thumbs img { 217 width: 100%; 218 height: auto; 219 display: block; 220 opacity: .7; 221 cursor: pointer; 222 -webkit-transition: all 1s ease; 223 -moz-transition: all 1s ease; 224 -ms-transition: all 1s ease; 225 -o-transition: all 1s ease; 226 transition: all 1s ease; 227 } 228 .nf_flex_control_thumbs img:hover { 229 opacity: 1; 230 } 231 .nf_flex_control_thumbs .nf_flex_active { 232 opacity: 1; 233 cursor: default; 129 234 } 130 235 .nf_flexslider .slides { 131 } 132 .nf_flexslider .slides img { 133 height: auto; 134 } 135 .nf_flex_viewport { 136 max-height: 2000px; 137 -webkit-transition: all 1s ease; 138 -moz-transition: all 1s ease; 139 -ms-transition: all 1s ease; 140 -o-transition: all 1s ease; 141 transition: all 1s ease; 142 } 143 .loading .nf_flex_viewport { 144 max-height: 300px; 145 } 146 .carousel li { 147 margin-right: 5px; 148 } 149 .nf_flex_direction_nav { 150 height: 0; 151 } 152 .nf_flex_direction_nav a { 153 text-decoration: none; 154 display: block; 155 width: 40px; 156 height: 40px; 157 margin: -20px 0 0; 158 position: absolute; 159 z-index: 10; 160 opacity: 0; 161 cursor: pointer; 162 color: rgba(0, 0, 0, 0.8); 163 text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); 164 -webkit-transition: all 0.3s ease-in-out; 165 -moz-transition: all 0.3s ease-in-out; 166 -ms-transition: all 0.3s ease-in-out; 167 -o-transition: all 0.3s ease-in-out; 168 transition: all 0.3s ease-in-out; 169 } 170 .nf_flex_direction_nav a:before { 171 font-family: "Glyphicons Halflings"; 172 font-size: 40px; 173 display: inline-block; 174 content: '\e079'; 175 color: rgba(0, 0, 0, 0.8); 176 text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); 177 } 178 .nf_flex_direction_nav a.nf_flex_next:before { 179 content: '\e080'; 180 } 181 .nf_flex_direction_nav .nf_flex_prev { 182 left: -50px; 183 } 184 .nf_flex_direction_nav .nf_flex_next { 185 right: -50px; 186 text-align: right; 187 } 188 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_prev { 189 opacity: 0.7; 190 left: 10px; 191 } 192 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_prev:hover { 193 opacity: 1; 194 } 195 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_next { 196 opacity: 0.7; 197 right: 10px; 198 } 199 .nf_flexslider:hover .nf_flex_direction_nav .nf_flex_next:hover { 200 opacity: 1; 201 } 202 .nf_flex_direction_nav .nf_flex_disabled { 203 opacity: 0!important; 204 filter: alpha(opacity=0); 205 cursor: default; 206 } 207 .nf_flex_pauseplay a { 208 display: block; 209 width: 20px; 210 height: 20px; 211 position: absolute; 212 bottom: 5px; 213 left: 10px; 214 opacity: 0.8; 215 z-index: 10; 216 overflow: hidden; 217 cursor: pointer; 218 color: #000; 219 } 220 .nf_flex_pauseplay a:before { 221 font-family: "Glyphicons Halflings"; 222 font-size: 20px; 223 display: inline-block; 224 content: '\e080'; 225 } 226 .nf_flex_pauseplay a:hover { 227 opacity: 1; 228 } 229 .nf_flex_pauseplay a.nf_flex_play:before { 230 content: '\e079'; 231 } 232 .nf_flex_control_nav { 233 width: 100%; 234 position: absolute; 235 bottom: -40px; 236 text-align: center; 237 } 238 .nf_flex_control_nav li { 239 margin: 0 6px; 240 display: inline-block; 241 *display: inline; 242 } 243 .nf_flex_control_paging li a { 244 width: 11px; 245 height: 11px; 246 display: block; 247 background: #666; 248 background: rgba(0, 0, 0, 0.5); 249 cursor: pointer; 250 text-indent: -9999px; 251 -webkit-box_shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); 252 -o-box_shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); 253 box_shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); 254 -webkit-border-radius: 20px; 255 border-radius: 20px; 256 } 257 .nf_flex_control_paging li a:hover { 258 background: #333; 259 background: rgba(0, 0, 0, 0.7); 260 } 261 .nf_flex_control_paging li a.nf_flex_active { 262 background: #000; 263 background: rgba(0, 0, 0, 0.9); 264 cursor: default; 265 } 266 .nf_flex_control_thumbs { 267 margin: 5px 0 0; 268 position: static; 269 overflow: hidden; 270 } 271 .nf_flex_control_thumbs li { 272 width: 25%; 273 float: left; 274 margin: 0; 275 } 276 .nf_flex_control_thumbs img { 277 width: 100%; 278 height: auto; 279 display: block; 280 opacity: .7; 281 cursor: pointer; 282 -webkit-transition: all 1s ease; 283 -moz-transition: all 1s ease; 284 -ms-transition: all 1s ease; 285 -o-transition: all 1s ease; 286 transition: all 1s ease; 287 } 288 .nf_flex_control_thumbs img:hover { 289 opacity: 1; 290 } 291 .nf_flex_control_thumbs .nf_flex_active { 292 opacity: 1; 293 cursor: default; 294 } 295 296 .nf_flexslider .slides { 297 padding: 0; 236 padding: 0; 298 237 } 299 238 .nf_flex_header { 300 left: 0;301 top: 0;302 text-align: center;239 left: 0; 240 top: 0; 241 text-align: center; 303 242 } 304 243 .nf_flex_caption { 305 padding: 2%; 306 left: 0; 307 bottom: 0; 308 } 309 .nf_flexslider{ 310 border: none; 311 max-height: 500px; 312 overflow: hidden; 313 } 314 244 padding: 2%; 245 left: 0; 246 bottom: 0; 247 } 248 .nf_flexslider { 249 border: none; 250 max-height: 500px; 251 overflow: hidden; 252 } 315 253 /* ==================================================================================================================== 316 254 * RESPONSIVE 317 255 * ====================================================================================================================*/ 256 318 257 @media screen and (max-width: 860px) { 319 .nf_flex_direction_nav .nf_flex_prev {320 opacity: 1;321 left: 10px;322 }323 .nf_flex_direction_nav .nf_flex_next {324 opacity: 1;325 right: 10px;326 }327 } 258 .nf_flex_direction_nav .nf_flex_prev { 259 opacity: 1; 260 left: 10px; 261 } 262 .nf_flex_direction_nav .nf_flex_next { 263 opacity: 1; 264 right: 10px; 265 } 266 } -
now-featuring/trunk/includes/shortcodes.php
r1238406 r1242723 141 141 'pauseOnAction': true, 142 142 'pauseOnHover': true, 143 'prevText': ' ',144 'nextText': ' '143 'prevText': '<', 144 'nextText': '>' 145 145 }); 146 146 }; -
now-featuring/trunk/now_featuring.php
r1238406 r1242723 8 8 * 9 9 * Author: Brahmina Burgess 10 * Version: 0. 710 * Version: 0.8 11 11 * Author URI: http://brahminacreations.com 12 12 */ … … 14 14 // Define plugin constants 15 15 define( 'NF_PLUGIN_FILE', __FILE__ ); 16 define( 'NF_PLUGIN_VERSION', '0. 7' );16 define( 'NF_PLUGIN_VERSION', '0.8' ); 17 17 18 18 // Includes -
now-featuring/trunk/readme.txt
r1238406 r1242723 5 5 Requires at least: 4.0 6 6 Tested up to: 4.3 7 Stable tag: 0. 77 Stable tag: 0.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 95 95 == Changelog == 96 96 97 = 0.5 = 97 = 0.8 = 98 99 Removed the dependance on Glyphicons. 100 101 = 0.7 = 98 102 99 103 Initial release.
Note: See TracChangeset
for help on using the changeset viewer.