Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 display: block; | 137 display: block; |
138 padding: 0.6rem 0.8rem; | 138 padding: 0.6rem 0.8rem; |
139 background-color: transparent; | 139 background-color: transparent; |
140 font-size: 1rem; | 140 font-size: 1rem; |
141 font-weight: 700; | 141 font-weight: 700; |
142 text-decoration: none; | 142 text-decoration: none; |
143 text-transform: uppercase; | 143 text-transform: uppercase; |
144 cursor: pointer; | 144 cursor: pointer; |
145 } | 145 } |
146 | 146 |
147 /* Ignore .icon to avoid overriding "specific" (primary, secondary) styles */ | |
147 button.primary:not(.icon), | 148 button.primary:not(.icon), |
148 .button.primary:not(.icon) | 149 .button.primary:not(.icon) |
149 { | 150 { |
150 border: 0px; | 151 border: 0px; |
151 color: #FFF; | 152 color: #FFF; |
152 background-color: #077CA6; | 153 background-color: #077CA6; |
153 } | 154 } |
154 | 155 |
155 button.primary:not([disabled]):not(.icon):hover, | 156 button.primary:not([disabled]):not(.icon):hover, |
ire
2017/12/04 13:26:12
NIT: These selectors are starting to get really lo
saroyanm
2017/12/05 13:47:57
I think the reason I did this is separation:
With
ire
2017/12/07 11:28:18
I think you may have misunderstood what I was sayi
saroyanm
2017/12/11 12:23:49
I would like to avoid overriding styles if possibl
ire
2017/12/12 09:45:33
Yes this reads better now.
Since this is such a
saroyanm
2017/12/12 10:56:09
I agree comments and modularization should make th
| |
156 .button.primary:not(.icon):hover | 157 .button.primary:not(.icon):hover |
157 { | 158 { |
158 box-shadow: inset 0 0 0 3px #005D80; | 159 box-shadow: inset 0 0 0 3px #005D80; |
159 } | 160 } |
160 | 161 |
161 button.primary[disabled]:not(.icon) | 162 button.primary[disabled]:not(.icon) |
162 { | 163 { |
163 background-color: #5CBCE1; | 164 background-color: #5CBCE1; |
164 } | 165 } |
165 | 166 |
166 button.secondary:not(.icon), | 167 button.secondary:not(.icon), |
167 .button.secondary:not(.icon) | 168 .button.secondary:not(.icon) |
168 { | 169 { |
169 border: 2px solid #077CA6; | 170 border: 2px solid #077CA6; |
170 color: #077CA6; | 171 color: #077CA6; |
171 } | 172 } |
172 | 173 |
173 button.secondary:not(.icon):hover, | 174 button.secondary:not(.icon):hover, |
174 .button.secondary:not(.icon):hover | 175 .button.secondary:not(.icon):hover |
175 { | 176 { |
176 box-shadow: inset 0 0 0 1px #077CA6; | 177 box-shadow: inset 0 0 0 1px #077CA6; |
177 } | |
178 | |
179 button[role="checkbox"].icon::before | |
ire
2017/12/04 13:26:12
NIT: It looks like there are never any `button[rol
saroyanm
2017/12/05 13:47:57
Good point.
| |
180 { | |
181 width: 1.2rem; | |
182 height: 1.2rem; | |
183 padding: 0px; | |
184 } | |
185 | |
186 button[role="checkbox"].icon:not(.toggle)::before | |
187 { | |
188 /* Using ?query as a workaround to chromium bug #643716 */ | |
189 background-image: url(icons/checkbox.svg?off#off); | |
190 } | |
191 | |
192 button[role="checkbox"][aria-checked="true"].icon:not(.toggle)::before | |
193 { | |
194 background-image: url(icons/checkbox.svg?on#on); | |
195 } | |
196 | |
197 button[role="checkbox"][disabled]:not(.toggle)::before, | |
198 button[role="checkbox"][aria-disabled="true"]:not(.toggle)::before | |
199 { | |
200 border: 0rem; | |
201 margin: 0.2rem; | |
202 border-radius: 2px; | |
203 background-color: #ccc; | |
204 } | |
205 | |
206 button[role="checkbox"].icon.toggle::before | |
207 { | |
208 background-image: url(icons/toggle.svg?on#on); | |
209 } | |
210 | |
211 button[role="checkbox"][aria-checked="false"].icon.toggle::before | |
212 { | |
213 background-image: url(icons/toggle.svg?off#off); | |
214 } | |
215 | |
216 button[role="checkbox"].toggle::before | |
217 { | |
218 width: 1.9rem; | |
219 height: 1rem; | |
220 } | |
221 | |
222 button[role="checkbox"][disabled].toggle::before | |
223 { | |
224 background: none; | |
225 } | |
226 | |
227 .icon.delete::before | |
228 { | |
229 background-image: url(icons/trash.svg?default#default); | |
230 } | |
231 | |
232 .icon.delete:hover::before | |
233 { | |
234 background-image: url(icons/trash.svg?hover#hover); | |
235 } | |
236 | |
237 .icon.gear::before | |
238 { | |
239 background-image: url(icons/gear.svg?default#default); | |
240 } | |
241 | |
242 .icon.gear:hover::before | |
243 { | |
244 background-image: url(icons/gear.svg?hover#hover); | |
245 } | |
246 | |
247 .icon.gear::before, | |
248 .icon.delete::before | |
249 { | |
250 height: 1rem; | |
251 width: 1rem; | |
252 } | 178 } |
253 | 179 |
254 button.link, | 180 button.link, |
255 button.list | 181 button.list |
256 { | 182 { |
257 color: #077CA6; | 183 color: #077CA6; |
258 } | 184 } |
259 | 185 |
260 button.link | 186 button.link |
261 { | 187 { |
262 border: 0px; | 188 border: 0px; |
263 background-color: transparent; | 189 background-color: transparent; |
264 font-weight: 400; | 190 font-weight: 400; |
265 font-family: inherit; | 191 font-family: inherit; |
266 text-transform: none; | 192 text-transform: none; |
267 text-decoration: underline; | 193 text-decoration: underline; |
268 padding: 0.2rem; | 194 padding: 0.2rem; |
269 } | 195 } |
270 | 196 |
271 button.link:hover | 197 button.link:hover |
272 { | 198 { |
273 color: #5CBCE1; | 199 color: #5CBCE1; |
274 } | 200 } |
275 | 201 |
276 button.list | 202 button.list |
277 { | 203 { |
278 border-style: solid;; | 204 border-style: solid; |
ire
2017/12/04 13:26:12
Noticed an extra ";" at the end of this line
saroyanm
2017/12/05 13:47:57
well spotted.
| |
279 border-color: #CDCDCD; | 205 border-color: #CDCDCD; |
280 border-width: 1px; | 206 border-width: 1px; |
281 width: 100%; | 207 width: 100%; |
282 background-color: #E1F2FA; | 208 background-color: #E1F2FA; |
283 text-align: initial; | 209 text-align: initial; |
284 } | 210 } |
285 | 211 |
286 button.list:hover | 212 button.list:hover |
287 { | 213 { |
288 box-shadow: inset 0 0 0 3px #077CA6; | 214 box-shadow: inset 0 0 0 3px #077CA6; |
(...skipping 25 matching lines...) Expand all Loading... | |
314 icons | 240 icons |
315 */ | 241 */ |
316 | 242 |
317 .icon | 243 .icon |
318 { | 244 { |
319 border: 0px; | 245 border: 0px; |
320 padding: 0px; | 246 padding: 0px; |
321 background-color: transparent; | 247 background-color: transparent; |
322 } | 248 } |
323 | 249 |
250 .icon:hover | |
251 { | |
252 box-shadow: none; | |
253 } | |
254 | |
324 .icon::before | 255 .icon::before |
325 { | 256 { |
326 content: ""; | 257 content: ""; |
327 display: block; | 258 display: block; |
328 border: 0.2rem solid transparent; | 259 border: 0.2rem solid transparent; |
329 background-repeat: no-repeat; | 260 background-repeat: no-repeat; |
261 } | |
262 | |
263 button[role="checkbox"].icon::before | |
264 { | |
265 width: 1.2rem; | |
266 height: 1.2rem; | |
267 padding: 0px; | |
268 } | |
269 | |
270 button[role="checkbox"][disabled].icon:not(.toggle)::before, | |
271 button[role="checkbox"][aria-disabled="true"].icon:not(.toggle)::before | |
272 { | |
273 border: 0rem; | |
274 margin: 0.2rem; | |
275 border-radius: 2px; | |
276 background-color: #ccc; | |
277 } | |
278 | |
279 button[role="checkbox"].icon:not(.toggle)::before | |
280 { | |
281 /* Using ?query as a workaround to chromium bug #643716 */ | |
282 background-image: url(icons/checkbox.svg?off#off); | |
283 } | |
284 | |
285 button[role="checkbox"][aria-checked="true"].icon:not(.toggle)::before | |
286 { | |
287 background-image: url(icons/checkbox.svg?on#on); | |
288 } | |
289 | |
290 button[role="checkbox"].icon.toggle::before | |
291 { | |
292 background-image: url(icons/toggle.svg?on#on); | |
293 } | |
294 | |
295 button[role="checkbox"][aria-checked="false"].icon.toggle::before | |
296 { | |
297 background-image: url(icons/toggle.svg?off#off); | |
298 } | |
299 | |
300 button[role="checkbox"].icon.toggle::before | |
301 { | |
302 width: 1.9rem; | |
303 height: 1rem; | |
304 } | |
305 | |
306 button[role="checkbox"][disabled].icon.toggle::before | |
307 { | |
308 background: none; | |
309 } | |
310 | |
311 .icon.delete::before | |
312 { | |
313 background-image: url(icons/trash.svg?default#default); | |
314 } | |
315 | |
316 .icon.delete:hover::before | |
317 { | |
318 background-image: url(icons/trash.svg?hover#hover); | |
319 } | |
320 | |
321 .icon.gear::before | |
322 { | |
323 background-image: url(icons/gear.svg?default#default); | |
324 } | |
325 | |
326 .icon.gear:hover::before | |
327 { | |
328 background-image: url(icons/gear.svg?hover#hover); | |
329 } | |
330 | |
331 .icon.gear::before, | |
332 .icon.delete::before | |
333 { | |
334 height: 1rem; | |
335 width: 1rem; | |
336 } | |
337 | |
338 [data-validation] .floating-input input:focus:invalid ~ .icon.attention::before | |
339 { | |
340 background-image: url(icons/attention.svg); | |
341 } | |
342 | |
343 [data-validation] .floating-input input:valid ~ .icon.attention::before | |
344 { | |
345 top: 0.5rem; | |
346 background-image: url(icons/checkmark.svg?approved#approved); | |
347 } | |
348 | |
349 .context-menu .icon.update-subscription::before | |
350 { | |
351 background-image: url(icons/reload.svg); | |
352 } | |
353 | |
354 .context-menu .icon.website::before | |
355 { | |
356 background-image: url(icons/globe.svg); | |
357 } | |
358 | |
359 .context-menu .icon.source::before | |
360 { | |
361 background-image: url(icons/code.svg); | |
362 } | |
363 | |
364 .context-menu .icon.delete::before | |
365 { | |
366 background-image: url(icons/trash.svg?default#default); | |
367 } | |
368 | |
369 .close.icon::before | |
370 { | |
371 height: 1rem; | |
372 width: 1rem; | |
373 } | |
374 | |
375 .icon.close.primary::before | |
376 { | |
377 background-image: url(icons/delete.svg?primary#primary); | |
378 } | |
379 | |
380 .icon.close.primary:hover::before | |
381 { | |
382 background-image: url(icons/delete.svg?primary-hover#primary-hover); | |
383 } | |
384 | |
385 .icon.close.secondary::before | |
386 { | |
387 background-image: url(icons/delete.svg?secondary#secondary); | |
388 } | |
389 | |
390 .icon.close.tertiary::before | |
391 { | |
392 background-image: url(icons/delete.svg?tertiary#tertiary); | |
393 } | |
394 | |
395 .icon.close.secondary:hover::before | |
396 { | |
397 background-image: url(icons/delete.svg?secondary-hover#secondary-hover); | |
398 } | |
399 | |
400 .icon.close.tertiary:hover::before | |
401 { | |
402 background-image: url(icons/delete.svg?tertiary-hover#tertiary-hover); | |
403 } | |
404 | |
405 .tooltip::before | |
406 { | |
407 width: 1.1rem; | |
408 height: 1.1rem; | |
409 } | |
410 | |
411 .icon.tooltip::before | |
412 { | |
413 background-image: url(icons/tooltip.svg); | |
414 } | |
415 | |
416 #dialog .table.list li button.icon::before | |
417 { | |
418 width: 1.3rem; | |
419 height: 1.3rem; | |
420 margin: 0rem; | |
421 border: 0rem; | |
422 background-image: none; | |
423 } | |
424 | |
425 #dialog .table.list li button[aria-checked="true"].icon::before | |
426 { | |
427 background-image: url(icons/checkmark.svg?default#default); | |
428 } | |
429 | |
430 #social ul li .icon::before | |
431 { | |
432 margin: 0em auto; | |
433 width: 2.5rem; | |
434 height: 2.5rem; | |
435 } | |
436 | |
437 .icon#twitter::before | |
438 { | |
439 background-image: url("social/twitter.svg"); | |
440 } | |
441 | |
442 .icon#facebook::before | |
443 { | |
444 background-image: url("social/facebook.svg"); | |
445 } | |
446 | |
447 .icon#google-plus::before | |
448 { | |
449 background-image: url("social/googleplus.svg"); | |
330 } | 450 } |
saroyanm
2017/12/01 18:44:46
Maybe we can move all background images and width-
ire
2017/12/04 13:26:12
I agree
| |
331 | 451 |
332 /* | 452 /* |
333 Forms | 453 Forms |
334 */ | 454 */ |
335 | 455 |
336 .floating-input | 456 .floating-input |
337 { | 457 { |
338 position: relative; | 458 position: relative; |
339 padding-top: 0.7rem; | 459 padding-top: 0.7rem; |
340 margin: 1.8rem 0rem 0.5rem 0rem; | 460 margin: 1.8rem 0rem 0.5rem 0rem; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
389 width: 1.5rem; | 509 width: 1.5rem; |
390 top: 0.3rem; | 510 top: 0.3rem; |
391 right: 0rem; | 511 right: 0rem; |
392 } | 512 } |
393 | 513 |
394 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, | 514 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, |
395 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re | 515 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re |
396 { | 516 { |
397 left: 0rem; | 517 left: 0rem; |
398 right: auto; | 518 right: auto; |
399 } | |
400 | |
401 [data-validation] .floating-input input:focus:invalid ~ .icon.attention::before | |
402 { | |
403 background-image: url(icons/attention.svg); | |
404 } | |
405 | |
406 [data-validation] .floating-input input:valid ~ .icon.attention::before | |
407 { | |
408 top: 0.5rem; | |
409 background-image: url(icons/checkmark.svg?approved#approved); | |
410 } | 519 } |
411 | 520 |
412 [data-validation] .floating-input input ~ .error-msg | 521 [data-validation] .floating-input input ~ .error-msg |
413 { | 522 { |
414 margin-top: 0.5rem; | 523 margin-top: 0.5rem; |
415 color: #C11D27; | 524 color: #C11D27; |
416 display: block; | 525 display: block; |
417 visibility: hidden; | 526 visibility: hidden; |
418 } | 527 } |
419 | 528 |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
914 height: auto; | 1023 height: auto; |
915 padding: 1.1rem 1rem; | 1024 padding: 1.1rem 1rem; |
916 } | 1025 } |
917 | 1026 |
918 #dialog .table.list li button:hover, | 1027 #dialog .table.list li button:hover, |
919 #dialog .table.list li button:focus | 1028 #dialog .table.list li button:focus |
920 { | 1029 { |
921 background-color: #E1F2FA; | 1030 background-color: #E1F2FA; |
922 } | 1031 } |
923 | 1032 |
924 #dialog .table.list li button::before | |
925 { | |
926 width: 1.3rem; | |
927 height: 1.3rem; | |
928 margin: 0rem; | |
929 border: 0rem; | |
930 } | |
931 | |
932 #dialog .table.list li button[aria-checked="true"] | 1033 #dialog .table.list li button[aria-checked="true"] |
933 { | 1034 { |
934 color: #BBB; | 1035 color: #BBB; |
935 } | |
936 | |
937 #dialog .table.list li button[aria-checked="true"].icon::before | |
938 { | |
939 background-image: url(icons/checkmark.svg?default#default); | |
940 } | 1036 } |
941 | 1037 |
942 #dialog .table.list li button .display | 1038 #dialog .table.list li button .display |
943 { | 1039 { |
944 flex: none; | 1040 flex: none; |
945 margin: 0rem 0.8rem; | 1041 margin: 0rem 0.8rem; |
946 text-transform: none; | 1042 text-transform: none; |
947 font-weight: 400; | 1043 font-weight: 400; |
948 } | 1044 } |
949 | 1045 |
950 /* | 1046 /* |
951 Tooltips | 1047 Tooltips |
952 */ | 1048 */ |
953 | 1049 |
954 .tooltip | 1050 .tooltip |
955 { | 1051 { |
956 position: relative; | 1052 position: relative; |
957 margin: 0rem; | 1053 margin: 0rem; |
958 -moz-margin-end: 1rem; | 1054 -moz-margin-end: 1rem; |
959 -webkit-margin-end: 1rem; | 1055 -webkit-margin-end: 1rem; |
960 line-height: 1.5rem; | 1056 line-height: 1.5rem; |
961 text-decoration: none; | 1057 text-decoration: none; |
962 cursor: help; | 1058 cursor: help; |
963 } | |
964 | |
965 .tooltip::before | |
966 { | |
967 width: 1.1rem; | |
968 height: 1.1rem; | |
969 } | |
970 | |
971 .icon.tooltip::before | |
972 { | |
973 background-image: url(icons/tooltip.svg); | |
974 } | 1059 } |
975 | 1060 |
976 /* | 1061 /* |
977 Used for translatable screen reader only content. | 1062 Used for translatable screen reader only content. |
978 e.g.: Use instead of aria-label to avoid complex attribute value translation | 1063 e.g.: Use instead of aria-label to avoid complex attribute value translation |
979 */ | 1064 */ |
980 .sr-only | 1065 .sr-only |
981 { | 1066 { |
982 position: absolute; | 1067 position: absolute; |
983 overflow: hidden; | 1068 overflow: hidden; |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1134 visibility: hidden; | 1219 visibility: hidden; |
1135 opacity: 0; | 1220 opacity: 0; |
1136 -webkit-transition-delay: 0ms; | 1221 -webkit-transition-delay: 0ms; |
1137 transition-delay: 0ms; | 1222 transition-delay: 0ms; |
1138 } | 1223 } |
1139 | 1224 |
1140 .context-menu | 1225 .context-menu |
1141 { | 1226 { |
1142 position: absolute; | 1227 position: absolute; |
1143 right: 2.5rem; | 1228 right: 2.5rem; |
1144 top: -2.7rem; | 1229 top: -2rem; |
1145 z-index: 1; | 1230 z-index: 1; |
1146 visibility: hidden; | 1231 visibility: hidden; |
1147 } | 1232 } |
1148 | 1233 |
1149 html[dir="rtl"] .context-menu | 1234 html[dir="rtl"] .context-menu |
1150 { | 1235 { |
1151 right: auto; | 1236 right: auto; |
1152 left: 2.5rem; | 1237 left: 2.5rem; |
1153 } | 1238 } |
1154 | 1239 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1234 } | 1319 } |
1235 | 1320 |
1236 .context-menu li[role="menuitem"] .icon::before | 1321 .context-menu li[role="menuitem"] .icon::before |
1237 { | 1322 { |
1238 height: 1rem; | 1323 height: 1rem; |
1239 width: 1rem; | 1324 width: 1rem; |
1240 margin: 0rem 1.1rem; | 1325 margin: 0rem 1.1rem; |
1241 border: 0rem; | 1326 border: 0rem; |
1242 } | 1327 } |
1243 | 1328 |
1244 .context-menu .icon.update-subscription::before | |
1245 { | |
1246 background-image: url(icons/reload.svg); | |
1247 } | |
1248 | |
1249 .context-menu .icon.website::before | |
1250 { | |
1251 background-image: url(icons/globe.svg); | |
1252 } | |
1253 | |
1254 .context-menu .icon.source::before | |
1255 { | |
1256 background-image: url(icons/code.svg); | |
1257 } | |
1258 | |
1259 .context-menu .icon.delete::before | |
1260 { | |
1261 background-image: url(icons/trash.svg?default#default); | |
1262 } | |
1263 | |
1264 /* | 1329 /* |
1265 Help tab content | 1330 Help tab content |
1266 */ | 1331 */ |
1267 | 1332 |
1268 html:not([lang="zh"]) #social-chinese, | 1333 html:not([lang="zh"]) #social-chinese, |
1269 html[lang="zh"] #social-general | 1334 html[lang="zh"] #social-general |
1270 { | 1335 { |
1271 display: none; | 1336 display: none; |
1272 } | 1337 } |
1273 | 1338 |
1274 #social ul | 1339 #social ul |
1275 { | 1340 { |
1276 list-style: none; | 1341 list-style: none; |
1277 padding: 0px; | 1342 padding: 0px; |
1278 } | 1343 } |
1279 | 1344 |
1280 #social ul li | 1345 #social ul li |
1281 { | 1346 { |
1282 display: inline-block; | 1347 display: inline-block; |
1283 -moz-margin-end: 1rem; | 1348 -moz-margin-end: 1rem; |
1284 -webkit-margin-end: 1rem; | 1349 -webkit-margin-end: 1rem; |
1285 } | 1350 } |
1286 | 1351 |
1287 #social ul li a | 1352 #social ul li a |
1288 { | 1353 { |
1289 display: block; | 1354 display: block; |
1290 text-align: center; | 1355 text-align: center; |
1291 text-decoration: none; | 1356 text-decoration: none; |
1292 } | |
1293 | |
1294 #social ul li .icon::before | |
1295 { | |
1296 margin: 0em auto; | |
1297 width: 2.5rem; | |
1298 height: 2.5rem; | |
1299 } | |
1300 | |
1301 .icon#twitter::before | |
1302 { | |
1303 background-image: url("social/twitter.svg"); | |
1304 } | |
1305 | |
1306 .icon#facebook::before | |
1307 { | |
1308 background-image: url("social/facebook.svg"); | |
1309 } | |
1310 | |
1311 .icon#google-plus::before | |
1312 { | |
1313 background-image: url("social/googleplus.svg"); | |
1314 } | 1357 } |
1315 | 1358 |
1316 /* | 1359 /* |
1317 Dialog | 1360 Dialog |
1318 */ | 1361 */ |
1319 | 1362 |
1320 #dialog-background | 1363 #dialog-background |
1321 { | 1364 { |
1322 display: none; | 1365 display: none; |
1323 position: fixed; | 1366 position: fixed; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1359 { | 1402 { |
1360 margin: 0rem; | 1403 margin: 0rem; |
1361 font-size: 1rem; | 1404 font-size: 1rem; |
1362 font-weight: 700; | 1405 font-weight: 700; |
1363 } | 1406 } |
1364 | 1407 |
1365 .close | 1408 .close |
1366 { | 1409 { |
1367 margin: 0rem; | 1410 margin: 0rem; |
1368 cursor: pointer; | 1411 cursor: pointer; |
1369 } | |
1370 | |
1371 .close.icon::before | |
1372 { | |
1373 height: 1rem; | |
1374 width: 1rem; | |
1375 } | |
1376 | |
1377 .icon.close.primary::before | |
1378 { | |
1379 background-image: url(icons/delete.svg?primary#primary); | |
1380 } | |
1381 | |
1382 .icon.close.primary:hover::before | |
1383 { | |
1384 background-image: url(icons/delete.svg?primary-hover#primary-hover); | |
1385 } | 1412 } |
1386 | 1413 |
1387 #dialog #dialog-body | 1414 #dialog #dialog-body |
1388 { | 1415 { |
1389 max-height: 60vh; | 1416 max-height: 60vh; |
1390 overflow: auto; | 1417 overflow: auto; |
1391 } | 1418 } |
1392 | 1419 |
1393 .dialog-content | 1420 .dialog-content |
1394 { | 1421 { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1483 font-size: 1rem; | 1510 font-size: 1rem; |
1484 color: #077CA6; | 1511 color: #077CA6; |
1485 background-color: #E1F2FA; | 1512 background-color: #E1F2FA; |
1486 } | 1513 } |
1487 | 1514 |
1488 #notification strong | 1515 #notification strong |
1489 { | 1516 { |
1490 flex: 1; | 1517 flex: 1; |
1491 text-align: center; | 1518 text-align: center; |
1492 } | 1519 } |
1493 | |
1494 .icon.close.secondary::before | |
1495 { | |
1496 background-image: url(icons/delete.svg?secondary#secondary); | |
1497 } | |
1498 | |
1499 .icon.close.tertiary::before | |
1500 { | |
1501 background-image: url(icons/delete.svg?tertiary#tertiary); | |
1502 } | |
1503 | |
1504 .icon.close.secondary:hover::before | |
1505 { | |
1506 background-image: url(icons/delete.svg?secondary-hover#secondary-hover); | |
1507 } | |
1508 | |
1509 .icon.close.tertiary:hover::before | |
1510 { | |
1511 background-image: url(icons/delete.svg?tertiary-hover#tertiary-hover); | |
1512 } | |
LEFT | RIGHT |