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

203 lines
4.2 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 {
2014-09-09 16:53:47 +02:00
margin-top: 0;
}
#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-14 19:12:05 +01:00
#lists > .groupEntry > span {
cursor: pointer;
2015-03-08 22:54:08 +01:00
font-size: 15px;
}
2015-03-14 19:12:05 +01:00
#lists > .groupEntry:not(:first-child) > span:before {
color: #aaa;
content: '\2212 ';
}
#lists > .groupEntry.collapsed > span:before {
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;
margin-left: 1em;
margin-right: 0em;
}
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 > * {
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;
cursor: pointer;
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-02-28 13:58:33 +01:00
padding: 1em;
position: fixed;
right: 1em;
2015-02-28 13:58:33 +01:00
top: 0;
}
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 {
2015-03-08 22:54:08 +01:00
margin: 0 0 0 1em;
2014-08-23 18:08:02 +02:00
border: 1px solid transparent;
padding: 1px 2px;
display: inline-block;
2015-03-08 22:54:08 +01:00
font-size: smaller;
line-height: 1;
2014-08-23 18:08:02 +02:00
opacity: 0.7;
}
span.purge {
border-color: #ddd;
color: #444;
background-color: #eee;
cursor: pointer;
}
span.purge:hover {
opacity: 1;
}
span.obsolete {
border-color: hsl(36, 100%, 73%);
color: #222;
background-color: hsl(36, 100%, 75%);
}
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%;
}