2018-04-10 12:08:28 +00:00
|
|
|
html {
|
|
|
|
|
height: 100vh;
|
|
|
|
|
overflow: hidden;
|
2020-04-25 14:19:08 +00:00
|
|
|
width: 100vw;
|
2018-04-10 12:08:28 +00:00
|
|
|
}
|
2018-03-11 14:59:39 +00:00
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2020-04-25 14:19:08 +00:00
|
|
|
height: 100%;
|
|
|
|
|
justify-content: stretch;
|
2018-03-28 20:15:50 +00:00
|
|
|
overflow: hidden;
|
2020-04-25 14:19:08 +00:00
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
.body {
|
|
|
|
|
flex-shrink: 0;
|
2014-12-31 22:26:17 +00:00
|
|
|
}
|
2015-02-11 16:34:51 +00:00
|
|
|
#diff {
|
|
|
|
|
border: 0;
|
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
2018-03-11 14:59:39 +00:00
|
|
|
#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;
|
2018-03-11 14:59:39 +00:00
|
|
|
text-align: center;
|
|
|
|
|
vertical-align: top;
|
2015-02-11 18:50:44 +00:00
|
|
|
width: 50%;
|
2018-04-10 12:08:28 +00:00
|
|
|
white-space: nowrap;
|
2015-02-11 16:34:51 +00:00
|
|
|
}
|
2020-04-25 14:19:08 +00:00
|
|
|
#diff .ruleActions .fieldset-header {
|
2018-03-11 14:59:39 +00:00
|
|
|
margin: 0.5em 0;
|
2015-02-11 18:50:44 +00:00
|
|
|
}
|
2015-02-11 16:34:51 +00:00
|
|
|
#revertButton,
|
|
|
|
|
#commitButton,
|
2020-04-13 13:19:58 +00:00
|
|
|
body.editing #diff #exportButton,
|
|
|
|
|
body.editing #diff #importButton {
|
2020-04-24 13:33:44 +00:00
|
|
|
background-color: var(--button-disabled-surface);
|
|
|
|
|
color: var(--button-disabled-ink);
|
|
|
|
|
fill: var(--button-disabled-ink);
|
|
|
|
|
filter: var(--button-disabled-filter);
|
2015-02-11 16:34:51 +00:00
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
2020-04-13 13:19:58 +00:00
|
|
|
body:not(.editing) #diff.dirty #revertButton,
|
|
|
|
|
body:not(.editing) #diff.dirty #commitButton {
|
2020-04-24 13:33:44 +00:00
|
|
|
background-color: var(--button-surface);
|
|
|
|
|
color: var(--button-ink);
|
|
|
|
|
fill: var(--button-ink);
|
|
|
|
|
filter: none;
|
2015-02-11 16:34:51 +00:00
|
|
|
pointer-events: auto;
|
|
|
|
|
}
|
2020-04-13 13:19:58 +00:00
|
|
|
body:not(.editing) #diff.dirty #revertButton:hover,
|
|
|
|
|
body:not(.editing) #diff.dirty #commitButton:hover {
|
2020-04-24 13:33:44 +00:00
|
|
|
background-color: var(--button-surface-hover);
|
2020-04-10 22:17:12 +00:00
|
|
|
}
|
2018-03-11 14:59:39 +00:00
|
|
|
|
2020-08-25 17:23:30 +00:00
|
|
|
#ruleFilter {
|
|
|
|
|
direction: ltr;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
#ruleFilter .fa {
|
|
|
|
|
color: var(--fg-0-60);
|
|
|
|
|
}
|
|
|
|
|
#ruleFilter #diffCollapse {
|
|
|
|
|
padding: 0 0.5em;
|
|
|
|
|
font-size: 150%;
|
|
|
|
|
}
|
|
|
|
|
#ruleFilter #diffCollapse.active {
|
|
|
|
|
transform: scale(1, -1);
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-11 14:59:39 +00:00
|
|
|
.codeMirrorContainer {
|
2020-04-25 14:19:08 +00:00
|
|
|
flex-grow: 1;
|
2015-02-11 16:34:51 +00:00
|
|
|
}
|
2018-03-11 14:59:39 +00:00
|
|
|
.CodeMirror-merge, .CodeMirror-merge-pane, .CodeMirror-merge .CodeMirror {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
height: 100%;
|
2015-02-11 16:34:51 +00:00
|
|
|
}
|
2020-04-13 13:19:58 +00:00
|
|
|
body.editing .CodeMirror-merge-copy,
|
|
|
|
|
body.editing .CodeMirror-merge-copy-reverse {
|
2018-03-11 14:59:39 +00:00
|
|
|
display: none;
|
2015-02-11 16:34:51 +00:00
|
|
|
}
|
2020-04-13 13:19:58 +00:00
|
|
|
body.editing .CodeMirror-merge-left .CodeMirror {
|
|
|
|
|
color: var(--fg-0-60);
|
2015-02-11 16:34:51 +00:00
|
|
|
}
|
2020-04-13 13:19:58 +00:00
|
|
|
body.editing .CodeMirror-merge-editor .CodeMirror {
|
|
|
|
|
background-color: var(--bg-transient-notice);
|
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;
|
2018-03-16 23:38:43 +00:00
|
|
|
left: 0;
|
2018-03-16 22:33:50 +00:00
|
|
|
}
|
2020-04-25 14:19:08 +00:00
|
|
|
|
|
|
|
|
/* mobile devices */
|
|
|
|
|
:root.mobile #diff .tools {
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|