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