-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
258 lines (212 loc) · 4.85 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
/* *************************************************
* * Tooltips
* ************************************************* */
a.tooltip {
outline: none;
border-bottom: 1px dotted;
}
a.tooltip:hover {
text-decoration: none;
}
a.tooltip span {
z-index: 10;
display: none;
padding: 14px 20px;
margin-top: -30px;
margin-left: 14px;
width: auto;
max-width: 300px;
line-height: 16px;
text-align: left;
}
a.tooltip:hover span {
display: inline;
position: absolute;
color: #111;
border: 1px solid #DCA;
background:#fffAF0;
}
a.tooltip span {
border-radius:4px;
box-shadow: 5px 5px 8px #CCC;
}
/* *************************************************
* * Options
* ************************************************* */
#options_table {
border-collapse: separate;
border-spacing: 3px 5px;
}
#options_table > tbody > tr > td:nth-child(1) {
text-align: right;
}
#options_form fieldset {
border: 0;
padding: 0;
}
#options_form tbody > tr > td:nth-child(2) input,
#options_form tbody > tr > td:nth-child(2) select * {
font-family: monospace;
}
#options_form input[type=checkbox] {
vertical-align: middle;
position: relative;
bottom: 1px;
}
/* *************************************************
* * Miscellaneous
* ************************************************* */
#forkme {
position: fixed;
top: 0;
right: 0;
border: 0;
width: 149px;
height: 149px;
}
details > *:not(summary){
margin-left: 32px;
}
summary {
outline: none;
}
.summary {
cursor: pointer;
border-bottom: 1px dotted;
}
.info {
cursor: pointer;
color: #8e96a0;
font-weight: bold;
font-size: 14px;
font-family: monospace;
}
.info:hover {
color: black;
}
/* *************************************************
* * Progress and Results
* ************************************************* */
#progress {
visibility: hidden;
}
#username {
display: inline-block;
padding-top: 0;
margin-top: 0;
}
.label {
color: #586069;
border: 1px solid #e1e4e8;
border-radius: 7px;
padding: 1px 7px;
font-family: sans-serif;
font-size: 12px;
display: inline-block;
}
#results {
margin-top: 16px;
padding-top: 0;
}
#results table > tbody {
counter-reset: row;
}
#results table > tbody tr td:first-child:before {
display: table-cell;
counter-increment: row;
content: counter(row);
text-align: right;
}
#results table {
border-collapse: collapse;
border-spacing: 0;
border: 1px solid gainsboro;
}
#results table th, #results table td {
padding: 16px;
}
#results table tbody > tr:nth-child(odd) {
background-color: whitesmoke;
}
/*
* Observed states: 'active', 'disabled_manually', 'disabled_inactivity'
*
* state=active is not colored.
*/
#results table [data-state='disabled_inactivity'] {
color: red;
font-weight: bold;
}
#results table [data-state='disabled_manually'] {
color: orange;
}
/*
* Documented statuses (https://docs.github.com/en/rest/checks/runs#create-a-check-run):
* queued, in_progress, completed
*
* status=completed is not colored.
*/
#results table [data-status='queued'] {
color: violet;
}
#results table [data-status='in_progress'] {
color: purple;
}
/*
* Documented conclusions (https://docs.github.com/en/rest/checks/runs#create-a-check-run):
* action_required, cancelled, failure, neutral, success, skipped, stale, timed_out
*
*/
#results table [data-conclusion] {
background-image: linear-gradient(#959DA5, #6A737D);
color: white;
padding: 3px 6px;
text-align: center;
border-radius: 3px;
font-family: DejaVu Sans, Verdana, Geneva, sans-serif;
font-size: 12px;
text-shadow: 0 1px 0 rgb(1 1 1 / 30%);
}
#results table [data-conclusion='neutral'] {
background-image: linear-gradient(#959da5, #6a737d);
}
#results table [data-conclusion='success'] {
background-image: linear-gradient(#34d058, #28a745);
}
#results table [data-conclusion='failure'],
#results table [data-conclusion='timed_out'] {
background-image: linear-gradient(#d73a49, #cb2431);
}
#results table [data-conclusion='cancelled'],
#results table [data-conclusion='action_required'] {
background-image: linear-gradient(#f4a251, #e39140);
}
#results table [data-conclusion='skipped'],
#results table [data-conclusion='stale'] {
background-image: linear-gradient(#d7b023, #cba317);
}
/* *************************************************
* * Dialog
* ************************************************* */
dialog {
max-width: 75vw;
max-height: 75vh;
padding: 0;
}
#dialog-wrapper {
padding: 16px 32px;
}
.close {
padding: 7px;
margin: -1px;
font-weight: bold;
line-height: .6;
position: fixed;
cursor: pointer;
font-size: 32px;
color: #8e96a0;
z-index: 2147483647;
}
.close:hover {
color: black;
}