uBlock/src/css/logger-ui.css

258 lines
5.4 KiB
CSS
Raw Normal View History

2015-05-09 00:28:01 +02:00
body {
background-color: white;
border: 0;
box-sizing: border-box;
color: black;
-moz-box-sizing: border-box;
margin: 0;
overflow-x: hidden;
padding: 0;
width: 100%;
}
#toolbar {
background-color: white;
border: 0;
box-sizing: border-box;
left: 0;
margin: 0;
2015-05-16 16:15:02 +02:00
padding: 0.5em 1em;
2015-05-09 00:28:01 +02:00
position: fixed;
top: 0;
width: 100%;
z-index: 10;
}
#toolbar .button {
background-color: white;
border: none;
box-sizing: border-box;
cursor: pointer;
display: inline-block;
2015-05-16 16:15:02 +02:00
font-size: 150%;
2015-05-09 00:28:01 +02:00
margin: 0;
padding: 8px;
}
#toolbar .button.disabled {
opacity: 0.2;
pointer-events: none;
}
#toolbar .button:hover {
background-color: #eee;
}
2015-05-16 16:15:02 +02:00
#toolbar > div {
white-space: nowrap;
}
#toolbar > div:first-of-type {
font-size: 120%;
}
#toolbar > div > * {
vertical-align: middle;
}
#pageSelector {
width: 28em;
padding: 0.2em 0;
}
2015-05-09 00:28:01 +02:00
body #compactViewToggler.button:before {
content: '\f102';
}
body.compactView #compactViewToggler.button:before {
content: '\f103';
}
#filterButton {
opacity: 0.25;
}
body.f #filterButton {
opacity: 1;
}
#filterInput.bad {
background-color: #fee;
}
#maxEntries {
2015-05-16 16:15:02 +02:00
margin: 0 2em;
2015-05-09 00:28:01 +02:00
}
input:focus {
background-color: #ffe;
}
#content {
font: 13px sans-serif;
width: 100%;
}
#content table {
border: 0;
border-collapse: collapse;
direction: ltr;
table-layout: fixed;
width: 100%;
}
#content table > colgroup > col:nth-of-type(1) {
width: 5em;
}
#content table > colgroup > col:nth-of-type(2) {
width: 2.5em;
}
#content table > colgroup > col:nth-of-type(3) {
width: 2.5em;
}
#content table > colgroup > col:nth-of-type(4) {
width: 20%;
}
#content table > colgroup > col:nth-of-type(5) {
width: 6em;
}
#content table > colgroup > col:nth-of-type(6) {
width: calc(100% - 16em - 20%);
}
body.f table tr.f {
display: none;
}
#content table tr.cat_info {
color: #00f;
}
#content table tr.blocked {
background-color: rgba(192, 0, 0, 0.1);
}
body.colorBlind #content table tr.blocked {
background-color: rgba(0, 19, 110, 0.1);
}
#content table tr.allowed {
background-color: rgba(0, 160, 0, 0.1);
}
body.colorBlind #content table tr.allowed {
background-color: rgba(255, 194, 57, 0.1)
}
#content table tr.cosmetic {
background-color: rgba(255, 255, 0, 0.1);
}
#content table tr.maindoc {
background-color: #666;
color: white;
text-align: center;
}
body #content td {
border: 1px solid #ccc;
border-top: none;
min-width: 0.5em;
padding: 3px;
vertical-align: top;
white-space: normal;
word-break: break-all;
word-wrap: break-word;
}
#content table tr td {
border-top: 1px solid #ccc;
}
#content table tr td:first-of-type {
border-left: none;
}
#content table tr td:last-of-type {
border-right: none;
}
body.compactView #content td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#content table tr td:nth-of-type(1) {
2015-05-10 15:28:50 +02:00
text-align: right;
2015-05-09 00:28:01 +02:00
white-space: nowrap;
}
#content table tr td:nth-of-type(2) {
text-align: center;
white-space: nowrap;
}
#content table tr.tab_bts > td:nth-of-type(2):before {
content: '\f070';
font: 1em FontAwesome;
}
#content table tr.tab:not(.canMtx) {
opacity: 0.3;
}
#content table tr.tab:not(.canMtx):hover {
opacity: 0.7;
2015-05-09 00:28:01 +02:00
}
#content table tr.tab:not(.canMtx) > td:nth-of-type(2):before {
content: '\f00d';
font: 1em FontAwesome;
}
body:not(.popupOn) #content table tr.canMtx td:nth-of-type(2) {
cursor: zoom-in;
}
body:not(.popupOn) #content table tr.canMtx td:nth-of-type(2):hover {
2015-05-10 15:28:50 +02:00
background: #ccc;
2015-05-09 00:28:01 +02:00
}
#content table tr.cat_net td:nth-of-type(3),
#content table tr.cat_cosmetic td:nth-of-type(3) {
font: 12px monospace;
text-align: center;
white-space: nowrap;
}
#content table tr.cat_net td:nth-of-type(6) > span > b {
font-weight: bold;
}
#content table tr td:nth-of-type(6) b {
font-weight: normal;
}
#content table tr.blocked td:nth-of-type(6) b {
background-color: rgba(192, 0, 0, 0.2);
}
body.colorBlind #content table tr.blocked td:nth-of-type(6) b {
background-color: rgba(0, 19, 110, 0.2);
}
#content table tr.allowed td:nth-of-type(6) b {
background-color: rgba(0, 160, 0, 0.2);
}
body.colorBlind #content table tr.allowed td:nth-of-type(6) b {
background-color: rgba(255, 194, 57, 0.2);
}
#popupContainer {
background: white;
border: 1px solid gray;
border-radius: 3px;
2015-05-10 15:28:50 +02:00
box-sizing: border-box;
2015-05-09 00:28:01 +02:00
display: none;
overflow: hidden;
position: fixed;
2015-05-10 15:28:50 +02:00
right: 0;
top: 0;
2015-05-09 00:28:01 +02:00
z-index: 200;
}
body.popupOn #popupContainer {
display: block;
}
#popupContainer > div {
background: #aaa;
border: 0;
}
body[dir="ltr"] #popupContainer > div {
2015-05-10 15:28:50 +02:00
text-align: right;
2015-05-09 00:28:01 +02:00
}
body[dir="rtl"] #popupContainer > div {
2015-05-10 15:28:50 +02:00
text-align: left;
2015-05-09 00:28:01 +02:00
}
#popupContainer > div > span {
color: #eee;
cursor: pointer;
display: inline-block;
font: 14px FontAwesome;
padding: 0 3px;
}
#popupContainer > div > span:hover {
color: white;
}
#popupContainer > iframe {
border: 0;
padding: 0;
margin: 0;
width: 100%;
}
2015-05-10 15:28:50 +02:00
#popupContainer.hide {
width: 6em !important;
2015-05-09 00:28:01 +02:00
}
2015-05-10 15:28:50 +02:00
#popupContainer.hide > iframe {
display: none;
2015-05-09 00:28:01 +02:00
}