uBlock/css/popup.css

200 lines
3.7 KiB
CSS
Raw Normal View History

2014-08-02 22:08:13 -06:00
body {
margin: 0;
border: 0;
padding: 0;
font: 13px sans-serif;
background-color: white;
direction: __MSG_@@bidi_dir__;
2014-10-06 12:02:44 -06:00
min-width: 180px;
2014-08-02 22:08:13 -06: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;
}
body > div {
padding: 4px 12px 0 12px;
}
p {
margin: 16px 0;
white-space: nowrap;
text-align: center;
}
#switch .fa {
2014-08-24 08:04:22 -06:00
margin: 0;
font-size: 96px;
2014-08-02 22:08:13 -06: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 12:02:44 -06:00
margin-bottom: 8px;
2014-08-02 22:08:13 -06: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 12:02:44 -06:00
#dynamicFilteringToggler {
margin: 0;
border: 0;
padding: 0;
width: 100vw;
text-align: center;
cursor: pointer;
}
2014-10-07 08:46:10 -06:00
#dynamicFilteringToggler a {
2014-10-07 11:50:50 -06:00
padding: 0 2px 0 4px;
2014-10-07 08:46:10 -06:00
position: absolute;
__MSG_@@bidi_end_edge__: 0;
2014-10-07 11:50:50 -06:00
color: #ccc;
2014-10-07 08:46:10 -06:00
visibility: hidden;
}
2014-10-07 11:50:50 -06:00
#dynamicFilteringToggler a:hover {
color: #888;
}
2014-10-07 08:46:10 -06:00
#dynamicFilteringToggler.on a {
visibility: visible;
}
#dynamicFilteringToggler::before {
2014-10-06 12:02:44 -06:00
content: '\f107';
}
2014-10-07 08:46:10 -06:00
#dynamicFilteringToggler.on::before {
2014-10-06 12:02:44 -06: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 08:46:10 -06:00
border: 1px solid #e6e6e6;
2014-10-06 12:02:44 -06:00
padding: 0;
box-sizing: border-box;
2014-10-07 08:46:10 -06:00
background-color: #e6e6e6;
2014-10-06 12:02:44 -06: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: 7vw;
height: 100%;
}
.dynamicFiltering > div:nth-of-type(2) {
left: 7vw;
width: 18vw;
height: 100%;
}
.dynamicFiltering > div:nth-of-type(3) {
left: 25vw;
width: 25vw;
height: 100%;
}
.dynamicFiltering > div:nth-of-type(4) {
left: 50vw;
width: 25vw;
height: 100%;
}
.dynamicFiltering > div:nth-of-type(5) {
left: 75vw;
width: 25vw;
height: 100%;
}
.dynamicFiltering > div:nth-of-type(6) {
left: 0;
width: 50vw;
}
.dynamicFiltering > div:nth-of-type(7) {
left: 50vw;
width: 50vw;
}
.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%;
transform: translateY(-50%);
background-color: transparent;
}
.dynamicFiltering > div.blocked {
2014-10-07 08:46:10 -06:00
border-color: #fbb;
background-color: #fbb;
2014-10-06 12:02:44 -06:00
}
.dynamicFiltering > div.ownFilter {
border-color: #bbb;
background-color: #bbb;
}
.dynamicFiltering > div.blocked.ownFilter {
2014-10-07 08:46:10 -06:00
border-color: #f66;
background-color: #f66;
2014-10-06 12:02:44 -06:00
}