uBlock/src/css/popup.css

220 lines
4.6 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;
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;
2014-12-30 22:36:29 +01:00
position: relative;
vertical-align: top;
}
2014-12-30 22:36:29 +01:00
body > div:nth-of-type(1) {
direction: rtl; /* scroll bar to the left */
overflow-y: hidden;
overflow-x: hidden;
}
body.dynamicFilteringEnabled > div:nth-of-type(1) {
overflow-y: auto;
}
body > div:nth-of-type(2) {
padding: 4px 12px 0 5px;
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;
font-size: 12px;
margin: 0;
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;
2014-12-30 22:36:29 +01:00
width: 280px;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div {
2014-12-30 22:36:29 +01:00
background-color: transparent;
2014-10-06 20:02:44 +02:00
border: 0;
direction: ltr;
margin: 0;
2014-10-06 20:02:44 +02:00
padding: 0;
2014-12-30 22:36:29 +01:00
width: 280px;
}
body.dynamicFilteringEnabled #dynamicFilteringContainer > div {
background-color: #e6e6e6;
}
body.dynamicFilteringEnabled #dynamicFilteringContainer > div:hover {
background-color: #f0f0f0;
}
#dynamicFilteringContainer > div#privacyInfo {
background-color: white;
color: gray;
padding: 4px 0;
text-align: center;
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;
2014-12-30 22:36:29 +01:00
color: transparent;
display: inline-block;
2014-12-30 22:36:29 +01:00
height: 24px;
line-height: 28px;
pointer-events: none;
vertical-align: top;
2014-10-06 20:02:44 +02:00
}
body.dynamicFilteringEnabled #dynamicFilteringContainer > div > span {
2014-12-30 22:36:29 +01:00
color: #000;
overflow: hidden;
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;
2014-12-30 22:36:29 +01:00
text-align: center;
width: 16%;
2014-10-06 20:02:44 +02:00
}
2014-12-30 22:36:29 +01:00
#dynamicFilteringContainer > div.isDomain > span:nth-of-type(1) {
font-weight: bold;
}
body.dynamicFilteringEnabled #dynamicFilteringContainer > div > span:nth-of-type(3) {
2014-12-30 22:36:29 +01:00
color: #444;
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;
2014-12-30 22:36:29 +01:00
color: white;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer span.blocked.ownFilter[data-src] {
2014-10-07 16:46:10 +02:00
background-color: #f66;
2014-12-30 22:36:29 +01:00
color: white;
}