mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-13 18:27:35 +01:00
40 lines
734 B
CSS
40 lines
734 B
CSS
div > p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
div > p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
#whitelist {
|
|
border: 1px solid gray;
|
|
height: 60vh;
|
|
margin: 0;
|
|
padding: 1px;
|
|
position: relative;
|
|
resize: vertical;
|
|
}
|
|
#whitelist.invalid {
|
|
border-color: red;
|
|
}
|
|
#whitelist textarea {
|
|
border: none;
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
padding: 0.4em;
|
|
resize: none;
|
|
text-align: left;
|
|
white-space: pre;
|
|
width: 100%;
|
|
}
|
|
#whitelist textarea + div {
|
|
background-color: red;
|
|
bottom: 0;
|
|
color: white;
|
|
display: none;
|
|
padding: 2px 4px;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
right: 0;
|
|
}
|
|
#whitelist.invalid textarea + div {
|
|
display: block;
|
|
}
|