Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (91 loc) · 1.76 KB
/
Copy pathstyles.css
File metadata and controls
107 lines (91 loc) · 1.76 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
95
96
97
98
99
100
101
102
103
104
105
106
107
:root {
color-scheme: dark;
--bg: #080a0d;
--text: #e6edf3;
--line: #2b3138;
--green-bright: #3fb950;
--red-soft: #f85149;
}
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
margin: 0;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%),
radial-gradient(circle at 50% 0%, rgba(46, 160, 67, 0.12), transparent 35%),
var(--bg);
color: var(--text);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.stage {
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
}
.diff-card {
width: min(92vw, 370px);
overflow: hidden;
border: 1px solid var(--line);
border-radius: 4px;
background: #242424;
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}
.diff-list {
display: grid;
}
.diff-item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
min-height: 44px;
padding: 0 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
background: #242424;
font-size: 14px;
font-variant-numeric: tabular-nums;
}
.diff-item:last-child {
border-bottom: 0;
}
.diff-item-current {
min-height: 54px;
background: #1f1f1f;
}
.diff-header {
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.diff-header .stats {
justify-self: end;
}
.file {
overflow: hidden;
color: var(--text);
white-space: nowrap;
text-overflow: ellipsis;
}
.time-value {
color: var(--text);
font-size: 20px;
font-variant-numeric: tabular-nums;
line-height: 1;
}
.stats {
display: inline-flex;
align-items: baseline;
gap: 6px;
line-height: 1;
}
.added,
.removed {
display: inline-block;
line-height: 1;
}
.added {
color: var(--green-bright);
}
.removed {
color: var(--red-soft);
}