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

Delta Between Two Patch Sets: skin/options.css

Issue 6088024630755328: issue 1526 - Implement new options page design for Chrome/Opera/Safari (Closed)
Left Patch Set: Created Jan. 23, 2015, 6:09 p.m.
Right Patch Set: Comment about solution being temprorary is added to subscriptions.xml Created June 13, 2015, 12:59 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « options.js ('k') | skin/options-sprite.png » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 border-width: 1px 0px 0px 0px; 132 border-width: 1px 0px 0px 0px;
134 font-size: 16px; 133 font-size: 16px;
135 font-weight: 100; 134 font-weight: 100;
136 padding: 16px 0px; 135 padding: 16px 0px;
137 -moz-padding-end: 20px; 136 -moz-padding-end: 20px;
138 -webkit-padding-end: 20px; 137 -webkit-padding-end: 20px;
139 -moz-padding-start: 11px; 138 -moz-padding-start: 11px;
140 -webkit-padding-start: 11px; 139 -webkit-padding-start: 11px;
141 } 140 }
142 141
143 .tabs.vertical li.active + li 142 body[data-tab="general"] #tab-general + li,
143 body[data-tab="advanced"] #tab-advanced + li,
144 body[data-tab="help"] #tab-help + li
144 { 145 {
145 border-width: 0px; 146 border-width: 0px;
146 } 147 }
147 148
148 .tabs.vertical li:last-child 149 #tab-help,
149 { 150 body[data-tab="advanced"] #tab-advanced + li
150 border-bottom-width: 1px !important; 151 {
151 } 152 border-bottom-width: 1px;
152 153 }
153 .tabs.vertical li.active 154
155 body[data-tab="general"] #tab-general,
156 body[data-tab="advanced"] #tab-advanced,
157 body[data-tab="help"] #tab-help
154 { 158 {
155 background-color: #FFFFFF; 159 background-color: #FFFFFF;
156 border-radius: 3px 0px 0px 3px; 160 border-radius: 3px 0px 0px 3px;
157 border-width: 1px; 161 border-width: 1px;
158 -moz-border-end: 0px; 162 -moz-border-end: 0px;
159 -webkit-border-end: 0px; 163 -webkit-border-end: 0px;
160 font-weight: 900; 164 font-weight: 900;
161 -moz-margin-end: -1px; 165 -moz-margin-end: -1px;
162 -webkit-margin-end: -1px; 166 -webkit-margin-end: -1px;
163 -moz-padding-start: 10px; 167 -moz-padding-start: 10px;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 width: 960px; 229 width: 960px;
226 } 230 }
227 231
228 #tab-content h1 232 #tab-content h1
229 { 233 {
230 border-bottom: 1px solid #CDCDCD; 234 border-bottom: 1px solid #CDCDCD;
231 margin: 0px; 235 margin: 0px;
232 padding: 40px 0px 16px 0px; 236 padding: 40px 0px 16px 0px;
233 } 237 }
234 238
235 #modal-background 239 .nav-link
236 { 240 {
237 background-color: white; 241 -moz-margin-start: 12px;
238 position: absolute; 242 -webkit-margin-start: 12px;
239 opacity: 0.7; 243 color: #3A7BA6;
240 top: 0px;
241 right: 0;
242 bottom: 0px;
243 left: 0;
244 z-index: 2;
245 } 244 }
246 245
247 #content-wrapper 246 #content-wrapper
248 { 247 {
249 position: relative; 248 position: relative;
250 } 249 }
251 250
252 #content-wrapper > div, 251 #content-wrapper > div
253 #blocking-list > div
254 { 252 {
255 display: none; 253 display: none;
254 }
255
256 body[data-tab="general"] #content-general,
257 body[data-tab="advanced"] #content-advanced,
258 body[data-tab="help"] #content-help
259 {
260 display: block;
256 } 261 }
257 262
258 div.button 263 div.button
259 { 264 {
260 cursor: pointer; 265 cursor: pointer;
261 display: flex; 266 display: flex;
262 } 267 }
263 268
264 .table 269 .table
265 { 270 {
266 list-style: none; 271 list-style: none;
267 margin: 0px; 272 margin: 0px;
268 padding: 0px; 273 padding: 0px;
269 position: relative; 274 position: relative;
270 width: 400px; 275 width: 400px;
271 } 276 }
272 277
273 .table li 278 .table li
274 { 279 {
275 display: flex; 280 display: flex;
276 padding: 14px 0px; 281 padding: 14px 0px;
277 -webkit-padding-start: 16px; 282 -webkit-padding-start: 16px;
278 -moz-padding-start: 16px; 283 -moz-padding-start: 16px;
279 } 284 }
280 285
286 .table.list li .display
287 {
288 flex: 1;
289 }
290
281 .table.list li:nth-child(odd) 291 .table.list li:nth-child(odd)
282 { 292 {
283 background-color: #F5F5F5; 293 background-color: #F5F5F5;
284 } 294 }
285 295
286 .table.list li .display
287 {
288 flex: 1;
289 }
290
291 .table.cols li:nth-child(even) 296 .table.cols li:nth-child(even)
292 { 297 {
293 background-color: #F5F5F5; 298 background-color: #F5F5F5;
294 }
295
296 #blocking-list-own .table
297 {
298 height: 290px;
299 overflow: auto;
300 width: auto;
301 } 299 }
302 300
303 .table label 301 .table label
304 { 302 {
305 vertical-align: top; 303 vertical-align: top;
306 } 304 }
307 305
308 .table.cols span 306 .table.cols span
309 { 307 {
310 display: inline-block; 308 display: inline-block;
311 width: 30%; 309 width: 30%;
312 } 310 }
313 311
314 .table.cols .col-name 312 .table.cols .col-name
315 { 313 {
316 border-bottom: 1px solid #CDCDCD; 314 border-bottom: 1px solid #CDCDCD;
317 } 315 }
318 316
319 .table.cols .col-name span 317 .table.cols .col-name span
320 { 318 {
321 display: inline-block; 319 display: inline-block;
322 width: 30%; 320 width: 30%;
323 } 321 }
324 322
325 .table.cols .col-name span:first-child 323 .table.cols .col-name span:first-child
326 { 324 {
327 padding-left: 38px; 325 -webkit-padding-start: 38px;
328 } 326 -moz-padding-start: 38px;
329 327 }
330 #further-blocking .table 328
331 { 329 .table::-webkit-scrollbar,
332 height: 290px; 330 #custom-wrapper::-webkit-scrollbar
333 overflow: auto; 331 {
334 } 332 -webkit-padding-end: 10px;
335
336 .table::-webkit-scrollbar
337 {
338 padding-right: 10px;
339 width: 5px; 333 width: 5px;
340 } 334 }
341 335
342 .table::-webkit-scrollbar-thumb 336 .table::-webkit-scrollbar-thumb,
337 #custom-wrapper::-webkit-scrollbar-thumb
343 { 338 {
344 background-color: #CDCDCD; 339 background-color: #CDCDCD;
345 border-radius: 5px; 340 border-radius: 5px;
346 padding: 0px 40px; 341 padding: 0px 40px;
347 } 342 }
348 343
349 .table::-webkit-scrollbar-thumb:hover 344 .table::-webkit-scrollbar-thumb:hover,
345 #custom-wrapper::-webkit-scrollbar-thumb:hover
350 { 346 {
351 background-color: #A1A1A1; 347 background-color: #A1A1A1;
352 } 348 }
353 349
354 .table input[type=checkbox] 350 .table input[type="checkbox"]
355 { 351 {
356 display:none; 352 margin-top: 0px;
357 }
358
359 .table input[type=checkbox] + span
360 {
361 background-position: -51px 0px;
362 height: 18px;
363 -moz-margin-end: 20px; 353 -moz-margin-end: 20px;
364 -webkit-margin-end: 20px; 354 -webkit-margin-end: 20px;
365 padding: 0px 0px 0px 0px; 355 padding: 0px 0px 0px 0px;
356 visibility: hidden;
357 }
358
359 .table input[type="checkbox"]::before
360 {
361 content: "";
362 background-position: -51px 0px;
363 height: 18px;
366 width: 18px; 364 width: 18px;
367 } 365 visibility: visible;
368 366 }
369 .table input[type=checkbox]:checked + span 367
370 { 368 .table input[type="checkbox"]:checked::before
369 {
370 content: "";
371 background-position: -68px 0px; 371 background-position: -68px 0px;
372 height: 18px; 372 height: 18px;
373 padding: 0px; 373 padding: 0px;
374 width: 18px; 374 width: 18px;
375 visibility: visible;
375 } 376 }
376 377
377 .table button.delete 378 .table button.delete
378 { 379 {
379 background-color: transparent; 380 background-color: transparent;
380 background-position: -9px -32px; 381 background-position: -9px -32px;
381 border: 0px; 382 border: 0px;
382 height: 10px; 383 height: 10px;
383 margin-top: 5px; 384 margin-top: 5px;
384 -moz-margin-end: 20px; 385 -moz-margin-end: 20px;
(...skipping 28 matching lines...) Expand all
413 } 414 }
414 415
415 .tabs.horizontal li.active 416 .tabs.horizontal li.active
416 { 417 {
417 border-bottom: 2px solid #1E8728; 418 border-bottom: 2px solid #1E8728;
418 color: black; 419 color: black;
419 font-weight: bold; 420 font-weight: bold;
420 padding-bottom: 10px; 421 padding-bottom: 10px;
421 } 422 }
422 423
423 .icon, .table input[type=checkbox] + span, .table button.delete, 424 .icon, .table input[type="checkbox"]::before, .table button.delete,
424 #content-help a:before, #modal-close:before 425 #content-help a::before, #dialog-close::before
425 { 426 {
426 background-image: url(options-sprite.png); 427 background-image: url(options-sprite.png);
427 display: inline-block; 428 display: inline-block;
428 } 429 }
429 430
430 .icon-add 431 .icon-add
431 { 432 {
432 background-position: -0px -0px; 433 background-position: -0px -0px;
433 cursor: pointer; 434 cursor: pointer;
434 height: 18px; 435 height: 18px;
(...skipping 10 matching lines...) Expand all
445 446
446 .icon-edit 447 .icon-edit
447 { 448 {
448 background-position: -17px -0px; 449 background-position: -17px -0px;
449 cursor: pointer; 450 cursor: pointer;
450 height: 18px; 451 height: 18px;
451 width: 18px; 452 width: 18px;
452 } 453 }
453 454
454 .icon-arrow, 455 .icon-arrow,
455 #content-help a:before 456 #content-help a::before
456 { 457 {
457 background-position: 0px -42px; 458 background-position: 0px -42px;
458 content: ""; 459 content: "";
459 cursor: pointer; 460 cursor: pointer;
460 height: 11px; 461 height: 11px;
461 vertical-align: middle; 462 vertical-align: middle;
462 width: 7px; 463 width: 7px;
463 } 464 }
464 465
465 .controls 466 .controls
466 { 467 {
467 margin-top: 8px; 468 border-top: 1px solid #CDCDCD;
468 -moz-margin-start: 16px; 469 padding-top: 8px;
469 -webkit-margin-start: 16px; 470 -moz-padding-start: 16px;
471 -webkit-padding-start: 16px;
470 position: relative; 472 position: relative;
471 } 473 }
472 474
473 .controls > div 475 .controls > div
474 { 476 {
475 display: flex; 477 display: flex;
476 } 478 }
477 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
478 #whitelisting .controls 523 #whitelisting .controls
479 { 524 {
480 -moz-margin-start: 12px; 525 -moz-padding-start: 12px;
481 -webkit-margin-start: 12px; 526 -webkit-padding-start: 12px;
482 } 527 }
483 528
484 #whitelisting .controls input[type=text], 529 #whitelisting .controls input[type="text"]
485 #whitelisting .controls input[type=text]:focus
486 { 530 {
487 border: 0px; 531 border: 0px;
488 border-bottom: 1px solid #A1A1A1; 532 border-bottom: 1px solid #A1A1A1;
489 -moz-padding-end: 25px; 533 -moz-padding-end: 25px;
490 -webkit-padding-end: 25px; 534 -webkit-padding-end: 25px;
491 -moz-margin-start: 14px; 535 -moz-margin-start: 14px;
492 -webkit-margin-start: 14px; 536 -webkit-margin-start: 14px;
493 outline: 0px; 537 outline: 0px;
494 padding-bottom: 5px; 538 padding-bottom: 5px;
495 vertical-align: text-bottom; 539 vertical-align: text-bottom;
496 width: 330px; 540 width: 330px;
497 } 541 }
498 542
499 .controls button, 543 #whitelisting .controls .button-add span
500 #modal-close 544 {
501 { 545 -moz-margin-start: 5px;
502 background: none; 546 -webkit-margin-start: 5px;
547 }
548
549 #whitelisting .button-add
550 {
551 -moz-margin-start: 32px;
552 -webkit-margin-start: 32px;
553 }
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;
576 color: #3A7BA6;
577 cursor: pointer;
578 }
579
580 /*
581 Advanced tab content
582 */
583
584 #blocking-list-own .table
585 {
586 height: 290px;
587 overflow: auto;
588 width: auto;
589 }
590
591 #blocking-list-own .controls
592 {
593 display: flex;
594 padding: 0px;
503 border: none; 595 border: none;
504 cursor: pointer; 596 }
505 display: block; 597
506 padding: 0; 598 #blocking-list-own input[type="text"],
507 } 599 #blocking-list-own input[type="text"]:focus
508
509 .controls button span:not(.icon)
510 {
511 color: #3A7BA6;
512 display: inline-block;
513 -moz-margin-start: 15px;
514 -webkit-margin-start: 15px;
515 padding-top: 1px;
516 vertical-align: top;
517 }
518
519 .text-blue
520 {
521 color: #3A7BA6;
522 display: inline-block;
523 -moz-margin-start: 15px;
524 -webkit-margin-start: 15px;
525 vertical-align: top;
526 }
527
528 #content-help
529 {
530 counter-reset: section;
531 }
532
533 #content-help h1:before
534 {
535 counter-increment: section;
536 content: counter(section) ". ";
537 }
538
539 #content-help a
540 {
541 color: #3A7BA6;
542 display: inline-block;
543 text-decoration: none;
544 -moz-margin-end: 16px;
545 -webkit-margin-end: 16px;
546 vertical-align: top;
547 }
548
549 #content-help a:before
550 {
551 -moz-margin-end: 6px;
552 -webkit-margin-end: 6px;
553 }
554
555 .nav-link
556 {
557 -moz-margin-start: 12px;
558 -webkit-margin-start: 12px;
559 color: #3A7BA6;
560 }
561
562 #blocking-list-own input[type=text],
563 #blocking-list-own input[type=text]:focus
564 { 600 {
565 border: 0px; 601 border: 0px;
566 border-bottom: 1px solid; 602 border-bottom: 1px solid;
567 border-top: 1px solid; 603 border-top: 1px solid;
568 border-color: #1E8728; 604 border-color: #1E8728;
569 box-sizing: border-box; 605 box-sizing: border-box;
570 height: 25px; 606 height: 25px;
571 outline: 0px; 607 outline: 0px;
572 padding-left: 10px; 608 -moz-padding-start: 10px;
609 -webkit-padding-start: 10px;
573 width: 100%; 610 width: 100%;
574 } 611 }
575 612
576 .icon-enter-blue 613 .icon-enter-blue
577 { 614 {
578 background-position: -28px -85px; 615 background-position: -28px -85px;
579 cursor: pointer; 616 cursor: pointer;
580 height: 10px; 617 height: 10px;
581 margin: 0px 0px -2px 2px; 618 margin: 0px 0px -2px 2px;
582 width: 10px; 619 width: 10px;
583 } 620 }
584 621
585 #blocking-list-own .input-control 622 #blocking-list-own .input-control
586 { 623 {
587 position: absolute; 624 position: absolute;
625 -webkit-margin-start: -50px;
626 -moz-margin-start: -50px;
588 bottom: 5px; 627 bottom: 5px;
589 right: 10px;
590 } 628 }
591 629
592 #blocking-list-own .input-separator 630 #blocking-list-own .input-separator
593 { 631 {
594 display: inline-block; 632 display: inline-block;
595 border-right: 1px solid #CDCDCD; 633 -moz-border-end: 1px solid #CDCDCD;
634 -webkit-border-end: 1px solid #CDCDCD;
596 height: 15px; 635 height: 15px;
597 margin: 0px 4px -4px 0px; 636 margin: 0px 4px -4px 0px;
598 width: 1px; 637 width: 1px;
599 } 638 }
600 639
601 #blocking-list-own .input-btn-text 640 #blocking-list-own .input-button-text
602 { 641 {
603 font-size: 12px; 642 font-size: 12px;
604 } 643 }
605 644
606 .icon-enter 645 .tooltip, #block-element-explanation a
607 {
608 background-position: -18px -85px;
609 cursor: pointer;
610 height: 10px;
611 position: absolute;
612 top: 2px;
613 -moz-margin-start: -20px;
614 -webkit-margin-start: -20px;
615 width: 10px;
616 }
617
618 .button-add, .cancelbtn
619 {
620 background-color: transparent;
621 border: 0px;
622 color: #3A7BA6;
623 cursor: pointer;
624 }
625
626 .controls .button-add span
627 {
628 -moz-margin-start: 5px !important;
629 -webkit-margin-start: 5px !important;
630 }
631
632 #other-language .button-add
633 {
634 -webkit-border-end: 1px solid #CDCDCD;
635 -moz-border-end: 1px solid #CDCDCD;
636 -webkit-padding-end: 10px;
637 -moz-padding-end: 10px;
638 -webkit-padding-start: 0px;
639 -moz-padding-start: 0px;
640 }
641
642 #other-language .display
643 {
644 -webkit-margin-start: 10px;
645 -moz-margin-start: 10px;
646 }
647
648 #whitelisting .button-add
649 {
650 -moz-margin-start: 32px;
651 -webkit-margin-start: 32px;
652 }
653
654 #whitelisting-add-btn + span
655 {
656 flex: 1;
657 }
658
659 .cancelbtn
660 {
661 float: right;
662 }
663
664 .highlighted, #block-element-explanation a
665 { 646 {
666 border-bottom: dotted 2px; 647 border-bottom: dotted 2px;
667 color: #3A7BA6; 648 color: #3A7BA6;
668 font-size: 12px; 649 font-size: 12px;
669 text-decoration: none; 650 text-decoration: none;
670 } 651 }
671 652
672 #content-advanced .highlighted 653 #content-advanced .tooltip
673 { 654 {
674 -moz-margin-start: 8px; 655 -moz-margin-start: 8px;
675 -webkit-margin-start: 8px; 656 -webkit-margin-start: 8px;
676 } 657 }
677 658
678 #block-element-explanation a 659 #block-element-explanation a
679 { 660 {
680 color: black; 661 color: black;
681 border-bottom-color: #3A7BA6; 662 border-bottom-color: #3A7BA6;
682 font-weight: bold; 663 font-weight: bold;
683 padding-left: 0px !important; 664 -moz-padding-start: 0px;
684 } 665 -webkit-padding-start: 0px;
685 666 }
686 #modal 667
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
687 { 722 {
688 background-color: #FFFFFF; 723 background-color: #FFFFFF;
689 border: 2px solid #4D9D4B; 724 border: 2px solid #4D9D4B;
690 border-radius: 3px; 725 border-radius: 3px;
691 left:50%; 726 display: none;
692 top:50%; 727 margin: auto;
693 margin:0 auto;
694 margin-left:-200px;
695 margin-top:-200px;
696 position:absolute; 728 position:absolute;
729 top:100px;
730 left: 0px;
731 right: 0px;
697 z-index: 2; 732 z-index: 2;
698 visibility: hidden;
699 width: 400px; 733 width: 400px;
700 } 734 }
701 735
702 #modal header 736 #dialog header
703 { 737 {
704 background-color: #4D9D4B; 738 background-color: #4D9D4B;
705 display: flex; 739 display: flex;
706 height: 25px; 740 height: 25px;
707 padding: 10px; 741 padding: 10px;
708 } 742 }
709 743
710 #modal-close 744 #dialog-close
711 { 745 {
712 -moz-border-start: 1px solid #25612B; 746 -moz-border-start: 1px solid #25612B;
713 -webkit-border-start: 1px solid #25612B; 747 -webkit-border-start: 1px solid #25612B;
714 color: #0F660F; 748 color: #0F660F;
715 display: inline-block; 749 display: inline-block;
716 height: 20px; 750 height: 20px;
717 font-size: 15px; 751 font-size: 15px;
718 -moz-padding-start: 10px; 752 -moz-padding-start: 10px;
719 -webkit-padding-start: 10px; 753 -webkit-padding-start: 10px;
720 } 754 }
721 755
722 #modal-close:before 756 #dialog-close::before
723 { 757 {
724 background-position: -9px -32px; 758 background-position: -9px -32px;
725 content: ""; 759 content: "";
726 cursor: pointer; 760 cursor: pointer;
727 height: 12px; 761 height: 12px;
728 width: 12px; 762 width: 12px;
729 vertical-align: middle; 763 vertical-align: middle;
730 -moz-margin-end: 6px; 764 -moz-margin-end: 6px;
731 -webkit-margin-end: 6px; 765 -webkit-margin-end: 6px;
732 } 766 }
733 767
734 #modal .content 768 #dialog #dialog-body
735 { 769 {
736 margin: 4px 24px; 770 margin: 4px 24px;
737 } 771 }
738 772
739 #modal h3 773 #dialog h3
740 { 774 {
741 font-size: 14px; 775 font-size: 14px;
742 margin: 0px; 776 margin: 0px;
743 } 777 }
744 778
745 #modal .content input[type=text] 779 #dialog input[type="text"],
780 #dialog input[type="search"]
746 { 781 {
747 -webkit-box-sizing: border-box; 782 -webkit-box-sizing: border-box;
748 -moz-box-sizing: border-box; 783 -moz-box-sizing: border-box;
749 box-sizing: border-box; 784 box-sizing: border-box;
750 font-size: 16px; 785 font-size: 16px;
751 margin-top: 10px; 786 margin-top: 10px;
752 padding: 5px; 787 padding: 5px;
753 width: 100%; 788 width: 100%;
754 } 789 }
755 790
756 #modal .table 791 #dialog .table
757 { 792 {
758 width: 100%; 793 width: 100%;
759 } 794 }
760 795
761 #modal #other-language .table 796 #dialog #other-language .table
762 { 797 {
763 height: 200px; 798 height: 200px;
764 overflow: auto; 799 overflow: auto;
765 } 800 }
766 801
767 #modal .section:not(:first-child) 802 #dialog .section:not(:first-child)
768 { 803 {
769 margin-top: 24px; 804 margin-top: 24px;
770 } 805 }
771 806
772 #modal .close-wrapper 807 #dialog-title
773 {
774 margin-right: 16px !important;
775 }
776
777 #modal-title
778 { 808 {
779 -moz-margin-start: 16px; 809 -moz-margin-start: 16px;
780 -webkit-margin-start: 16px; 810 -webkit-margin-start: 16px;
781 flex: 1; 811 flex: 1;
782 font-size: 16px; 812 font-size: 16px;
783 color: #FFFFFF; 813 color: #FFFFFF;
784 } 814 }
785 815
786 #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
787 { 828 {
788 padding: 12px 0px; 829 padding: 12px 0px;
789 } 830 }
790 831
791 #modal-content > div 832 #dialog-body .dialog-content
792 { 833 {
793 display: none; 834 display: none;
794 } 835 }
795 836
796 #modal .btn-wrapper 837 #dialog .button-wrapper
797 { 838 {
798 background-color: #F5F5F5; 839 background-color: #F5F5F5;
799 margin-top: 8px; 840 margin-top: 8px;
800 padding: 10px 16px; 841 padding: 10px 16px;
801 cursor: pointer; 842 cursor: pointer;
802 width: auto; 843 width: auto;
803 } 844 }
804 845
805 #modal .btn-wrapper .text-blue 846 #dialog .button-wrapper span:not(.icon)
806 { 847 {
807 margin-left: 12px; 848 color: #3A7BA6;
808 } 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
858 {
859 display: block;
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 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld