uBlock/src/css/3p-filters.css

211 lines
4.4 KiB
CSS
Raw Normal View History

2014-08-23 21:13:34 +02:00
ul {
padding: 0;
list-style-type: none;
2014-08-23 18:08:02 +02:00
}
#options li {
2014-09-09 16:53:47 +02:00
margin-bottom: 0.5em;
}
#lists {
2014-08-23 18:08:02 +02:00
margin: 0.5em 0 0 0;
padding-left: 1em;
padding-right: 0em;
2014-08-23 18:08:02 +02:00
}
body[dir=rtl] #lists {
padding-left: 0em;
padding-right: 1em;
}
#lists > li {
2014-08-23 18:08:02 +02:00
margin: 0.5em 0 0 0;
padding: 0;
list-style-type: none;
}
2015-03-23 15:19:43 +01:00
#lists > .groupEntry > .geName {
2015-03-14 19:12:05 +01:00
cursor: pointer;
2015-03-23 15:19:43 +01:00
font-size: 110%;
2015-03-08 22:54:08 +01:00
}
2015-03-23 15:19:43 +01:00
#lists > .groupEntry > .geCount {
font-size: 90%;
}
#lists > .groupEntry:not(:first-child) > .geName:before {
2015-03-14 19:12:05 +01:00
color: #aaa;
content: '\2212 ';
}
2015-03-23 15:19:43 +01:00
#lists > .groupEntry.collapsed > .geName:before {
2015-03-14 19:12:05 +01:00
color: #aaa;
content: '+ ';
}
#lists > .groupEntry > ul {
2014-08-23 18:08:02 +02:00
margin: 0.25em 0 0 0;
}
2015-03-14 19:12:05 +01:00
#lists > .groupEntry.collapsed > ul {
display: none;
}
2015-03-08 22:54:08 +01:00
li.listEntry {
2014-08-23 18:08:02 +02:00
font-size: 14px;
2014-08-23 21:13:34 +02:00
margin: 0 auto 0 auto;
2015-03-21 05:04:49 +01:00
margin-left: 3em;
margin-right: 0em;
2015-03-20 15:36:38 +01:00
text-indent: -2em;
}
2015-03-08 22:54:08 +01:00
body[dir=rtl] li.listEntry {
margin-left: 0em;
margin-right: 1em;
2014-08-23 21:13:34 +02:00
}
2015-03-08 22:54:08 +01:00
li.listEntry > * {
2015-03-20 15:36:38 +01:00
text-indent: 0;
2014-08-23 21:13:34 +02:00
unicode-bidi: embed;
}
2015-03-08 22:54:08 +01:00
li.listEntry > a:nth-of-type(2) {
2014-08-23 21:13:34 +02:00
font-size: 13px;
opacity: 0.5;
2014-08-23 18:08:02 +02:00
}
.dim {
opacity: 0.5;
}
/* I designed the button with: http://charliepark.org/bootstrap_buttons/ */
2014-09-09 16:53:47 +02:00
button.custom {
2014-08-23 18:08:02 +02:00
padding: 5px;
2014-09-09 16:53:47 +02:00
border: 1px solid transparent;
2014-09-09 01:45:22 +02:00
border-color: #80b3ff #80b3ff hsl(216, 100%, 75%);
2014-09-09 16:53:47 +02:00
border-radius: 3px;
2014-09-09 01:45:22 +02:00
background-color: hsl(216, 100%, 75%);
background-image: linear-gradient(#a8cbff, #80b3ff);
2014-09-09 16:53:47 +02:00
background-repeat: repeat-x;
2014-09-09 01:45:22 +02:00
color: #222;
opacity: 0.8;
}
2014-09-09 16:53:47 +02:00
button.custom.disabled {
border-color: #dddddd #dddddd hsl(36, 0%, 85%);
background-color: hsl(36, 0%, 72%);
background-image: linear-gradient(#f2f2f2, #dddddd);
color: #aaa;
pointer-events: none;
}
button.custom:hover {
opacity: 1.0;
}
button.custom.reloadAll:not(.disabled) {
2014-08-23 18:08:02 +02:00
border-color: #ffcc7f #ffcc7f hsl(36, 100%, 73%);
background-color: hsl(36, 100%, 75%);
background-image: linear-gradient(#ffdca8, #ffcc7f);
}
#buttonApply {
2014-09-09 16:53:47 +02:00
display: initial;
2015-03-20 15:36:38 +01:00
margin: 1em 0;
2015-02-28 13:58:33 +01:00
padding: 1em;
position: fixed;
right: 1em;
2015-02-28 13:58:33 +01:00
top: 0;
2015-03-20 15:36:38 +01:00
z-index: 10;
}
body[dir=rtl] #buttonApply {
right: auto;
left: 1em;
2014-08-23 18:08:02 +02:00
}
2014-09-09 16:53:47 +02:00
#buttonApply.disabled {
display: none;
2014-08-23 18:08:02 +02:00
}
span.status {
border: 1px solid transparent;
2015-04-20 17:10:55 +02:00
color: #444;
2014-08-23 18:08:02 +02:00
display: inline-block;
2015-03-08 22:54:08 +01:00
font-size: smaller;
line-height: 1;
2015-04-20 17:10:55 +02:00
margin: 0 0 0 0.5em;
opacity: 0.8;
padding: 1px 2px;
2014-08-23 18:08:02 +02:00
}
2015-04-17 16:20:45 +02:00
span.unsecure {
2015-04-20 17:10:55 +02:00
background-color: hsl(360, 100%, 85%);
border-color: hsl(360, 100%, 80%);
2015-04-17 16:20:45 +02:00
text-decoration: line-through;
}
2014-08-23 18:08:02 +02:00
span.purge {
border-color: #ddd;
background-color: #eee;
cursor: pointer;
}
span.purge:hover {
opacity: 1;
}
2015-03-22 21:16:52 +01:00
span.obsolete,
span.new {
2014-08-23 18:08:02 +02:00
background-color: hsl(36, 100%, 75%);
2015-04-20 17:10:55 +02:00
border-color: hsl(36, 100%, 70%);
2014-08-23 18:08:02 +02:00
}
2014-08-23 21:13:34 +02:00
#externalListsDiv {
margin: 2em auto 0 2em;
}
body[dir=rtl] #externalListsDiv {
margin: 2em 2em 0;
2014-08-23 21:13:34 +02:00
}
2014-08-23 18:08:02 +02:00
#externalLists {
box-sizing: border-box;
2014-08-23 18:08:02 +02:00
font-size: smaller;
height: 10em;
white-space: pre;
width: 100%;
2015-03-06 16:22:30 +01:00
word-wrap: normal;
2014-08-23 18:08:02 +02:00
}
2014-09-09 16:53:47 +02:00
body #busyOverlay {
2015-03-11 04:46:18 +01:00
background-color: transparent;
2014-08-23 18:08:02 +02:00
bottom: 0;
cursor: wait;
display: none;
2015-03-11 04:46:18 +01:00
left: 0;
position: fixed;
right: 0;
top: 0;
2014-08-23 18:08:02 +02:00
z-index: 1000;
}
2014-09-09 16:53:47 +02:00
body.busy #busyOverlay {
2014-08-23 18:08:02 +02:00
display: block;
}
2015-03-11 04:46:18 +01:00
#busyOverlay > div:nth-of-type(1) {
background-color: white;
bottom: 0;
left: 0;
opacity: 0.75;
position: absolute;
right: 0;
top: 0;
}
#busyOverlay > div:nth-of-type(2) {
background-color: #eee;
border: 1px solid transparent;
border-color: #80b3ff #80b3ff hsl(216, 100%, 75%);
border-radius: 3px;
box-sizing: border-box;
height: 3em;
left: 10%;
position: absolute;
bottom: 75%;
width: 80%;
}
#busyOverlay > div:nth-of-type(2) > div:nth-of-type(1) {
background-color: hsl(216, 100%, 75%);
background-image: linear-gradient(#a8cbff, #80b3ff);
background-repeat: repeat-x;
border: 0;
box-sizing: border-box;
color: #222;
height: 100%;
left: 0;
padding: 0;
position: absolute;
width: 25%;
}
#busyOverlay > div:nth-of-type(2) > div:nth-of-type(2) {
background-color: transparent;
border: 0;
box-sizing: border-box;
height: 100%;
left: 0;
line-height: 3em;
overflow: hidden;
position: absolute;
text-align: center;
top: 0;
width: 100%;
}