2018-04-09 01:10:11 +12:00
|
|
|
html {
|
2018-03-23 08:56:37 +13:00
|
|
|
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
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
#diff .tools > * {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
#diff .ruleActions {
|
2014-11-01 07:14:41 +13:00
|
|
|
border: 0;
|
2018-03-23 08:56:37 +13:00
|
|
|
box-sizing: border-box;
|
2014-11-01 07:14:41 +13:00
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
2018-03-23 08:56:37 +13:00
|
|
|
text-align: center;
|
2015-09-06 04:29:28 +12:00
|
|
|
vertical-align: top;
|
2018-03-23 08:56:37 +13:00
|
|
|
width: 50%;
|
|
|
|
}
|
2018-10-07 01:07:03 +13:00
|
|
|
#diff .ruleActions > h3 {
|
2018-03-23 08:56:37 +13:00
|
|
|
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
|
|
|
}
|
2018-10-07 01:07:03 +13:00
|
|
|
#diff .ruleActions > div {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
#diff .ruleActions > div > button {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
#ruleFilter {
|
2018-10-07 01:07:03 +13:00
|
|
|
align-items: center;
|
2018-03-23 08:56:37 +13:00
|
|
|
direction: ltr;
|
2018-10-07 01:07:03 +13:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2014-11-01 07:14:41 +13:00
|
|
|
}
|
2018-10-07 01:07:03 +13:00
|
|
|
#ruleFilter .fa-icon {
|
2018-03-23 08:56:37 +13:00
|
|
|
color: #888;
|
2018-10-07 01:07:03 +13:00
|
|
|
fill: #888;
|
2014-11-01 07:14:41 +13:00
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
|
2018-10-07 01:07:03 +13:00
|
|
|
body[dir="ltr"] #revertButton > span:nth-of-type(3),
|
|
|
|
body[dir="rtl"] #revertButton > span:nth-of-type(2),
|
|
|
|
body[dir="ltr"] #commitButton > span:nth-of-type(2),
|
|
|
|
body[dir="rtl"] #commitButton > span:nth-of-type(1) {
|
|
|
|
display: none;
|
2014-11-04 08:27:59 +13:00
|
|
|
}
|
2014-11-01 07:14:41 +13:00
|
|
|
#revertButton,
|
|
|
|
#commitButton,
|
2018-03-23 08:56:37 +13:00
|
|
|
#editSaveButton,
|
|
|
|
#diff.editing #exportButton,
|
|
|
|
#diff.editing #importButton {
|
2014-11-01 07:14:41 +13:00
|
|
|
opacity: 0.25;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
#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;
|
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
|
|
|
|
.codeMirrorContainer {
|
|
|
|
box-sizing: border-box;
|
2018-04-09 01:10:11 +12:00
|
|
|
padding: 0;
|
2014-11-01 07:14:41 +13:00
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
.CodeMirror-merge, .CodeMirror-merge-pane, .CodeMirror-merge .CodeMirror {
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
2014-11-01 07:14:41 +13:00
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
#diff.editing .CodeMirror-merge-copy,
|
|
|
|
#diff.editing .CodeMirror-merge-copy-reverse {
|
|
|
|
display: none;
|
2014-11-01 07:14:41 +13:00
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
#diff.editing .CodeMirror-merge-left .CodeMirror {
|
2014-11-01 07:14:41 +13:00
|
|
|
color: #888;
|
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
#diff.editing .CodeMirror-merge-editor .CodeMirror {
|
|
|
|
background-color: #ffe;
|
2014-11-01 07:14:41 +13:00
|
|
|
}
|
2018-03-23 08:56:37 +13:00
|
|
|
body[dir="rtl"] .CodeMirror-merge-pane-rightmost {
|
|
|
|
right: unset;
|
2014-11-01 07:14:41 +13:00
|
|
|
left: 0;
|
2018-03-23 08:56:37 +13:00
|
|
|
}
|