| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 18 body | |
| 19 { | |
| 20 background-color: #F5F5F5; | |
| 21 display: flex; | |
| 22 font-family: "Source Sans Pro", sans-serif; | |
| 23 font-size: 14px; | |
| 24 white-space: nowrap; | |
| 25 } | |
| 26 | |
| 27 h1 | |
| 28 { | |
| 29 font-size: 24px; | |
| 30 font-weight: 100; | |
| 31 } | |
| 32 | |
| 33 h2 | |
| 34 { | |
| 35 font-size: 16px; | |
| 36 font-weight: 500; | |
| 37 } | |
| 38 | |
| 39 p | |
| 40 { | |
| 41 font-weight: 100; | |
| 42 } | |
| 43 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 background-color: #CDCDCD; | |
| 46 border: 0px; | |
| 47 height: 1px; | |
| 48 margin: 0px; | |
| 49 } | |
| 50 | |
| 51 .option-name | |
| 52 { | |
| 53 display: flex; | |
| 54 } | |
| 55 | |
| 56 .option-name > * | |
| 57 { | |
| 58 -moz-margin-end: 6px; | |
| 59 -webkit-margin-end: 6px; | |
| 60 } | |
| 61 | |
| 62 #nav-sidebar | |
| 63 { | |
| 64 position: relative; | |
| 65 padding: 0px 0px 16px 0px; | |
| 66 -moz-padding-start: 10px; | |
| 67 -webkit-padding-start: 10px; | |
| 68 min-width: 198px; | |
| 69 } | |
| 70 | |
| 71 #nav-sidebar .fixed | |
| 72 { | |
| 73 height: 100%; | |
| 74 position: fixed; | |
| 75 } | |
| 76 | |
| 77 #blocking-languages, | |
| 78 #acceptable-ads | |
| 79 { | |
| 80 -moz-padding-end: 40px; | |
| 81 -webkit-padding-end: 40px; | |
| 82 } | |
| 83 | |
| 84 #page-title | |
| 85 { | |
| 86 -webkit-margin-start: 10px; | |
| 87 -moz-margin-start: 10px; | |
| 88 } | |
| 89 | |
| 90 #page-title p | |
| 91 { | |
| 92 margin: 0px; | |
| 93 padding: 40px 0px 0px 0px; | |
| 94 font-size: 16px; | |
| 95 } | |
| 96 | |
| 97 #page-title h1 | |
| 98 { | |
| 99 margin: 0px; | |
| 100 padding: 8px 0px 16px 0px; | |
| 101 } | |
| 102 | |
| 103 .flex-container | |
| 104 { | |
| 105 display: flex; | |
| 106 flex-flow: row wrap; | |
| 107 } | |
| 108 | |
| 109 .tabs li | |
| 110 { | |
| 111 cursor: pointer; | |
| 112 display: flex; | |
| 113 } | |
| 114 | |
| 115 .tabs li span:first-child | |
| 116 { | |
| 117 flex: 1; | |
| 118 } | |
| 119 | |
| 120 .tabs.vertical | |
| 121 { | |
| 122 list-style: none; | |
| 123 margin: 0px; | |
| 124 position: relative; | |
| 125 padding: 0px; | |
| 126 width: 198px; | |
| 127 } | |
| 128 | |
| 129 .tabs.vertical li | |
| 130 { | |
| 131 border-color: #CDCDCD; | |
| 132 border-style: solid; | |
| 133 border-width: 1px 0px 0px 0px; | |
| 134 font-size: 16px; | |
| 135 font-weight: 100; | |
| 136 padding: 16px 0px; | |
| 137 -moz-padding-end: 20px; | |
| 138 -webkit-padding-end: 20px; | |
| 139 -moz-padding-start: 11px; | |
| 140 -webkit-padding-start: 11px; | |
| 141 } | |
| 142 | |
| 143 body[data-tab="general"] #tab-general + li, | |
| 144 body[data-tab="advanced"] #tab-advanced + li, | |
| 145 body[data-tab="help"] #tab-help + li | |
| 146 { | |
| 147 border-width: 0px; | |
| 148 } | |
| 149 | |
| 150 .tabs.vertical li:last-child | |
| 151 { | |
| 152 border-bottom-width: 1px !important; | |
|
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
| |
| 153 } | |
| 154 | |
| 155 body[data-tab="general"] #tab-general, | |
| 156 body[data-tab="advanced"] #tab-advanced, | |
| 157 body[data-tab="help"] #tab-help | |
| 158 { | |
| 159 background-color: #FFFFFF; | |
| 160 border-radius: 3px 0px 0px 3px; | |
| 161 border-width: 1px; | |
| 162 -moz-border-end: 0px; | |
| 163 -webkit-border-end: 0px; | |
| 164 font-weight: 900; | |
| 165 -moz-margin-end: -1px; | |
| 166 -webkit-margin-end: -1px; | |
| 167 -moz-padding-start: 10px; | |
| 168 -webkit-padding-start: 10px; | |
| 169 position: relative; | |
| 170 } | |
| 171 | |
| 172 .tabs.vertical.bottom | |
| 173 { | |
| 174 bottom: 0px; | |
| 175 position: absolute; | |
| 176 } | |
| 177 | |
| 178 .tabs.vertical.bottom li:first-child | |
| 179 { | |
| 180 border-top: 0px; | |
| 181 } | |
| 182 | |
| 183 .tabs.vertical .icon | |
| 184 { | |
| 185 margin: 2px 0px 0px 0px; | |
| 186 } | |
| 187 | |
| 188 #tab-general .icon | |
| 189 { | |
| 190 background-position: -15px -17px; | |
| 191 height: 16px; | |
| 192 width: 16px; | |
| 193 } | |
| 194 | |
| 195 #tab-advanced .icon | |
| 196 { | |
| 197 background-position: -45px -18px; | |
| 198 height: 16px; | |
| 199 width: 16px; | |
| 200 } | |
| 201 | |
| 202 #tab-help .icon | |
| 203 { | |
| 204 background-position: 0px -17px; | |
| 205 height: 16px; | |
| 206 width: 16px; | |
| 207 } | |
| 208 | |
| 209 #tab-share .icon | |
| 210 { | |
| 211 background-position: -60px -17px; | |
| 212 height: 16px; | |
| 213 width: 16px; | |
| 214 } | |
| 215 | |
| 216 #tab-donate .icon | |
| 217 { | |
| 218 background-position: -30px -17px; | |
| 219 height: 16px; | |
| 220 width: 16px; | |
| 221 } | |
| 222 | |
| 223 #tab-content | |
| 224 { | |
| 225 background-color: #FFFFFF; | |
| 226 border: 1px solid #CDCDCD; | |
| 227 border-radius: 8px; | |
| 228 padding: 0px 60px 40px 60px; | |
| 229 width: 960px; | |
| 230 } | |
| 231 | |
| 232 #tab-content h1 | |
| 233 { | |
| 234 border-bottom: 1px solid #CDCDCD; | |
| 235 margin: 0px; | |
| 236 padding: 40px 0px 16px 0px; | |
| 237 } | |
| 238 | |
| 239 #modal-background | |
| 240 { | |
| 241 display: none; | |
| 242 background-color: white; | |
| 243 position: absolute; | |
| 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 } | |
| 256 | |
| 257 #content-wrapper | |
| 258 { | |
| 259 position: relative; | |
| 260 } | |
| 261 | |
| 262 #content-wrapper > div | |
| 263 { | |
| 264 display: none; | |
| 265 } | |
| 266 | |
| 267 body[data-tab="general"] #content-general, | |
| 268 body[data-tab="advanced"] #content-advanced, | |
| 269 body[data-tab="help"] #content-help | |
| 270 { | |
| 271 display: block; | |
| 272 } | |
| 273 | |
| 274 div.button | |
| 275 { | |
| 276 cursor: pointer; | |
| 277 display: flex; | |
| 278 } | |
| 279 | |
| 280 .table | |
| 281 { | |
| 282 list-style: none; | |
| 283 margin: 0px; | |
| 284 padding: 0px; | |
| 285 position: relative; | |
| 286 width: 400px; | |
| 287 } | |
| 288 | |
| 289 .table li | |
| 290 { | |
| 291 display: flex; | |
| 292 padding: 14px 0px; | |
| 293 -webkit-padding-start: 16px; | |
| 294 -moz-padding-start: 16px; | |
| 295 } | |
| 296 | |
| 297 .table.list li:nth-child(odd) | |
| 298 { | |
| 299 background-color: #F5F5F5; | |
| 300 } | |
| 301 | |
| 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) | |
| 308 { | |
| 309 background-color: #F5F5F5; | |
| 310 } | |
| 311 | |
| 312 #blocking-list-own .table | |
| 313 { | |
| 314 height: 290px; | |
| 315 overflow: auto; | |
| 316 width: auto; | |
| 317 } | |
| 318 | |
| 319 .table label | |
| 320 { | |
| 321 vertical-align: top; | |
| 322 } | |
| 323 | |
| 324 .table.cols span | |
| 325 { | |
| 326 display: inline-block; | |
| 327 width: 30%; | |
| 328 } | |
| 329 | |
| 330 .table.cols .col-name | |
| 331 { | |
| 332 border-bottom: 1px solid #CDCDCD; | |
| 333 } | |
| 334 | |
| 335 .table.cols .col-name span | |
| 336 { | |
| 337 display: inline-block; | |
| 338 width: 30%; | |
| 339 } | |
| 340 | |
| 341 .table.cols .col-name span:first-child | |
| 342 { | |
| 343 -webkit-padding-start: 38px; | |
| 344 -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 } | |
| 358 | |
| 359 .table::-webkit-scrollbar, | |
| 360 #custom-wrapper::-webkit-scrollbar | |
| 361 { | |
| 362 -webkit-padding-end: 10px; | |
| 363 width: 5px; | |
| 364 } | |
| 365 | |
| 366 .table::-webkit-scrollbar-thumb, | |
| 367 #custom-wrapper::-webkit-scrollbar-thumb | |
| 368 { | |
| 369 background-color: #CDCDCD; | |
| 370 border-radius: 5px; | |
| 371 padding: 0px 40px; | |
| 372 } | |
| 373 | |
| 374 .table::-webkit-scrollbar-thumb:hover, | |
| 375 #custom-wrapper::-webkit-scrollbar-thumb:hover | |
| 376 { | |
| 377 background-color: #A1A1A1; | |
| 378 } | |
| 379 | |
| 380 .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 { | |
| 382 margin-top: 0px; | |
| 383 -moz-margin-end: 20px; | |
| 384 -webkit-margin-end: 20px; | |
| 385 padding: 0px 0px 0px 0px; | |
| 386 visibility: hidden; | |
| 387 } | |
| 388 | |
| 389 .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 { | |
| 391 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; | |
| 393 height: 18px; | |
| 394 width: 18px; | |
| 395 visibility: visible; | |
| 396 } | |
| 397 | |
| 398 .table input[type=checkbox]:checked:before | |
| 399 { | |
| 400 content:""; | |
| 401 background-position: -68px 0px; | |
| 402 height: 18px; | |
| 403 padding: 0px; | |
| 404 width: 18px; | |
| 405 visibility: visible; | |
| 406 } | |
| 407 | |
| 408 .table button.delete | |
| 409 { | |
| 410 background-color: transparent; | |
| 411 background-position: -9px -32px; | |
| 412 border: 0px; | |
| 413 height: 10px; | |
| 414 margin-top: 5px; | |
| 415 -moz-margin-end: 20px; | |
| 416 -webkit-margin-end: 20px; | |
| 417 padding: 0px; | |
| 418 cursor: pointer; | |
| 419 width: 10px; | |
| 420 } | |
| 421 | |
| 422 .table .popular | |
| 423 { | |
| 424 color: #1E8728; | |
| 425 font-size: 12px; | |
| 426 -moz-padding-end: 12px; | |
| 427 -webkit-padding-end: 12px; | |
| 428 } | |
| 429 | |
| 430 .tabs.horizontal | |
| 431 { | |
| 432 margin-bottom: 0px; | |
| 433 padding: 0px; | |
| 434 } | |
| 435 | |
| 436 .tabs.horizontal li | |
| 437 { | |
| 438 border-bottom: 1px solid #A1A1A1; | |
| 439 display: inline-block; | |
| 440 color: #3A7BA6; | |
| 441 padding: 10px 0px 11px 0px; | |
| 442 text-align: center; | |
| 443 width: 50%; | |
| 444 } | |
| 445 | |
| 446 .tabs.horizontal li.active | |
| 447 { | |
| 448 border-bottom: 2px solid #1E8728; | |
| 449 color: black; | |
| 450 font-weight: bold; | |
| 451 padding-bottom: 10px; | |
| 452 } | |
| 453 | |
| 454 .icon, .table input[type=checkbox]:before, .table button.delete, | |
| 455 #content-help a:before, #modal-close:before | |
| 456 { | |
| 457 background-image: url(options-sprite.png); | |
| 458 display: inline-block; | |
| 459 } | |
| 460 | |
| 461 .icon-add | |
| 462 { | |
| 463 background-position: -0px -0px; | |
| 464 cursor: pointer; | |
| 465 height: 18px; | |
| 466 width: 18px; | |
| 467 } | |
| 468 | |
| 469 .icon-update | |
| 470 { | |
| 471 background-position: -34px -0px; | |
| 472 cursor: pointer; | |
| 473 height: 18px; | |
| 474 width: 18px; | |
| 475 } | |
| 476 | |
| 477 .icon-edit | |
| 478 { | |
| 479 background-position: -17px -0px; | |
| 480 cursor: pointer; | |
| 481 height: 18px; | |
| 482 width: 18px; | |
| 483 } | |
| 484 | |
| 485 .icon-arrow, | |
| 486 #content-help a:before | |
| 487 { | |
| 488 background-position: 0px -42px; | |
| 489 content: ""; | |
| 490 cursor: pointer; | |
| 491 height: 11px; | |
| 492 vertical-align: middle; | |
| 493 width: 7px; | |
| 494 } | |
| 495 | |
| 496 .controls | |
| 497 { | |
| 498 border-top: 1px solid #CDCDCD; | |
| 499 padding-top: 8px; | |
| 500 -moz-padding-start: 16px; | |
| 501 -webkit-padding-start: 16px; | |
| 502 position: relative; | |
| 503 } | |
| 504 | |
| 505 .controls > div | |
| 506 { | |
| 507 display: flex; | |
| 508 } | |
| 509 | |
| 510 #whitelisting .controls | |
| 511 { | |
| 512 -moz-padding-start: 12px; | |
| 513 -webkit-padding-start: 12px; | |
| 514 } | |
| 515 | |
| 516 #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 { | |
| 519 border: 0px; | |
| 520 border-bottom: 1px solid #A1A1A1; | |
| 521 -moz-padding-end: 25px; | |
| 522 -webkit-padding-end: 25px; | |
| 523 -moz-margin-start: 14px; | |
| 524 -webkit-margin-start: 14px; | |
| 525 outline: 0px; | |
| 526 padding-bottom: 5px; | |
| 527 vertical-align: text-bottom; | |
| 528 width: 330px; | |
| 529 } | |
| 530 | |
| 531 .controls button, | |
| 532 #modal-close | |
| 533 { | |
| 534 background: none; | |
| 535 border: none; | |
| 536 cursor: pointer; | |
| 537 display: block; | |
| 538 padding: 0; | |
| 539 } | |
| 540 | |
| 541 .controls button span:not(.icon) | |
| 542 { | |
| 543 color: #3A7BA6; | |
| 544 display: inline-block; | |
| 545 -moz-margin-start: 15px; | |
| 546 -webkit-margin-start: 15px; | |
| 547 padding-top: 1px; | |
| 548 vertical-align: top; | |
| 549 } | |
| 550 | |
| 551 #blocking-list-own .controls | |
| 552 { | |
| 553 display: flex; | |
| 554 padding: 0px; | |
| 555 border: none; | |
| 556 } | |
| 557 | |
| 558 #modal .btn-wrapper span:not(.icon) | |
| 559 { | |
| 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 { | |
| 604 border: 0px; | |
| 605 border-bottom: 1px solid; | |
| 606 border-top: 1px solid; | |
| 607 border-color: #1E8728; | |
| 608 box-sizing: border-box; | |
| 609 height: 25px; | |
| 610 outline: 0px; | |
| 611 -moz-padding-start: 10px; | |
| 612 -webkit-padding-start: 10px; | |
| 613 width: 100%; | |
| 614 } | |
| 615 | |
| 616 .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 { | |
| 618 background-position: -28px -85px; | |
| 619 cursor: pointer; | |
| 620 height: 10px; | |
| 621 margin: 0px 0px -2px 2px; | |
| 622 width: 10px; | |
| 623 } | |
| 624 | |
| 625 #blocking-list-own .input-control | |
| 626 { | |
| 627 position: absolute; | |
| 628 -webkit-margin-start: -50px; | |
| 629 -moz-margin-start: -50px; | |
| 630 bottom: 5px; | |
| 631 } | |
| 632 | |
| 633 #blocking-list-own .input-separator | |
| 634 { | |
| 635 display: inline-block; | |
| 636 -moz-border-end: 1px solid #CDCDCD; | |
| 637 -webkit-border-end: 1px solid #CDCDCD; | |
| 638 height: 15px; | |
| 639 margin: 0px 4px -4px 0px; | |
| 640 width: 1px; | |
| 641 } | |
| 642 | |
| 643 #blocking-list-own .input-btn-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 { | |
| 645 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 } | |
| 700 | |
| 701 .tooltip, #block-element-explanation a | |
| 702 { | |
| 703 border-bottom: dotted 2px; | |
| 704 color: #3A7BA6; | |
| 705 font-size: 12px; | |
| 706 text-decoration: none; | |
| 707 } | |
| 708 | |
| 709 #content-advanced .tooltip | |
| 710 { | |
| 711 -moz-margin-start: 8px; | |
| 712 -webkit-margin-start: 8px; | |
| 713 } | |
| 714 | |
| 715 #block-element-explanation a | |
| 716 { | |
| 717 color: black; | |
| 718 border-bottom-color: #3A7BA6; | |
| 719 font-weight: bold; | |
| 720 -moz-padding-start: 0px; | |
| 721 -webkit-padding-start: 0px; | |
| 722 } | |
| 723 | |
| 724 #modal | |
| 725 { | |
| 726 background-color: #FFFFFF; | |
| 727 border: 2px solid #4D9D4B; | |
| 728 border-radius: 3px; | |
| 729 display: none; | |
| 730 margin: auto; | |
| 731 position:absolute; | |
| 732 top:100px; | |
| 733 left: 0px; | |
| 734 right: 0px; | |
| 735 z-index: 2; | |
| 736 width: 400px; | |
| 737 } | |
| 738 | |
| 739 #modal header | |
| 740 { | |
| 741 background-color: #4D9D4B; | |
| 742 display: flex; | |
| 743 height: 25px; | |
| 744 padding: 10px; | |
| 745 } | |
| 746 | |
| 747 #modal-close | |
| 748 { | |
| 749 -moz-border-start: 1px solid #25612B; | |
| 750 -webkit-border-start: 1px solid #25612B; | |
| 751 color: #0F660F; | |
| 752 display: inline-block; | |
| 753 height: 20px; | |
| 754 font-size: 15px; | |
| 755 -moz-padding-start: 10px; | |
| 756 -webkit-padding-start: 10px; | |
| 757 } | |
| 758 | |
| 759 #modal-close:before | |
| 760 { | |
| 761 background-position: -9px -32px; | |
| 762 content: ""; | |
| 763 cursor: pointer; | |
| 764 height: 12px; | |
| 765 width: 12px; | |
| 766 vertical-align: middle; | |
| 767 -moz-margin-end: 6px; | |
| 768 -webkit-margin-end: 6px; | |
| 769 } | |
| 770 | |
| 771 #modal .content | |
| 772 { | |
| 773 margin: 4px 24px; | |
| 774 } | |
| 775 | |
| 776 #modal h3 | |
| 777 { | |
| 778 font-size: 14px; | |
| 779 margin: 0px; | |
| 780 } | |
| 781 | |
| 782 #modal .content input[type=text], | |
| 783 #modal .content input[type=search] | |
| 784 { | |
| 785 -webkit-box-sizing: border-box; | |
| 786 -moz-box-sizing: border-box; | |
| 787 box-sizing: border-box; | |
| 788 font-size: 16px; | |
| 789 margin-top: 10px; | |
| 790 padding: 5px; | |
| 791 width: 100%; | |
| 792 } | |
| 793 | |
| 794 #modal .table | |
| 795 { | |
| 796 width: 100%; | |
| 797 } | |
| 798 | |
| 799 #modal #other-language .table | |
| 800 { | |
| 801 height: 200px; | |
| 802 overflow: auto; | |
| 803 } | |
| 804 | |
| 805 #modal .section:not(:first-child) | |
| 806 { | |
| 807 margin-top: 24px; | |
| 808 } | |
| 809 | |
| 810 #modal .close-wrapper | |
| 811 { | |
| 812 -moz-margin-end: 16px !important; | |
| 813 -webkit-margin-end: 16px !important; | |
| 814 } | |
| 815 | |
| 816 #modal-title | |
| 817 { | |
| 818 -moz-margin-start: 16px; | |
| 819 -webkit-margin-start: 16px; | |
| 820 flex: 1; | |
| 821 font-size: 16px; | |
| 822 color: #FFFFFF; | |
| 823 } | |
| 824 | |
| 825 #modal-title > span | |
| 826 { | |
| 827 display: none; | |
| 828 } | |
| 829 | |
| 830 body[data-modal="customlist"] #modal-title-customlist, | |
| 831 body[data-modal="language"] #modal-title-language | |
| 832 { | |
| 833 display: inline; | |
| 834 } | |
| 835 | |
| 836 #modal .content > div > div | |
|
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 { | |
| 838 padding: 12px 0px; | |
| 839 } | |
| 840 | |
| 841 #modal-content > div | |
| 842 { | |
| 843 display: none; | |
| 844 } | |
| 845 | |
| 846 #modal-content > div.active | |
| 847 { | |
| 848 display: block; | |
| 849 } | |
| 850 | |
| 851 #modal .btn-wrapper | |
| 852 { | |
| 853 background-color: #F5F5F5; | |
| 854 margin-top: 8px; | |
| 855 padding: 10px 16px; | |
| 856 cursor: pointer; | |
| 857 width: auto; | |
| 858 } | |
| 859 | |
| 860 body[data-modal="customlist"] #modal-content-customlist, | |
| 861 body[data-modal="language"] #modal-content-language, | |
| 862 body[data-modal] #modal | |
| 863 { | |
| 864 display: block; | |
| 865 } | |
| OLD | NEW |