uBlock/src/css/popup.css

229 lines
4.3 KiB
CSS
Raw Normal View History

2014-08-03 06:08:13 +02:00
body {
margin: 0;
border: 0;
padding: 0;
font: 13px sans-serif;
background-color: white;
direction: __MSG_@@bidi_dir__;
2014-10-06 20:02:44 +02:00
min-width: 180px;
overflow: hidden;
display: inline-block;
2014-08-03 06:08:13 +02:00
}
h1,h2,h3,h4 {
margin: 0;
padding: 4px;
border: 0;
color: white;
background-color: #444;
text-align: center;
cursor: pointer;
}
a {
color: inherit;
text-decoration: none;
}
*:focus {
outline: 0;
}
#version {
margin-left: 1em;
font-weight: normal;
font-size: 11px;
}
2014-08-03 06:08:13 +02:00
body > div {
padding: 4px 12px 0 12px;
}
p {
margin: 16px 0;
white-space: nowrap;
text-align: center;
}
#switch .fa {
2014-08-24 16:04:22 +02:00
margin: 0;
font-size: 96px;
2014-08-03 06:08:13 +02:00
color: green;
cursor: pointer;
}
#switch .fa:hover {
opacity: 0.9;
}
#switch .fa.off {
color: #ccc;
}
#switch-hint {
font-size: 11px;
color: #888;
}
#page-blocked {
margin-top: 4px;
font-size: 20px;
}
#total-blocked {
margin-top: 4px;
2014-10-06 20:02:44 +02:00
margin-bottom: 8px;
2014-08-03 06:08:13 +02:00
font-size: 14px;
}
#stats {
margin-bottom: 4px;
text-align: center;
}
.tool {
font-size: 14px;
color: #aaa;
cursor: pointer;
display: none;
}
.tool.enabled {
display: inline;
}
.tool:hover {
color: #444;
}
2014-10-06 20:02:44 +02:00
#dynamicFilteringToggler {
margin: 0;
border: 0;
padding: 0;
width: 100%;
2014-10-06 20:02:44 +02:00
text-align: center;
cursor: pointer;
2014-10-07 21:09:43 +02:00
position: relative;
}
#dynamicFilteringToggler > div {
font-size: 9px;
line-height: 100%;
color: #aaa;
position: absolute;
bottom: 0;
width: 25%;
2014-10-07 21:09:43 +02:00
display: none;
pointer-events: none;
}
#dynamicFilteringToggler.on:hover > div {
display: initial;
}
#dynamicFilteringToggler > div:nth-of-type(1) {
left: 0;
}
#dynamicFilteringToggler > div:nth-of-type(2) {
left: 25%;
2014-10-07 21:09:43 +02:00
}
#dynamicFilteringToggler > div:nth-of-type(3) {
left: 50%;
2014-10-07 21:09:43 +02:00
}
#dynamicFilteringToggler > div:nth-of-type(4) {
left: 75%;
2014-10-06 20:02:44 +02:00
}
2014-10-07 16:46:10 +02:00
#dynamicFilteringToggler a {
2014-10-07 21:09:43 +02:00
padding: 0 2px 0 8px;
2014-10-07 16:46:10 +02:00
position: absolute;
__MSG_@@bidi_end_edge__: 0;
2014-10-07 21:09:43 +02:00
color: #aaa;
2014-10-07 16:46:10 +02:00
visibility: hidden;
}
2014-10-07 19:50:50 +02:00
#dynamicFilteringToggler a:hover {
2014-10-07 21:09:43 +02:00
color: #444;
2014-10-07 19:50:50 +02:00
}
2014-10-07 21:09:43 +02:00
#dynamicFilteringToggler.on:hover a {
2014-10-07 16:46:10 +02:00
visibility: visible;
}
#dynamicFilteringToggler::before {
2014-10-06 20:02:44 +02:00
content: '\f107';
}
2014-10-07 16:46:10 +02:00
#dynamicFilteringToggler.on::before {
2014-10-06 20:02:44 +02:00
content: '\f106';
}
#dynamicFilteringContainer {
margin: 0;
border: 0;
padding: 0;
display: none;
}
#dynamicFilteringToggler.on + #dynamicFilteringContainer {
display: initial;
}
.dynamicFiltering {
margin: 0;
border: 0;
padding: 0;
height: 2.75em;
position: relative;
}
.dynamicFiltering.local {
border-bottom: 1px solid white;
}
.dynamicFiltering.global {
height: 1.25em;
}
.dynamicFiltering > div {
margin: 0;
2014-10-07 16:46:10 +02:00
border: 1px solid #e6e6e6;
2014-10-06 20:02:44 +02:00
padding: 0;
box-sizing: border-box;
2014-10-07 16:46:10 +02:00
background-color: #e6e6e6;
2014-10-06 20:02:44 +02:00
position: absolute;
cursor: pointer;
}
.dynamicFiltering > div:not(:first-child) {
border-left: 1px solid white !important;
}
.dynamicFiltering > div:nth-of-type(1) {
left: 0;
width: 7%;
2014-10-06 20:02:44 +02:00
height: 100%;
}
.dynamicFiltering > div:nth-of-type(2) {
left: 7%;
width: 18%;
2014-10-06 20:02:44 +02:00
height: 100%;
}
.dynamicFiltering > div:nth-of-type(3) {
left: 25%;
width: 25%;
2014-10-06 20:02:44 +02:00
height: 100%;
}
.dynamicFiltering > div:nth-of-type(4) {
left: 50%;
width: 25%;
2014-10-06 20:02:44 +02:00
height: 100%;
}
.dynamicFiltering > div:nth-of-type(5) {
left: 75%;
width: 25%;
2014-10-06 20:02:44 +02:00
height: 100%;
}
.dynamicFiltering > div:nth-of-type(6) {
left: 0;
width: 50%;
2014-10-06 20:02:44 +02:00
}
.dynamicFiltering > div:nth-of-type(7) {
left: 50%;
width: 50%;
2014-10-06 20:02:44 +02:00
}
.dynamicFiltering > div.label {
margin: 0;
border: 0;
padding: 0;
pointer-events: none;
color: black;
opacity: 0.2;
font: 12px monospace;
text-align: center;
top: 50%;
-webkit-transform: translateY(-50%);
2014-10-06 20:02:44 +02:00
transform: translateY(-50%);
background-color: transparent;
}
.dynamicFiltering > div.blocked {
2014-10-07 16:46:10 +02:00
border-color: #fbb;
background-color: #fbb;
2014-10-06 20:02:44 +02:00
}
.dynamicFiltering > div.ownFilter {
border-color: #bbb;
background-color: #bbb;
}
.dynamicFiltering > div.blocked.ownFilter {
2014-10-07 16:46:10 +02:00
border-color: #f66;
background-color: #f66;
2014-10-06 20:02:44 +02:00
}