uBlock/src/css/popup.css

247 lines
5.4 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 {
background-color: #444;
2014-08-03 06:08:13 +02:00
border: 0;
color: white;
cursor: pointer;
margin: 0;
padding: 4px;
text-align: center;
2014-08-03 06:08:13 +02:00
}
a {
color: inherit;
text-decoration: none;
}
*:focus {
outline: 0;
}
#version {
font-size: 11px;
font-weight: normal;
margin-left: 1em;
}
body[dir="ltr"] #panes {
direction: rtl;
}
body[dir="rtl"] #panes {
direction: ltr;
}
#panes > div {
display: inline-block;
2014-12-30 22:36:29 +01:00
position: relative;
vertical-align: top;
}
body[dir="ltr"] #panes > div {
direction: ltr;
}
body[dir="rtl"] #panes > div {
direction: rtl;
}
#panes > div:nth-of-type(2) {
2014-12-30 22:36:29 +01:00
overflow-y: hidden;
overflow-x: hidden;
width: 0;
}
body[dir="ltr"] #panes > div:nth-of-type(2) {
direction: rtl; /* scroll bar to the left */
}
body[dir="rtl"] #panes > div:nth-of-type(2) {
direction: ltr; /* scroll bar to the right */
2014-12-30 22:36:29 +01:00
}
#panes.dfEnabled > div:nth-of-type(2) {
2014-12-30 22:36:29 +01:00
overflow-y: auto;
width: 320px;
2014-12-30 22:36:29 +01:00
}
#panes > div:nth-of-type(1) {
min-width: 150px;
padding: 4px 5px 0 5px;
2014-08-03 06:08:13 +02:00
}
p {
margin: 16px 0;
text-align: center;
white-space: nowrap;
2014-08-03 06:08:13 +02:00
}
#switch .fa {
color: green;
cursor: pointer;
font-size: 96px;
margin: 0;
2014-08-03 06:08:13 +02:00
}
#switch .fa:hover {
opacity: 0.9;
}
#switch .fa.off {
color: #ccc;
}
#switch-hint {
color: #888;
font-size: 11px;
2014-08-03 06:08:13 +02:00
}
[data-i18n="popupBlockedRequestPrompt"] {
font-size: 16px;
}
2014-08-03 06:08:13 +02:00
#page-blocked {
font-size: 20px;
margin-top: 4px;
2014-08-03 06:08:13 +02:00
}
#total-blocked {
font-size: 14px;
margin-bottom: 8px;
margin-top: 4px;
2014-08-03 06:08:13 +02:00
}
.stats {
2014-08-03 06:08:13 +02:00
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;
}
body.advancedUser #dfToggler::before {
color: gray;
content: '+\202F';
cursor: pointer;
font-size: 14px;
line-height: 14px;
}
body.advancedUser #panes.dfEnabled #dfToggler::before {
content: '\2212\202F';
}
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;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div {
background-color: #e6e6e6;
2014-10-06 20:02:44 +02:00
border: 0;
border-bottom: 1px solid white;
direction: ltr;
margin: 0;
2014-10-06 20:02:44 +02:00
padding: 0;
2014-12-30 22:36:29 +01:00
}
#dynamicFilteringContainer > div:hover {
2014-12-30 22:36:29 +01:00
background-color: #f0f0f0;
}
#dynamicFilteringContainer > div#privacyInfo {
background-color: white;
2015-01-07 01:51:50 +01:00
color: #444;
2014-12-30 22:36:29 +01:00
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
box-sizing: border-box;
color: #000;
display: inline-block;
2014-12-30 22:36:29 +01:00
height: 24px;
line-height: 24px;
overflow: hidden;
position: relative;
vertical-align: top;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span:nth-of-type(1) {
border-right: 1px solid white;
padding-right: 2px;
2015-01-01 06:16:02 +01:00
text-overflow: ellipsis;
width: 70%;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span:nth-of-type(2) {
cursor: pointer;
width: 15%;
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span:nth-of-type(3) {
border-left: 1px solid white;
color: #444;
cursor: pointer;
2014-12-30 22:36:29 +01:00
text-align: center;
width: 15%;
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;
}
#dynamicFilteringContainer > div.allowed > span:nth-of-type(1) {
background-color: rgba(0, 160, 0, 0.1);
}
#dynamicFilteringContainer > div.blocked > span:nth-of-type(1) {
background-color: rgba(192, 0, 0, 0.1);
}
#dynamicFilteringContainer > div.allowed.blocked > span:nth-of-type(1) {
background-color: rgba(192, 160, 0, 0.1);
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span.aRule {
background-color: rgba(0, 160, 0, 0.3);
}
#dynamicFilteringContainer > div > span.bRule {
background-color: rgba(192, 0, 0, 0.3);
}
#dynamicFilteringContainer > div > span.nRule {
background-color: rgba(96, 96, 96, 0.3);
}
#dynamicFilteringContainer > div > span.ownRule {
color: white;
}
#dynamicFilteringContainer > div > span.aRule.ownRule {
background-color: rgba(0, 160, 0, 1);
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span.bRule.ownRule {
background-color: rgba(192, 0, 0, 1);
2014-10-06 20:02:44 +02:00
}
#dynamicFilteringContainer > div > span.nRule.ownRule {
background-color: rgba(108, 108, 108, 1);
}
#actionSelector {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
}
#actionSelector > span {
display: inline-block;
height: 24px;
opacity: 0.2;
width: 33.33%;
}
#actionSelector > span:hover {
opacity: 0.75;
}
#actionSelector > span:nth-of-type(1) {
background-color: rgb(0, 160, 0);
}
#actionSelector > span:nth-of-type(2) {
background-color: rgb(108, 108, 108);
}
#actionSelector > span:nth-of-type(3) {
background-color: rgb(192, 0, 0);
}
#dynamicFilteringContainer span.aRule #actionSelector > span:nth-of-type(1),
#dynamicFilteringContainer span.nRule #actionSelector > span:nth-of-type(2),
#dynamicFilteringContainer span.bRule #actionSelector > span:nth-of-type(3) {
visibility: hidden;
}