| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 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 |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 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 |
|
Thomas Greiner
2015/03/05 11:36:03
Please insert an empty line above.
saroyanm
2015/03/06 11:54:32
Done.
| |
| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 140 -webkit-padding-start: 11px; | 139 -webkit-padding-start: 11px; |
| 141 } | 140 } |
| 142 | 141 |
| 143 body[data-tab="general"] #tab-general + li, | 142 body[data-tab="general"] #tab-general + li, |
| 144 body[data-tab="advanced"] #tab-advanced + li, | 143 body[data-tab="advanced"] #tab-advanced + li, |
| 145 body[data-tab="help"] #tab-help + li | 144 body[data-tab="help"] #tab-help + li |
| 146 { | 145 { |
| 147 border-width: 0px; | 146 border-width: 0px; |
| 148 } | 147 } |
| 149 | 148 |
| 150 .tabs.vertical li:last-child | 149 #tab-help, |
| 151 { | 150 body[data-tab="advanced"] #tab-advanced + li |
| 152 border-bottom-width: 1px !important; | 151 { |
|
Thomas Greiner
2015/03/05 11:36:03
I don't see why you'd need to specify `!important`
saroyanm
2015/03/06 11:54:32
Because the Specificity Value of `body[data-tab="a
| |
| 152 border-bottom-width: 1px; | |
| 153 } | 153 } |
| 154 | 154 |
| 155 body[data-tab="general"] #tab-general, | 155 body[data-tab="general"] #tab-general, |
| 156 body[data-tab="advanced"] #tab-advanced, | 156 body[data-tab="advanced"] #tab-advanced, |
| 157 body[data-tab="help"] #tab-help | 157 body[data-tab="help"] #tab-help |
| 158 { | 158 { |
| 159 background-color: #FFFFFF; | 159 background-color: #FFFFFF; |
| 160 border-radius: 3px 0px 0px 3px; | 160 border-radius: 3px 0px 0px 3px; |
| 161 border-width: 1px; | 161 border-width: 1px; |
| 162 -moz-border-end: 0px; | 162 -moz-border-end: 0px; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 229 width: 960px; | 229 width: 960px; |
| 230 } | 230 } |
| 231 | 231 |
| 232 #tab-content h1 | 232 #tab-content h1 |
| 233 { | 233 { |
| 234 border-bottom: 1px solid #CDCDCD; | 234 border-bottom: 1px solid #CDCDCD; |
| 235 margin: 0px; | 235 margin: 0px; |
| 236 padding: 40px 0px 16px 0px; | 236 padding: 40px 0px 16px 0px; |
| 237 } | 237 } |
| 238 | 238 |
| 239 #modal-background | 239 .nav-link |
| 240 { | 240 { |
| 241 display: none; | 241 -moz-margin-start: 12px; |
| 242 background-color: white; | 242 -webkit-margin-start: 12px; |
| 243 position: absolute; | 243 color: #3A7BA6; |
| 244 opacity: 0.7; | |
| 245 top: 0px; | |
| 246 right: 0px; | |
| 247 bottom: 0px; | |
| 248 left: 0px; | |
| 249 z-index: 2; | |
| 250 } | |
| 251 | |
| 252 body[data-modal] #modal-background | |
| 253 { | |
| 254 display: block; | |
| 255 } | 244 } |
| 256 | 245 |
| 257 #content-wrapper | 246 #content-wrapper |
| 258 { | 247 { |
| 259 position: relative; | 248 position: relative; |
| 260 } | 249 } |
| 261 | 250 |
| 262 #content-wrapper > div | 251 #content-wrapper > div |
| 263 { | 252 { |
| 264 display: none; | 253 display: none; |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 287 } | 276 } |
| 288 | 277 |
| 289 .table li | 278 .table li |
| 290 { | 279 { |
| 291 display: flex; | 280 display: flex; |
| 292 padding: 14px 0px; | 281 padding: 14px 0px; |
| 293 -webkit-padding-start: 16px; | 282 -webkit-padding-start: 16px; |
| 294 -moz-padding-start: 16px; | 283 -moz-padding-start: 16px; |
| 295 } | 284 } |
| 296 | 285 |
| 286 .table.list li .display | |
| 287 { | |
| 288 flex: 1; | |
| 289 } | |
| 290 | |
| 297 .table.list li:nth-child(odd) | 291 .table.list li:nth-child(odd) |
| 298 { | 292 { |
| 299 background-color: #F5F5F5; | 293 background-color: #F5F5F5; |
| 300 } | 294 } |
| 301 | 295 |
| 302 .table.list li .display | |
|
Thomas Greiner
2015/03/05 11:36:03
Just a small thing: Move this block one up so that
saroyanm
2015/03/06 11:54:32
Done.
| |
| 303 { | |
| 304 flex: 1; | |
| 305 } | |
| 306 | |
| 307 .table.cols li:nth-child(even) | 296 .table.cols li:nth-child(even) |
| 308 { | 297 { |
| 309 background-color: #F5F5F5; | 298 background-color: #F5F5F5; |
| 310 } | |
| 311 | |
| 312 #blocking-list-own .table | |
| 313 { | |
| 314 height: 290px; | |
| 315 overflow: auto; | |
| 316 width: auto; | |
| 317 } | 299 } |
| 318 | 300 |
| 319 .table label | 301 .table label |
| 320 { | 302 { |
| 321 vertical-align: top; | 303 vertical-align: top; |
| 322 } | 304 } |
| 323 | 305 |
| 324 .table.cols span | 306 .table.cols span |
| 325 { | 307 { |
| 326 display: inline-block; | 308 display: inline-block; |
| 327 width: 30%; | 309 width: 30%; |
| 328 } | 310 } |
| 329 | 311 |
| 330 .table.cols .col-name | 312 .table.cols .col-name |
| 331 { | 313 { |
| 332 border-bottom: 1px solid #CDCDCD; | 314 border-bottom: 1px solid #CDCDCD; |
| 333 } | 315 } |
| 334 | 316 |
| 335 .table.cols .col-name span | 317 .table.cols .col-name span |
| 336 { | 318 { |
| 337 display: inline-block; | 319 display: inline-block; |
| 338 width: 30%; | 320 width: 30%; |
| 339 } | 321 } |
| 340 | 322 |
| 341 .table.cols .col-name span:first-child | 323 .table.cols .col-name span:first-child |
| 342 { | 324 { |
| 343 -webkit-padding-start: 38px; | 325 -webkit-padding-start: 38px; |
| 344 -moz-padding-start: 38px; | 326 -moz-padding-start: 38px; |
| 345 } | |
| 346 | |
| 347 #custom-wrapper | |
| 348 { | |
| 349 width: 400px; | |
| 350 height: 290px; | |
| 351 overflow: auto; | |
| 352 } | |
| 353 | |
| 354 #custom-wrapper .table | |
| 355 { | |
| 356 width: 395px; | |
| 357 } | 327 } |
| 358 | 328 |
| 359 .table::-webkit-scrollbar, | 329 .table::-webkit-scrollbar, |
| 360 #custom-wrapper::-webkit-scrollbar | 330 #custom-wrapper::-webkit-scrollbar |
| 361 { | 331 { |
| 362 -webkit-padding-end: 10px; | 332 -webkit-padding-end: 10px; |
| 363 width: 5px; | 333 width: 5px; |
| 364 } | 334 } |
| 365 | 335 |
| 366 .table::-webkit-scrollbar-thumb, | 336 .table::-webkit-scrollbar-thumb, |
| 367 #custom-wrapper::-webkit-scrollbar-thumb | 337 #custom-wrapper::-webkit-scrollbar-thumb |
| 368 { | 338 { |
| 369 background-color: #CDCDCD; | 339 background-color: #CDCDCD; |
| 370 border-radius: 5px; | 340 border-radius: 5px; |
| 371 padding: 0px 40px; | 341 padding: 0px 40px; |
| 372 } | 342 } |
| 373 | 343 |
| 374 .table::-webkit-scrollbar-thumb:hover, | 344 .table::-webkit-scrollbar-thumb:hover, |
| 375 #custom-wrapper::-webkit-scrollbar-thumb:hover | 345 #custom-wrapper::-webkit-scrollbar-thumb:hover |
| 376 { | 346 { |
| 377 background-color: #A1A1A1; | 347 background-color: #A1A1A1; |
| 378 } | 348 } |
| 379 | 349 |
| 380 .table input[type=checkbox] | 350 .table input[type="checkbox"] |
|
Thomas Greiner
2015/03/05 11:36:03
I'd suggest to get used to using quotation marks f
saroyanm
2015/03/06 11:54:32
Done.
| |
| 381 { | 351 { |
| 382 margin-top: 0px; | 352 margin-top: 0px; |
| 383 -moz-margin-end: 20px; | 353 -moz-margin-end: 20px; |
| 384 -webkit-margin-end: 20px; | 354 -webkit-margin-end: 20px; |
| 385 padding: 0px 0px 0px 0px; | 355 padding: 0px 0px 0px 0px; |
| 386 visibility: hidden; | 356 visibility: hidden; |
| 387 } | 357 } |
| 388 | 358 |
| 389 .table input[type=checkbox]:before | 359 .table input[type="checkbox"]::before |
|
Thomas Greiner
2015/03/05 11:36:03
"before" is a pseudo element so use "::before" ins
saroyanm
2015/03/06 11:54:32
Done.
| |
| 390 { | 360 { |
| 391 content:""; | 361 content: ""; |
|
Thomas Greiner
2015/03/05 11:36:03
Missing space after ":".
saroyanm
2015/03/06 11:54:32
Done.
| |
| 392 background-position: -51px 0px; | 362 background-position: -51px 0px; |
| 393 height: 18px; | 363 height: 18px; |
| 394 width: 18px; | 364 width: 18px; |
| 395 visibility: visible; | 365 visibility: visible; |
| 396 } | 366 } |
| 397 | 367 |
| 398 .table input[type=checkbox]:checked:before | 368 .table input[type="checkbox"]:checked::before |
| 399 { | 369 { |
| 400 content:""; | 370 content: ""; |
| 401 background-position: -68px 0px; | 371 background-position: -68px 0px; |
| 402 height: 18px; | 372 height: 18px; |
| 403 padding: 0px; | 373 padding: 0px; |
| 404 width: 18px; | 374 width: 18px; |
| 405 visibility: visible; | 375 visibility: visible; |
| 406 } | 376 } |
| 407 | 377 |
| 408 .table button.delete | 378 .table button.delete |
| 409 { | 379 { |
| 410 background-color: transparent; | 380 background-color: transparent; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 444 } | 414 } |
| 445 | 415 |
| 446 .tabs.horizontal li.active | 416 .tabs.horizontal li.active |
| 447 { | 417 { |
| 448 border-bottom: 2px solid #1E8728; | 418 border-bottom: 2px solid #1E8728; |
| 449 color: black; | 419 color: black; |
| 450 font-weight: bold; | 420 font-weight: bold; |
| 451 padding-bottom: 10px; | 421 padding-bottom: 10px; |
| 452 } | 422 } |
| 453 | 423 |
| 454 .icon, .table input[type=checkbox]:before, .table button.delete, | 424 .icon, .table input[type="checkbox"]::before, .table button.delete, |
| 455 #content-help a:before, #modal-close:before | 425 #content-help a::before, #dialog-close::before |
| 456 { | 426 { |
| 457 background-image: url(options-sprite.png); | 427 background-image: url(options-sprite.png); |
| 458 display: inline-block; | 428 display: inline-block; |
| 459 } | 429 } |
| 460 | 430 |
| 461 .icon-add | 431 .icon-add |
| 462 { | 432 { |
| 463 background-position: -0px -0px; | 433 background-position: -0px -0px; |
| 464 cursor: pointer; | 434 cursor: pointer; |
| 465 height: 18px; | 435 height: 18px; |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 476 | 446 |
| 477 .icon-edit | 447 .icon-edit |
| 478 { | 448 { |
| 479 background-position: -17px -0px; | 449 background-position: -17px -0px; |
| 480 cursor: pointer; | 450 cursor: pointer; |
| 481 height: 18px; | 451 height: 18px; |
| 482 width: 18px; | 452 width: 18px; |
| 483 } | 453 } |
| 484 | 454 |
| 485 .icon-arrow, | 455 .icon-arrow, |
| 486 #content-help a:before | 456 #content-help a::before |
| 487 { | 457 { |
| 488 background-position: 0px -42px; | 458 background-position: 0px -42px; |
| 489 content: ""; | 459 content: ""; |
| 490 cursor: pointer; | 460 cursor: pointer; |
| 491 height: 11px; | 461 height: 11px; |
| 492 vertical-align: middle; | 462 vertical-align: middle; |
| 493 width: 7px; | 463 width: 7px; |
| 494 } | 464 } |
| 495 | 465 |
| 496 .controls | 466 .controls |
| 497 { | 467 { |
| 498 border-top: 1px solid #CDCDCD; | 468 border-top: 1px solid #CDCDCD; |
| 499 padding-top: 8px; | 469 padding-top: 8px; |
| 500 -moz-padding-start: 16px; | 470 -moz-padding-start: 16px; |
| 501 -webkit-padding-start: 16px; | 471 -webkit-padding-start: 16px; |
| 502 position: relative; | 472 position: relative; |
| 503 } | 473 } |
| 504 | 474 |
| 505 .controls > div | 475 .controls > div |
| 506 { | 476 { |
| 507 display: flex; | 477 display: flex; |
| 508 } | 478 } |
| 509 | 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 | |
| 510 #whitelisting .controls | 523 #whitelisting .controls |
| 511 { | 524 { |
| 512 -moz-padding-start: 12px; | 525 -moz-padding-start: 12px; |
| 513 -webkit-padding-start: 12px; | 526 -webkit-padding-start: 12px; |
| 514 } | 527 } |
| 515 | 528 |
| 516 #whitelisting .controls input[type=text], | 529 #whitelisting .controls input[type="text"] |
| 517 #whitelisting .controls input[type=text]:focus | |
|
Thomas Greiner
2015/03/05 11:36:03
This looks a bit strange. What is it for?
saroyanm
2015/03/06 11:54:32
What is exactly strange ?
Thomas Greiner
2015/03/12 11:41:56
That the :focus styles of that element is the same
saroyanm
2015/03/12 14:03:22
Ahh right, Overlooked, we don't need focus here.
| |
| 518 { | 530 { |
| 519 border: 0px; | 531 border: 0px; |
| 520 border-bottom: 1px solid #A1A1A1; | 532 border-bottom: 1px solid #A1A1A1; |
| 521 -moz-padding-end: 25px; | 533 -moz-padding-end: 25px; |
| 522 -webkit-padding-end: 25px; | 534 -webkit-padding-end: 25px; |
| 523 -moz-margin-start: 14px; | 535 -moz-margin-start: 14px; |
| 524 -webkit-margin-start: 14px; | 536 -webkit-margin-start: 14px; |
| 525 outline: 0px; | 537 outline: 0px; |
| 526 padding-bottom: 5px; | 538 padding-bottom: 5px; |
| 527 vertical-align: text-bottom; | 539 vertical-align: text-bottom; |
| 528 width: 330px; | 540 width: 330px; |
| 529 } | 541 } |
| 530 | 542 |
| 531 .controls button, | 543 #whitelisting .controls .button-add span |
| 532 #modal-close | 544 { |
| 533 { | 545 -moz-margin-start: 5px; |
| 534 background: none; | 546 -webkit-margin-start: 5px; |
| 535 border: none; | 547 } |
| 536 cursor: pointer; | 548 |
| 537 display: block; | 549 #whitelisting .button-add |
| 538 padding: 0; | 550 { |
| 539 } | 551 -moz-margin-start: 32px; |
| 540 | 552 -webkit-margin-start: 32px; |
| 541 .controls button span:not(.icon) | 553 } |
| 542 { | 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; | |
| 543 color: #3A7BA6; | 576 color: #3A7BA6; |
| 544 display: inline-block; | 577 cursor: pointer; |
| 545 -moz-margin-start: 15px; | 578 } |
| 546 -webkit-margin-start: 15px; | 579 |
| 547 padding-top: 1px; | 580 /* |
| 548 vertical-align: top; | 581 Advanced tab content |
| 582 */ | |
| 583 | |
| 584 #blocking-list-own .table | |
| 585 { | |
| 586 height: 290px; | |
| 587 overflow: auto; | |
| 588 width: auto; | |
| 549 } | 589 } |
| 550 | 590 |
| 551 #blocking-list-own .controls | 591 #blocking-list-own .controls |
| 552 { | 592 { |
| 553 display: flex; | 593 display: flex; |
| 554 padding: 0px; | 594 padding: 0px; |
| 555 border: none; | 595 border: none; |
| 556 } | 596 } |
| 557 | 597 |
| 558 #modal .btn-wrapper span:not(.icon) | 598 #blocking-list-own input[type="text"], |
| 559 { | 599 #blocking-list-own input[type="text"]:focus |
| 560 color: #3A7BA6; | |
| 561 display: inline-block; | |
| 562 -moz-margin-start: 15px; | |
| 563 -webkit-margin-start: 15px; | |
| 564 vertical-align: top; | |
| 565 } | |
| 566 | |
| 567 #content-help | |
| 568 { | |
| 569 counter-reset: section; | |
| 570 } | |
| 571 | |
| 572 #content-help h1:before | |
| 573 { | |
| 574 counter-increment: section; | |
| 575 content: counter(section) ". "; | |
| 576 } | |
| 577 | |
| 578 #content-help a | |
| 579 { | |
| 580 color: #3A7BA6; | |
| 581 display: inline-block; | |
| 582 text-decoration: none; | |
| 583 -moz-margin-end: 16px; | |
| 584 -webkit-margin-end: 16px; | |
| 585 vertical-align: top; | |
| 586 } | |
| 587 | |
| 588 #content-help a:before | |
| 589 { | |
| 590 -moz-margin-end: 6px; | |
| 591 -webkit-margin-end: 6px; | |
| 592 } | |
| 593 | |
| 594 .nav-link | |
| 595 { | |
| 596 -moz-margin-start: 12px; | |
| 597 -webkit-margin-start: 12px; | |
| 598 color: #3A7BA6; | |
| 599 } | |
| 600 | |
| 601 #blocking-list-own input[type=text], | |
| 602 #blocking-list-own input[type=text]:focus | |
| 603 { | 600 { |
| 604 border: 0px; | 601 border: 0px; |
| 605 border-bottom: 1px solid; | 602 border-bottom: 1px solid; |
| 606 border-top: 1px solid; | 603 border-top: 1px solid; |
| 607 border-color: #1E8728; | 604 border-color: #1E8728; |
| 608 box-sizing: border-box; | 605 box-sizing: border-box; |
| 609 height: 25px; | 606 height: 25px; |
| 610 outline: 0px; | 607 outline: 0px; |
| 611 -moz-padding-start: 10px; | 608 -moz-padding-start: 10px; |
| 612 -webkit-padding-start: 10px; | 609 -webkit-padding-start: 10px; |
| 613 width: 100%; | 610 width: 100%; |
| 614 } | 611 } |
| 615 | 612 |
| 616 .icon-enter-blue | 613 .icon-enter-blue |
|
Thomas Greiner
2015/03/05 11:36:03
I was about to comment on that until I noticed tha
saroyanm
2015/03/06 11:54:32
Done, but for general tab couldn't find good place
| |
| 617 { | 614 { |
| 618 background-position: -28px -85px; | 615 background-position: -28px -85px; |
| 619 cursor: pointer; | 616 cursor: pointer; |
| 620 height: 10px; | 617 height: 10px; |
| 621 margin: 0px 0px -2px 2px; | 618 margin: 0px 0px -2px 2px; |
| 622 width: 10px; | 619 width: 10px; |
| 623 } | 620 } |
| 624 | 621 |
| 625 #blocking-list-own .input-control | 622 #blocking-list-own .input-control |
| 626 { | 623 { |
| 627 position: absolute; | 624 position: absolute; |
| 628 -webkit-margin-start: -50px; | 625 -webkit-margin-start: -50px; |
| 629 -moz-margin-start: -50px; | 626 -moz-margin-start: -50px; |
| 630 bottom: 5px; | 627 bottom: 5px; |
| 631 } | 628 } |
| 632 | 629 |
| 633 #blocking-list-own .input-separator | 630 #blocking-list-own .input-separator |
| 634 { | 631 { |
| 635 display: inline-block; | 632 display: inline-block; |
| 636 -moz-border-end: 1px solid #CDCDCD; | 633 -moz-border-end: 1px solid #CDCDCD; |
| 637 -webkit-border-end: 1px solid #CDCDCD; | 634 -webkit-border-end: 1px solid #CDCDCD; |
| 638 height: 15px; | 635 height: 15px; |
| 639 margin: 0px 4px -4px 0px; | 636 margin: 0px 4px -4px 0px; |
| 640 width: 1px; | 637 width: 1px; |
| 641 } | 638 } |
| 642 | 639 |
| 643 #blocking-list-own .input-btn-text | 640 #blocking-list-own .input-button-text |
|
Thomas Greiner
2015/03/05 11:36:03
Please use "button" instead of "btn" (not only her
saroyanm
2015/03/06 11:54:32
Done.
| |
| 644 { | 641 { |
| 645 font-size: 12px; | 642 font-size: 12px; |
| 646 } | |
| 647 | |
| 648 .icon-enter | |
| 649 { | |
| 650 background-position: -18px -85px; | |
| 651 cursor: pointer; | |
| 652 height: 10px; | |
| 653 position: absolute; | |
| 654 top: 10px; | |
| 655 -moz-margin-start: -20px; | |
| 656 -webkit-margin-start: -20px; | |
| 657 width: 10px; | |
| 658 } | |
| 659 | |
| 660 .button-add, .cancelbtn | |
| 661 { | |
| 662 background-color: transparent; | |
| 663 border: 0px; | |
| 664 color: #3A7BA6; | |
| 665 cursor: pointer; | |
| 666 } | |
| 667 | |
| 668 .controls .button-add span | |
| 669 { | |
| 670 -moz-margin-start: 5px !important; | |
|
Thomas Greiner
2015/03/05 11:36:03
If "!important" was necessary here, rather try to
saroyanm
2015/03/06 11:54:32
Done.
| |
| 671 -webkit-margin-start: 5px !important; | |
| 672 } | |
| 673 | |
| 674 #other-language .button-add | |
| 675 { | |
| 676 -webkit-border-end: 1px solid #CDCDCD; | |
| 677 -moz-border-end: 1px solid #CDCDCD; | |
| 678 -webkit-padding-end: 10px; | |
| 679 -moz-padding-end: 10px; | |
| 680 -webkit-padding-start: 0px; | |
| 681 -moz-padding-start: 0px; | |
| 682 } | |
| 683 | |
| 684 #other-language .display | |
| 685 { | |
| 686 -webkit-margin-start: 10px; | |
| 687 -moz-margin-start: 10px; | |
| 688 } | |
| 689 | |
| 690 #whitelisting .button-add | |
| 691 { | |
| 692 -moz-margin-start: 32px; | |
| 693 -webkit-margin-start: 32px; | |
| 694 } | |
| 695 | |
| 696 #whitelisting-add-btn + span | |
| 697 { | |
| 698 flex: 1; | |
| 699 } | 643 } |
| 700 | 644 |
| 701 .tooltip, #block-element-explanation a | 645 .tooltip, #block-element-explanation a |
| 702 { | 646 { |
| 703 border-bottom: dotted 2px; | 647 border-bottom: dotted 2px; |
| 704 color: #3A7BA6; | 648 color: #3A7BA6; |
| 705 font-size: 12px; | 649 font-size: 12px; |
| 706 text-decoration: none; | 650 text-decoration: none; |
| 707 } | 651 } |
| 708 | 652 |
| 709 #content-advanced .tooltip | 653 #content-advanced .tooltip |
| 710 { | 654 { |
| 711 -moz-margin-start: 8px; | 655 -moz-margin-start: 8px; |
| 712 -webkit-margin-start: 8px; | 656 -webkit-margin-start: 8px; |
| 713 } | 657 } |
| 714 | 658 |
| 715 #block-element-explanation a | 659 #block-element-explanation a |
| 716 { | 660 { |
| 717 color: black; | 661 color: black; |
| 718 border-bottom-color: #3A7BA6; | 662 border-bottom-color: #3A7BA6; |
| 719 font-weight: bold; | 663 font-weight: bold; |
| 720 -moz-padding-start: 0px; | 664 -moz-padding-start: 0px; |
| 721 -webkit-padding-start: 0px; | 665 -webkit-padding-start: 0px; |
| 722 } | 666 } |
| 723 | 667 |
| 724 #modal | 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 | |
| 725 { | 722 { |
| 726 background-color: #FFFFFF; | 723 background-color: #FFFFFF; |
| 727 border: 2px solid #4D9D4B; | 724 border: 2px solid #4D9D4B; |
| 728 border-radius: 3px; | 725 border-radius: 3px; |
| 729 display: none; | 726 display: none; |
| 730 margin: auto; | 727 margin: auto; |
| 731 position:absolute; | 728 position:absolute; |
| 732 top:100px; | 729 top:100px; |
| 733 left: 0px; | 730 left: 0px; |
| 734 right: 0px; | 731 right: 0px; |
| 735 z-index: 2; | 732 z-index: 2; |
| 736 width: 400px; | 733 width: 400px; |
| 737 } | 734 } |
| 738 | 735 |
| 739 #modal header | 736 #dialog header |
| 740 { | 737 { |
| 741 background-color: #4D9D4B; | 738 background-color: #4D9D4B; |
| 742 display: flex; | 739 display: flex; |
| 743 height: 25px; | 740 height: 25px; |
| 744 padding: 10px; | 741 padding: 10px; |
| 745 } | 742 } |
| 746 | 743 |
| 747 #modal-close | 744 #dialog-close |
| 748 { | 745 { |
| 749 -moz-border-start: 1px solid #25612B; | 746 -moz-border-start: 1px solid #25612B; |
| 750 -webkit-border-start: 1px solid #25612B; | 747 -webkit-border-start: 1px solid #25612B; |
| 751 color: #0F660F; | 748 color: #0F660F; |
| 752 display: inline-block; | 749 display: inline-block; |
| 753 height: 20px; | 750 height: 20px; |
| 754 font-size: 15px; | 751 font-size: 15px; |
| 755 -moz-padding-start: 10px; | 752 -moz-padding-start: 10px; |
| 756 -webkit-padding-start: 10px; | 753 -webkit-padding-start: 10px; |
| 757 } | 754 } |
| 758 | 755 |
| 759 #modal-close:before | 756 #dialog-close::before |
| 760 { | 757 { |
| 761 background-position: -9px -32px; | 758 background-position: -9px -32px; |
| 762 content: ""; | 759 content: ""; |
| 763 cursor: pointer; | 760 cursor: pointer; |
| 764 height: 12px; | 761 height: 12px; |
| 765 width: 12px; | 762 width: 12px; |
| 766 vertical-align: middle; | 763 vertical-align: middle; |
| 767 -moz-margin-end: 6px; | 764 -moz-margin-end: 6px; |
| 768 -webkit-margin-end: 6px; | 765 -webkit-margin-end: 6px; |
| 769 } | 766 } |
| 770 | 767 |
| 771 #modal .content | 768 #dialog #dialog-body |
| 772 { | 769 { |
| 773 margin: 4px 24px; | 770 margin: 4px 24px; |
| 774 } | 771 } |
| 775 | 772 |
| 776 #modal h3 | 773 #dialog h3 |
| 777 { | 774 { |
| 778 font-size: 14px; | 775 font-size: 14px; |
| 779 margin: 0px; | 776 margin: 0px; |
| 780 } | 777 } |
| 781 | 778 |
| 782 #modal .content input[type=text], | 779 #dialog input[type="text"], |
| 783 #modal .content input[type=search] | 780 #dialog input[type="search"] |
| 784 { | 781 { |
| 785 -webkit-box-sizing: border-box; | 782 -webkit-box-sizing: border-box; |
| 786 -moz-box-sizing: border-box; | 783 -moz-box-sizing: border-box; |
| 787 box-sizing: border-box; | 784 box-sizing: border-box; |
| 788 font-size: 16px; | 785 font-size: 16px; |
| 789 margin-top: 10px; | 786 margin-top: 10px; |
| 790 padding: 5px; | 787 padding: 5px; |
| 791 width: 100%; | 788 width: 100%; |
| 792 } | 789 } |
| 793 | 790 |
| 794 #modal .table | 791 #dialog .table |
| 795 { | 792 { |
| 796 width: 100%; | 793 width: 100%; |
| 797 } | 794 } |
| 798 | 795 |
| 799 #modal #other-language .table | 796 #dialog #other-language .table |
| 800 { | 797 { |
| 801 height: 200px; | 798 height: 200px; |
| 802 overflow: auto; | 799 overflow: auto; |
| 803 } | 800 } |
| 804 | 801 |
| 805 #modal .section:not(:first-child) | 802 #dialog .section:not(:first-child) |
| 806 { | 803 { |
| 807 margin-top: 24px; | 804 margin-top: 24px; |
| 808 } | 805 } |
| 809 | 806 |
| 810 #modal .close-wrapper | 807 #dialog-title |
| 811 { | |
| 812 -moz-margin-end: 16px !important; | |
| 813 -webkit-margin-end: 16px !important; | |
| 814 } | |
| 815 | |
| 816 #modal-title | |
| 817 { | 808 { |
| 818 -moz-margin-start: 16px; | 809 -moz-margin-start: 16px; |
| 819 -webkit-margin-start: 16px; | 810 -webkit-margin-start: 16px; |
| 820 flex: 1; | 811 flex: 1; |
| 821 font-size: 16px; | 812 font-size: 16px; |
| 822 color: #FFFFFF; | 813 color: #FFFFFF; |
| 823 } | 814 } |
| 824 | 815 |
| 825 #modal-title > span | 816 #dialog-title > span |
| 826 { | 817 { |
| 827 display: none; | 818 display: none; |
| 828 } | 819 } |
| 829 | 820 |
| 830 body[data-modal="customlist"] #modal-title-customlist, | 821 body[data-dialog="customlist"] #dialog-title-customlist, |
| 831 body[data-modal="language"] #modal-title-language | 822 body[data-dialog="language"] #dialog-title-language |
| 832 { | 823 { |
| 833 display: inline; | 824 display: inline; |
| 834 } | 825 } |
| 835 | 826 |
| 836 #modal .content > div > div | 827 #dialog-body .dialog-content-block |
|
Thomas Greiner
2015/03/05 11:36:03
Using class names should make it more obvious what
saroyanm
2015/03/06 11:54:32
Done.
| |
| 837 { | 828 { |
| 838 padding: 12px 0px; | 829 padding: 12px 0px; |
| 839 } | 830 } |
| 840 | 831 |
| 841 #modal-content > div | 832 #dialog-body .dialog-content |
| 842 { | 833 { |
| 843 display: none; | 834 display: none; |
| 844 } | 835 } |
| 845 | 836 |
| 846 #modal-content > div.active | 837 #dialog .button-wrapper |
| 847 { | |
| 848 display: block; | |
| 849 } | |
| 850 | |
| 851 #modal .btn-wrapper | |
| 852 { | 838 { |
| 853 background-color: #F5F5F5; | 839 background-color: #F5F5F5; |
| 854 margin-top: 8px; | 840 margin-top: 8px; |
| 855 padding: 10px 16px; | 841 padding: 10px 16px; |
| 856 cursor: pointer; | 842 cursor: pointer; |
| 857 width: auto; | 843 width: auto; |
| 858 } | 844 } |
| 859 | 845 |
| 860 body[data-modal="customlist"] #modal-content-customlist, | 846 #dialog .button-wrapper span:not(.icon) |
| 861 body[data-modal="language"] #modal-content-language, | 847 { |
| 862 body[data-modal] #modal | 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 | |
| 863 { | 858 { |
| 864 display: block; | 859 display: block; |
| 865 } | 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 } | |
| LEFT | RIGHT |