Changeset 4292
- Timestamp:
- 10/25/2016 09:16:56 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/screenshots/image-gallery/style.scss
r4223 r4292 13 13 .image-gallery-left-nav, 14 14 .image-gallery-right-nav { 15 color: #fff;16 font-size: ms( 1 2);15 display: none; 16 font-size: ms( 10 ); 17 17 height: 100%; 18 18 position: absolute; 19 text-shadow: 0 2px 2px $ig-black;20 19 top: 0; 21 20 z-index: 4; 21 border-color: #eee; 22 -webkit-transition: background 0.1s ease, border 0.1s ease; 23 transition: background 0.1s ease, border 0.1s ease; 22 24 23 25 @media (max-width: $ig-screen-sm-min) { … … 27 29 @media (min-width: $ig-screen-sm-min) { 28 30 &:hover { 29 color: #fff; 31 background: #fff; 32 opacity: 0.8; 33 border: 1px solid #eee; 30 34 } 31 35 } 32 36 33 37 &:before { 34 padding: 15px;35 38 position: relative; 36 top: -15px;39 font-family: 'dashicons'; 37 40 } 38 41 } … … 42 45 43 46 &:before { 44 content: '\027E8'; 47 content: '\f341'; 48 } 49 50 &:hover { 51 margin-left: -1px; 45 52 } 46 53 } … … 50 57 51 58 &:before { 52 content: '\027E9'; 59 content: '\f345'; 60 } 61 62 &:hover { 63 margin-right: -1px; 64 } 65 } 66 67 &:hover { 68 .image-gallery-left-nav, 69 .image-gallery-right-nav { 70 display: block; 53 71 } 54 72 } … … 60 78 position: relative; 61 79 white-space: nowrap; 80 border: 1px solid #eee; 62 81 } 63 82 … … 86 105 padding: 10px 20px; 87 106 white-space: normal; 107 font-size: ms( -2 ); 88 108 89 109 @media (max-width: $ig-screen-sm-min) { … … 98 118 background: #fff; 99 119 margin-top: 5px; 100 overflow: hidden;120 //overflow: hidden; 101 121 102 122 .image-gallery-thumbnails-container { … … 111 131 display: table-cell; 112 132 margin-right: 5px; 133 border: 1px solid #eee; 113 134 114 135 .image-gallery-image { … … 117 138 118 139 img { 119 border: 4px solid transparent;120 140 vertical-align: middle; 121 141 width: 100px; 122 142 123 143 @media (max-width: $ig-screen-sm-min) { 124 border: 3px solid transparent;125 144 width: 75px; 126 145 } 127 146 } 128 147 148 &:hover { 149 box-shadow: 0 1px 8px rgba(0,0,0,0.3); 150 } 151 129 152 &.active { 130 img { 131 border: 4px solid $ig-blue; 132 133 @media (max-width: $ig-screen-sm-min) { 134 border: 3px solid $ig-blue; 135 } 136 } 153 border: 1px solid $ig-blue; 137 154 } 138 155 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/screenshots/style.scss
r4223 r4292 14 14 text-transform: inherit; 15 15 } 16 17 figcaption {18 font-style: italic;19 }20 16 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css
r4278 r4292 2298 2298 .image-gallery-content .image-gallery-left-nav, 2299 2299 .image-gallery-content .image-gallery-right-nav { 2300 color: #fff;2301 font-size: 61.035px;2302 font-size: 3. 8146972656rem;2300 display: none; 2301 font-size: 48.828px; 2302 font-size: 3.0517578125rem; 2303 2303 height: 100%; 2304 2304 position: absolute; 2305 text-shadow: 0 2px 2px #222;2306 2305 top: 0; 2307 2306 z-index: 4; 2307 border-color: #eee; 2308 -webkit-transition: background 0.1s ease, border 0.1s ease; 2309 transition: background 0.1s ease, border 0.1s ease; 2308 2310 } 2309 2311 … … 2318 2320 .image-gallery-content .image-gallery-left-nav:hover, 2319 2321 .image-gallery-content .image-gallery-right-nav:hover { 2320 color: #fff; 2322 background: #fff; 2323 opacity: 0.8; 2324 border: 1px solid #eee; 2321 2325 } 2322 2326 } … … 2324 2328 .image-gallery-content .image-gallery-left-nav:before, 2325 2329 .image-gallery-content .image-gallery-right-nav:before { 2326 padding: 15px;2327 2330 position: relative; 2328 top: -15px;2331 font-family: 'dashicons'; 2329 2332 } 2330 2333 … … 2334 2337 2335 2338 .image-gallery-content .image-gallery-left-nav:before { 2336 content: '\027E8'; 2339 content: '\f341'; 2340 } 2341 2342 .image-gallery-content .image-gallery-left-nav:hover { 2343 margin-left: -1px; 2337 2344 } 2338 2345 … … 2342 2349 2343 2350 .image-gallery-content .image-gallery-right-nav:before { 2344 content: '\027E9'; 2351 content: '\f345'; 2352 } 2353 2354 .image-gallery-content .image-gallery-right-nav:hover { 2355 margin-right: -1px; 2356 } 2357 2358 .image-gallery-content:hover .image-gallery-left-nav, 2359 .image-gallery-content:hover .image-gallery-right-nav { 2360 display: block; 2345 2361 } 2346 2362 … … 2350 2366 position: relative; 2351 2367 white-space: nowrap; 2368 border: 1px solid #eee; 2352 2369 } 2353 2370 … … 2377 2394 padding: 10px 20px; 2378 2395 white-space: normal; 2396 font-size: 12.8px; 2397 font-size: 0.8rem; 2379 2398 } 2380 2399 … … 2389 2408 background: #fff; 2390 2409 margin-top: 5px; 2391 overflow: hidden;2392 2410 } 2393 2411 … … 2401 2419 display: table-cell; 2402 2420 margin-right: 5px; 2421 border: 1px solid #eee; 2403 2422 } 2404 2423 … … 2408 2427 2409 2428 .image-gallery-thumbnail img { 2410 border: 4px solid transparent;2411 2429 vertical-align: middle; 2412 2430 width: 100px; … … 2415 2433 @media (max-width: 768px) { 2416 2434 .image-gallery-thumbnail img { 2417 border: 3px solid transparent;2418 2435 width: 75px; 2419 2436 } 2420 2437 } 2421 2438 2422 .image-gallery-thumbnail.active img { 2423 border: 4px solid #337ab7; 2424 } 2425 2426 @media (max-width: 768px) { 2427 .image-gallery-thumbnail.active img { 2428 border: 3px solid #337ab7; 2429 } 2439 .image-gallery-thumbnail:hover { 2440 -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); 2441 box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); 2442 } 2443 2444 .image-gallery-thumbnail.active { 2445 border: 1px solid #337ab7; 2430 2446 } 2431 2447 … … 2466 2482 padding: 0; 2467 2483 text-transform: inherit; 2468 }2469 2470 .plugin-screenshots figcaption {2471 font-style: italic;2472 2484 } 2473 2485 … … 3210 3222 } 3211 3223 } 3224 /*# sourceMappingURL=style.css.map */
Note: See TracChangeset
for help on using the changeset viewer.