Index: skin/desktop-options.css |
=================================================================== |
--- a/skin/desktop-options.css |
+++ b/skin/desktop-options.css |
@@ -642,6 +642,40 @@ |
Acceptable ads |
*/ |
+#tracking-warning |
+{ |
+ position: relative; |
+ padding: 1.5rem; |
+ margin-bottom: 1rem; |
+ border: 2px solid #ffd7a3; |
+ background-color: #fefbe3; |
+} |
+ |
+#acceptable-ads:not(.show-warning) #tracking-warning |
+{ |
+ display: none; |
+} |
+ |
+#hide-tracking-warning |
+{ |
+ position: absolute; |
+ right: 1rem; |
+ top: 1rem; |
+} |
+ |
+html[dir="rtl"] #hide-tracking-warning |
+{ |
+ left: 1rem; |
+ right: auto; |
+} |
+ |
+#tracking-warning .link |
+{ |
+ color: inherit; |
+ text-decoration: underline; |
+ font-weight: 700; |
+} |
+ |
#acceptable-ads ul |
{ |
position: relative; |
@@ -655,7 +689,7 @@ |
padding-right: 2.2rem; |
} |
-#acceptable-ads button |
+#acceptable-ads ul button |
{ |
position: absolute; |
margin-top: 0.3rem; |
@@ -938,7 +972,7 @@ |
} |
/* |
- Used for translatable screen reader only conten. |
+ Used for translatable screen reader only content. |
e.g.: Use instead of aria-label to avoid complex attribute value translation |
*/ |
.sr-only |
@@ -1335,7 +1369,8 @@ |
} |
#dialog-close, |
-#hide-notification |
+#hide-notification, |
+#hide-tracking-warning |
{ |
border: 0rem; |
padding: 0rem; |
@@ -1345,7 +1380,8 @@ |
} |
#dialog-close::before, |
-#hide-notification::after |
+#hide-notification::after, |
+#hide-tracking-warning::after |
{ |
content: ""; |
display: block; |
@@ -1477,7 +1513,17 @@ |
background-image: url(icons/delete.svg#secondary); |
} |
+#hide-tracking-warning::after |
+{ |
+ background-image: url(icons/delete.svg#tertiary); |
+} |
+ |
#hide-notification:hover::after |
{ |
background-image: url(icons/delete.svg#secondary-hover); |
} |
+ |
+#hide-tracking-warning:hover::after |
+{ |
+ background-image: url(icons/delete.svg#tertiary-hover); |
+} |