node-red/packages/node_modules/@node-red/editor-client/src/sass/diff.scss

672 lines
17 KiB
SCSS
Raw Normal View History

/**
* Copyright JS Foundation and other contributors, http://js.foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
2019-05-03 21:22:46 +02:00
.red-ui-diff-panel {
padding: 5px;
padding-top: 30px;
position: relative;
.red-ui-editableList-container {
border-radius:1px;
padding:0;
2022-06-18 22:05:25 +02:00
background: var(--red-ui-tertiary-background);
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list {
li {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-tertiary-background);
padding: 0px;
border: none;
2016-12-06 23:37:21 +01:00
min-height: 0;
}
}
.red-ui-editableList-item-content {
padding: 5px;
2016-12-15 21:41:53 +01:00
// padding-bottom: 5px;
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-container {
position: absolute;
top: 40px;
right:0;
bottom: 0;
left: 0;
overflow-y: scroll;
2016-12-06 23:37:21 +01:00
}
2017-10-25 16:26:24 +02:00
2019-05-03 21:22:46 +02:00
.red-ui-diff-panel-headers {
2016-12-15 21:41:53 +01:00
position: absolute;
left:232px;
right:12px;
2017-10-25 16:26:24 +02:00
top: 5px;
2016-12-15 21:41:53 +01:00
height: 25px;
div {
height: 25px;
display: inline-block;
box-sizing: border-box;
2017-08-20 23:59:51 +02:00
padding-top: 2px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 50%;
2022-06-18 22:05:25 +02:00
background: var(--red-ui-tertiary-background);
2016-12-15 21:41:53 +01:00
text-align: center;
2022-06-18 22:05:25 +02:00
border-top: 1px solid var(--red-ui-secondary-border-color);
border-color:var(--red-ui-secondary-border-color);
border-left: 1px solid var(--red-ui-secondary-border-color);
2016-12-15 21:41:53 +01:00
}
div:last-child {
2022-06-18 22:05:25 +02:00
border-right: 1px solid var(--red-ui-secondary-border-color);
2016-12-15 21:41:53 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-dialog-toolbar {
2016-12-15 21:41:53 +01:00
box-sizing: border-box;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-secondary-text-color);
2016-12-06 23:37:21 +01:00
text-align: right;
padding: 8px 10px;
2022-06-18 22:05:25 +02:00
background: var(--red-ui-primary-background);
border-bottom: 1px solid var(--red-ui-secondary-border-color);
2016-12-06 23:37:21 +01:00
white-space: nowrap;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-flow {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-secondary-background);
border: 1px solid var(--red-ui-secondary-border-color);
2016-12-15 21:41:53 +01:00
border-radius: 1px;
2016-12-06 23:37:21 +01:00
overflow: hidden;
&.collapsed {
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-flow-title .red-ui-diff-list-chevron {
transform: rotate(-90deg);
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node {
display: none;
}
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-flow-stats {
2016-12-15 21:41:53 +01:00
font-size: 0.9em;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-chevron {
2016-12-06 23:37:21 +01:00
display: inline-block;
width: 15px;
text-align: center;
2016-12-15 21:41:53 +01:00
margin-left: 3px;
transition: transform 0.1s ease-in-out;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node {
2016-12-15 21:41:53 +01:00
margin-left: 20px;
font-size: 0.9em;
&:first-child {
2022-06-18 22:05:25 +02:00
border-top: 1px solid var(--red-ui-tertiary-border-color);
2016-12-15 21:41:53 +01:00
}
&:not(:last-child) {
2022-06-18 22:05:25 +02:00
border-bottom: 1px solid var(--red-ui-tertiary-border-color);
2016-12-15 21:41:53 +01:00
}
&.collapsed {
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-chevron {
transform: rotate(-90deg);
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-properties {
display: none;
}
}
2016-12-15 21:41:53 +01:00
&:not(.collapsed) {
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-cell:not(:first-child) {
2016-12-15 21:41:53 +01:00
//display: none;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-cell:first-child {
2016-12-20 20:42:38 +01:00
//width: 100%
2016-12-15 21:41:53 +01:00
}
}
table {
2017-01-04 21:57:10 +01:00
border-collapse: collapse;
table-layout:fixed;
width: calc(100% - 20px);
margin-left: 20px;
}
col:first-child {
width: 180px;
}
col:not(:first-child) {
width: 100%;
}
td, th {
2022-06-18 22:05:25 +02:00
border-top: 1px solid var(--red-ui-secondary-border-color);
border-left: 1px solid var(--red-ui-secondary-border-color);
&:first-child {
border-left: none;
}
2016-12-15 21:41:53 +01:00
padding: 0 0 0 3px;
text-align: left;
2016-12-06 23:37:21 +01:00
overflow-x: auto;
}
tr {
vertical-align: top;
2016-12-15 21:41:53 +01:00
&:first-child td {
white-space:nowrap;
overflow:hidden;
}
&:hover {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-secondary-background-selected);
}
}
2016-12-15 21:41:53 +01:00
td {
2019-05-03 21:22:46 +02:00
.red-ui-diff-status {
2016-12-15 21:41:53 +01:00
margin-left: 0;
}
}
2019-05-03 21:22:46 +02:00
tr:not(.red-ui-diff-list-header) {
.red-ui-diff-status {
2016-12-15 21:41:53 +01:00
width: 12px;
margin-left: 0;
margin-top: 0;
margin-bottom: 0;
margin-right: 5px;
}
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-three-way {
.red-ui-diff-list-node-cell {
2016-12-20 20:42:38 +01:00
width: calc((100% - 220px) / 2);
&:first-child {
width: 220px;
}
2016-12-15 21:41:53 +01:00
}
col:not(:first-child) {
width:50%;
2016-12-15 21:41:53 +01:00
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node {
.red-ui-diff-list-node-cell {
2016-12-20 20:42:38 +01:00
width: calc((100% + 20px - 220px) / 2);
2016-12-15 21:41:53 +01:00
&:first-child {
2016-12-20 20:42:38 +01:00
width: 200px;
2016-12-15 21:41:53 +01:00
}
2016-12-20 20:42:38 +01:00
2016-12-15 21:41:53 +01:00
}
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-flow-title {
2016-12-15 21:41:53 +01:00
cursor: pointer;
padding: 0;
&:hover {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-secondary-background-selected);
}
2016-12-15 21:41:53 +01:00
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-flow-title-meta {
2016-12-15 21:41:53 +01:00
vertical-align: middle;
display: inline-block;
padding-top: 2px;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-header {
cursor: pointer;
&:hover {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-secondary-background-selected);
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-icon {
vertical-align: middle;
display: inline-block;
margin: 5px;
2016-12-15 21:41:53 +01:00
width: 18px;
height: 15px;
2022-06-18 22:05:25 +02:00
background: var(--red-ui-form-input-background);
border-radius: 2px;
2022-06-18 22:05:25 +02:00
border: 1px solid var(--red-ui-node-border);
background-position: 5% 50%;
background-repeat: no-repeat;
background-size: contain;
position: relative;
2019-04-29 23:38:14 +02:00
.red-ui-palette-icon {
2016-12-15 21:41:53 +01:00
background-position: 49% 50%;
width: 15px;
}
2019-04-29 23:38:14 +02:00
.red-ui-palette-icon-fa {
position: relative;
top: -2.5px;
left: 0px;
}
2019-04-29 23:38:14 +02:00
.red-ui-palette-icon-container {
2016-12-15 21:41:53 +01:00
width: 18px;
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-flow-empty {
.red-ui-diff-list-chevron i {
2016-12-06 23:37:21 +01:00
display: none;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-flow-title {
2016-12-06 23:37:21 +01:00
cursor: default;
&:hover {
background: none;
}
2016-12-06 23:37:21 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-status-deleted {
2016-12-06 23:37:21 +01:00
cursor: default !important;
2019-05-03 21:22:46 +02:00
.red-ui-diff-status {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-state-deleted);
2016-12-06 23:37:21 +01:00
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-node {
2016-12-06 23:37:21 +01:00
opacity: 0.5;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-description {
2016-12-06 23:37:21 +01:00
opacity: 0.5;
text-decoration: line-through;
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-status-added {
2016-12-06 23:37:21 +01:00
cursor: default !important;
2019-05-03 21:22:46 +02:00
.red-ui-diff-status {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-state-added);
2016-12-06 23:37:21 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-status-moved {
.red-ui-diff-status {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-state-moved);
2016-12-23 13:53:59 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-status-changed {
.red-ui-diff-status {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-state-changed);
2016-12-06 23:37:21 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-status-unchanged {
.red-ui-diff-status {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-state-unchanged);
2016-12-15 21:41:53 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-status-conflict {
.red-ui-diff-status {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-state-conflict);
2016-12-15 21:41:53 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-title {
2016-12-15 21:41:53 +01:00
display: inline-block;
2019-05-03 21:22:46 +02:00
.red-ui-diff-status {
2016-12-06 23:37:21 +01:00
margin-left: 15px;
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-properties {
margin: 0;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-primary-text-color);
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-status {
2016-12-06 23:37:21 +01:00
display: inline-block;
height: 20px;
margin-left: 5px;
2016-12-15 21:41:53 +01:00
vertical-align: top;
margin-top: 6px;
margin-bottom: 6px;
2016-12-06 23:37:21 +01:00
text-align: center;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-element {
display: inline-block;
width: calc(100% - 20px);
}
2016-12-06 23:37:21 +01:00
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-description {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-form-text-color);
margin-right: 5px;
padding-top: 5px;
display: inline-block;
&:after {
content: "";
display: table;
clear: both;
}
}
2022-06-18 22:05:25 +02:00
.red-ui-diff-state-added { color: var(--red-ui-diff-state-added); }
.red-ui-diff-state-deleted { color: var(--red-ui-diff-state-deleted); }
.red-ui-diff-state-changed { color: var(--red-ui-diff-state-changed); }
.red-ui-diff-state-unchanged { color: var(--red-ui-diff-state-unchanged); }
.red-ui-diff-state-conflicted { color: var(--red-ui-diff-state-conflicted); }
2016-12-15 21:41:53 +01:00
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-cell {
2016-12-15 21:41:53 +01:00
display: inline-block;
vertical-align: top;
box-sizing: border-box;
width: calc( (100% - 20px) / 2);
height: 32px;
2022-06-18 22:05:25 +02:00
border-left: 1px solid var(--red-ui-secondary-border-color);
2016-12-15 21:41:53 +01:00
padding-top: 2px;
white-space: nowrap;
overflow: hidden;
2016-12-20 20:42:38 +01:00
position: relative;
2016-12-15 21:41:53 +01:00
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-empty {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-secondary-background-disabled);
2016-12-15 21:41:53 +01:00
background: repeating-linear-gradient(
20deg,
2022-06-18 22:05:25 +02:00
var(--red-ui-secondary-background), var(--red-ui-secondary-background) 5px,
var(--red-ui-secondary-background-disabled) 5px,
var(--red-ui-secondary-background-disabled) 10px
2016-12-15 21:41:53 +01:00
);
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-cell:first-child {
2016-12-15 21:41:53 +01:00
border-left: none;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-cell-label {
2016-12-15 21:41:53 +01:00
margin-left: 20px;
vertical-align: top;
box-sizing: border-box;
padding-left: 8px;
width: 120px;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-wires {
2016-12-15 21:41:53 +01:00
display: inline-block;
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-node {
2016-12-15 21:41:53 +01:00
width: 18px;
height: 15px;
}
2019-04-29 23:38:14 +02:00
.red-ui-palette-icon-container {
2016-12-15 21:41:53 +01:00
width: 18px;
}
2019-04-29 23:38:14 +02:00
.red-ui-palette-icon {
2016-12-15 21:41:53 +01:00
width: 15px;
}
ul,li,ol {
background: none !important;
}
ul {
vertical-align: middle;
display: inline-block;
margin-left: 5px;
}
li {
list-style-type: none !important;
}
ol {
font-size: 0.9em;
margin: 0;
& > span {
vertical-align: middle;
display: inline-block;
width: 30px;
text-align: center;
}
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-props .red-ui-diff-list-node-cell:first-child {
2016-12-15 21:41:53 +01:00
padding: 6px 0px;
2019-05-03 21:22:46 +02:00
span:not(.red-ui-diff-list-chevron) {
2016-12-15 21:41:53 +01:00
margin-left: 5px;
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-cell {
2019-05-15 14:54:29 +02:00
.red-ui-debug-msg-row:hover {
background: none;
}
2019-05-03 21:22:46 +02:00
&.red-ui-diff-status-changed {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-changed-background);
2016-12-15 21:41:53 +01:00
}
2019-05-03 21:22:46 +02:00
&.red-ui-diff-status-conflict {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-conflict-background);
2016-12-20 20:42:38 +01:00
}
}
2019-05-15 14:54:29 +02:00
label.red-ui-diff-selectbox {
2016-12-20 20:42:38 +01:00
position: absolute;
top:0;
right:0;
bottom:0;
width: 35px;
text-align: center;
2022-06-18 22:05:25 +02:00
border-left: 1px solid var(--red-ui-secondary-border-color);
2016-12-20 20:42:38 +01:00
margin:0;
2019-05-15 14:54:29 +02:00
input[type="radio"] {
2016-12-20 20:42:38 +01:00
margin-top: 8px;
}
&:hover {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-secondary-background-hover);
2016-12-20 20:42:38 +01:00
}
}
2019-05-16 14:26:49 +02:00
.red-ui-diff-list-node-conflict.red-ui-diff-select-remote {
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-remote {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-added-background);
2016-12-20 20:42:38 +01:00
label {
2022-06-18 22:05:25 +02:00
border-left-color: var(--red-ui-diff-state-added-border);
2016-12-20 20:42:38 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-local {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-deleted-background);
2016-12-20 20:42:38 +01:00
label {
2022-06-18 22:05:25 +02:00
border-left-color: var(--red-ui-diff-state-deleted-border);
2016-12-20 20:42:38 +01:00
}
2016-12-15 21:41:53 +01:00
}
2016-12-20 20:42:38 +01:00
}
2019-05-16 14:26:49 +02:00
.red-ui-diff-list-node-conflict.red-ui-diff-select-local {
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-local {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-added-background);
2016-12-20 20:42:38 +01:00
label {
2022-06-18 22:05:25 +02:00
border-left-color: var(--red-ui-diff-state-added-border);
2016-12-20 20:42:38 +01:00
}
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-list-node-remote {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-deleted-background);
2016-12-20 20:42:38 +01:00
label {
2022-06-18 22:05:25 +02:00
border-left-color: var(--red-ui-diff-state-deleted-border);
2016-12-20 20:42:38 +01:00
}
}
}
2019-05-03 21:22:46 +02:00
ul.red-ui-deploy-dialog-confirm-list {
font-size: 0.9em;
width: 400px;
margin: 10px auto;
text-align: left;
}
2019-05-03 21:22:46 +02:00
.red-ui-deploy-dialog-confirm-conflict-row {
img {
vertical-align:middle;
height: 30px;
margin-right: 10px;
2016-12-20 20:42:38 +01:00
}
i {
vertical-align:middle;
text-align: center;
font-size: 30px;
width: 30px;
margin-right: 10px;
2019-05-15 14:54:29 +02:00
&.fa-check {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-text-color-success);
2019-05-15 14:54:29 +02:00
}
&.fa-exclamation {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-secondary-text-color);
2019-05-15 14:54:29 +02:00
}
2016-12-20 20:42:38 +01:00
}
div {
vertical-align: middle;
width: calc(100% - 60px);
display:inline-block;
2016-12-20 20:42:38 +01:00
}
}
2016-12-15 21:41:53 +01:00
2019-05-03 21:22:46 +02:00
#red-ui-diff-dialog-toolbar-resolved-conflicts .red-ui-diff-status {
2016-12-20 20:42:38 +01:00
margin:0;
2016-12-15 21:41:53 +01:00
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-text-diff-button {
2017-08-20 23:59:51 +02:00
float: right;
margin: 2px 3px;
line-height: 14px;
height: 16px;
}
2019-05-03 21:22:46 +02:00
.red-ui-diff-text {
2017-08-20 23:59:51 +02:00
height: 100%;
overflow-y:auto;
2019-05-03 21:22:46 +02:00
table.red-ui-diff-text-content {
2017-08-20 23:59:51 +02:00
margin: 10px;
2022-06-18 22:05:25 +02:00
border: 1px solid var(--red-ui-secondary-border-color);
2017-08-20 23:59:51 +02:00
border-radius: 3px;
table-layout: fixed;
width: calc(100% - 20px);
td {
vertical-align: top;
word-wrap: break-word;
}
td.lineno {
2022-06-18 22:05:25 +02:00
font-family: var(--red-ui-monospace-font);
text-align: right;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-tertiary-text-color);
background: var(--red-ui-tertiary-background);
padding: 1px 5px;
2018-12-18 11:57:18 +01:00
&.added {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-added-header-background);
2018-12-18 11:57:18 +01:00
}
&.removed {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-deleted-header-background);
2018-12-18 11:57:18 +01:00
}
}
td.lineno:nth-child(3) {
2022-06-18 22:05:25 +02:00
border-left: 1px solid var(--red-ui-secondary-border-color);
2017-10-25 16:26:24 +02:00
}
td.linetext {
2022-06-18 22:05:25 +02:00
font-family: var(--red-ui-monospace-font);
white-space: pre-wrap;
padding: 1px 5px;
2022-06-18 22:05:25 +02:00
border-left: 1px solid var(--red-ui-tertiary-border-color);
span.prefix {
width: 30px;
display: inline-block;
text-align: center;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-state-prefix-color);
}
2018-12-18 11:57:18 +01:00
&.added {
2022-06-18 22:05:25 +02:00
border-left-color: var(--red-ui-diff-state-added-header-border);
2018-12-18 11:57:18 +01:00
}
&.removed {
2022-06-18 22:05:25 +02:00
border-left-color: var(--red-ui-diff-state-deleted-header-border);
2018-12-18 11:57:18 +01:00
}
2017-10-25 16:26:24 +02:00
}
td.blank {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-tertiary-background);
}
td.added {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-added-background);
color: var(--red-ui-diff-state-color);
}
td.removed {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-deleted-background);
color: var(--red-ui-diff-state-color);
}
tr.mergeHeader td {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-merge-header-color);
background: var(--red-ui-diff-merge-header-background);
height: 26px;
vertical-align: middle;
}
tr.mergeHeader-separator td {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-merge-header-color);
background: var(--red-ui-diff-merge-header-border-color);
height: 0px;
}
tr.mergeHeader-ours td {
2022-06-18 22:05:25 +02:00
border-top: 2px solid var(--red-ui-diff-merge-header-border-color);
}
tr.mergeHeader-theirs td {
2022-06-18 22:05:25 +02:00
border-bottom: 2px solid var(--red-ui-diff-merge-header-border-color);
}
td.unchanged {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-unchanged-background);
color: var(--red-ui-diff-state-unchanged);
2017-10-25 16:26:24 +02:00
}
tr.unchanged {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-state-unchanged-background);
}
tr.start-block {
2022-06-18 22:05:25 +02:00
border-top: 1px solid var(--red-ui-secondary-border-color);
}
tr.end-block {
2022-06-18 22:05:25 +02:00
border-bottom: 1px solid var(--red-ui-secondary-border-color);
}
2019-05-03 21:22:46 +02:00
tr.red-ui-diff-text-file-header td {
.filename {
2022-06-18 22:05:25 +02:00
font-family: var(--red-ui-monospace-font);
}
2022-06-18 22:05:25 +02:00
background: var(--red-ui-primary-background);
padding: 5px 10px 5px 0;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-primary-text-color);
cursor: pointer;
2019-05-03 21:22:46 +02:00
i.red-ui-diff-list-chevron {
width: 30px;
}
}
2019-05-03 21:22:46 +02:00
tr.red-ui-diff-text-file-header.collapsed {
td i.red-ui-diff-list-chevron {
transform: rotate(-90deg);
}
}
2019-05-03 21:22:46 +02:00
tr.red-ui-diff-text-commit-header td {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-primary-background);
padding: 5px 10px;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-primary-text-color);
h3 {
font-size: 1.4em;
margin: 0;
}
.commit-summary {
2022-06-18 22:05:25 +02:00
border-top: 1px solid var(--red-ui-secondary-border-color);
padding-top: 5px;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-secondary-text-color);
}
.commit-body {
margin-bottom:15px;
white-space: pre;
line-height: 1.2em;
}
2017-10-25 16:26:24 +02:00
}
2017-10-10 00:37:19 +02:00
2019-05-16 14:26:49 +02:00
tr.red-ui-diff-text-header > td:not(.red-ui-diff-flow-diff) {
2022-06-18 22:05:25 +02:00
font-family: var(--red-ui-monospace-font);
padding: 5px 10px;
text-align: left;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-diff-text-header-color);
background: var(--red-ui-diff-text-header-background);
height: 30px;
vertical-align: middle;
2022-06-18 22:05:25 +02:00
border-top: 1px solid var(--red-ui-secondary-border-color);
border-bottom: 1px solid var(--red-ui-secondary-border-color);
}
2019-05-03 21:22:46 +02:00
tr.red-ui-diff-text-expand td {
cursor: pointer;
&:hover {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-diff-text-header-background);
}
2017-08-20 23:59:51 +02:00
}
}
}