Changeset 3908:5faa2f3124a3 for admin/style
- Timestamp:
- 10/24/18 10:23:03 (7 years ago)
- Branch:
- default
- Location:
- admin/style
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default-dark.css
r3907 r3908 220 220 width: auto; 221 221 white-space: normal; } 222 223 .sr-only { 224 border: 0; 225 clip: rect(0 0 0 0); 226 clip-path: inset(50%); 227 height: 1px; 228 margin: -1px; 229 overflow: hidden; 230 padding: 0; 231 position: absolute; 232 width: 1px; 233 white-space: nowrap; } 222 234 223 235 /** -------------------------------------------------- … … 2230 2242 2231 2243 #dragndrop { 2232 position: absolute; 2233 width: 2em; 2234 height: 1.5em; 2235 -webkit-mask-image: url(dragndrop.svg); 2236 mask-image: url(dragndrop.svg); } 2244 position: absolute; } 2237 2245 .no-js #dragndrop { 2238 2246 display: none; } 2239 #dragndrop :before{2240 content: "";2247 #dragndrop + label { 2248 position: absolute; 2241 2249 display: inline-block; 2250 line-height: 1; } 2251 #dragndrop + label .dragndrop-svg { 2242 2252 width: 2em; 2243 2253 height: 1.5em; 2244 background: #86888c; }2245 #dragndrop:checked :before{2246 background: #bee74b; }2254 fill: #86888c; } 2255 #dragndrop:checked + label .dragndrop-svg { 2256 fill: #bee74b; } 2247 2257 2248 2258 #media_img_title_pattern { -
admin/style/default.css
r3907 r3908 220 220 width: auto; 221 221 white-space: normal; } 222 223 .sr-only { 224 border: 0; 225 clip: rect(0 0 0 0); 226 clip-path: inset(50%); 227 height: 1px; 228 margin: -1px; 229 overflow: hidden; 230 padding: 0; 231 position: absolute; 232 width: 1px; 233 white-space: nowrap; } 222 234 223 235 /** -------------------------------------------------- … … 2230 2242 2231 2243 #dragndrop { 2232 position: absolute; 2233 width: 2em; 2234 height: 1.5em; 2235 -webkit-mask-image: url(dragndrop.svg); 2236 mask-image: url(dragndrop.svg); } 2244 position: absolute; } 2237 2245 .no-js #dragndrop { 2238 2246 display: none; } 2239 #dragndrop :before{2240 content: "";2247 #dragndrop + label { 2248 position: absolute; 2241 2249 display: inline-block; 2250 line-height: 1; } 2251 #dragndrop + label .dragndrop-svg { 2242 2252 width: 2em; 2243 2253 height: 1.5em; 2244 background: #868686; }2245 #dragndrop:checked :before{2246 background: #137bbb; }2254 fill: #868686; } 2255 #dragndrop:checked + label .dragndrop-svg { 2256 fill: #137bbb; } 2247 2257 2248 2258 #media_img_title_pattern { -
admin/style/scss/init/_rebase.scss
r3439 r3908 256 256 } 257 257 } 258 259 .sr-only { 260 @include visually-hidden; 261 } -
admin/style/scss/partials/_index.scss
r3907 r3908 147 147 } 148 148 position: absolute; 149 width: 2em; 150 height: 1.5em; 151 -webkit-mask-image: url(dragndrop.svg); 152 mask-image: url(dragndrop.svg); 153 &:before { 154 content: ""; 149 &+label { 150 position: absolute; 155 151 display: inline-block; 152 line-height: 1; 153 } 154 &+label .dragndrop-svg { 156 155 width: 2em; 157 156 height: 1.5em; 158 background: $drag-n-drop-off;157 fill: $drag-n-drop-off; 159 158 } 160 &:checked :before{161 background: $drag-n-drop-on;159 &:checked+label .dragndrop-svg { 160 fill: $drag-n-drop-on; 162 161 } 163 162 }
Note: See TracChangeset
for help on using the changeset viewer.