aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2014-08-23 15:13:34 -0400
committergorhill <rhill@raymondhill.net>2014-08-23 15:13:34 -0400
commite811fd2958805e6af3f0901a9f6356397a43b926 (patch)
treed70730943f7c03e83c8a0fc490e3f6be666439ec
parentfe0ae2ea07fca8f1d6aa77fa450e02a6f8664e94 (diff)
downloaduBlock-e811fd2958805e6af3f0901a9f6356397a43b926.zip
uBlock-e811fd2958805e6af3f0901a9f6356397a43b926.tar.gz
uBlock-e811fd2958805e6af3f0901a9f6356397a43b926.tar.bz2
final touches
-rw-r--r--3p-filters.html2
-rw-r--r--css/3p-filters.css52
-rw-r--r--css/dashboard-common.css27
3 files changed, 33 insertions, 48 deletions
diff --git a/3p-filters.html b/3p-filters.html
index aabf63c..11b00a6 100644
--- a/3p-filters.html
+++ b/3p-filters.html
@@ -22,7 +22,7 @@
<ul id="lists">
</ul>
-<div style="margin: 2em 0 0 2em">
+<div id="externalListsDiv">
<p data-i18n="3pExternalListsHint" style="margin: 0 0 0.25em 0; font-size: 13px;"></p>
<textarea id="externalLists"></textarea>
<p style="margin: 0.25em 0 0 0"><button id="externalListsApply" disabled="true" data-i18n="3pExternalListsApply"></button></p>
diff --git a/css/3p-filters.css b/css/3p-filters.css
index 91b9eed..369a728 100644
--- a/css/3p-filters.css
+++ b/css/3p-filters.css
@@ -1,30 +1,33 @@
-div > p:first-child {
- margin-top: 0;
- }
-div > p:last-child {
- margin-bottom: 0;
+ul {
+ padding: 0;
+ list-style-type: none;
}
ul#lists {
margin: 0.5em 0 0 0;
padding-__MSG_@@bidi_end_edge__: 0em;
padding-__MSG_@@bidi_start_edge__: 1em;
}
-ul {
- padding: 0;
- list-style-type: none;
- }
ul#lists > li {
margin: 0.5em 0 0 0;
padding: 0;
font-size: 15px;
list-style-type: none;
}
-ul > li > ul {
+ul#lists > li > ul {
margin: 0.25em 0 0 0;
}
-ul > li > ul > li {
+li.listDetails {
font-size: 14px;
- margin: 0 0 0 1em;
+ margin: 0 auto 0 auto;
+ margin-__MSG_@@bidi_start_edge__: 1em;
+ margin-__MSG_@@bidi_end_edge__: 0em;
+ }
+li.listDetails > * {
+ unicode-bidi: embed;
+ }
+li.listDetails > a:nth-of-type(2) {
+ font-size: 13px;
+ opacity: 0.5;
}
.dim {
opacity: 0.5;
@@ -82,12 +85,16 @@ span.obsolete {
color: #222;
background-color: hsl(36, 100%, 75%);
}
+#externalListsDiv {
+ margin: 2em auto 0 auto;
+ margin-__MSG_@@bidi_start_edge__: 2em;
+ }
#externalLists {
font-size: smaller;
width: 48em;
height: 8em;
white-space: nowrap;
- text-align: left;
+ direction: ltr;
}
body #loadingOverlay {
position: fixed;
@@ -104,22 +111,3 @@ body #loadingOverlay {
body.loading #loadingOverlay {
display: block;
}
-
-
-li.listDetails {
- width: 100%;
- margin: 0 auto 0 auto;
- margin-__MSG_@@bidi_start_edge__: 1em;
- margin-__MSG_@@bidi_end_edge__: 0em;
- }
-li.listDetails > * {
- unicode-bidi: embed;
- }
-li.listDetails > a:nth-of-type(2) {
- font-size: 13px;
- opacity: 0.5;
- }
-#ExternalListDiv {
- margin: 2em auto 0 auto;
- margin-__MSG_@@bidi_start_edge__: 2em;
- }
diff --git a/css/dashboard-common.css b/css/dashboard-common.css
index 285cfdc..c00f4db 100644
--- a/css/dashboard-common.css
+++ b/css/dashboard-common.css
@@ -18,19 +18,24 @@ h3 {
font-size: 16px;
}
h2 + * {
- margin: 0 auto 0 auto;
- margin-__MSG_@@bidi_start_edge__: 1em !important;
- padding-__MSG_@@bidi_end_edge__: 0em !important;
+ margin: 0 auto;
+ margin-__MSG_@@bidi_start_edge__: 1em;
+ padding-__MSG_@@bidi_end_edge__: 0em;
}
a {
text-decoration: none;
}
+
+div > p:first-child {
+ margin-top: 0;
+ }
+div > p:last-child {
+ margin-bottom: 0;
+ }
+
.para {
width: 40em;
}
-
-
-
.userFilters {
text-align: left;
@@ -38,18 +43,11 @@ a {
#whitelist {
text-align: left;
}
-table.ooo {
- direction: ltr;
- float: __MSG_@@bidi_start_edge__;
- }
ul#AboutUL {
padding-__MSG_@@bidi_start_edge__: 1em;
- margin-__MSG_@@bidi_start_edge__: 1em !important;
+ margin-__MSG_@@bidi_start_edge__: 1em;
}
-
-
-
.whatisthis {
margin: 0 0 0 8px;
border: 0;
@@ -86,4 +84,3 @@ ul#AboutUL {
padding: 5px;
background-color: #FEDAE0;
}
-