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. 28, 2015, 3:59 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;
Sebastian Noack 2015/02/11 07:44:07 Nit: You omitted unit for left/right but not for t
saroyanm 2015/02/13 10:57:11 Done.
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:not(.active), 251 #content-wrapper > div
253 #blocking-list > div:not(.active)
254 { 252 {
255 display: none; 253 display: none;
256 } 254 }
257 255
258 body.modal-active #modal, 256 body[data-tab="general"] #content-general,
259 body.modal-active #modal-background 257 body[data-tab="advanced"] #content-advanced,
258 body[data-tab="help"] #content-help
260 { 259 {
261 display: block; 260 display: block;
262 } 261 }
263 262
264 div.button 263 div.button
265 { 264 {
266 cursor: pointer; 265 cursor: pointer;
267 display: flex; 266 display: flex;
268 } 267 }
269 268
270 .table 269 .table
271 { 270 {
272 list-style: none; 271 list-style: none;
273 margin: 0px; 272 margin: 0px;
274 padding: 0px; 273 padding: 0px;
275 position: relative; 274 position: relative;
276 width: 400px; 275 width: 400px;
277 } 276 }
278 277
279 .table li 278 .table li
280 { 279 {
281 display: flex; 280 display: flex;
282 padding: 14px 0px; 281 padding: 14px 0px;
283 -webkit-padding-start: 16px; 282 -webkit-padding-start: 16px;
284 -moz-padding-start: 16px; 283 -moz-padding-start: 16px;
285 } 284 }
286 285
286 .table.list li .display
287 {
288 flex: 1;
289 }
290
287 .table.list li:nth-child(odd) 291 .table.list li:nth-child(odd)
288 { 292 {
289 background-color: #F5F5F5; 293 background-color: #F5F5F5;
290 } 294 }
291 295
292 .table.list li .display
293 {
294 flex: 1;
295 }
296
297 .table.cols li:nth-child(even) 296 .table.cols li:nth-child(even)
298 { 297 {
299 background-color: #F5F5F5; 298 background-color: #F5F5F5;
300 }
301
302 #blocking-list-own .table
303 {
304 height: 290px;
305 overflow: auto;
306 width: auto;
307 } 299 }
308 300
309 .table label 301 .table label
310 { 302 {
311 vertical-align: top; 303 vertical-align: top;
312 } 304 }
313 305
314 .table.cols span 306 .table.cols span
315 { 307 {
316 display: inline-block; 308 display: inline-block;
317 width: 30%; 309 width: 30%;
318 } 310 }
319 311
320 .table.cols .col-name 312 .table.cols .col-name
321 { 313 {
322 border-bottom: 1px solid #CDCDCD; 314 border-bottom: 1px solid #CDCDCD;
323 } 315 }
324 316
325 .table.cols .col-name span 317 .table.cols .col-name span
326 { 318 {
327 display: inline-block; 319 display: inline-block;
328 width: 30%; 320 width: 30%;
329 } 321 }
330 322
331 .table.cols .col-name span:first-child 323 .table.cols .col-name span:first-child
332 { 324 {
333 padding-left: 38px; 325 -webkit-padding-start: 38px;
Sebastian Noack 2015/02/11 07:44:07 This should be rigth for right-to-left languages.
saroyanm 2015/02/13 10:57:11 Done.
334 } 326 -moz-padding-start: 38px;
335 327 }
336 #further-blocking .table 328
337 { 329 .table::-webkit-scrollbar,
338 height: 290px; 330 #custom-wrapper::-webkit-scrollbar
339 overflow: auto; 331 {
340 } 332 -webkit-padding-end: 10px;
341
342 .table::-webkit-scrollbar
343 {
344 padding-right: 10px;
Sebastian Noack 2015/02/11 07:44:07 This should be left for right-to-left languages. S
saroyanm 2015/02/13 10:57:11 Done.
345 width: 5px; 333 width: 5px;
346 } 334 }
347 335
348 .table::-webkit-scrollbar-thumb 336 .table::-webkit-scrollbar-thumb,
337 #custom-wrapper::-webkit-scrollbar-thumb
349 { 338 {
350 background-color: #CDCDCD; 339 background-color: #CDCDCD;
351 border-radius: 5px; 340 border-radius: 5px;
352 padding: 0px 40px; 341 padding: 0px 40px;
353 } 342 }
354 343
355 .table::-webkit-scrollbar-thumb:hover 344 .table::-webkit-scrollbar-thumb:hover,
345 #custom-wrapper::-webkit-scrollbar-thumb:hover
356 { 346 {
357 background-color: #A1A1A1; 347 background-color: #A1A1A1;
358 } 348 }
359 349
360 .table input[type=checkbox] 350 .table input[type="checkbox"]
361 { 351 {
362 margin-top: 0px; 352 margin-top: 0px;
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;
366 visibility: hidden; 356 visibility: hidden;
367 } 357 }
368 358
369 .table input[type=checkbox]:before 359 .table input[type="checkbox"]::before
370 { 360 {
371 content:""; 361 content: "";
372 background-position: -51px 0px; 362 background-position: -51px 0px;
373 height: 18px; 363 height: 18px;
374 width: 18px; 364 width: 18px;
375 visibility: visible; 365 visibility: visible;
376 } 366 }
377 367
378 .table input[type=checkbox]:checked:before 368 .table input[type="checkbox"]:checked::before
379 { 369 {
380 content:""; 370 content: "";
381 background-position: -68px 0px; 371 background-position: -68px 0px;
382 height: 18px; 372 height: 18px;
383 padding: 0px; 373 padding: 0px;
384 width: 18px; 374 width: 18px;
385 visibility: visible; 375 visibility: visible;
386 } 376 }
387 377
388 .table button.delete 378 .table button.delete
389 { 379 {
390 background-color: transparent; 380 background-color: transparent;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 } 414 }
425 415
426 .tabs.horizontal li.active 416 .tabs.horizontal li.active
427 { 417 {
428 border-bottom: 2px solid #1E8728; 418 border-bottom: 2px solid #1E8728;
429 color: black; 419 color: black;
430 font-weight: bold; 420 font-weight: bold;
431 padding-bottom: 10px; 421 padding-bottom: 10px;
432 } 422 }
433 423
434 .icon, .table input[type=checkbox]:before, .table button.delete, 424 .icon, .table input[type="checkbox"]::before, .table button.delete,
435 #content-help a:before, #modal-close:before 425 #content-help a::before, #dialog-close::before
436 { 426 {
437 background-image: url(options-sprite.png); 427 background-image: url(options-sprite.png);
438 display: inline-block; 428 display: inline-block;
439 } 429 }
440 430
441 .icon-add 431 .icon-add
442 { 432 {
443 background-position: -0px -0px; 433 background-position: -0px -0px;
444 cursor: pointer; 434 cursor: pointer;
445 height: 18px; 435 height: 18px;
(...skipping 10 matching lines...) Expand all
456 446
457 .icon-edit 447 .icon-edit
458 { 448 {
459 background-position: -17px -0px; 449 background-position: -17px -0px;
460 cursor: pointer; 450 cursor: pointer;
461 height: 18px; 451 height: 18px;
462 width: 18px; 452 width: 18px;
463 } 453 }
464 454
465 .icon-arrow, 455 .icon-arrow,
466 #content-help a:before 456 #content-help a::before
467 { 457 {
468 background-position: 0px -42px; 458 background-position: 0px -42px;
469 content: ""; 459 content: "";
470 cursor: pointer; 460 cursor: pointer;
471 height: 11px; 461 height: 11px;
472 vertical-align: middle; 462 vertical-align: middle;
473 width: 7px; 463 width: 7px;
474 } 464 }
475 465
476 .controls 466 .controls
477 { 467 {
478 border-top: 1px solid #CDCDCD; 468 border-top: 1px solid #CDCDCD;
479 padding-top: 8px; 469 padding-top: 8px;
480 -moz-padding-start: 16px; 470 -moz-padding-start: 16px;
481 -webkit-padding-start: 16px; 471 -webkit-padding-start: 16px;
482 position: relative; 472 position: relative;
483 } 473 }
484 474
485 .controls > div 475 .controls > div
486 { 476 {
487 display: flex; 477 display: flex;
488 } 478 }
489 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
490 #whitelisting .controls 523 #whitelisting .controls
491 { 524 {
492 -moz-padding-start: 12px; 525 -moz-padding-start: 12px;
493 -webkit-padding-start: 12px; 526 -webkit-padding-start: 12px;
494 } 527 }
495 528
496 #whitelisting .controls input[type=text], 529 #whitelisting .controls input[type="text"]
497 #whitelisting .controls input[type=text]:focus
498 { 530 {
499 border: 0px; 531 border: 0px;
500 border-bottom: 1px solid #A1A1A1; 532 border-bottom: 1px solid #A1A1A1;
501 -moz-padding-end: 25px; 533 -moz-padding-end: 25px;
502 -webkit-padding-end: 25px; 534 -webkit-padding-end: 25px;
503 -moz-margin-start: 14px; 535 -moz-margin-start: 14px;
504 -webkit-margin-start: 14px; 536 -webkit-margin-start: 14px;
505 outline: 0px; 537 outline: 0px;
506 padding-bottom: 5px; 538 padding-bottom: 5px;
507 vertical-align: text-bottom; 539 vertical-align: text-bottom;
508 width: 330px; 540 width: 330px;
509 } 541 }
510 542
511 .controls button, 543 #whitelisting .controls .button-add span
512 #modal-close 544 {
513 { 545 -moz-margin-start: 5px;
514 background: none; 546 -webkit-margin-start: 5px;
515 border: none; 547 }
516 cursor: pointer; 548
517 display: block; 549 #whitelisting .button-add
518 padding: 0; 550 {
519 } 551 -moz-margin-start: 32px;
520 552 -webkit-margin-start: 32px;
521 .controls button span:not(.icon) 553 }
522 { 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;
523 color: #3A7BA6; 576 color: #3A7BA6;
524 display: inline-block; 577 cursor: pointer;
525 -moz-margin-start: 15px; 578 }
526 -webkit-margin-start: 15px; 579
527 padding-top: 1px; 580 /*
528 vertical-align: top; 581 Advanced tab content
582 */
583
584 #blocking-list-own .table
585 {
586 height: 290px;
587 overflow: auto;
588 width: auto;
529 } 589 }
530 590
531 #blocking-list-own .controls 591 #blocking-list-own .controls
532 { 592 {
593 display: flex;
533 padding: 0px; 594 padding: 0px;
534 border: none; 595 border: none;
535 } 596 }
536 597
537 #modal .btn-wrapper span:not(.icon) 598 #blocking-list-own input[type="text"],
538 { 599 #blocking-list-own input[type="text"]:focus
539 color: #3A7BA6;
540 display: inline-block;
541 -moz-margin-start: 15px;
542 -webkit-margin-start: 15px;
543 vertical-align: top;
544 }
545
546 #content-help
547 {
548 counter-reset: section;
549 }
550
551 #content-help h1:before
552 {
553 counter-increment: section;
554 content: counter(section) ". ";
555 }
556
557 #content-help a
558 {
559 color: #3A7BA6;
560 display: inline-block;
561 text-decoration: none;
562 -moz-margin-end: 16px;
563 -webkit-margin-end: 16px;
564 vertical-align: top;
565 }
566
567 #content-help a:before
568 {
569 -moz-margin-end: 6px;
570 -webkit-margin-end: 6px;
571 }
572
573 .nav-link
574 {
575 -moz-margin-start: 12px;
576 -webkit-margin-start: 12px;
577 color: #3A7BA6;
578 }
579
580 #blocking-list-own input[type=text],
581 #blocking-list-own input[type=text]:focus
582 { 600 {
583 border: 0px; 601 border: 0px;
584 border-bottom: 1px solid; 602 border-bottom: 1px solid;
585 border-top: 1px solid; 603 border-top: 1px solid;
586 border-color: #1E8728; 604 border-color: #1E8728;
587 box-sizing: border-box; 605 box-sizing: border-box;
588 height: 25px; 606 height: 25px;
589 outline: 0px; 607 outline: 0px;
590 padding-left: 10px; 608 -moz-padding-start: 10px;
Sebastian Noack 2015/02/11 07:44:07 This should be rigth for right-to-left languages.
saroyanm 2015/02/13 10:57:11 Done.
609 -webkit-padding-start: 10px;
591 width: 100%; 610 width: 100%;
592 } 611 }
593 612
594 .icon-enter-blue 613 .icon-enter-blue
595 { 614 {
596 background-position: -28px -85px; 615 background-position: -28px -85px;
597 cursor: pointer; 616 cursor: pointer;
598 height: 10px; 617 height: 10px;
599 margin: 0px 0px -2px 2px; 618 margin: 0px 0px -2px 2px;
600 width: 10px; 619 width: 10px;
601 } 620 }
602 621
603 #blocking-list-own .input-control 622 #blocking-list-own .input-control
604 { 623 {
605 position: absolute; 624 position: absolute;
625 -webkit-margin-start: -50px;
626 -moz-margin-start: -50px;
606 bottom: 5px; 627 bottom: 5px;
607 right: 10px;
Sebastian Noack 2015/02/11 07:44:07 This should be left for right-to-left languages. S
saroyanm 2015/02/13 10:57:11 Done.
608 } 628 }
609 629
610 #blocking-list-own .input-separator 630 #blocking-list-own .input-separator
611 { 631 {
612 display: inline-block; 632 display: inline-block;
613 border-right: 1px solid #CDCDCD; 633 -moz-border-end: 1px solid #CDCDCD;
Sebastian Noack 2015/02/11 07:44:07 This should be left for right-to-left languages. S
saroyanm 2015/02/13 10:57:11 Done.
634 -webkit-border-end: 1px solid #CDCDCD;
614 height: 15px; 635 height: 15px;
615 margin: 0px 4px -4px 0px; 636 margin: 0px 4px -4px 0px;
616 width: 1px; 637 width: 1px;
617 } 638 }
618 639
619 #blocking-list-own .input-btn-text 640 #blocking-list-own .input-button-text
620 { 641 {
621 font-size: 12px; 642 font-size: 12px;
622 }
623
624 .icon-enter
625 {
626 background-position: -18px -85px;
627 cursor: pointer;
628 height: 10px;
629 position: absolute;
630 top: 10px;
631 -moz-margin-start: -20px;
632 -webkit-margin-start: -20px;
633 width: 10px;
634 }
635
636 .button-add, .cancelbtn
637 {
638 background-color: transparent;
639 border: 0px;
640 color: #3A7BA6;
641 cursor: pointer;
642 }
643
644 .controls .button-add span
645 {
646 -moz-margin-start: 5px !important;
647 -webkit-margin-start: 5px !important;
648 }
649
650 #other-language .button-add
651 {
652 -webkit-border-end: 1px solid #CDCDCD;
653 -moz-border-end: 1px solid #CDCDCD;
654 -webkit-padding-end: 10px;
655 -moz-padding-end: 10px;
656 -webkit-padding-start: 0px;
657 -moz-padding-start: 0px;
658 }
659
660 #other-language .display
661 {
662 -webkit-margin-start: 10px;
663 -moz-margin-start: 10px;
664 }
665
666 #whitelisting .button-add
667 {
668 -moz-margin-start: 32px;
669 -webkit-margin-start: 32px;
670 }
671
672 #whitelisting-add-btn + span
673 {
674 flex: 1;
675 }
676
677 .cancelbtn
678 {
679 float: right;
Sebastian Noack 2015/02/11 07:44:07 The whole point of using flexbox was to not use fl
saroyanm 2015/02/13 10:57:11 Done.
680 } 643 }
681 644
682 .tooltip, #block-element-explanation a 645 .tooltip, #block-element-explanation a
683 { 646 {
684 border-bottom: dotted 2px; 647 border-bottom: dotted 2px;
685 color: #3A7BA6; 648 color: #3A7BA6;
686 font-size: 12px; 649 font-size: 12px;
687 text-decoration: none; 650 text-decoration: none;
688 } 651 }
689 652
690 #content-advanced .tooltip 653 #content-advanced .tooltip
691 { 654 {
692 -moz-margin-start: 8px; 655 -moz-margin-start: 8px;
693 -webkit-margin-start: 8px; 656 -webkit-margin-start: 8px;
694 } 657 }
695 658
696 #block-element-explanation a 659 #block-element-explanation a
697 { 660 {
698 color: black; 661 color: black;
699 border-bottom-color: #3A7BA6; 662 border-bottom-color: #3A7BA6;
700 font-weight: bold; 663 font-weight: bold;
701 padding-left: 0px !important; 664 -moz-padding-start: 0px;
Sebastian Noack 2015/02/11 07:44:07 This should be rigth for right-to-left languages.
saroyanm 2015/02/13 10:57:11 Done.
702 } 665 -webkit-padding-start: 0px;
703 666 }
704 #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
705 { 722 {
706 background-color: #FFFFFF; 723 background-color: #FFFFFF;
707 border: 2px solid #4D9D4B; 724 border: 2px solid #4D9D4B;
708 border-radius: 3px; 725 border-radius: 3px;
709 left:50%; 726 display: none;
710 top:50%; 727 margin: auto;
711 margin:0 auto;
712 margin-left:-200px;
Sebastian Noack 2015/02/11 07:44:07 This hack is obosolete when using flexbox. In orde
saroyanm 2015/02/13 10:57:11 Done.
713 margin-top:-200px;
714 position:absolute; 728 position:absolute;
729 top:100px;
730 left: 0px;
731 right: 0px;
715 z-index: 2; 732 z-index: 2;
716 display: none;
717 width: 400px; 733 width: 400px;
718 } 734 }
719 735
720 #modal header 736 #dialog header
721 { 737 {
722 background-color: #4D9D4B; 738 background-color: #4D9D4B;
723 display: flex; 739 display: flex;
724 height: 25px; 740 height: 25px;
725 padding: 10px; 741 padding: 10px;
726 } 742 }
727 743
728 #modal-close 744 #dialog-close
729 { 745 {
730 -moz-border-start: 1px solid #25612B; 746 -moz-border-start: 1px solid #25612B;
731 -webkit-border-start: 1px solid #25612B; 747 -webkit-border-start: 1px solid #25612B;
732 color: #0F660F; 748 color: #0F660F;
733 display: inline-block; 749 display: inline-block;
734 height: 20px; 750 height: 20px;
735 font-size: 15px; 751 font-size: 15px;
736 -moz-padding-start: 10px; 752 -moz-padding-start: 10px;
737 -webkit-padding-start: 10px; 753 -webkit-padding-start: 10px;
738 } 754 }
739 755
740 #modal-close:before 756 #dialog-close::before
741 { 757 {
742 background-position: -9px -32px; 758 background-position: -9px -32px;
743 content: ""; 759 content: "";
744 cursor: pointer; 760 cursor: pointer;
745 height: 12px; 761 height: 12px;
746 width: 12px; 762 width: 12px;
747 vertical-align: middle; 763 vertical-align: middle;
748 -moz-margin-end: 6px; 764 -moz-margin-end: 6px;
749 -webkit-margin-end: 6px; 765 -webkit-margin-end: 6px;
750 } 766 }
751 767
752 #modal .content 768 #dialog #dialog-body
753 { 769 {
754 margin: 4px 24px; 770 margin: 4px 24px;
755 } 771 }
756 772
757 #modal h3 773 #dialog h3
758 { 774 {
759 font-size: 14px; 775 font-size: 14px;
760 margin: 0px; 776 margin: 0px;
761 } 777 }
762 778
763 #modal .content input[type=text] 779 #dialog input[type="text"],
780 #dialog input[type="search"]
764 { 781 {
765 -webkit-box-sizing: border-box; 782 -webkit-box-sizing: border-box;
766 -moz-box-sizing: border-box; 783 -moz-box-sizing: border-box;
767 box-sizing: border-box; 784 box-sizing: border-box;
768 font-size: 16px; 785 font-size: 16px;
769 margin-top: 10px; 786 margin-top: 10px;
770 padding: 5px; 787 padding: 5px;
771 width: 100%; 788 width: 100%;
772 } 789 }
773 790
774 #modal .table 791 #dialog .table
775 { 792 {
776 width: 100%; 793 width: 100%;
777 } 794 }
778 795
779 #modal #other-language .table 796 #dialog #other-language .table
780 { 797 {
781 height: 200px; 798 height: 200px;
782 overflow: auto; 799 overflow: auto;
783 } 800 }
784 801
785 #modal .section:not(:first-child) 802 #dialog .section:not(:first-child)
786 { 803 {
787 margin-top: 24px; 804 margin-top: 24px;
788 } 805 }
789 806
790 #modal .close-wrapper 807 #dialog-title
791 {
792 margin-right: 16px !important;
Sebastian Noack 2015/02/11 07:44:07 This should be left for right-to-left languages. S
saroyanm 2015/02/13 10:57:11 Done.
793 }
794
795 #modal-title
796 { 808 {
797 -moz-margin-start: 16px; 809 -moz-margin-start: 16px;
798 -webkit-margin-start: 16px; 810 -webkit-margin-start: 16px;
799 flex: 1; 811 flex: 1;
800 font-size: 16px; 812 font-size: 16px;
801 color: #FFFFFF; 813 color: #FFFFFF;
802 } 814 }
803 815
804 #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
805 { 828 {
806 padding: 12px 0px; 829 padding: 12px 0px;
807 } 830 }
808 831
809 #modal-content > div 832 #dialog-body .dialog-content
810 { 833 {
811 display: none; 834 display: none;
812 } 835 }
813 836
814 #modal-content > div.active 837 #dialog .button-wrapper
815 {
816 display: block;
817 }
818
819 #modal .btn-wrapper
820 { 838 {
821 background-color: #F5F5F5; 839 background-color: #F5F5F5;
822 margin-top: 8px; 840 margin-top: 8px;
823 padding: 10px 16px; 841 padding: 10px 16px;
824 cursor: pointer; 842 cursor: pointer;
825 width: auto; 843 width: auto;
826 } 844 }
845
846 #dialog .button-wrapper span:not(.icon)
847 {
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
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