uBlock/src/css/dyna-rules.css

82 lines
1.7 KiB
CSS
Raw Normal View History

2018-04-10 12:08:28 +00:00
html {
height: 100vh;
overflow: hidden;
}
body {
display: flex;
flex-direction: column;
2018-03-28 20:15:50 +00:00
overflow: hidden;
}
2015-02-11 16:34:51 +00:00
#diff {
border: 0;
border-top: 1px solid #eee;
flex-grow: 1;
2015-02-11 16:34:51 +00:00
margin: 0;
padding: 0;
2015-02-11 16:34:51 +00:00
white-space: nowrap;
}
#diff .tools > * {
margin-bottom: 0.5em;
}
#diff .ruleActions {
2015-02-11 16:34:51 +00:00
border: 0;
2015-02-11 18:13:04 +00:00
box-sizing: border-box;
2015-02-11 16:34:51 +00:00
display: inline-block;
padding: 0;
text-align: center;
vertical-align: top;
width: 50%;
2018-04-10 12:08:28 +00:00
white-space: nowrap;
2015-02-11 16:34:51 +00:00
}
#diff .ruleActions h3 {
font-weight: normal;
margin: 0.5em 0;
}
#ruleFilter {
direction: ltr;
2015-02-11 16:34:51 +00:00
text-align: center;
}
2018-03-21 12:42:21 +00:00
#ruleFilter .fa {
color: #888;
}
2015-02-11 16:34:51 +00:00
#revertButton,
#commitButton,
#diff.editing #exportButton,
2018-03-28 20:15:50 +00:00
#diff.editing #importButton {
background-color: #eee;
color: #aaa;
2015-02-11 16:34:51 +00:00
pointer-events: none;
}
#diff.dirty:not(.editing) #revertButton,
#diff.dirty:not(.editing) #commitButton {
background-color: #e6e6e6;
color: #20123a;
2015-02-11 16:34:51 +00:00
pointer-events: auto;
}
#diff.dirty:not(.editing) #revertButton:hover,
#diff.dirty:not(.editing) #commitButton:hover {
background-color: #d4d4d4;
}
.codeMirrorContainer {
height: 60vh;
2015-02-11 16:34:51 +00:00
}
.CodeMirror-merge, .CodeMirror-merge-pane, .CodeMirror-merge .CodeMirror {
box-sizing: border-box;
height: 100%;
2015-02-11 16:34:51 +00:00
}
#diff.editing .CodeMirror-merge-copy,
#diff.editing .CodeMirror-merge-copy-reverse {
display: none;
2015-02-11 16:34:51 +00:00
}
#diff.editing .CodeMirror-merge-left .CodeMirror {
2015-02-11 16:34:51 +00:00
color: #888;
}
#diff.editing .CodeMirror-merge-editor .CodeMirror {
background-color: #ffe;
2015-02-11 16:34:51 +00:00
}
2018-03-16 22:33:50 +00:00
body[dir="rtl"] .CodeMirror-merge-pane-rightmost {
right: unset;
left: 0;
2018-03-16 22:33:50 +00:00
}