Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: skin/options.css

Issue 6088024630755328: issue 1526 - Implement new options page design for Chrome/Opera/Safari (Closed)
Patch Set: Created Jan. 27, 2015, 11:16 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
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/>.
16 */
17
18 body
19 {
20 background-color: #F5F5F5;
21 display: flex;
22 font-family: 'Source Sans Pro', sans-serif;
23 font-size: 14px;
24 white-space: nowrap;
25 }
26
27 h1
28 {
29 font-size: 24px;
30 font-weight: 100;
31 }
32
33 h2
34 {
35 font-size: 16px;
36 font-weight: 500;
37 }
38
39 p
40 {
41 font-weight: 100;
42 }
43 hr
44 {
45 background-color: #CDCDCD;
46 border: 0px;
47 height: 1px;
48 margin: 0px;
49 }
50
51 .option-name
52 {
53 display: flex;
54 }
55
56 .option-name > *
57 {
58 -moz-margin-end: 6px;
59 -webkit-margin-end: 6px;
60 }
61
62 #nav-sidebar
63 {
64 position: relative;
65 padding: 0px 0px 16px 0px;
66 -moz-padding-start: 10px;
67 -webkit-padding-start: 10px;
68 min-width: 198px;
69 }
70
71 #nav-sidebar .fixed
72 {
73 height: 100%;
74 position: fixed;
75 }
76
77 #blocking-languages,
78 #acceptable-ads
79 {
80 -moz-padding-end: 40px;
81 -webkit-padding-end: 40px;
82 }
83
84 #page-title
85 {
86 -webkit-margin-start: 10px;
87 -moz-margin-start: 10px;
88 }
89
90 #page-title p
91 {
92 margin: 0px;
93 padding: 40px 0px 0px 0px;
94 font-size: 16px;
95 }
96
97 #page-title h1
98 {
99 margin: 0px;
100 padding: 8px 0px 16px 0px;
101 }
102
103 .flex-container
104 {
105 display: flex;
106 flex-flow: row wrap;
107 }
108
109 .tabs li
110 {
111 cursor: pointer;
112 display: flex;
113 }
114
115 .tabs li span:first-child
116 {
117 flex: 1;
118 }
119
120 .tabs.vertical
121 {
122 list-style: none;
123 margin: 0px;
124 position: relative;
125 padding: 0px;
126 width: 198px;
127 }
128
129 .tabs.vertical li
130 {
131 border-color: #CDCDCD;
132 border-style: solid;
133 border-width: 1px 0px 0px 0px;
134 font-size: 16px;
135 font-weight: 100;
136 padding: 16px 0px;
137 -moz-padding-end: 20px;
138 -webkit-padding-end: 20px;
139 -moz-padding-start: 11px;
140 -webkit-padding-start: 11px;
141 }
142
143 .tabs.vertical li.active + li
144 {
145 border-width: 0px;
146 }
147
148 .tabs.vertical li:last-child
149 {
150 border-bottom-width: 1px !important;
151 }
152
153 .tabs.vertical li.active
154 {
155 background-color: #FFFFFF;
156 border-radius: 3px 0px 0px 3px;
157 border-width: 1px;
158 -moz-border-end: 0px;
159 -webkit-border-end: 0px;
160 font-weight: 900;
161 -moz-margin-end: -1px;
162 -webkit-margin-end: -1px;
163 -moz-padding-start: 10px;
164 -webkit-padding-start: 10px;
165 position: relative;
166 }
167
168 .tabs.vertical.bottom
169 {
170 bottom: 0px;
171 position: absolute;
172 }
173
174 .tabs.vertical.bottom li:first-child
175 {
176 border-top: 0px;
177 }
178
179 .tabs.vertical .icon
180 {
181 margin: 2px 0px 0px 0px;
182 }
183
184 #tab-general .icon
185 {
186 background-position: -15px -17px;
187 height: 16px;
188 width: 16px;
189 }
190
191 #tab-advanced .icon
192 {
193 background-position: -45px -18px;
194 height: 16px;
195 width: 16px;
196 }
197
198 #tab-help .icon
199 {
200 background-position: 0px -17px;
201 height: 16px;
202 width: 16px;
203 }
204
205 #tab-share .icon
206 {
207 background-position: -60px -17px;
208 height: 16px;
209 width: 16px;
210 }
211
212 #tab-donate .icon
213 {
214 background-position: -30px -17px;
215 height: 16px;
216 width: 16px;
217 }
218
219 #tab-content
220 {
221 background-color: #FFFFFF;
222 border: 1px solid #CDCDCD;
223 border-radius: 8px;
224 padding: 0px 60px 40px 60px;
225 width: 960px;
226 }
227
228 #tab-content h1
229 {
230 border-bottom: 1px solid #CDCDCD;
231 margin: 0px;
232 padding: 40px 0px 16px 0px;
233 }
234
235 #modal-background
236 {
237 background-color: white;
238 position: absolute;
239 opacity: 0.7;
240 top: 0px;
241 right: 0;
242 bottom: 0px;
243 left: 0;
244 z-index: 2;
245 }
246
247 #content-wrapper
248 {
249 position: relative;
250 }
251
252 #content-wrapper > div,
253 #blocking-list > div
254 {
255 display: none;
256 }
257
258 div.button
259 {
260 cursor: pointer;
261 display: flex;
262 }
263
264 .table
265 {
266 list-style: none;
267 margin: 0px;
268 padding: 0px;
269 position: relative;
270 width: 400px;
271 }
272
273 .table li
274 {
275 display: flex;
276 padding: 14px 0px;
277 -webkit-padding-start: 16px;
278 -moz-padding-start: 16px;
279 }
280
281 .table.list li:nth-child(odd)
282 {
283 background-color: #F5F5F5;
284 }
285
286 .table.list li .display
287 {
288 flex: 1;
289 }
290
291 .table.cols li:nth-child(even)
292 {
293 background-color: #F5F5F5;
294 }
295
296 #blocking-list-own .table
297 {
298 height: 290px;
299 overflow: auto;
300 width: auto;
301 }
302
303 .table label
304 {
305 vertical-align: top;
306 }
307
308 .table.cols span
309 {
310 display: inline-block;
311 width: 30%;
312 }
313
314 .table.cols .col-name
315 {
316 border-bottom: 1px solid #CDCDCD;
317 }
318
319 .table.cols .col-name span
320 {
321 display: inline-block;
322 width: 30%;
323 }
324
325 .table.cols .col-name span:first-child
326 {
327 padding-left: 38px;
328 }
329
330 #further-blocking .table
331 {
332 height: 290px;
333 overflow: auto;
334 }
335
336 .table::-webkit-scrollbar
337 {
338 padding-right: 10px;
339 width: 5px;
340 }
341
342 .table::-webkit-scrollbar-thumb
343 {
344 background-color: #CDCDCD;
345 border-radius: 5px;
346 padding: 0px 40px;
347 }
348
349 .table::-webkit-scrollbar-thumb:hover
350 {
351 background-color: #A1A1A1;
352 }
353
354 .table input[type=checkbox]
355 {
356 display:none;
357 }
358
359 .table input[type=checkbox] + span
360 {
361 background-position: -51px 0px;
362 height: 18px;
363 -moz-margin-end: 20px;
364 -webkit-margin-end: 20px;
365 padding: 0px 0px 0px 0px;
366 width: 18px;
367 }
368
369 .table input[type=checkbox]:checked + span
370 {
371 background-position: -68px 0px;
372 height: 18px;
373 padding: 0px;
374 width: 18px;
375 }
376
377 .table button.delete
378 {
379 background-color: transparent;
380 background-position: -9px -32px;
381 border: 0px;
382 height: 10px;
383 margin-top: 5px;
384 -moz-margin-end: 20px;
385 -webkit-margin-end: 20px;
386 padding: 0px;
387 cursor: pointer;
388 width: 10px;
389 }
390
391 .table .popular
392 {
393 color: #1E8728;
394 font-size: 12px;
395 -moz-padding-end: 12px;
396 -webkit-padding-end: 12px;
397 }
398
399 .tabs.horizontal
400 {
401 margin-bottom: 0px;
402 padding: 0px;
403 }
404
405 .tabs.horizontal li
406 {
407 border-bottom: 1px solid #A1A1A1;
408 display: inline-block;
409 color: #3A7BA6;
410 padding: 10px 0px 11px 0px;
411 text-align: center;
412 width: 50%;
413 }
414
415 .tabs.horizontal li.active
416 {
417 border-bottom: 2px solid #1E8728;
418 color: black;
419 font-weight: bold;
420 padding-bottom: 10px;
421 }
422
423 .icon, .table input[type=checkbox] + span, .table button.delete,
424 #content-help a:before, #modal-close:before
425 {
426 background-image: url(options-sprite.png);
427 display: inline-block;
428 }
429
430 .icon-add
431 {
432 background-position: -0px -0px;
433 cursor: pointer;
434 height: 18px;
435 width: 18px;
436 }
437
438 .icon-update
439 {
440 background-position: -34px -0px;
441 cursor: pointer;
442 height: 18px;
443 width: 18px;
444 }
445
446 .icon-edit
447 {
448 background-position: -17px -0px;
449 cursor: pointer;
450 height: 18px;
451 width: 18px;
452 }
453
454 .icon-arrow,
455 #content-help a:before
456 {
457 background-position: 0px -42px;
458 content: "";
459 cursor: pointer;
460 height: 11px;
461 vertical-align: middle;
462 width: 7px;
463 }
464
465 .controls
466 {
467 border-top: 1px solid #CDCDCD;
468 padding-top: 8px;
469 -moz-padding-start: 16px;
470 -webkit-padding-start: 16px;
471 position: relative;
472 }
473
474 .controls > div
475 {
476 display: flex;
477 }
478
479 #whitelisting .controls
480 {
481 -moz-padding-start: 12px;
482 -webkit-padding-start: 12px;
483 }
484
485 #whitelisting .controls input[type=text],
486 #whitelisting .controls input[type=text]:focus
487 {
488 border: 0px;
489 border-bottom: 1px solid #A1A1A1;
490 -moz-padding-end: 25px;
491 -webkit-padding-end: 25px;
492 -moz-margin-start: 14px;
493 -webkit-margin-start: 14px;
494 outline: 0px;
495 padding-bottom: 5px;
496 vertical-align: text-bottom;
497 width: 330px;
498 }
499
500 .controls button,
501 #modal-close
502 {
503 background: none;
504 border: none;
505 cursor: pointer;
506 display: block;
507 padding: 0;
508 }
509
510 .controls button span:not(.icon)
511 {
512 color: #3A7BA6;
513 display: inline-block;
514 -moz-margin-start: 15px;
515 -webkit-margin-start: 15px;
516 padding-top: 1px;
517 vertical-align: top;
518 }
519
520 #blocking-list-own .controls
521 {
522 padding: 0px;
523 border: none;
524 }
525
526 #modal .btn-wrapper span:not(.icon)
527 {
528 color: #3A7BA6;
529 display: inline-block;
530 -moz-margin-start: 15px;
531 -webkit-margin-start: 15px;
532 vertical-align: top;
533 }
534
535 #content-help
536 {
537 counter-reset: section;
538 }
539
540 #content-help h1:before
541 {
542 counter-increment: section;
543 content: counter(section) ". ";
544 }
545
546 #content-help a
547 {
548 color: #3A7BA6;
549 display: inline-block;
550 text-decoration: none;
551 -moz-margin-end: 16px;
552 -webkit-margin-end: 16px;
553 vertical-align: top;
554 }
555
556 #content-help a:before
557 {
558 -moz-margin-end: 6px;
559 -webkit-margin-end: 6px;
560 }
561
562 .nav-link
563 {
564 -moz-margin-start: 12px;
565 -webkit-margin-start: 12px;
566 color: #3A7BA6;
567 }
568
569 #blocking-list-own input[type=text],
570 #blocking-list-own input[type=text]:focus
571 {
572 border: 0px;
573 border-bottom: 1px solid;
574 border-top: 1px solid;
575 border-color: #1E8728;
576 box-sizing: border-box;
577 height: 25px;
578 outline: 0px;
579 padding-left: 10px;
580 width: 100%;
581 }
582
583 .icon-enter-blue
584 {
585 background-position: -28px -85px;
586 cursor: pointer;
587 height: 10px;
588 margin: 0px 0px -2px 2px;
589 width: 10px;
590 }
591
592 #blocking-list-own .input-control
593 {
594 position: absolute;
595 bottom: 5px;
596 right: 10px;
597 }
598
599 #blocking-list-own .input-separator
600 {
601 display: inline-block;
602 border-right: 1px solid #CDCDCD;
603 height: 15px;
604 margin: 0px 4px -4px 0px;
605 width: 1px;
606 }
607
608 #blocking-list-own .input-btn-text
609 {
610 font-size: 12px;
611 }
612
613 .icon-enter
614 {
615 background-position: -18px -85px;
616 cursor: pointer;
617 height: 10px;
618 position: absolute;
619 top: 2px;
620 -moz-margin-start: -20px;
621 -webkit-margin-start: -20px;
622 width: 10px;
623 }
624
625 .button-add, .cancelbtn
626 {
627 background-color: transparent;
628 border: 0px;
629 color: #3A7BA6;
630 cursor: pointer;
631 }
632
633 .controls .button-add span
634 {
635 -moz-margin-start: 5px !important;
636 -webkit-margin-start: 5px !important;
637 }
638
639 #other-language .button-add
640 {
641 -webkit-border-end: 1px solid #CDCDCD;
642 -moz-border-end: 1px solid #CDCDCD;
643 -webkit-padding-end: 10px;
644 -moz-padding-end: 10px;
645 -webkit-padding-start: 0px;
646 -moz-padding-start: 0px;
647 }
648
649 #other-language .display
650 {
651 -webkit-margin-start: 10px;
652 -moz-margin-start: 10px;
653 }
654
655 #whitelisting .button-add
656 {
657 -moz-margin-start: 32px;
658 -webkit-margin-start: 32px;
659 }
660
661 #whitelisting-add-btn + span
662 {
663 flex: 1;
664 }
665
666 .cancelbtn
667 {
668 float: right;
669 }
670
671 .tooltip, #block-element-explanation a
672 {
673 border-bottom: dotted 2px;
674 color: #3A7BA6;
675 font-size: 12px;
676 text-decoration: none;
677 }
678
679 #content-advanced .tooltip
680 {
681 -moz-margin-start: 8px;
682 -webkit-margin-start: 8px;
683 }
684
685 #block-element-explanation a
686 {
687 color: black;
688 border-bottom-color: #3A7BA6;
689 font-weight: bold;
690 padding-left: 0px !important;
691 }
692
693 #modal
694 {
695 background-color: #FFFFFF;
696 border: 2px solid #4D9D4B;
697 border-radius: 3px;
698 left:50%;
699 top:50%;
700 margin:0 auto;
701 margin-left:-200px;
702 margin-top:-200px;
703 position:absolute;
704 z-index: 2;
705 visibility: hidden;
706 width: 400px;
707 }
708
709 #modal header
710 {
711 background-color: #4D9D4B;
712 display: flex;
713 height: 25px;
714 padding: 10px;
715 }
716
717 #modal-close
718 {
719 -moz-border-start: 1px solid #25612B;
720 -webkit-border-start: 1px solid #25612B;
721 color: #0F660F;
722 display: inline-block;
723 height: 20px;
724 font-size: 15px;
725 -moz-padding-start: 10px;
726 -webkit-padding-start: 10px;
727 }
728
729 #modal-close:before
730 {
731 background-position: -9px -32px;
732 content: "";
733 cursor: pointer;
734 height: 12px;
735 width: 12px;
736 vertical-align: middle;
737 -moz-margin-end: 6px;
738 -webkit-margin-end: 6px;
739 }
740
741 #modal .content
742 {
743 margin: 4px 24px;
744 }
745
746 #modal h3
747 {
748 font-size: 14px;
749 margin: 0px;
750 }
751
752 #modal .content input[type=text]
753 {
754 -webkit-box-sizing: border-box;
755 -moz-box-sizing: border-box;
756 box-sizing: border-box;
757 font-size: 16px;
758 margin-top: 10px;
759 padding: 5px;
760 width: 100%;
761 }
762
763 #modal .table
764 {
765 width: 100%;
766 }
767
768 #modal #other-language .table
769 {
770 height: 200px;
771 overflow: auto;
772 }
773
774 #modal .section:not(:first-child)
775 {
776 margin-top: 24px;
777 }
778
779 #modal .close-wrapper
780 {
781 margin-right: 16px !important;
782 }
783
784 #modal-title
785 {
786 -moz-margin-start: 16px;
787 -webkit-margin-start: 16px;
788 flex: 1;
789 font-size: 16px;
790 color: #FFFFFF;
791 }
792
793 #modal .content > div > div
794 {
795 padding: 12px 0px;
796 }
797
798 #modal-content > div
799 {
800 display: none;
801 }
802
803 #modal .btn-wrapper
804 {
805 background-color: #F5F5F5;
806 margin-top: 8px;
807 padding: 10px 16px;
808 cursor: pointer;
809 width: auto;
810 }
OLDNEW
« no previous file with comments | « options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld