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-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 body | 18 body |
19 { | 19 { |
20 background-color: #F5F5F5; | 20 background-color: #F5F5F5; |
21 display: flex; | 21 display: flex; |
22 font-family: 'Source Sans Pro', sans-serif; | 22 font-family: "Source Sans Pro", sans-serif; |
23 font-size: 14px; | 23 font-size: 14px; |
24 white-space: nowrap; | 24 white-space: nowrap; |
25 } | 25 } |
26 | 26 |
27 h1 | 27 h1 |
28 { | 28 { |
29 font-size: 24px; | 29 font-size: 24px; |
30 font-weight: 100; | 30 font-weight: 100; |
31 } | 31 } |
32 | 32 |
33 h2 | 33 h2 |
34 { | 34 { |
35 font-size: 16px; | 35 font-size: 16px; |
36 font-weight: 500; | 36 font-weight: 500; |
37 } | 37 } |
38 | 38 |
39 p | 39 p |
40 { | 40 { |
41 font-weight: 100; | 41 font-weight: 100; |
42 } | 42 } |
43 | |
43 hr | 44 hr |
44 { | 45 { |
45 background-color: #CDCDCD; | 46 background-color: #CDCDCD; |
46 border: 0px; | 47 border: 0px; |
47 height: 1px; | 48 height: 1px; |
48 margin: 0px; | 49 margin: 0px; |
50 } | |
51 | |
52 input[type="search"]::-webkit-search-cancel-button | |
53 { | |
54 display: none; | |
49 } | 55 } |
50 | 56 |
51 .option-name | 57 .option-name |
52 { | 58 { |
53 display: flex; | 59 display: flex; |
54 } | 60 } |
55 | 61 |
56 .option-name > * | 62 .option-name > * |
57 { | 63 { |
58 -moz-margin-end: 6px; | 64 -moz-margin-end: 6px; |
59 -webkit-margin-end: 6px; | 65 -webkit-margin-end: 6px; |
60 } | 66 } |
61 | 67 |
62 #nav-sidebar | 68 #nav-sidebar |
63 { | 69 { |
64 position: relative; | 70 position: relative; |
65 padding: 0px 0px 16px 0px; | 71 padding: 0px 0px 16px 0px; |
66 -moz-padding-start: 10px; | 72 -moz-padding-start: 10px; |
67 -webkit-padding-start: 10px; | 73 -webkit-padding-start: 10px; |
68 min-width: 198px; | 74 min-width: 198px; |
69 } | 75 } |
70 | 76 |
71 #nav-sidebar .fixed | 77 #nav-sidebar .fixed |
72 { | 78 { |
73 height: 100%; | 79 height: 100%; |
74 position: fixed; | 80 position: fixed; |
75 } | |
76 | |
77 #blocking-languages, | |
78 #acceptable-ads | |
79 { | |
80 -moz-padding-end: 40px; | |
81 -webkit-padding-end: 40px; | |
82 } | 81 } |
83 | 82 |
84 #page-title | 83 #page-title |
85 { | 84 { |
86 -webkit-margin-start: 10px; | 85 -webkit-margin-start: 10px; |
87 -moz-margin-start: 10px; | 86 -moz-margin-start: 10px; |
88 } | 87 } |
89 | 88 |
90 #page-title p | 89 #page-title p |
91 { | 90 { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
140 -webkit-padding-start: 11px; | 139 -webkit-padding-start: 11px; |
141 } | 140 } |
142 | 141 |
143 body[data-tab="general"] #tab-general + li, | 142 body[data-tab="general"] #tab-general + li, |
144 body[data-tab="advanced"] #tab-advanced + li, | 143 body[data-tab="advanced"] #tab-advanced + li, |
145 body[data-tab="help"] #tab-help + li | 144 body[data-tab="help"] #tab-help + li |
146 { | 145 { |
147 border-width: 0px; | 146 border-width: 0px; |
148 } | 147 } |
149 | 148 |
150 .tabs.vertical li:last-child | 149 #tab-help, |
151 { | 150 body[data-tab="advanced"] #tab-advanced + li |
152 border-bottom-width: 1px !important; | 151 { |
152 border-bottom-width: 1px; | |
153 } | 153 } |
154 | 154 |
155 body[data-tab="general"] #tab-general, | 155 body[data-tab="general"] #tab-general, |
156 body[data-tab="advanced"] #tab-advanced, | 156 body[data-tab="advanced"] #tab-advanced, |
157 body[data-tab="help"] #tab-help | 157 body[data-tab="help"] #tab-help |
158 { | 158 { |
159 background-color: #FFFFFF; | 159 background-color: #FFFFFF; |
160 border-radius: 3px 0px 0px 3px; | 160 border-radius: 3px 0px 0px 3px; |
161 border-width: 1px; | 161 border-width: 1px; |
162 -moz-border-end: 0px; | 162 -moz-border-end: 0px; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
229 width: 960px; | 229 width: 960px; |
230 } | 230 } |
231 | 231 |
232 #tab-content h1 | 232 #tab-content h1 |
233 { | 233 { |
234 border-bottom: 1px solid #CDCDCD; | 234 border-bottom: 1px solid #CDCDCD; |
235 margin: 0px; | 235 margin: 0px; |
236 padding: 40px 0px 16px 0px; | 236 padding: 40px 0px 16px 0px; |
237 } | 237 } |
238 | 238 |
239 #modal-background | 239 .nav-link |
240 { | 240 { |
241 display: none; | 241 -moz-margin-start: 12px; |
242 background-color: white; | 242 -webkit-margin-start: 12px; |
243 position: absolute; | 243 color: #3A7BA6; |
244 opacity: 0.7; | |
245 top: 0px; | |
246 right: 0px; | |
247 bottom: 0px; | |
248 left: 0px; | |
249 z-index: 2; | |
250 } | |
251 | |
252 body[data-modal] #modal-background | |
253 { | |
254 display: block; | |
255 } | 244 } |
256 | 245 |
257 #content-wrapper | 246 #content-wrapper |
258 { | 247 { |
259 position: relative; | 248 position: relative; |
260 } | 249 } |
261 | 250 |
262 #content-wrapper > div | 251 #content-wrapper > div |
263 { | 252 { |
264 display: none; | 253 display: none; |
(...skipping 22 matching lines...) Expand all Loading... | |
287 } | 276 } |
288 | 277 |
289 .table li | 278 .table li |
290 { | 279 { |
291 display: flex; | 280 display: flex; |
292 padding: 14px 0px; | 281 padding: 14px 0px; |
293 -webkit-padding-start: 16px; | 282 -webkit-padding-start: 16px; |
294 -moz-padding-start: 16px; | 283 -moz-padding-start: 16px; |
295 } | 284 } |
296 | 285 |
286 .table.list li .display | |
287 { | |
288 flex: 1; | |
289 } | |
290 | |
297 .table.list li:nth-child(odd) | 291 .table.list li:nth-child(odd) |
298 { | 292 { |
299 background-color: #F5F5F5; | 293 background-color: #F5F5F5; |
300 } | 294 } |
301 | 295 |
302 .table.list li .display | |
303 { | |
304 flex: 1; | |
305 } | |
306 | |
307 .table.cols li:nth-child(even) | 296 .table.cols li:nth-child(even) |
308 { | 297 { |
309 background-color: #F5F5F5; | 298 background-color: #F5F5F5; |
310 } | |
311 | |
312 #blocking-list-own .table | |
313 { | |
314 height: 290px; | |
315 overflow: auto; | |
316 width: auto; | |
317 } | 299 } |
318 | 300 |
319 .table label | 301 .table label |
320 { | 302 { |
321 vertical-align: top; | 303 vertical-align: top; |
322 } | 304 } |
323 | 305 |
324 .table.cols span | 306 .table.cols span |
325 { | 307 { |
326 display: inline-block; | 308 display: inline-block; |
(...skipping 10 matching lines...) Expand all Loading... | |
337 display: inline-block; | 319 display: inline-block; |
338 width: 30%; | 320 width: 30%; |
339 } | 321 } |
340 | 322 |
341 .table.cols .col-name span:first-child | 323 .table.cols .col-name span:first-child |
342 { | 324 { |
343 -webkit-padding-start: 38px; | 325 -webkit-padding-start: 38px; |
344 -moz-padding-start: 38px; | 326 -moz-padding-start: 38px; |
345 } | 327 } |
346 | 328 |
347 #custom-wrapper | |
348 { | |
349 width: 400px; | |
350 height: 290px; | |
351 overflow: auto; | |
352 } | |
353 | |
354 #custom-wrapper .table | |
355 { | |
356 width: 395px; | |
Thomas Greiner
2015/02/18 17:19:27
This wasn't necessary in the previous version so w
saroyanm
2015/02/26 12:18:33
Yes, in previous patch we have overflow: auto; sty
Thomas Greiner
2015/03/05 11:36:03
Usually, you don't need to account for scrollbars.
saroyanm
2015/03/06 11:54:32
Good point, done.
| |
357 } | |
358 | |
359 .table::-webkit-scrollbar, | 329 .table::-webkit-scrollbar, |
360 #custom-wrapper::-webkit-scrollbar | 330 #custom-wrapper::-webkit-scrollbar |
361 { | 331 { |
362 -webkit-padding-end: 10px; | 332 -webkit-padding-end: 10px; |
363 -moz-padding-end: 10px; | |
Thomas Greiner
2015/02/18 17:19:27
Seems like this will be WebKit only since there do
saroyanm
2015/02/26 12:18:33
Done.
| |
364 width: 5px; | 333 width: 5px; |
365 } | 334 } |
366 | 335 |
367 .table::-webkit-scrollbar-thumb, | 336 .table::-webkit-scrollbar-thumb, |
368 #custom-wrapper::-webkit-scrollbar-thumb | 337 #custom-wrapper::-webkit-scrollbar-thumb |
369 { | 338 { |
370 background-color: #CDCDCD; | 339 background-color: #CDCDCD; |
371 border-radius: 5px; | 340 border-radius: 5px; |
372 padding: 0px 40px; | 341 padding: 0px 40px; |
373 } | 342 } |
374 | 343 |
375 .table::-webkit-scrollbar-thumb:hover, | 344 .table::-webkit-scrollbar-thumb:hover, |
376 #custom-wrapper::-webkit-scrollbar-thumb:hover | 345 #custom-wrapper::-webkit-scrollbar-thumb:hover |
377 { | 346 { |
378 background-color: #A1A1A1; | 347 background-color: #A1A1A1; |
379 } | 348 } |
380 | 349 |
381 .table input[type=checkbox] | 350 .table input[type="checkbox"] |
382 { | 351 { |
383 margin-top: 0px; | 352 margin-top: 0px; |
384 -moz-margin-end: 20px; | 353 -moz-margin-end: 20px; |
385 -webkit-margin-end: 20px; | 354 -webkit-margin-end: 20px; |
386 padding: 0px 0px 0px 0px; | 355 padding: 0px 0px 0px 0px; |
387 visibility: hidden; | 356 visibility: hidden; |
388 } | 357 } |
389 | 358 |
390 .table input[type=checkbox]:before | 359 .table input[type="checkbox"]::before |
391 { | 360 { |
392 content:""; | 361 content: ""; |
393 background-position: -51px 0px; | 362 background-position: -51px 0px; |
394 height: 18px; | 363 height: 18px; |
395 width: 18px; | 364 width: 18px; |
396 visibility: visible; | 365 visibility: visible; |
397 } | 366 } |
398 | 367 |
399 .table input[type=checkbox]:checked:before | 368 .table input[type="checkbox"]:checked::before |
400 { | 369 { |
401 content:""; | 370 content: ""; |
402 background-position: -68px 0px; | 371 background-position: -68px 0px; |
403 height: 18px; | 372 height: 18px; |
404 padding: 0px; | 373 padding: 0px; |
405 width: 18px; | 374 width: 18px; |
406 visibility: visible; | 375 visibility: visible; |
407 } | 376 } |
408 | 377 |
409 .table button.delete | 378 .table button.delete |
410 { | 379 { |
411 background-color: transparent; | 380 background-color: transparent; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
445 } | 414 } |
446 | 415 |
447 .tabs.horizontal li.active | 416 .tabs.horizontal li.active |
448 { | 417 { |
449 border-bottom: 2px solid #1E8728; | 418 border-bottom: 2px solid #1E8728; |
450 color: black; | 419 color: black; |
451 font-weight: bold; | 420 font-weight: bold; |
452 padding-bottom: 10px; | 421 padding-bottom: 10px; |
453 } | 422 } |
454 | 423 |
455 .icon, .table input[type=checkbox]:before, .table button.delete, | 424 .icon, .table input[type="checkbox"]::before, .table button.delete, |
456 #content-help a:before, #modal-close:before | 425 #content-help a::before, #dialog-close::before |
457 { | 426 { |
458 background-image: url(options-sprite.png); | 427 background-image: url(options-sprite.png); |
459 display: inline-block; | 428 display: inline-block; |
460 } | 429 } |
461 | 430 |
462 .icon-add | 431 .icon-add |
463 { | 432 { |
464 background-position: -0px -0px; | 433 background-position: -0px -0px; |
465 cursor: pointer; | 434 cursor: pointer; |
466 height: 18px; | 435 height: 18px; |
(...skipping 10 matching lines...) Expand all Loading... | |
477 | 446 |
478 .icon-edit | 447 .icon-edit |
479 { | 448 { |
480 background-position: -17px -0px; | 449 background-position: -17px -0px; |
481 cursor: pointer; | 450 cursor: pointer; |
482 height: 18px; | 451 height: 18px; |
483 width: 18px; | 452 width: 18px; |
484 } | 453 } |
485 | 454 |
486 .icon-arrow, | 455 .icon-arrow, |
487 #content-help a:before | 456 #content-help a::before |
488 { | 457 { |
489 background-position: 0px -42px; | 458 background-position: 0px -42px; |
490 content: ""; | 459 content: ""; |
491 cursor: pointer; | 460 cursor: pointer; |
492 height: 11px; | 461 height: 11px; |
493 vertical-align: middle; | 462 vertical-align: middle; |
494 width: 7px; | 463 width: 7px; |
495 } | 464 } |
496 | 465 |
497 .controls | 466 .controls |
498 { | 467 { |
499 border-top: 1px solid #CDCDCD; | 468 border-top: 1px solid #CDCDCD; |
500 padding-top: 8px; | 469 padding-top: 8px; |
501 -moz-padding-start: 16px; | 470 -moz-padding-start: 16px; |
502 -webkit-padding-start: 16px; | 471 -webkit-padding-start: 16px; |
503 position: relative; | 472 position: relative; |
504 } | 473 } |
505 | 474 |
506 .controls > div | 475 .controls > div |
507 { | 476 { |
508 display: flex; | 477 display: flex; |
509 } | 478 } |
510 | 479 |
480 .controls button, | |
481 #dialog-close | |
482 { | |
483 background: none; | |
484 border: none; | |
485 cursor: pointer; | |
486 display: block; | |
487 padding: 0; | |
488 } | |
489 | |
490 .controls button span:not(.icon) | |
491 { | |
492 color: #3A7BA6; | |
493 display: inline-block; | |
494 -moz-margin-start: 15px; | |
495 -webkit-margin-start: 15px; | |
496 padding-top: 1px; | |
497 vertical-align: top; | |
498 } | |
499 | |
500 /* | |
501 General tab content | |
502 */ | |
503 | |
504 #blocking-languages, | |
505 #acceptable-ads | |
506 { | |
507 -moz-padding-end: 40px; | |
508 -webkit-padding-end: 40px; | |
509 } | |
510 | |
511 #custom-wrapper | |
512 { | |
513 width: 400px; | |
514 height: 290px; | |
515 overflow: auto; | |
516 } | |
517 | |
518 #custom-wrapper .table | |
519 { | |
520 width: 100%; | |
521 } | |
522 | |
511 #whitelisting .controls | 523 #whitelisting .controls |
512 { | 524 { |
513 -moz-padding-start: 12px; | 525 -moz-padding-start: 12px; |
514 -webkit-padding-start: 12px; | 526 -webkit-padding-start: 12px; |
515 } | 527 } |
516 | 528 |
517 #whitelisting .controls input[type=text], | 529 #whitelisting .controls input[type="text"] |
518 #whitelisting .controls input[type=text]:focus | |
519 { | 530 { |
520 border: 0px; | 531 border: 0px; |
521 border-bottom: 1px solid #A1A1A1; | 532 border-bottom: 1px solid #A1A1A1; |
522 -moz-padding-end: 25px; | 533 -moz-padding-end: 25px; |
523 -webkit-padding-end: 25px; | 534 -webkit-padding-end: 25px; |
524 -moz-margin-start: 14px; | 535 -moz-margin-start: 14px; |
525 -webkit-margin-start: 14px; | 536 -webkit-margin-start: 14px; |
526 outline: 0px; | 537 outline: 0px; |
527 padding-bottom: 5px; | 538 padding-bottom: 5px; |
528 vertical-align: text-bottom; | 539 vertical-align: text-bottom; |
529 width: 330px; | 540 width: 330px; |
530 } | 541 } |
531 | 542 |
532 .controls button, | 543 #whitelisting .controls .button-add span |
533 #modal-close | 544 { |
534 { | 545 -moz-margin-start: 5px; |
535 background: none; | 546 -webkit-margin-start: 5px; |
536 border: none; | 547 } |
537 cursor: pointer; | 548 |
538 display: block; | 549 #whitelisting .button-add |
539 padding: 0; | 550 { |
540 } | 551 -moz-margin-start: 32px; |
541 | 552 -webkit-margin-start: 32px; |
542 .controls button span:not(.icon) | 553 } |
543 { | 554 |
555 #whitelisting-add-button + span | |
556 { | |
557 flex: 1; | |
558 } | |
559 | |
560 .icon-enter | |
561 { | |
562 background-position: -18px -85px; | |
563 cursor: pointer; | |
564 height: 10px; | |
565 position: absolute; | |
566 top: 10px; | |
567 -moz-margin-start: -20px; | |
568 -webkit-margin-start: -20px; | |
569 width: 10px; | |
570 } | |
571 | |
572 .button-add, .cancel-button | |
573 { | |
574 background-color: transparent; | |
575 border: 0px; | |
544 color: #3A7BA6; | 576 color: #3A7BA6; |
545 display: inline-block; | 577 cursor: pointer; |
546 -moz-margin-start: 15px; | 578 } |
547 -webkit-margin-start: 15px; | 579 |
548 padding-top: 1px; | 580 /* |
549 vertical-align: top; | 581 Advanced tab content |
582 */ | |
583 | |
584 #blocking-list-own .table | |
585 { | |
586 height: 290px; | |
587 overflow: auto; | |
588 width: auto; | |
550 } | 589 } |
551 | 590 |
552 #blocking-list-own .controls | 591 #blocking-list-own .controls |
553 { | 592 { |
554 display: flex; | 593 display: flex; |
555 padding: 0px; | 594 padding: 0px; |
556 border: none; | 595 border: none; |
557 } | 596 } |
558 | 597 |
559 #modal .btn-wrapper span:not(.icon) | 598 #blocking-list-own input[type="text"], |
560 { | 599 #blocking-list-own input[type="text"]:focus |
561 color: #3A7BA6; | |
562 display: inline-block; | |
563 -moz-margin-start: 15px; | |
564 -webkit-margin-start: 15px; | |
565 vertical-align: top; | |
566 } | |
567 | |
568 #content-help | |
569 { | |
570 counter-reset: section; | |
571 } | |
572 | |
573 #content-help h1:before | |
574 { | |
575 counter-increment: section; | |
576 content: counter(section) ". "; | |
577 } | |
578 | |
579 #content-help a | |
580 { | |
581 color: #3A7BA6; | |
582 display: inline-block; | |
583 text-decoration: none; | |
584 -moz-margin-end: 16px; | |
585 -webkit-margin-end: 16px; | |
586 vertical-align: top; | |
587 } | |
588 | |
589 #content-help a:before | |
590 { | |
591 -moz-margin-end: 6px; | |
592 -webkit-margin-end: 6px; | |
593 } | |
594 | |
595 .nav-link | |
596 { | |
597 -moz-margin-start: 12px; | |
598 -webkit-margin-start: 12px; | |
599 color: #3A7BA6; | |
600 } | |
601 | |
602 #blocking-list-own input[type=text], | |
603 #blocking-list-own input[type=text]:focus | |
604 { | 600 { |
605 border: 0px; | 601 border: 0px; |
606 border-bottom: 1px solid; | 602 border-bottom: 1px solid; |
607 border-top: 1px solid; | 603 border-top: 1px solid; |
608 border-color: #1E8728; | 604 border-color: #1E8728; |
609 box-sizing: border-box; | 605 box-sizing: border-box; |
610 height: 25px; | 606 height: 25px; |
611 outline: 0px; | 607 outline: 0px; |
612 -moz-padding-start: 10px; | 608 -moz-padding-start: 10px; |
613 -webkit-padding-start: 10px; | 609 -webkit-padding-start: 10px; |
(...skipping 20 matching lines...) Expand all Loading... | |
634 #blocking-list-own .input-separator | 630 #blocking-list-own .input-separator |
635 { | 631 { |
636 display: inline-block; | 632 display: inline-block; |
637 -moz-border-end: 1px solid #CDCDCD; | 633 -moz-border-end: 1px solid #CDCDCD; |
638 -webkit-border-end: 1px solid #CDCDCD; | 634 -webkit-border-end: 1px solid #CDCDCD; |
639 height: 15px; | 635 height: 15px; |
640 margin: 0px 4px -4px 0px; | 636 margin: 0px 4px -4px 0px; |
641 width: 1px; | 637 width: 1px; |
642 } | 638 } |
643 | 639 |
644 #blocking-list-own .input-btn-text | 640 #blocking-list-own .input-button-text |
645 { | 641 { |
646 font-size: 12px; | 642 font-size: 12px; |
647 } | |
648 | |
649 .icon-enter | |
650 { | |
651 background-position: -18px -85px; | |
652 cursor: pointer; | |
653 height: 10px; | |
654 position: absolute; | |
655 top: 10px; | |
656 -moz-margin-start: -20px; | |
657 -webkit-margin-start: -20px; | |
658 width: 10px; | |
659 } | |
660 | |
661 .button-add, .cancelbtn | |
662 { | |
663 background-color: transparent; | |
664 border: 0px; | |
665 color: #3A7BA6; | |
666 cursor: pointer; | |
667 } | |
668 | |
669 .controls .button-add span | |
670 { | |
671 -moz-margin-start: 5px !important; | |
672 -webkit-margin-start: 5px !important; | |
673 } | |
674 | |
675 #other-language .button-add | |
676 { | |
677 -webkit-border-end: 1px solid #CDCDCD; | |
678 -moz-border-end: 1px solid #CDCDCD; | |
679 -webkit-padding-end: 10px; | |
680 -moz-padding-end: 10px; | |
681 -webkit-padding-start: 0px; | |
682 -moz-padding-start: 0px; | |
683 } | |
684 | |
685 #other-language .display | |
686 { | |
687 -webkit-margin-start: 10px; | |
688 -moz-margin-start: 10px; | |
689 } | |
690 | |
691 #whitelisting .button-add | |
692 { | |
693 -moz-margin-start: 32px; | |
694 -webkit-margin-start: 32px; | |
695 } | |
696 | |
697 #whitelisting-add-btn + span | |
698 { | |
699 flex: 1; | |
700 } | 643 } |
701 | 644 |
702 .tooltip, #block-element-explanation a | 645 .tooltip, #block-element-explanation a |
703 { | 646 { |
704 border-bottom: dotted 2px; | 647 border-bottom: dotted 2px; |
705 color: #3A7BA6; | 648 color: #3A7BA6; |
706 font-size: 12px; | 649 font-size: 12px; |
707 text-decoration: none; | 650 text-decoration: none; |
708 } | 651 } |
709 | 652 |
710 #content-advanced .tooltip | 653 #content-advanced .tooltip |
711 { | 654 { |
712 -moz-margin-start: 8px; | 655 -moz-margin-start: 8px; |
713 -webkit-margin-start: 8px; | 656 -webkit-margin-start: 8px; |
714 } | 657 } |
715 | 658 |
716 #block-element-explanation a | 659 #block-element-explanation a |
717 { | 660 { |
718 color: black; | 661 color: black; |
719 border-bottom-color: #3A7BA6; | 662 border-bottom-color: #3A7BA6; |
720 font-weight: bold; | 663 font-weight: bold; |
721 -moz-padding-start: 0px !important; | 664 -moz-padding-start: 0px; |
722 -webkit-padding-start: 0px !important; | 665 -webkit-padding-start: 0px; |
Thomas Greiner
2015/02/18 17:19:27
Why is it necessary to use `!important` here?
saroyanm
2015/02/26 12:18:33
No need, thanks.
| |
723 } | 666 } |
724 | 667 |
725 #modal | 668 /* |
669 Help tab content | |
670 */ | |
671 | |
672 #content-help | |
673 { | |
674 counter-reset: section; | |
675 } | |
676 | |
677 #content-help h1::before | |
678 { | |
679 counter-increment: section; | |
680 content: counter(section) ". "; | |
681 } | |
682 | |
683 #content-help a | |
684 { | |
685 color: #3A7BA6; | |
686 display: inline-block; | |
687 text-decoration: none; | |
688 -moz-margin-end: 16px; | |
689 -webkit-margin-end: 16px; | |
690 vertical-align: top; | |
691 } | |
692 | |
693 #content-help a::before | |
694 { | |
695 -moz-margin-end: 6px; | |
696 -webkit-margin-end: 6px; | |
697 } | |
698 | |
699 /* | |
700 Dialog | |
701 */ | |
702 | |
703 #dialog-background | |
704 { | |
705 display: none; | |
706 background-color: white; | |
707 position: absolute; | |
708 opacity: 0.7; | |
709 top: 0px; | |
710 right: 0px; | |
711 bottom: 0px; | |
712 left: 0px; | |
713 z-index: 2; | |
714 } | |
715 | |
716 body[data-dialog] #dialog-background | |
717 { | |
718 display: block; | |
719 } | |
720 | |
721 #dialog | |
726 { | 722 { |
727 background-color: #FFFFFF; | 723 background-color: #FFFFFF; |
728 border: 2px solid #4D9D4B; | 724 border: 2px solid #4D9D4B; |
729 border-radius: 3px; | 725 border-radius: 3px; |
730 display: none; | 726 display: none; |
731 margin: auto; | 727 margin: auto; |
732 position:absolute; | 728 position:absolute; |
733 top:100px; | 729 top:100px; |
734 left: 0px; | 730 left: 0px; |
735 right: 0px; | 731 right: 0px; |
736 z-index: 2; | 732 z-index: 2; |
737 width: 400px; | 733 width: 400px; |
738 } | 734 } |
739 | 735 |
740 #modal header | 736 #dialog header |
741 { | 737 { |
742 background-color: #4D9D4B; | 738 background-color: #4D9D4B; |
743 display: flex; | 739 display: flex; |
744 height: 25px; | 740 height: 25px; |
745 padding: 10px; | 741 padding: 10px; |
746 } | 742 } |
747 | 743 |
748 #modal-close | 744 #dialog-close |
749 { | 745 { |
750 -moz-border-start: 1px solid #25612B; | 746 -moz-border-start: 1px solid #25612B; |
751 -webkit-border-start: 1px solid #25612B; | 747 -webkit-border-start: 1px solid #25612B; |
752 color: #0F660F; | 748 color: #0F660F; |
753 display: inline-block; | 749 display: inline-block; |
754 height: 20px; | 750 height: 20px; |
755 font-size: 15px; | 751 font-size: 15px; |
756 -moz-padding-start: 10px; | 752 -moz-padding-start: 10px; |
757 -webkit-padding-start: 10px; | 753 -webkit-padding-start: 10px; |
758 } | 754 } |
759 | 755 |
760 #modal-close:before | 756 #dialog-close::before |
761 { | 757 { |
762 background-position: -9px -32px; | 758 background-position: -9px -32px; |
763 content: ""; | 759 content: ""; |
764 cursor: pointer; | 760 cursor: pointer; |
765 height: 12px; | 761 height: 12px; |
766 width: 12px; | 762 width: 12px; |
767 vertical-align: middle; | 763 vertical-align: middle; |
768 -moz-margin-end: 6px; | 764 -moz-margin-end: 6px; |
769 -webkit-margin-end: 6px; | 765 -webkit-margin-end: 6px; |
770 } | 766 } |
771 | 767 |
772 #modal .content | 768 #dialog #dialog-body |
773 { | 769 { |
774 margin: 4px 24px; | 770 margin: 4px 24px; |
775 } | 771 } |
776 | 772 |
777 #modal h3 | 773 #dialog h3 |
778 { | 774 { |
779 font-size: 14px; | 775 font-size: 14px; |
780 margin: 0px; | 776 margin: 0px; |
781 } | 777 } |
782 | 778 |
783 #modal .content input[type=text] | 779 #dialog input[type="text"], |
780 #dialog input[type="search"] | |
784 { | 781 { |
785 -webkit-box-sizing: border-box; | 782 -webkit-box-sizing: border-box; |
786 -moz-box-sizing: border-box; | 783 -moz-box-sizing: border-box; |
787 box-sizing: border-box; | 784 box-sizing: border-box; |
788 font-size: 16px; | 785 font-size: 16px; |
789 margin-top: 10px; | 786 margin-top: 10px; |
790 padding: 5px; | 787 padding: 5px; |
791 width: 100%; | 788 width: 100%; |
792 } | 789 } |
793 | 790 |
794 #modal .table | 791 #dialog .table |
795 { | 792 { |
796 width: 100%; | 793 width: 100%; |
797 } | 794 } |
798 | 795 |
799 #modal #other-language .table | 796 #dialog #other-language .table |
800 { | 797 { |
801 height: 200px; | 798 height: 200px; |
802 overflow: auto; | 799 overflow: auto; |
803 } | 800 } |
804 | 801 |
805 #modal .section:not(:first-child) | 802 #dialog .section:not(:first-child) |
806 { | 803 { |
807 margin-top: 24px; | 804 margin-top: 24px; |
808 } | 805 } |
809 | 806 |
810 #modal .close-wrapper | 807 #dialog-title |
811 { | |
812 -moz-margin-end: 16px !important; | |
813 -webkit-margin-end: 16px !important; | |
814 } | |
815 | |
816 #modal-title | |
817 { | 808 { |
818 -moz-margin-start: 16px; | 809 -moz-margin-start: 16px; |
819 -webkit-margin-start: 16px; | 810 -webkit-margin-start: 16px; |
820 flex: 1; | 811 flex: 1; |
821 font-size: 16px; | 812 font-size: 16px; |
822 color: #FFFFFF; | 813 color: #FFFFFF; |
823 } | 814 } |
824 | 815 |
825 #modal .content > div > div | 816 #dialog-title > span |
817 { | |
818 display: none; | |
819 } | |
820 | |
821 body[data-dialog="customlist"] #dialog-title-customlist, | |
822 body[data-dialog="language"] #dialog-title-language | |
823 { | |
824 display: inline; | |
825 } | |
826 | |
827 #dialog-body .dialog-content-block | |
826 { | 828 { |
827 padding: 12px 0px; | 829 padding: 12px 0px; |
828 } | 830 } |
829 | 831 |
830 #modal-content > div | 832 #dialog-body .dialog-content |
831 { | 833 { |
832 display: none; | 834 display: none; |
833 } | 835 } |
834 | 836 |
835 #modal-content > div.active | 837 #dialog .button-wrapper |
836 { | |
837 display: block; | |
838 } | |
839 | |
840 #modal .btn-wrapper | |
841 { | 838 { |
842 background-color: #F5F5F5; | 839 background-color: #F5F5F5; |
843 margin-top: 8px; | 840 margin-top: 8px; |
844 padding: 10px 16px; | 841 padding: 10px 16px; |
845 cursor: pointer; | 842 cursor: pointer; |
846 width: auto; | 843 width: auto; |
847 } | 844 } |
848 | 845 |
849 body[data-modal="customlist"] #modal-content-customlist, | 846 #dialog .button-wrapper span:not(.icon) |
850 body[data-modal="language"] #modal-content-language, | 847 { |
851 body[data-modal] #modal | 848 color: #3A7BA6; |
849 display: inline-block; | |
850 -moz-margin-start: 15px; | |
851 -webkit-margin-start: 15px; | |
852 vertical-align: top; | |
853 } | |
854 | |
855 body[data-dialog="customlist"] #dialog-content-customlist, | |
856 body[data-dialog="language"] #dialog-content-language, | |
857 body[data-dialog] #dialog | |
852 { | 858 { |
853 display: block; | 859 display: block; |
854 } | 860 } |
861 | |
862 #other-language .button-add | |
863 { | |
864 -webkit-border-end: 1px solid #CDCDCD; | |
865 -moz-border-end: 1px solid #CDCDCD; | |
866 -webkit-padding-end: 10px; | |
867 -moz-padding-end: 10px; | |
868 -webkit-padding-start: 0px; | |
869 -moz-padding-start: 0px; | |
870 } | |
871 | |
872 #other-language .display | |
873 { | |
874 -webkit-margin-start: 10px; | |
875 -moz-margin-start: 10px; | |
876 } | |
LEFT | RIGHT |