1
1
* {
2
2
box-sizing : border-box;
3
+ font-family : 'Mulish' , 'Helvetica Neue' , Helvetica, Arial, sans-serif;
3
4
margin : 0 ;
4
5
padding : 0 ;
5
6
}
6
7
7
8
# app {
8
9
display : flex;
9
- font-family : 'Mulish' , 'Helvetica Neue' , Helvetica, Arial, sans-serif;
10
10
flex-direction : column;
11
11
height : 100vh ;
12
12
}
13
13
14
14
/* brand logo */
15
15
.brand {
16
- color : # fff ;
17
- display : flex;
18
16
align-items : center;
19
- filter : drop-shadow (0 0 2px # 444 );
17
+ color : # 222 ;
18
+ display : flex;
19
+ filter : drop-shadow (0 0 2px # bbb );
20
20
font-family : 'Century Gothic' , 'Helvetica Neue' , Helvetica, Arial, sans-serif;
21
21
font-size : 1.1em ;
22
22
font-weight : bold;
23
+ letter-spacing : 0.3px ;
23
24
text-orientation : mixed;
24
- opacity : 0.85 ;
25
25
padding : 10px 12px ;
26
26
user-select : none;
27
27
writing-mode : vertical-rl;
28
28
}
29
29
.brand : hover {
30
- color : # fff ;
31
- filter : drop-shadow (0 0 2px # 333 );
32
- opacity : 0.9 ;
30
+ color : # 222 ;
31
+ filter : drop-shadow (0 0 2px # afa6b9 );
33
32
text-decoration : none;
34
33
}
35
34
.brand ::before {
@@ -51,7 +50,36 @@ a:hover {
51
50
text-decoration : underline;
52
51
}
53
52
button {
53
+ background-color : # 111 ;
54
+ color : # eee ;
54
55
cursor : pointer;
56
+ border-radius : 12px ;
57
+ border : none;
58
+ font-size : 14px ;
59
+ font-weight : 600 ;
60
+ height : 32px ;
61
+ padding : 0 16px ;
62
+ text-align : center;
63
+ }
64
+ button : active ,
65
+ button : focus ,
66
+ button : hover {
67
+ background-color : # 333 ;
68
+ }
69
+
70
+ input {
71
+ border : 2px solid# ddd ;
72
+ border-radius : 8px ;
73
+ color : # 444 ;
74
+ height : 32px ;
75
+ outline : none;
76
+ padding : 8px 8px 8px 12px ;
77
+ transition : border0.3s ;
78
+ }
79
+ input : focus {
80
+ border-color : # 778 ;
81
+ box-shadow : 0 0 1px # 556 ;
82
+ color : # 444 ;
55
83
}
56
84
57
85
/* layout */
@@ -61,15 +89,42 @@ main {
61
89
max-width : 100vw ;
62
90
}
63
91
92
+ .spinner {
93
+ border : 6px solid# e8e8e8 ;
94
+ border-top : 6px solid# 68a ;
95
+ border-radius : 50% ;
96
+ width : 32px ;
97
+ height : 32px ;
98
+ animation : spin1s linear infinite, fadeIn3s , ease-in-out forwards;
99
+ }
100
+ @keyframes spin {
101
+ 0% {transform : rotate (0deg ); }
102
+ 100% {transform : rotate (360deg ); }
103
+ }
104
+ @keyframes fadeIn {
105
+ 0% {opacity : 0 ; }
106
+ 100% {opacity : 1 ; }
107
+ }
108
+ .center {
109
+ flex : 1 ;
110
+ display : flex;
111
+ align-items : center;
112
+ justify-content : center;
113
+ }
114
+
64
115
/* sidebar */
65
116
.nav {
66
117
display : flex;
67
118
flex-direction : column;
68
119
height : 100vh ;
69
120
width : 48px ;
70
- background-image : linear-gradient (to bottom, # 667, # 585669 );
121
+ }
122
+ .nav > div {
123
+ background-image : linear-gradient (to bottom, # f2f2f2, # e4e4e4 );
71
124
box-shadow : 0 0 4px rgba (10 , 10 , 10 , 0.5 );
72
125
height : 100vh ;
126
+ width : 48px ;
127
+ z-index : 30 ;
73
128
}
74
129
75
130
/* content area */
@@ -93,19 +148,38 @@ main {
93
148
/* top navbar */
94
149
.top-header {
95
150
align-items : center;
96
- background : linear-gradient (to right, # 353540, # 24202b );
97
- color : # dde4ea ;
98
151
display : flex;
152
+ font-size : 18px ;
99
153
height : 32px ;
100
154
min-height : 32px ;
101
- padding-left : 8 px ;
155
+ padding : 0 10 px 0 20 px ;
102
156
}
103
157
.top-header h1 {
104
158
font-size : 18px ;
105
- margin : 0 ;
159
+ margin : 4px 0 0 0 ;/* top */
160
+ user-select : none;
161
+ }
162
+
163
+ .top-header-divided {
164
+ border-bottom : 1px solid# ddd ;
165
+ background : # eee ;
166
+ }
167
+
168
+ .top-actions {
169
+ margin-left : auto;
170
+ }
171
+
172
+ /* search */
173
+ .top-header input {
174
+ border : 1px solid transparent;
175
+ border-radius : 8px ;
176
+ font-size : 12px ;
177
+ flex-shrink : 1 ;
178
+ height : 24px ;
179
+ min-width : 0 ;
106
180
}
107
- .top-header a {
108
- color : # e0e8ee ;
181
+ .top-header input : focus {
182
+ border : 1 px solid # 778 ;
109
183
}
110
184
111
185
/* file path */
@@ -133,9 +207,10 @@ main {
133
207
opacity : 1 ;
134
208
}
135
209
.path a {
136
- color : # f0f8ff ;
210
+ color : # 222622 ;
137
211
font-family : 'Courier New' , Courier, monospace;
138
212
font-size : 18px ;
213
+ font-weight : 600 ;
139
214
transform : translateY (1px );
140
215
/* ^ the monospace font slightly translates to the top, moving it by 1px better aligns with the icons */
141
216
text-overflow : ellipsis;
@@ -243,11 +318,13 @@ main {
243
318
max-height : 0 ;
244
319
padding : 0 ;
245
320
background-color : # dd111199 ;
246
- font-family : monospace;
247
321
overflow-y : auto;
248
322
transition : max-height0.3s ;
249
323
white-space : pre-wrap;
250
324
}
325
+ .error-bar * {
326
+ font-family : monospace;
327
+ }
251
328
.show-error {
252
329
max-height : 30% ;
253
330
padding : 10px ;
@@ -310,7 +387,7 @@ main {
310
387
border-top : 1px solid# bbb ;
311
388
color : # 444 ;
312
389
display : flex;
313
- padding : 8px 12 px ;
390
+ padding : 8px 16 px 8 px 20 px ;
314
391
text-decoration : none;
315
392
}
316
393
.file-list a : hover {
@@ -359,7 +436,7 @@ main {
359
436
}
360
437
.view-header {
361
438
align-items : center;
362
- background-color : # ccc ;
439
+ background-color : # f2f2f2 ;
363
440
color : # 444 ;
364
441
display : flex;
365
442
gap : 16px ;
@@ -428,6 +505,21 @@ main {
428
505
margin-top : 16px ;
429
506
}
430
507
508
+ /* table overrides */
509
+ .table-container .table-corner {
510
+ background : url ('https://hyperparam.app/assets/table/space.svg' )# f9f4ff no-repeat center6px ;
511
+ }
512
+ main .table-container .table th {
513
+ background-color : # f1f1f3 ;
514
+ }
515
+ main .table td {
516
+ cursor : pointer;
517
+ }
518
+ main .table tbody tr : hover th : first-child {
519
+ background-color : # ccd ;
520
+ border-right : 1px solid# ccc ;
521
+ }
522
+
431
523
.slideContainer {
432
524
display : flex;
433
525
flex : 1 ;
@@ -472,16 +564,18 @@ main {
472
564
.slideClose : hover {
473
565
background : none;
474
566
border : none;
475
- color : inherit;
567
+ color : # 888 ;
568
+ font-size : 16px ;
476
569
height : 24px ;
477
570
margin-right : auto;
478
571
outline : none;
572
+ transition : color0.3s ;
479
573
}
480
574
.slideClose ::before {
481
575
content : "\27E9\27E9" ;
482
576
}
483
577
.slideClose : hover {
484
- font-weight : bold ;
578
+ color : # 000 ;
485
579
}
486
580
487
581
/* viewers */