2022-08-24 16:29:06 +08:00
|
|
|
@keyframes loading {
|
2022-10-15 17:08:29 +08:00
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.workspace-leaf-content[data-type="git-view"] .button-border {
|
2023-09-05 17:29:16 +08:00
|
|
|
border: 2px solid var(--interactive-accent);
|
|
|
|
border-radius: var(--radius-s);
|
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.workspace-leaf-content[data-type="git-view"] .view-content {
|
2022-10-15 17:08:29 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.workspace-leaf-content[data-type="git-history-view"] .view-content {
|
2023-04-03 17:07:58 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.loading > svg {
|
2022-10-15 17:08:29 +08:00
|
|
|
animation: 2s linear infinite loading;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
display: inline-block;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.obsidian-git-center {
|
2022-10-15 17:08:29 +08:00
|
|
|
margin: auto;
|
2022-11-29 14:47:59 +08:00
|
|
|
text-align: center;
|
2022-10-15 17:08:29 +08:00
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.obsidian-git-textarea {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.obsidian-git-center-button {
|
|
|
|
display: block;
|
|
|
|
margin: 20px auto;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip.mod-left {
|
2022-10-15 17:08:29 +08:00
|
|
|
overflow-wrap: break-word;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip.mod-right {
|
2022-10-15 17:08:29 +08:00
|
|
|
overflow-wrap: break-word;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2023-04-03 17:07:58 +08:00
|
|
|
.git-tools {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2023-04-03 17:07:58 +08:00
|
|
|
.git-tools .type {
|
|
|
|
padding-left: var(--size-2-1);
|
2022-10-15 17:08:29 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-03 17:07:58 +08:00
|
|
|
justify-content: center;
|
2023-07-14 11:06:08 +08:00
|
|
|
width: 11px;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2023-07-14 11:06:08 +08:00
|
|
|
|
2023-04-03 17:07:58 +08:00
|
|
|
.git-tools .type[data-type="M"] {
|
|
|
|
color: orange;
|
|
|
|
}
|
|
|
|
.git-tools .type[data-type="D"] {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
.git-tools .buttons {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.git-tools .buttons > * {
|
|
|
|
padding: 0 0;
|
|
|
|
height: auto;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.git-author {
|
|
|
|
color: var(--text-accent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.git-date {
|
|
|
|
color: var(--text-accent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.git-ref {
|
|
|
|
color: var(--text-accent);
|
|
|
|
}
|
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
2022-10-15 17:08:29 +08:00
|
|
|
display: none;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
2022-10-15 17:08:29 +08:00
|
|
|
text-align: left;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: var(--background-primary);
|
|
|
|
border-bottom: 1px solid var(--interactive-accent);
|
|
|
|
font-family: var(--font-monospace);
|
|
|
|
height: 35px;
|
|
|
|
padding: 5px 10px;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
2022-10-15 17:08:29 +08:00
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
2022-10-15 17:08:29 +08:00
|
|
|
font-size: 14px;
|
|
|
|
margin-left: auto;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
2022-10-15 17:08:29 +08:00
|
|
|
border: 1px solid #b4e2b4;
|
|
|
|
border-radius: 5px 0 0 5px;
|
|
|
|
color: #399839;
|
|
|
|
padding: 2px;
|
|
|
|
text-align: right;
|
|
|
|
vertical-align: middle;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
2022-10-15 17:08:29 +08:00
|
|
|
border: 1px solid #e9aeae;
|
|
|
|
border-radius: 0 5px 5px 0;
|
|
|
|
color: #c33;
|
|
|
|
margin-left: 1px;
|
|
|
|
padding: 2px;
|
|
|
|
text-align: left;
|
|
|
|
vertical-align: middle;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
2022-10-15 17:08:29 +08:00
|
|
|
-webkit-box-align: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
font-size: 15px;
|
|
|
|
width: 100%;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
2022-10-15 17:08:29 +08:00
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
2022-10-15 17:08:29 +08:00
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-bottom: 1em;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
2022-10-15 17:08:29 +08:00
|
|
|
-webkit-box-pack: end;
|
|
|
|
-ms-flex-pack: end;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
border-radius: 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
font-size: 12px;
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding: 4px 8px;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #c8e1ff;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
2022-10-15 17:08:29 +08:00
|
|
|
margin: 0 4px 0 0;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
2022-10-15 17:08:29 +08:00
|
|
|
border-collapse: collapse;
|
|
|
|
font-family: Menlo, Consolas, monospace;
|
|
|
|
font-size: 13px;
|
|
|
|
width: 100%;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
2022-10-15 17:08:29 +08:00
|
|
|
width: 100%;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
2022-10-15 17:08:29 +08:00
|
|
|
overflow-y: hidden;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
2022-10-15 17:08:29 +08:00
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: -8px;
|
|
|
|
margin-right: -4px;
|
|
|
|
overflow-x: scroll;
|
|
|
|
overflow-y: hidden;
|
|
|
|
width: 50%;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
2022-10-15 17:08:29 +08:00
|
|
|
padding: 0 8em;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
2022-10-15 17:08:29 +08:00
|
|
|
display: inline-block;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
2022-10-15 17:08:29 +08:00
|
|
|
padding: 0 4.5em;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
2022-10-15 17:08:29 +08:00
|
|
|
word-wrap: normal;
|
|
|
|
background: none;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
|
|
|
-webkit-user-select: text;
|
|
|
|
-moz-user-select: text;
|
|
|
|
-ms-user-select: text;
|
|
|
|
user-select: text;
|
|
|
|
vertical-align: middle;
|
|
|
|
white-space: pre;
|
|
|
|
width: 100%;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-light
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-code-side-line
|
|
|
|
del {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #ffb6ba;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-dark
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-code-side-line
|
|
|
|
del {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #8d232881;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
2022-10-15 17:08:29 +08:00
|
|
|
border-radius: 0.2em;
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: -1px;
|
|
|
|
text-decoration: none;
|
|
|
|
vertical-align: middle;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-light
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-code-side-line
|
|
|
|
ins {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #97f295;
|
|
|
|
text-align: left;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-dark
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-code-side-line
|
|
|
|
ins {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #1d921996;
|
|
|
|
text-align: left;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
2022-10-15 17:08:29 +08:00
|
|
|
word-wrap: normal;
|
|
|
|
background: none;
|
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
white-space: pre;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
2022-10-15 17:08:29 +08:00
|
|
|
float: left;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
2022-10-15 17:08:29 +08:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 3.5em;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
2022-10-15 17:08:29 +08:00
|
|
|
float: right;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: var(--background-primary);
|
|
|
|
border: solid var(--background-modifier-border);
|
|
|
|
border-width: 0 1px;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: var(--text-muted);
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
text-align: right;
|
|
|
|
width: 7.5em;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
2022-10-15 17:08:29 +08:00
|
|
|
content: "\200b";
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: var(--background-primary);
|
|
|
|
border: solid var(--background-modifier-border);
|
|
|
|
border-width: 0 1px;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: var(--text-muted);
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
position: absolute;
|
|
|
|
text-align: right;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 4em;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
|
2022-10-15 17:08:29 +08:00
|
|
|
content: "\200b";
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: var(--background-primary);
|
|
|
|
border-color: var(--background-modifier-border);
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
2022-10-15 17:08:29 +08:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
2022-10-15 17:08:29 +08:00
|
|
|
direction: rtl;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #fee8e9;
|
|
|
|
border-color: #e9aeae;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #dfd;
|
|
|
|
border-color: #b4e2b4;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #521b1d83;
|
|
|
|
border-color: #691d1d73;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: rgba(30, 71, 30, 0.5);
|
|
|
|
border-color: #13501381;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: var(--background-primary);
|
|
|
|
border-color: var(--background-modifier-border);
|
|
|
|
color: var(--text-normal);
|
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-light
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-file-diff
|
|
|
|
.d2h-del.d2h-change {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #fdf2d0;
|
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-dark
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-file-diff
|
|
|
|
.d2h-del.d2h-change {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #55492480;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-light
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-file-diff
|
|
|
|
.d2h-ins.d2h-change {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: #ded;
|
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.theme-dark
|
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-file-diff
|
|
|
|
.d2h-ins.d2h-change {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: rgba(37, 78, 37, 0.418);
|
|
|
|
}
|
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
2022-10-15 17:08:29 +08:00
|
|
|
margin-bottom: 10px;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
2022-10-15 17:08:29 +08:00
|
|
|
color: #3572b0;
|
|
|
|
text-decoration: none;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"]
|
|
|
|
.d2h-file-list-wrapper
|
|
|
|
a:visited {
|
2022-10-15 17:08:29 +08:00
|
|
|
color: #3572b0;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
2022-10-15 17:08:29 +08:00
|
|
|
text-align: left;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
2022-10-15 17:08:29 +08:00
|
|
|
font-weight: 700;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
2022-10-15 17:08:29 +08:00
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
text-align: left;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
2022-10-15 17:08:29 +08:00
|
|
|
display: block;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li {
|
2022-10-15 17:08:29 +08:00
|
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px 10px;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li:last-child {
|
2022-10-15 17:08:29 +08:00
|
|
|
border-bottom: none;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
2022-10-15 17:08:29 +08:00
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
font-size: 10px;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
2022-10-15 17:08:29 +08:00
|
|
|
fill: currentColor;
|
|
|
|
margin-right: 10px;
|
|
|
|
vertical-align: middle;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
2022-10-15 17:08:29 +08:00
|
|
|
color: #c33;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
2022-10-15 17:08:29 +08:00
|
|
|
color: #399839;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
2022-10-15 17:08:29 +08:00
|
|
|
color: #d0b44c;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
2022-10-15 17:08:29 +08:00
|
|
|
color: #3572b0;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
2022-10-15 17:08:29 +08:00
|
|
|
background-color: var(--background-primary);
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
font-size: 10px;
|
|
|
|
margin-left: 5px;
|
|
|
|
padding: 0 2px;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
2022-10-15 17:08:29 +08:00
|
|
|
border: 2px solid #c33;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
2022-10-15 17:08:29 +08:00
|
|
|
border: 1px solid #399839;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
2022-10-15 17:08:29 +08:00
|
|
|
border: 1px solid #d0b44c;
|
2022-08-24 16:29:06 +08:00
|
|
|
}
|
2022-10-15 17:08:29 +08:00
|
|
|
|
2022-08-24 16:29:06 +08:00
|
|
|
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
2022-10-15 17:08:29 +08:00
|
|
|
border: 1px solid #3572b0;
|
2023-07-14 11:06:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ====================== Line Authoring Information ====================== */
|
|
|
|
|
|
|
|
.cm-gutterElement.obs-git-blame-gutter {
|
|
|
|
/* Add background color to spacing inbetween and around the gutter for better aesthetics */
|
|
|
|
border-width: 0px 2px 0.2px 2px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: var(--background-secondary);
|
|
|
|
background-color: var(--background-secondary);
|
|
|
|
}
|
|
|
|
|
2024-03-19 10:46:59 +08:00
|
|
|
.cm-gutterElement.obs-git-blame-gutter > div,
|
|
|
|
.line-author-settings-preview {
|
2023-07-14 11:06:08 +08:00
|
|
|
/* delegate text color to settings */
|
2024-03-19 10:46:59 +08:00
|
|
|
color: var(--obs-git-gutter-text);
|
2023-07-14 11:06:08 +08:00
|
|
|
font-family: monospace;
|
|
|
|
height: 100%; /* ensure, that age-based background color occupies entire parent */
|
|
|
|
text-align: right;
|
|
|
|
padding: 0px 6px 0px 6px;
|
|
|
|
white-space: pre; /* Keep spaces and do not collapse them. */
|
|
|
|
}
|