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. 21, 2015, 6:52 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 /*
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
1 body 18 body
Thomas Greiner 2015/01/22 17:56:30 License header is missing.
saroyanm 2015/01/23 18:18:39 Done.
2 { 19 {
3 background-color: #F5F5F5; 20 background-color: #F5F5F5;
4 display: flex; 21 display: flex;
5 font-family: 'Source Sans Pro', sans-serif; 22 font-family: "Source Sans Pro", sans-serif;
6 font-size: 14px; 23 font-size: 14px;
7 white-space: nowrap; 24 white-space: nowrap;
8 } 25 }
9 26
10 h1 27 h1
11 { 28 {
12 font-size: 24px; 29 font-size: 24px;
13 font-weight: 100; 30 font-weight: 100;
14 margin: 40px 0px 16px 0px;
15 } 31 }
16 32
17 h2 33 h2
18 { 34 {
19 font-size: 16px; 35 font-size: 16px;
20 font-weight: 500; 36 font-weight: 500;
21 } 37 }
22 38
23 p 39 p
24 { 40 {
25 font-weight: 100; 41 font-weight: 100;
26 } 42 }
27 43
28 hr 44 hr
29 { 45 {
30 background-color: #CDCDCD; 46 background-color: #CDCDCD;
31 border: 0px; 47 border: 0px;
32 height: 1px; 48 height: 1px;
33 margin: 0px; 49 margin: 0px;
34 } 50 }
35 51
52 input[type="search"]::-webkit-search-cancel-button
53 {
54 display: none;
55 }
56
36 .option-name 57 .option-name
37 { 58 {
38 display: flex; 59 display: flex;
39 } 60 }
40 61
41 .option-name > * 62 .option-name > *
42 { 63 {
43 -moz-margin-end: 6px; 64 -moz-margin-end: 6px;
44 -webkit-margin-end: 6px; 65 -webkit-margin-end: 6px;
45 } 66 }
46 67
47 #left-sidebar 68 #nav-sidebar
48 { 69 {
49 position: relative; 70 position: relative;
50 padding: 0px 0px 16px 0px; 71 padding: 0px 0px 16px 0px;
51 -moz-padding-start: 10px; 72 -moz-padding-start: 10px;
52 -webkit-padding-start: 10px; 73 -webkit-padding-start: 10px;
53 min-width: 198px; 74 min-width: 198px;
54 } 75 }
55 76
56 #left-sidebar .fixed 77 #nav-sidebar .fixed
57 { 78 {
58 height: 100%; 79 height: 100%;
59 position: fixed; 80 position: fixed;
60 }
61
62 div.left
63 {
64 -moz-padding-end: 40px;
65 -webkit-padding-end: 40px;
66 } 81 }
67 82
68 #page-title 83 #page-title
69 { 84 {
70 -webkit-margin-start: 10px; 85 -webkit-margin-start: 10px;
71 -moz-margin-start: 10px; 86 -moz-margin-start: 10px;
72 } 87 }
73 88
74 #page-title p 89 #page-title p
75 { 90 {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 border-width: 1px 0px 0px 0px; 132 border-width: 1px 0px 0px 0px;
118 font-size: 16px; 133 font-size: 16px;
119 font-weight: 100; 134 font-weight: 100;
120 padding: 16px 0px; 135 padding: 16px 0px;
121 -moz-padding-end: 20px; 136 -moz-padding-end: 20px;
122 -webkit-padding-end: 20px; 137 -webkit-padding-end: 20px;
123 -moz-padding-start: 11px; 138 -moz-padding-start: 11px;
124 -webkit-padding-start: 11px; 139 -webkit-padding-start: 11px;
125 } 140 }
126 141
127 .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
128 { 145 {
129 border-width: 0px; 146 border-width: 0px;
130 } 147 }
131 148
132 .tabs.vertical li:last-child 149 #tab-help,
133 { 150 body[data-tab="advanced"] #tab-advanced + li
134 border-bottom-width: 1px !important; 151 {
135 } 152 border-bottom-width: 1px;
136 153 }
137 .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
138 { 158 {
139 background-color: #FFFFFF; 159 background-color: #FFFFFF;
140 border-radius: 3px 0px 0px 3px; 160 border-radius: 3px 0px 0px 3px;
141 border-width: 1px; 161 border-width: 1px;
142 -moz-border-end: 0px; 162 -moz-border-end: 0px;
143 -webkit-border-end: 0px; 163 -webkit-border-end: 0px;
144 font-weight: 900; 164 font-weight: 900;
145 -moz-margin-end: -1px; 165 -moz-margin-end: -1px;
146 -webkit-margin-end: -1px; 166 -webkit-margin-end: -1px;
147 -moz-padding-start: 10px; 167 -moz-padding-start: 10px;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 222
203 #tab-content 223 #tab-content
204 { 224 {
205 background-color: #FFFFFF; 225 background-color: #FFFFFF;
206 border: 1px solid #CDCDCD; 226 border: 1px solid #CDCDCD;
207 border-radius: 8px; 227 border-radius: 8px;
208 padding: 0px 60px 40px 60px; 228 padding: 0px 60px 40px 60px;
209 width: 960px; 229 width: 960px;
210 } 230 }
211 231
212 #modal-background 232 #tab-content h1
213 { 233 {
214 background-color: white; 234 border-bottom: 1px solid #CDCDCD;
215 position: absolute; 235 margin: 0px;
216 opacity: 0.7; 236 padding: 40px 0px 16px 0px;
217 top: 0px; 237 }
218 right: 0; 238
219 bottom: 0px; 239 .nav-link
220 left: 0; 240 {
221 z-index: 2; 241 -moz-margin-start: 12px;
242 -webkit-margin-start: 12px;
243 color: #3A7BA6;
222 } 244 }
223 245
224 #content-wrapper 246 #content-wrapper
225 { 247 {
226 position: relative; 248 position: relative;
227 } 249 }
228 250
229 #content-wrapper > div, 251 #content-wrapper > div
230 #blocking-list > div
231 { 252 {
232 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;
233 } 261 }
234 262
235 div.button 263 div.button
236 { 264 {
237 cursor: pointer; 265 cursor: pointer;
238 display: flex; 266 display: flex;
239 } 267 }
240 268
241 .table 269 .table
242 { 270 {
243 list-style: none; 271 list-style: none;
244 margin: 0px; 272 margin: 0px;
245 padding: 0px; 273 padding: 0px;
246 position: relative; 274 position: relative;
247 width: 400px; 275 width: 400px;
248 } 276 }
249 277
250 .table li 278 .table li
251 { 279 {
252 display: flex; 280 display: flex;
253 padding: 14px 0px; 281 padding: 14px 0px;
254 -webkit-padding-start: 16px; 282 -webkit-padding-start: 16px;
255 -moz-padding-start: 16px; 283 -moz-padding-start: 16px;
256 } 284 }
257 285
286 .table.list li .display
287 {
288 flex: 1;
289 }
290
258 .table.list li:nth-child(odd) 291 .table.list li:nth-child(odd)
259 { 292 {
260 background-color: #F5F5F5; 293 background-color: #F5F5F5;
261 } 294 }
262 295
263 .table.list li .display
264 {
265 flex: 1;
266 }
267
268 .table.cols li:nth-child(even) 296 .table.cols li:nth-child(even)
269 { 297 {
270 background-color: #F5F5F5; 298 background-color: #F5F5F5;
271 }
272
273 #blocking-list-own .table
274 {
275 height: 290px;
276 overflow: auto;
277 width: auto;
278 } 299 }
279 300
280 .table label 301 .table label
281 { 302 {
282 vertical-align: top; 303 vertical-align: top;
283 } 304 }
284 305
285 .table.cols span 306 .table.cols span
286 { 307 {
287 display: inline-block; 308 display: inline-block;
288 width: 30%; 309 width: 30%;
289 } 310 }
290 311
291 .table.cols .col-name 312 .table.cols .col-name
292 { 313 {
293 border-bottom: 1px solid #CDCDCD; 314 border-bottom: 1px solid #CDCDCD;
294 } 315 }
295 316
296 .table.cols .col-name span 317 .table.cols .col-name span
297 { 318 {
298 display: inline-block; 319 display: inline-block;
299 width: 30%; 320 width: 30%;
300 } 321 }
301 322
302 .table.cols .col-name span:first-child 323 .table.cols .col-name span:first-child
303 { 324 {
304 padding-left: 38px; 325 -webkit-padding-start: 38px;
305 } 326 -moz-padding-start: 38px;
306 327 }
307 #further-blocking .table 328
308 { 329 .table::-webkit-scrollbar,
309 height: 290px; 330 #custom-wrapper::-webkit-scrollbar
310 overflow: auto; 331 {
311 } 332 -webkit-padding-end: 10px;
312
313 .table::-webkit-scrollbar
314 {
315 padding-right: 10px;
316 width: 5px; 333 width: 5px;
317 } 334 }
318 335
319 .table::-webkit-scrollbar-thumb 336 .table::-webkit-scrollbar-thumb,
337 #custom-wrapper::-webkit-scrollbar-thumb
320 { 338 {
321 background-color: #CDCDCD; 339 background-color: #CDCDCD;
322 border-radius: 5px; 340 border-radius: 5px;
323 padding: 0px 40px; 341 padding: 0px 40px;
324 } 342 }
325 343
326 .table::-webkit-scrollbar-thumb:hover 344 .table::-webkit-scrollbar-thumb:hover,
345 #custom-wrapper::-webkit-scrollbar-thumb:hover
327 { 346 {
328 background-color: #A1A1A1; 347 background-color: #A1A1A1;
329 } 348 }
330 349
331 .table input[type=checkbox] 350 .table input[type="checkbox"]
332 { 351 {
333 display:none; 352 margin-top: 0px;
334 }
335
336 .table input[type=checkbox] + label
337 {
338 background-position: -51px 0px;
339 height: 18px;
340 -moz-margin-end: 20px; 353 -moz-margin-end: 20px;
341 -webkit-margin-end: 20px; 354 -webkit-margin-end: 20px;
342 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;
343 width: 18px; 364 width: 18px;
344 } 365 visibility: visible;
345 366 }
346 .table input[type=checkbox]:checked + label 367
347 { 368 .table input[type="checkbox"]:checked::before
369 {
370 content: "";
348 background-position: -68px 0px; 371 background-position: -68px 0px;
349 height: 18px; 372 height: 18px;
350 padding: 0px; 373 padding: 0px;
351 width: 18px; 374 width: 18px;
375 visibility: visible;
352 } 376 }
353 377
354 .table button.delete 378 .table button.delete
355 { 379 {
356 background-color: transparent; 380 background-color: transparent;
357 background-position: -9px -32px; 381 background-position: -9px -32px;
358 border: 0px; 382 border: 0px;
359 height: 10px; 383 height: 10px;
360 margin-top: 5px; 384 margin-top: 5px;
361 -moz-margin-end: 20px; 385 -moz-margin-end: 20px;
(...skipping 28 matching lines...) Expand all
390 } 414 }
391 415
392 .tabs.horizontal li.active 416 .tabs.horizontal li.active
393 { 417 {
394 border-bottom: 2px solid #1E8728; 418 border-bottom: 2px solid #1E8728;
395 color: black; 419 color: black;
396 font-weight: bold; 420 font-weight: bold;
397 padding-bottom: 10px; 421 padding-bottom: 10px;
398 } 422 }
399 423
400 .icon, .table label, .table button.delete 424 .icon, .table input[type="checkbox"]::before, .table button.delete,
425 #content-help a::before, #dialog-close::before
401 { 426 {
402 background-image: url(options-sprite.png); 427 background-image: url(options-sprite.png);
403 display: inline-block; 428 display: inline-block;
404 } 429 }
405 430
406 .icon-add 431 .icon-add
407 { 432 {
408 background-position: -0px -0px; 433 background-position: -0px -0px;
409 cursor: pointer; 434 cursor: pointer;
410 height: 18px; 435 height: 18px;
411 width: 18px; 436 width: 18px;
412 } 437 }
413 438
414 .icon-close
415 {
416 background-position: -9px -32px;
417 cursor: pointer;
418 height: 10px;
419 width: 10px;
420 }
421
422 .icon-update 439 .icon-update
423 { 440 {
424 background-position: -34px -0px; 441 background-position: -34px -0px;
425 cursor: pointer; 442 cursor: pointer;
426 height: 18px; 443 height: 18px;
427 width: 18px; 444 width: 18px;
428 } 445 }
429 446
430 .icon-edit 447 .icon-edit
431 { 448 {
432 background-position: -17px -0px; 449 background-position: -17px -0px;
433 cursor: pointer; 450 cursor: pointer;
434 height: 18px; 451 height: 18px;
435 width: 18px; 452 width: 18px;
436 } 453 }
437 454
438 .icon-arrow 455 .icon-arrow,
456 #content-help a::before
439 { 457 {
440 background-position: 0px -42px; 458 background-position: 0px -42px;
459 content: "";
441 cursor: pointer; 460 cursor: pointer;
442 height: 11px; 461 height: 11px;
443 vertical-align: middle; 462 vertical-align: middle;
444 width: 7px; 463 width: 7px;
445 } 464 }
446 465
447 .controls 466 .controls
448 { 467 {
449 margin-top: 8px; 468 border-top: 1px solid #CDCDCD;
450 -moz-margin-start: 16px; 469 padding-top: 8px;
451 -webkit-margin-start: 16px; 470 -moz-padding-start: 16px;
471 -webkit-padding-start: 16px;
452 position: relative; 472 position: relative;
453 } 473 }
454 474
475 .controls > div
476 {
477 display: flex;
478 }
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
455 #whitelisting .controls 523 #whitelisting .controls
456 { 524 {
457 -moz-margin-start: 12px; 525 -moz-padding-start: 12px;
458 -webkit-margin-start: 12px; 526 -webkit-padding-start: 12px;
459 } 527 }
460 528
461 #whitelisting .controls input[type=text], 529 #whitelisting .controls input[type="text"]
462 #whitelisting .controls input[type=text]:focus
463 { 530 {
464 border: 0px; 531 border: 0px;
465 border-bottom: 1px solid #A1A1A1; 532 border-bottom: 1px solid #A1A1A1;
466 -moz-padding-end: 25px; 533 -moz-padding-end: 25px;
467 -webkit-padding-end: 25px; 534 -webkit-padding-end: 25px;
468 -moz-margin-start: 14px; 535 -moz-margin-start: 14px;
469 -webkit-margin-start: 14px; 536 -webkit-margin-start: 14px;
470 outline: 0px; 537 outline: 0px;
538 padding-bottom: 5px;
471 vertical-align: text-bottom; 539 vertical-align: text-bottom;
472 width: 330px; 540 width: 330px;
473 } 541 }
474 542
475 .text-blue 543 #whitelisting .controls .button-add span
476 { 544 {
545 -moz-margin-start: 5px;
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;
477 color: #3A7BA6; 576 color: #3A7BA6;
478 display: inline-block; 577 cursor: pointer;
479 -moz-margin-start: 15px; 578 }
480 -webkit-margin-start: 15px; 579
481 vertical-align: top; 580 /*
482 } 581 Advanced tab content
483 582 */
484 #content-help .text-blue 583
485 { 584 #blocking-list-own .table
486 margin: 0px 16px 0px 4px; 585 {
487 text-decoration: none; 586 height: 290px;
488 } 587 overflow: auto;
489 588 width: auto;
490 .nav-blue 589 }
491 { 590
492 color: #3A7BA6; 591 #blocking-list-own .controls
493 margin-left: 12px; 592 {
494 } 593 display: flex;
495 594 padding: 0px;
496 #blocking-list-own input[type=text], 595 border: none;
497 #blocking-list-own input[type=text]:focus 596 }
597
598 #blocking-list-own input[type="text"],
599 #blocking-list-own input[type="text"]:focus
498 { 600 {
499 border: 0px; 601 border: 0px;
500 border-bottom: 1px solid; 602 border-bottom: 1px solid;
501 border-top: 1px solid; 603 border-top: 1px solid;
502 border-color: #1E8728; 604 border-color: #1E8728;
503 box-sizing: border-box; 605 box-sizing: border-box;
504 height: 25px; 606 height: 25px;
505 outline: 0px; 607 outline: 0px;
506 padding-left: 10px; 608 -moz-padding-start: 10px;
609 -webkit-padding-start: 10px;
507 width: 100%; 610 width: 100%;
508 } 611 }
509 612
510 .icon-enter-blue 613 .icon-enter-blue
511 { 614 {
512 background-position: -28px -85px; 615 background-position: -28px -85px;
513 cursor: pointer; 616 cursor: pointer;
514 height: 10px; 617 height: 10px;
515 margin: 0px 0px -2px 2px; 618 margin: 0px 0px -2px 2px;
516 width: 10px; 619 width: 10px;
517 } 620 }
518 621
519 #blocking-list-own .input-control 622 #blocking-list-own .input-control
520 { 623 {
521 position: absolute; 624 position: absolute;
625 -webkit-margin-start: -50px;
626 -moz-margin-start: -50px;
522 bottom: 5px; 627 bottom: 5px;
523 right: 10px;
524 } 628 }
525 629
526 #blocking-list-own .input-separator 630 #blocking-list-own .input-separator
527 { 631 {
528 display: inline-block; 632 display: inline-block;
529 border-right: 1px solid #CDCDCD; 633 -moz-border-end: 1px solid #CDCDCD;
634 -webkit-border-end: 1px solid #CDCDCD;
530 height: 15px; 635 height: 15px;
531 margin: 0px 4px -4px 0px; 636 margin: 0px 4px -4px 0px;
532 width: 1px; 637 width: 1px;
533 } 638 }
534 639
535 #blocking-list-own .input-btn-text 640 #blocking-list-own .input-button-text
536 { 641 {
537 font-size: 12px; 642 font-size: 12px;
538 } 643 }
539 644
540 .icon-enter 645 .tooltip, #block-element-explanation a
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 { 646 {
587 border-bottom: dotted 2px; 647 border-bottom: dotted 2px;
588 color: #3A7BA6; 648 color: #3A7BA6;
589 font-size: 12px; 649 font-size: 12px;
590 text-decoration: none; 650 text-decoration: none;
591 } 651 }
592 652
593 #content-advanced .dotted 653 #content-advanced .tooltip
594 { 654 {
595 -moz-margin-start: 8px; 655 -moz-margin-start: 8px;
596 -webkit-margin-start: 8px; 656 -webkit-margin-start: 8px;
597 } 657 }
598 658
599 #content-advanced h1 659 #block-element-explanation a
600 {
601 display: inline-block;
602 }
603
604 #content-advanced .table .dotted
605 { 660 {
606 color: black; 661 color: black;
607 border-bottom-color: #3A7BA6; 662 border-bottom-color: #3A7BA6;
608 font-weight: bold; 663 font-weight: bold;
609 padding-left: 0px !important; 664 -moz-padding-start: 0px;
665 -webkit-padding-start: 0px;
666 }
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;
610 vertical-align: top; 690 vertical-align: top;
611 } 691 }
612 692
613 #modal 693 #content-help a::before
614 { 694 {
615 left:50%; 695 -moz-margin-end: 6px;
616 top:50%; 696 -webkit-margin-end: 6px;
617 margin:0 auto; 697 }
618 margin-left:-200px; 698
619 margin-top:-200px; 699 /*
620 position:absolute; 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;
621 z-index: 2; 713 z-index: 2;
622 visibility: hidden; 714 }
623 } 715
624 716 body[data-dialog] #dialog-background
625 #modal > div 717 {
718 display: block;
719 }
720
721 #dialog
626 { 722 {
627 background-color: #FFFFFF; 723 background-color: #FFFFFF;
628 border: 2px solid #4D9D4B; 724 border: 2px solid #4D9D4B;
629 border-radius: 3px; 725 border-radius: 3px;
726 display: none;
727 margin: auto;
728 position:absolute;
729 top:100px;
730 left: 0px;
731 right: 0px;
732 z-index: 2;
630 width: 400px; 733 width: 400px;
631 } 734 }
632 735
633 #modal .header 736 #dialog header
634 { 737 {
635 background-color: #4D9D4B; 738 background-color: #4D9D4B;
636 height: 45px; 739 display: flex;
637 } 740 height: 25px;
638 741 padding: 10px;
639 #modal-close 742 }
640 { 743
744 #dialog-close
745 {
746 -moz-border-start: 1px solid #25612B;
747 -webkit-border-start: 1px solid #25612B;
748 color: #0F660F;
641 display: inline-block; 749 display: inline-block;
642 } 750 height: 20px;
643 751 font-size: 15px;
644 #modal .content 752 -moz-padding-start: 10px;
753 -webkit-padding-start: 10px;
754 }
755
756 #dialog-close::before
757 {
758 background-position: -9px -32px;
759 content: "";
760 cursor: pointer;
761 height: 12px;
762 width: 12px;
763 vertical-align: middle;
764 -moz-margin-end: 6px;
765 -webkit-margin-end: 6px;
766 }
767
768 #dialog #dialog-body
645 { 769 {
646 margin: 4px 24px; 770 margin: 4px 24px;
647 } 771 }
648 772
649 #modal h3 773 #dialog h3
650 { 774 {
651 font-size: 14px; 775 font-size: 14px;
652 margin: 0px; 776 margin: 0px;
653 } 777 }
654 778
655 #modal .content input[type=text] 779 #dialog input[type="text"],
780 #dialog input[type="search"]
656 { 781 {
657 -webkit-box-sizing: border-box; 782 -webkit-box-sizing: border-box;
658 -moz-box-sizing: border-box; 783 -moz-box-sizing: border-box;
659 box-sizing: border-box; 784 box-sizing: border-box;
660 font-size: 16px; 785 font-size: 16px;
661 margin-top: 10px; 786 margin-top: 10px;
662 padding: 5px; 787 padding: 5px;
663 width: 100%; 788 width: 100%;
664 } 789 }
665 790
666 #modal .table 791 #dialog .table
667 { 792 {
668 width: 100%; 793 width: 100%;
669 } 794 }
670 795
671 #modal #other-language .table 796 #dialog #other-language .table
672 { 797 {
673 height: 200px; 798 height: 200px;
674 overflow: auto; 799 overflow: auto;
675 } 800 }
676 801
677 #modal .section:not(:first-child) 802 #dialog .section:not(:first-child)
678 { 803 {
679 margin-top: 24px; 804 margin-top: 24px;
680 } 805 }
681 806
682 #modal .close-wrapper 807 #dialog-title
683 { 808 {
684 margin-right: 16px !important; 809 -moz-margin-start: 16px;
685 } 810 -webkit-margin-start: 16px;
686
687 #modal .header > div
688 {
689 display: flex;
690 }
691
692 #modal .header > div > div:first-child
693 {
694 flex: 1; 811 flex: 1;
695 -moz-margin-start: 24px; 812 font-size: 16px;
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; 813 color: #FFFFFF;
708 } 814 }
709 815
710 #modal .header .separator 816 #dialog-title > span
711 { 817 {
712 border-right: 1px solid #25612B; 818 display: none;
713 height: 18px; 819 }
714 margin-bottom: -4px; 820
715 -moz-margin-end: 4px; 821 body[data-dialog="customlist"] #dialog-title-customlist,
716 -webkit-margin-end: 4px; 822 body[data-dialog="language"] #dialog-title-language
717 width: 1px; 823 {
718 } 824 display: inline;
719 825 }
720 #modal .header .icon-close 826
721 { 827 #dialog-body .dialog-content-block
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 { 828 {
736 padding: 12px 0px; 829 padding: 12px 0px;
737 } 830 }
738 831
739 #modal .btn-wrapper 832 #dialog-body .dialog-content
833 {
834 display: none;
835 }
836
837 #dialog .button-wrapper
740 { 838 {
741 background-color: #F5F5F5; 839 background-color: #F5F5F5;
742 margin-top: 8px; 840 margin-top: 8px;
743 padding: 10px 16px; 841 padding: 10px 16px;
744 cursor: pointer; 842 cursor: pointer;
745 width: auto; 843 width: auto;
746 } 844 }
747 845
748 #modal .btn-wrapper .text-blue 846 #dialog .button-wrapper span:not(.icon)
749 { 847 {
750 margin-left: 12px; 848 color: #3A7BA6;
751 } 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