@@ -154,15 +154,12 @@ function formatProfile(job: BenchmarkJob): string {
154154 <div class =" table-collector-status-filter-btn-wrapper" >
155155 <template v-for =" filter in FILTERS " >
156156 <button
157- class =" table-collector-status-filter-btn"
157+ :class =" {
158+ active: ACTIVE_FILTERS[filter],
159+ }"
158160 @click =" filterJobByStatus(filter)"
159161 >
160162 {{ formatJobStatus(filter) }}
161- <input
162- type =" checkbox"
163- value =" filter"
164- :checked =" ACTIVE_FILTERS[filter]"
165- />
166163 </button >
167164 </template >
168165 </div >
@@ -262,12 +259,28 @@ $sm-radius: 8px;
262259}
263260
264261.table-collector-status-filter-wrapper {
265- padding : $sm-padding 0 px ;
262+ padding : $sm-padding 0 ;
266263}
267264
268265.table-collector-status-filters {
269266 display : flex ;
270267 flex-direction : column ;
268+
269+ button {
270+ border : 1px solid #333 ;
271+ border-radius : $sm-radius ;
272+ margin-right : $sm-padding ;
273+ padding : 5px 10px ;
274+
275+ & .active {
276+ font-weight : bold ;
277+ border-width : 2px ;
278+ border-color : #1b45e4 ;
279+ }
280+ & :hover {
281+ box-shadow : inset 0 0 2px #1b45e4 ;
282+ }
283+ }
271284}
272285
273286.table-collector-status-filter-btn-wrapper {
@@ -276,20 +289,6 @@ $sm-radius: 8px;
276289 flex-direction : row ;
277290}
278291
279- .table-collector-status-filter-btn {
280- border : 1px solid #333 ;
281- border-radius : $sm-radius ;
282- width : 100% ;
283- margin-right : $sm-padding ;
284- }
285-
286- .table-collector-status-filter-btn :hover {
287- transition : 250ms ;
288- }
289-
290- .status {
291- }
292-
293292.status.benchmarking {
294293 background : #117411 ;
295294 color : white ;
@@ -313,7 +312,7 @@ $sm-radius: 8px;
313312
314313.table-collector-wrapper {
315314 padding : $sm-padding ;
316- margin : $sm-padding 0 px ;
315+ margin : $sm-padding 0 ;
317316 background-color : #eee ;
318317 border-radius : $sm-radius ;
319318
@@ -336,31 +335,18 @@ $sm-radius: 8px;
336335 border-bottom : 1px solid black ;
337336 }
338337
339- .table-header-padding {
340- padding : $sm-padding $sm-padding 0 px $sm-padding ;
341- text-align : left ;
338+ th {
339+ padding : $sm-padding $sm-padding 0 $sm-padding ;
340+ text-align : center ;
342341 }
343342
344- .table-cell-padding {
345- padding : $sm-padding $sm-padding 1px 0 px ;
346- text-align : left ;
343+ td {
344+ padding : 5 px 1px ;
345+ text-align : center ;
347346 }
348347}
349348
350- .collector-no-work {
351- display : flex ;
352- justify-content : center ;
353- align-items : center ;
354- height : 40px ;
355- background-color : #eee ;
356- margin : $sm-padding ;
357- padding : $sm-padding ;
358- border-radius : $sm-radius ;
359-
360- h3 {
361- font-variant : small-caps ;
362- font-weight : 700 ;
363- font-size : 1.5em ;
364- }
349+ .show-jobs {
350+ margin-top : 10px ;
365351}
366352 </style >
0 commit comments