Changeset 4292 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/screenshots/image-gallery/style.scss
- Timestamp:
- 10/25/2016 09:16:56 PM (8 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset
for help on using the changeset viewer.