mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-30 06:37:10 +02:00
68 lines
1.4 KiB
CSS
68 lines
1.4 KiB
CSS
|
body {
|
||
|
border: 0;
|
||
|
box-sizing: border-box;
|
||
|
font: 11px monospace;
|
||
|
margin: 0;
|
||
|
overflow-x: hidden;
|
||
|
padding: 0;
|
||
|
white-space: nowrap;
|
||
|
width: 100%;
|
||
|
}
|
||
|
#toolbar {
|
||
|
padding: 8px 0;
|
||
|
position: fixed;
|
||
|
text-align: center;
|
||
|
top: 0;
|
||
|
width: 4em;
|
||
|
}
|
||
|
#toolbar .button {
|
||
|
background-color: white;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
display: block;
|
||
|
font-size: large;
|
||
|
margin: 0;
|
||
|
padding: 0.5em 0;
|
||
|
}
|
||
|
#toolbar .button:hover {
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
#content {
|
||
|
margin-left: 4em;
|
||
|
width: calc(100% - 4em);
|
||
|
}
|
||
|
#content table {
|
||
|
border: 0;
|
||
|
border-collapse: collapse;
|
||
|
width: 100%;
|
||
|
}
|
||
|
#content table tr.blocked {
|
||
|
background-color: rgba(192, 0, 0, 0.1)
|
||
|
}
|
||
|
#content table tr.allowed {
|
||
|
background-color: rgba(0, 160, 0, 0.1)
|
||
|
}
|
||
|
#content table tr td {
|
||
|
border: 1px solid #ccc;
|
||
|
hyphens: none;
|
||
|
padding: 3px;
|
||
|
vertical-align: top;
|
||
|
white-space: normal;
|
||
|
word-break: break-all;
|
||
|
word-wrap: break-word;
|
||
|
}
|
||
|
#content table tr td:nth-of-type(1) {
|
||
|
width: 15%;
|
||
|
}
|
||
|
#content table tr td:nth-of-type(3) {
|
||
|
border-right: none;
|
||
|
width: 75%;
|
||
|
}
|
||
|
#content table tr.blocked td:nth-of-type(3) b {
|
||
|
background-color: rgba(192, 0, 0, 0.2);
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
#content table tr.allowed td:nth-of-type(3) b {
|
||
|
background-color: rgba(0, 160, 0, 0.2);
|
||
|
font-weight: normal;
|
||
|
}
|