This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
171 lines (131 loc) · 3.14 KB
/
style.css
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
:root {
--modal-container-background: 0 0 0 / 0.2; /* ; 91 112 131 / 0.4 */
--modal-background: 255 255 255; /* 21 32 43 ; 0 0 0 */
--diff-modal-heading-item: 15 20 25; /* 239 243 244 */
--diff-modal-close-background: 0 0 0; /* 239 243 244 */
--diff-tweet-border: 0 0 0; /* 56 68 77 ; 47 51 54 */
--diff-tweet-background-hover: 0 0 0; /* 255 255 255 */
--diff-tweet-text: var(--diff-tweet-background-hover);
}
.diff-color {
color: rgb(228 34 215 / 1) !important;
}
.diff-bg-color {
background-color: rgb(228 34 215 / 0.1) !important;
}
.diff-modal-container {
position: absolute;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
background-color: rgb(var(--modal-container-background));
overflow: hidden;
}
.diff-modal {
box-sizing: border-box;
position: absolute;
top: 5%;
min-width: 420px;
max-width: 80vw;
max-height: 90vh;
flex-shrink: 1;
display: flex;
flex-basis: auto;
flex-direction: column;
align-items: stretch;
background-color: rgb(var(--modal-background) / 1);
border-radius: 16px;
overflow-y: auto;
}
.diff-modal-header,
.diff-modal-content {
box-sizing: border-box;
}
.diff-modal-header {
position: sticky;
top: 0;
width: 100%;
height: 53px;
padding: 0 16px;
display: flex;
align-items: center;
background-color: rgb(var(--modal-background) / 1);
backdrop-filter: blur(12px);
z-index: 1;
}
.diff-modal-close-container {
min-width: 56px;
min-height: 32px;
display: flex;
align-items: center;
align-self: stretch;
cursor: pointer;
}
.diff-modal-close {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
margin-left: calc(-8px);
border-radius: 9999px;
transition-duration: 0.2s;
background-color: rgb(var(--diff-modal-close-background) / 0);
}
.diff-modal-close:hover {
background-color: rgb(var(--diff-modal-close-background) / 0.2);
}
.diff-modal-close-svg {
width: 20px;
height: 20px;
color: rgb(var(--diff-modal-heading-item) / 1);
fill: currentcolor;
}
h2.diff-modal-title,
.diff-modal-content h2 {
font-family: "TwitterChirp", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 24px;
color: rgb(var(--diff-modal-heading-item) / 1);
font-size: 20px;
font-weight: 700;
overflow-wrap: break-word;
min-width: 0px;
padding: 2px 0;
text-overflow: ellipsis;
overflow: hidden;
max-width: 100%;
}
.diff-modal-content {
width: 100%;
height: 100%;
padding: 4px 16px 16px;
}
.diff-tweet {
max-width: 598px;
cursor: pointer;
padding: 8px;
border-bottom: 1px solid rgb(var(--diff-tweet-border) / 0.1);
}
.diff-tweet:not(.diff-tweet-disabled):not(.diff-tweet-noselect):hover {
background-color: rgb(var(--diff-tweet-background-hover) / 0.03);
}
.diff-tweet-disabled {
opacity: 0.5;
cursor: default;
user-select: none;
}
.diff-tweet-noselect {
cursor: default;
}
.diff-tweet-text {
color: rgb(var(--diff-tweet-text) / 1) !important;
}
.diff-add {
background-color: rgb(32 204 32 / 0.2);
border-radius: 2px;
}
.diff-remove {
background-color: rgba(221 40 40 / 0.2);
border-radius: 2px;
}