1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-28 19:10:39 +12:00
uMatrix/src/css/user-rules.css
2014-10-31 18:52:27 -04:00

117 lines
2.1 KiB
CSS

div > p:first-child {
margin-top: 0;
}
div > p:last-child {
margin-bottom: 0;
}
#diff {
border: 0;
margin: 0;
padding: 0;
}
#diff > div {
border: 0;
box-sizing: box-border;
display: inline-block;
font: 12px/1.4 monospace;
margin: 0;
padding: 0;
position: relative;
width: calc(50% - 2px);
}
#diff > div > div {
padding: 0 0 1em 0;
text-align: center;
}
#diff > div > div > span {
float: left;
}
#revertButton,
#commitButton,
#diff.edit #editEnterButton {
opacity: 0.25;
pointer-events: none;
}
#editStopButton,
#editCancelButton {
display: none;
}
#diff.dirty:not(.edit) #revertButton,
#diff.dirty:not(.edit) #commitButton {
opacity: 1;
pointer-events: auto;
}
#diff.edit #editStopButton,
#diff.edit #editCancelButton {
display: initial;
}
#diff.edit #importButton,
#diff.edit #exportButton {
display: none;
}
#diff ul {
border: 0;
border-top: 1px solid #eee;
list-style-type: none;
margin: 0;
overflow: hidden;
padding: 1em 0 0 0;
}
#diff.edit .right ul {
visibility: hidden;
}
#diff .left {
padding: 0 0 0 0;
}
#diff .right > ul {
color: #888;
}
#diff li {
background-color: white;
padding: 2px 0;
white-space: nowrap;
}
#diff li:nth-of-type(2n+0) {
background-color: #eee;
}
#diff .right li {
cursor: pointer;
}
#diff .right li:hover {
background-color: #ffc;
color: #000;
}
#diff .right li.notLeft {
color: #000;
}
#diff .right li.notRight {
color: #000;
}
#diff .right li.toRemove {
color: #000;
text-decoration: line-through;
}
#diff textarea {
background-color: #f8f8ff;
border: 0;
border-top: 1px solid #eee;
visibility: hidden;
font: 12px monospace;
line-height: calc(140% + 4px);
height: 100%;
left: 0;
margin: 0;
overflow: hidden;
overflow-y: auto;
padding: 1em 0 0 0;
position: absolute;
resize: none;
white-space: nowrap;
width: 100%;
}
#diff.edit textarea {
visibility: visible;
}
.hidden {
display: none;
}