1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-28 02:50:39 +12:00
uMatrix/src/css/user-rules.css

86 lines
1.7 KiB
CSS
Raw Normal View History

2018-04-09 01:10:11 +12:00
html {
height: 100vh;
overflow: hidden;
2014-10-22 15:00:31 +13:00
}
2014-11-01 07:14:41 +13:00
#diff {
border: 0;
margin: 0;
padding: 0;
2014-11-06 15:59:04 +13:00
white-space: nowrap;
2014-11-01 07:14:41 +13:00
}
#diff .tools > * {
margin-bottom: 0.5em;
}
#diff .ruleActions {
2014-11-01 07:14:41 +13:00
border: 0;
box-sizing: border-box;
2014-11-01 07:14:41 +13:00
display: inline-block;
padding: 0;
text-align: center;
vertical-align: top;
width: 50%;
}
#diff .ruleActions > h3 {
font-weight: normal;
2018-04-09 01:10:11 +12:00
margin: 0 0 0.5em 0;
2014-11-01 07:14:41 +13:00
}
#diff .ruleActions > div {
display: flex;
justify-content: center;
}
#diff .ruleActions > div > button {
margin-right: 1em;
}
#ruleFilter {
align-items: center;
direction: ltr;
display: flex;
justify-content: center;
2014-11-01 07:14:41 +13:00
}
#ruleFilter .fa-icon {
color: #888;
fill: #888;
2014-11-01 07:14:41 +13:00
}
body[dir="ltr"] #revertButton > span:nth-of-type(2),
body[dir="rtl"] #commitButton > span:nth-of-type(1) {
transform: scale(-1, 1);
2014-11-04 08:27:59 +13:00
}
2014-11-01 07:14:41 +13:00
#revertButton,
#commitButton,
#editSaveButton,
#diff.editing #exportButton,
#diff.editing #importButton {
2014-11-01 07:14:41 +13:00
opacity: 0.25;
pointer-events: none;
}
#diff.dirty:not(.editing) #revertButton,
#diff.dirty:not(.editing) #commitButton,
#diff.editing #editSaveButton {
2014-11-01 07:14:41 +13:00
opacity: 1;
pointer-events: auto;
}
.codeMirrorContainer {
box-sizing: border-box;
2018-04-09 01:10:11 +12:00
padding: 0;
2014-11-01 07:14:41 +13:00
}
.CodeMirror-merge, .CodeMirror-merge-pane, .CodeMirror-merge .CodeMirror {
box-sizing: border-box;
height: 100%;
2014-11-01 07:14:41 +13:00
}
#diff.editing .CodeMirror-merge-copy,
#diff.editing .CodeMirror-merge-copy-reverse {
display: none;
2014-11-01 07:14:41 +13:00
}
#diff.editing .CodeMirror-merge-left .CodeMirror {
2014-11-01 07:14:41 +13:00
color: #888;
}
#diff.editing .CodeMirror-merge-editor .CodeMirror {
background-color: #ffe;
2014-11-01 07:14:41 +13:00
}
body[dir="rtl"] .CodeMirror-merge-pane-rightmost {
right: unset;
2014-11-01 07:14:41 +13:00
left: 0;
}