uBlock/src/css/popup.css

194 lines
3.9 KiB
CSS
Raw Normal View History

2014-08-03 06:08:13 +02:00
body {
background-color: white;
2014-08-03 06:08:13 +02:00
border: 0;
float: left;
2014-08-03 06:08:13 +02:00
font: 13px sans-serif;
margin: 0;
overflow: hidden;
padding: 0;
white-space: nowrap;
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 {
background-color: transparent;
display: inline-block;
vertical-align: top;
}
body > div:nth-of-type(2) {
padding: 4px 12px 0 5px;
position: relative;
2014-08-03 06:08:13 +02:00
}
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;
}
[data-i18n="popupBlockedRequestPrompt"] {
font-size: 16px;
}
2014-08-03 06:08:13 +02:00
#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 {
color: #aaa;
cursor: pointer;
display: none;
2014-11-30 03:38:55 +01:00
font-size: 14px;
unicode-bidi: embed;
2014-08-03 06:08:13 +02:00
}
.tool.enabled {
display: inline;
}
.tool:hover {
color: #444;
}
#dynamicFilteringToggler {
pointer-events: none;
}
#dynamicFilteringToggler::before {
color: gray;
content: '+\202F';
cursor: pointer;
font-size: 13px;
pointer-events: auto;
}
body.dynamicFilteringEnabled #dynamicFilteringToggler::before {
content: '\2212\202F';
}
.dynamicFiltering div > .tip {
background-color: #fffff4;
border: 1px solid #888;
2014-12-02 14:28:49 +01:00
border-radius: 5px;
bottom: 20%;
box-shadow: 1px 1px 2px 0 rgba(0,0,0,0.8);
display: none;
font-size: small;
left: 8%;
padding: 0.25em;
position: fixed;
right: 8%;
2014-11-30 03:38:55 +01:00
text-align: center;
}
.dynamicFiltering div:not(.blocked):hover > .tip:nth-of-type(1) {
display: block;
}
.dynamicFiltering div.blocked:hover > .tip:nth-of-type(2) {
display: block;
}
.dynamicFiltering div > .tip code {
2014-11-30 03:38:55 +01:00
background-color: #f8f8f8;
font: normal monospace;
padding: 1px 0;
}
2014-10-06 20:02:44 +02:00
#dynamicFilteringContainer {
border: 0;
direction: rtl;
font-size: 12px;
margin: 0;
overflow: hidden;
2014-10-06 20:02:44 +02:00
padding: 0;
text-align: right;
width: 7px;
2014-10-06 20:02:44 +02:00
}
body.dynamicFilteringEnabled #dynamicFilteringContainer {
display: block;
width: 200px;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div {
2014-10-06 20:02:44 +02:00
border: 0;
direction: ltr;
margin: 0;
2014-10-06 20:02:44 +02:00
padding: 0;
width: 200px;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span {
background-color: transparent;
border: none;
2014-10-06 20:02:44 +02:00
border-bottom: 1px solid white;
box-sizing: border-box;
color: gray;
display: inline-block;
height: 2em;
line-height: 2em;
pointer-events: none;
vertical-align: top;
2014-10-06 20:02:44 +02:00
}
body.dynamicFilteringEnabled #dynamicFilteringContainer > div > span {
background-color: #e6e6e6;
pointer-events: auto;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span:nth-of-type(1) {
border-right: 1px solid white;
padding-right: 4px;
width: 75%;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span:nth-of-type(2) {
cursor: pointer;
width: 9%;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span:nth-of-type(3) {
border-left: 1px solid white;
cursor: pointer;
width: 16%;
2014-10-06 20:02:44 +02:00
}
body.dynamicFilteringEnabled #dynamicFilteringContainer > div > span:nth-of-type(3) {
pointer-events: auto;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer span.blocked[data-src] {
2014-10-07 16:46:10 +02:00
background-color: #fbb;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer span.ownFilter[data-src] {
2014-10-06 20:02:44 +02:00
background-color: #bbb;
}
#dynamicFilteringContainer span.blocked.ownFilter[data-src] {
2014-10-07 16:46:10 +02:00
background-color: #f66;
}