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

Powered by Google App Engine
This is Rietveld