1
1
: root {
2
- box-sizing : border-box ;
2
+ -- border-color : # ccc ;
3
3
}
4
+
4
5
* ,
5
- * ::before ,
6
- * ::after {
7
- box-sizing : inherit ;
6
+ ::before ,
7
+ ::after {
8
+ box-sizing : border-box ;
8
9
}
10
+
9
11
body {
10
12
font-family : Helvetica, Arial, sans-serif;
11
13
font-size : 14px ;
12
14
margin : 10px ;
13
15
}
16
+
14
17
a ,
15
18
a : active ,
16
19
a : hover {
17
20
text-decoration : none;
18
21
}
22
+
19
23
button ,
20
24
select {
21
25
font-size : 14px ;
22
26
}
23
- .selectBar {
27
+
28
+ .select-bar {
24
29
background-color : # fafafa ;
25
- border-top : 1px solid # ccc ;
26
- border-bottom : 1px solid # ccc ;
27
- }
28
- select {
29
- border : 1px solid # ccc ;
30
- border-radius : 4px ;
31
- height : 29px ;
32
- background : # fff ;
33
- }
34
- .header-row {
35
- margin : 20px 0 ;
36
- }
37
- .dropdown-container > .shutter ,
38
- .dropdown-container > .dropdown-menu {
39
- display : none;
40
- }
41
- .open > .shutter ,
42
- .open > .dropdown-menu {
43
- display : block;
44
- }
45
- .dropdown-menu > .section {
46
- position : relative;
47
- }
48
- .open > .dropdown-menu {
49
- z-index : 1000 ;
50
- position : absolute;
51
- background : # fff ;
52
- border : 1px solid # ccc ;
53
- border-radius : 4px ;
54
- box-shadow : 4px 4px 5px 5px rgba (0 , 0 , 0 , 0.2 );
55
- padding : 10px ;
56
- }
57
- .dropdown ,
58
- .dropdown : focus {
59
- border : 1px solid # ccc ;
60
- border-radius : 4px ;
61
- padding : 5px 10px ;
62
- outline : none;
63
- box-shadow : 0px 0px 2px 2px rgba (0 , 0 , 0 , 0 );
64
- transition : all 0.5s ;
30
+ border-top : 1px solid var (--border-color );
31
+ border-bottom : 1px solid var (--border-color );
32
+ padding : 20px 0 ;
33
+ flex-direction : column;
34
+ display : flex;
35
+ gap : 10px ;
65
36
}
66
- .dropdown .open {
67
- box-shadow : 0px 0px 2px 2px rgba (0 , 0 , 0 , 0.2 );
37
+ .select-bar__dropdowns {
38
+ display : flex;
39
+ flex-direction : row;
40
+ gap : 1rem ;
68
41
}
69
42
70
- .dropdown > .caret {
71
- width : 10px ;
72
- height : 5px ;
73
- border-left : 5px solid transparent;
74
- border-right : 5px solid transparent;
75
- border-top : 5px solid # ccc ;
76
- display : inline-block;
43
+ @media screen and (width> = 640px) {
44
+ .select-bar {
45
+ flex-direction : unset;
46
+ align-items : center;
47
+ }
48
+ }
49
+ @media screen and (width> = 768px) {
50
+ .select-bar {
51
+ align-items : center;
52
+ }
77
53
}
78
54
79
- .shutter {
80
- position : fixed;
81
- top : 0 ;
82
- left : 0 ;
83
- right : 0 ;
84
- bottom : 0 ;
85
- z-index : 999 ;
86
- display : none;
55
+ select {
56
+ border : 1px solid var (--border-color );
57
+ border-radius : 4px ;
58
+ height : 29px ;
59
+ background : white;
87
60
}
88
61
89
62
input + label {
90
63
margin-left : 5px ;
91
64
}
92
65
93
- .float-rt {
94
- position : absolute;
95
- top : 10px ;
96
- right : 10px ;
97
- }
98
-
99
- .grid {
100
- column-count : 3 ;
101
- }
102
-
103
- .hspan {
104
- display : inline-block;
105
- width : 10px ;
106
- }
107
-
108
66
.panel-body .checkbox {
109
67
margin-top : 5px ;
110
68
margin-bottom : 5px ;
111
69
}
112
70
113
- table .results {
71
+ td {
72
+ text-align : center;
73
+ }
74
+ .results {
75
+ width : 100% ;
76
+ max-width : 100% ;
77
+ }
78
+ .results__table-container {
79
+ overflow-x : scroll;
80
+ }
81
+ .results__table {
114
82
font-size : 11px ;
83
+ width : 100% ;
115
84
table-layout : fixed;
116
- width : 1px ;
117
- overflow : visible;
118
- display : table;
119
- border-spacing : 0 0 ;
85
+ border-spacing : 0 ;
120
86
border-collapse : collapse;
121
87
}
122
- table . results th {
88
+ . results__table th {
123
89
width : 60px ;
124
90
font-weight : normal;
125
91
font-size : 11px ;
92
+ z-index : 9 ;
126
93
text-align : center;
127
94
word-break : normal;
128
95
hyphens : auto;
129
96
-webkit-hyphens : auto;
130
97
}
131
- table . results th .benchname {
98
+ . results__table th .benchname {
132
99
width : 120px ;
133
100
}
134
- table .results td {
135
- padding : 3px ;
136
- border : 1px solid # ddd ;
137
- }
138
- table .results th {
101
+ .results__table th ,
102
+ .results__table td {
139
103
padding : 3px ;
140
104
border : 1px solid # ddd ;
141
105
}
142
- .top1 {
143
- background-color : # 63bf7c ;
144
- }
145
- .top2 {
146
- background-color : # d1d580 ;
147
- }
148
- .top3 {
149
- background-color : # ffec84 ;
150
- }
151
- .top4 {
152
- background-color : # fcaa78 ;
153
- }
154
- .top5 {
155
- background-color : # f9696c ;
156
- }
157
- td {
158
- text-align : center;
106
+ .results__table th : first-child ,
107
+ .results__table td : first-child {
108
+ position : sticky;
109
+ left : 0 ;
110
+ width : 120px ;
111
+ background-color : white;
159
112
}
113
+
160
114
.rowCount {
161
115
font-size : 10px ;
162
116
}
117
+
163
118
.deviation {
164
119
font-size : 8px ;
165
120
padding-left : 5px ;
166
121
}
167
- .deviation : before {
122
+ .deviation :: before {
168
123
content : "± " ;
169
124
}
125
+
170
126
.factor {
171
127
font-size : 8px ;
172
128
}
173
- .sortKey {
129
+
130
+ .sort-key {
174
131
text-decoration : underline;
175
132
}
176
133
@@ -190,44 +147,42 @@ dd {
190
147
padding : 0 ;
191
148
margin : 0 ;
192
149
}
150
+
193
151
.with-issues {
194
152
background-color : # faa ;
195
153
}
196
154
197
- .textButton {
198
- color : rgb (0 , 0 , 238 );
155
+ .button {
156
+ cursor : pointer;
157
+ }
158
+
159
+ .button__text {
160
+ color : # 00e ;
199
161
font-size : inherit;
200
162
border : none;
201
163
background : none;
202
- outline-style : none;
203
- cursor : pointer;
204
164
}
205
165
206
- .iconbutton {
207
- border : 1px solid # ccc ;
166
+ .button__text : disabled {
167
+ color : # 666 ;
168
+ font-weight : normal;
169
+ }
170
+
171
+ .button__icon {
172
+ border : 1px solid var (--border-color );
208
173
border-radius : 4px ;
209
- padding : 2px 2px ;
210
- outline : none;
211
- box-shadow : 0px 0px 2px 2px rgb (0 0 0 / 0% );
174
+ padding : 2px ;
212
175
width : 26px ;
213
176
}
214
- .iconbutton : active {
177
+
178
+ .button__icon : active {
215
179
border : 1px solid # 888 ;
216
180
}
217
- .header-row {
218
- display : flex;
219
- }
220
- .header-row > * {
221
- align-self : center;
222
- }
223
181
224
- button : disabled .textButton {
225
- color : # 666 ;
226
- font-weight : normal;
227
- }
228
182
.error {
229
183
background-color : # f99 ;
230
184
}
185
+
231
186
.warning {
232
187
background-color : # ff6 ;
233
188
}
0 commit comments