Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
94 lines (80 loc) · 1.82 KB
/
Copy pathstyles.css
File metadata and controls
94 lines (80 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.chapter-diff-view {
display: flex;
flex-direction: column;
height: 100%;
}
.chapter-diff-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--size-4-2);
min-height: var(--header-height);
padding: var(--size-4-1) var(--size-4-3);
border-bottom: 1px solid var(--background-modifier-border);
flex-shrink: 0;
}
.chapter-diff-header-info {
display: flex;
align-items: baseline;
gap: var(--size-4-2);
min-width: 0;
}
.chapter-diff-file {
font-weight: var(--font-semibold);
}
.chapter-diff-commit {
color: var(--text-muted);
font-size: var(--font-ui-smaller);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chapter-diff-header-actions {
display: flex;
gap: var(--size-4-1);
flex-shrink: 0;
}
.chapter-diff-btn {
display: flex;
align-items: center;
justify-content: center;
padding: var(--size-4-1);
background: transparent;
border: none;
border-radius: var(--radius-s);
color: var(--icon-color);
cursor: pointer;
box-shadow: none;
}
.chapter-diff-btn:hover {
background: var(--background-modifier-hover);
}
.chapter-diff-merge {
flex: 1;
min-height: 0;
overflow: hidden;
}
.chapter-diff-merge .cm-mergeView,
.chapter-diff-merge .cm-mergeViewEditors {
height: 100%;
}
.chapter-diff-merge .cm-editor {
height: 100%;
}
.chapter-diff-merge .cm-deletedLine .cm-changedText {
background-color: #ee443330;
}
.chapter-diff-merge .cm-insertedLine .cm-changedText {
background-color: #22bb2230;
}
.chapter-diff-merge .cm-collapsedLines {
background: var(--interactive-normal);
border-radius: var(--radius-m);
color: var(--text-accent);
font-size: var(--font-small);
padding: var(--size-4-1);
}
.chapter-diff-merge .cm-collapsedLines:hover {
background: var(--interactive-hover);
color: var(--text-accent-hover);
}