Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: skin/desktop-options.css

Issue 29609587: Issue 6031 - Implement Acceptable Ads notification (Closed)
Patch Set: Rebased Created Nov. 17, 2017, 2:15 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « locale/en_US/desktop-options.json ('k') | skin/icons/delete.svg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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-present eyeo GmbH 3 * Copyright (C) 2006-present 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 635
636 section.cols > *:last-child 636 section.cols > *:last-child
637 { 637 {
638 flex: 3; 638 flex: 3;
639 } 639 }
640 640
641 /* 641 /*
642 Acceptable ads 642 Acceptable ads
643 */ 643 */
644 644
645 #acceptable-ads.show-notification #tracking-notification
646 {
647 display: block;
648 }
649
650 #tracking-notification
651 {
652 position: relative;
653 display: none;
654 padding: 1.5rem;
655 margin-bottom: 1rem;
656 border: 2px solid #ffd7a3;
657 background-color: #fefbe3;
658 }
659
660 #hide-tracking-notification
661 {
662 position: absolute;
663 right: 1rem;
664 top: 1rem;
665 }
666
667 #tracking-notification .link
668 {
669 color: inherit;
670 text-decoration: underline;
671 font-weight: 700;
672 }
673
645 #acceptable-ads ul 674 #acceptable-ads ul
646 { 675 {
647 position: relative; 676 position: relative;
648 padding-left: 2.2rem; 677 padding-left: 2.2rem;
649 list-style: none; 678 list-style: none;
650 } 679 }
651 680
652 html[dir="rtl"] #acceptable-ads ul 681 html[dir="rtl"] #acceptable-ads ul
653 { 682 {
654 padding-left: 0rem; 683 padding-left: 0rem;
655 padding-right: 2.2rem; 684 padding-right: 2.2rem;
656 } 685 }
657 686
658 #acceptable-ads button 687 #acceptable-ads ul button
659 { 688 {
660 position: absolute; 689 position: absolute;
661 margin-top: 0.3rem; 690 margin-top: 0.3rem;
662 left: 0rem; 691 left: 0rem;
663 } 692 }
664 693
665 html[dir="rtl"] button 694 html[dir="rtl"] button
666 { 695 {
667 left: auto; 696 left: auto;
668 right: 0rem; 697 right: 0rem;
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 } 1357 }
1329 1358
1330 #dialog header h3 1359 #dialog header h3
1331 { 1360 {
1332 margin: 0rem; 1361 margin: 0rem;
1333 font-size: 1rem; 1362 font-size: 1rem;
1334 font-weight: 700; 1363 font-weight: 700;
1335 } 1364 }
1336 1365
1337 #dialog-close, 1366 #dialog-close,
1338 #hide-notification 1367 #hide-notification,
1368 #hide-tracking-notification
1339 { 1369 {
1340 border: 0rem; 1370 border: 0rem;
1341 padding: 0rem; 1371 padding: 0rem;
1342 margin: 0rem; 1372 margin: 0rem;
1343 background-color: transparent; 1373 background-color: transparent;
1344 cursor: pointer; 1374 cursor: pointer;
1345 } 1375 }
1346 1376
1347 #dialog-close::before, 1377 #dialog-close::before,
1348 #hide-notification::after 1378 #hide-notification::after,
1379 #hide-tracking-notification::after
1349 { 1380 {
1350 content: ""; 1381 content: "";
1351 display: block; 1382 display: block;
1352 height: 1rem; 1383 height: 1rem;
1353 width: 1rem; 1384 width: 1rem;
1354 border: 0rem; 1385 border: 0rem;
1355 background-image: url(icons/delete.svg#primary); 1386 background-image: url(icons/delete.svg#primary);
1356 } 1387 }
1357 1388
1358 #dialog-close:hover::before 1389 #dialog-close:hover::before
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 #hide-notification 1501 #hide-notification
1471 { 1502 {
1472 margin: 0rem 1rem; 1503 margin: 0rem 1rem;
1473 } 1504 }
1474 1505
1475 #hide-notification::after 1506 #hide-notification::after
1476 { 1507 {
1477 background-image: url(icons/delete.svg#secondary); 1508 background-image: url(icons/delete.svg#secondary);
1478 } 1509 }
1479 1510
1511 #hide-tracking-notification::after
1512 {
1513 background-image: url(icons/delete.svg#tertiary);
1514 }
1515
1480 #hide-notification:hover::after 1516 #hide-notification:hover::after
1481 { 1517 {
1482 background-image: url(icons/delete.svg#secondary-hover); 1518 background-image: url(icons/delete.svg#secondary-hover);
1483 } 1519 }
1520
1521 #hide-tracking-notification:hover::after
1522 {
1523 background-image: url(icons/delete.svg#tertiary-hover);
1524 }
OLDNEW
« no previous file with comments | « locale/en_US/desktop-options.json ('k') | skin/icons/delete.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld