m-ric HF Staff commited on
Commit
f19fba4
·
verified ·
1 Parent(s): 0c4c053

Update frontend/src/App.css

Browse files
Files changed (1) hide show
  1. frontend/src/App.css +145 -74
frontend/src/App.css CHANGED
@@ -1,116 +1,187 @@
1
- .container {
2
- max-width: 1000px;
3
- margin: 0 auto;
4
  padding: 20px;
5
- }
 
6
 
7
- .header {
8
- text-align: center;
9
  margin-bottom: 24px;
10
- }
11
 
12
- .title {
13
- color: #333;
14
  margin-bottom: 8px;
15
- }
16
 
17
- .subtitle {
18
  color: #666;
 
 
 
 
 
 
 
 
 
19
  }
20
 
21
- .search-container {
22
- margin-bottom: 20px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  }
24
 
25
- .search-input {
26
- width: 100%;
27
- padding: 8px 12px;
 
28
  font-size: 14px;
29
- border: 1px solid #ddd;
30
- border-radius: 4px;
31
  }
32
 
33
- .table-container {
34
- background: white;
35
- border-radius: 8px;
36
- box-shadow: 0 1px 3px rgba(0,0,0,0.1);
37
- overflow: hidden;
38
  }
39
 
40
- table {
41
- width: 100%;
42
- border-collapse: collapse;
 
 
 
 
 
 
 
43
  table-layout: fixed;
44
- }
45
 
46
  /* Model name column */
47
- th:first-child,
48
- td:first-child {
49
  width: 25%;
50
- }
51
 
52
  /* Score columns (GAIA, MATH, SimpleQA) */
53
- th:not(:first-child),
54
- td:not(:first-child) {
55
  width: 25%;
56
- }
57
-
58
- th {
59
- text-align: left;
60
- padding: 12px;
61
- border-bottom: 2px solid #eee;
62
- color: #333;
63
- font-weight: 600;
64
  cursor: pointer;
65
- }
66
 
67
- th:hover {
68
  color: #2ecc71;
69
- }
70
 
71
- .sort-indicator {
72
- display: inline-block;
73
- margin-left: 4px;
74
  transition: transform 0.2s ease;
75
- }
76
 
77
- td {
78
- padding: 12px;
79
  border-bottom: 1px solid #eee;
80
- }
81
 
82
- tr:nth-child(even) {
83
  background-color: #f8f9fa;
84
- }
85
 
86
- .model-name {
87
- font-weight: 500;
88
  color: #2c3e50;
 
 
 
 
 
 
89
  }
90
 
91
- .score-bar {
92
- width: 100%;
93
- height: 24px;
94
- background: #eee;
95
- border-radius: 12px;
96
- overflow: hidden;
97
  position: relative;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  }
99
 
100
- .score-fill {
101
- height: 100%;
102
- transition: width 0.3s ease, background-color 0.3s ease;
103
- border-radius: 12px;
104
  }
105
 
106
- .score-text {
107
- position: absolute;
108
- right: 8px;
109
- top: 50%;
110
- transform: translateY(-50%);
111
- color: white;
112
- font-size: 12px;
113
- font-weight: 500;
114
- text-shadow: 0 1px 2px rgba(0,0,0,0.1);
115
- mix-blend-mode: difference;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  }
 
1
+ .container {
2
+ max-width: 1000px;
3
+ margin: 0 auto;
4
  padding: 20px;
5
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
6
+ }
7
 
8
+ .header {
9
+ text-align: center;
10
  margin-bottom: 24px;
11
+ }
12
 
13
+ .title {
14
+ color: #333;
15
  margin-bottom: 8px;
16
+ }
17
 
18
+ .subtitle {
19
  color: #666;
20
+ margin: 5px 0;
21
+ }
22
+
23
+ .filters-container {
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+ justify-content: space-between;
27
+ align-items: center;
28
+ margin-bottom: 20px;
29
  }
30
 
31
+ .search-container {
32
+ flex: 1;
33
+ margin-right: 20px;
34
+ margin-bottom: 10px;
35
+ }
36
+
37
+ .search-input {
38
+ width: 100%;
39
+ padding: 8px 12px;
40
+ font-size: 14px;
41
+ border: 1px solid #ddd;
42
+ border-radius: 4px;
43
+ }
44
+
45
+ .options-container {
46
+ display: flex;
47
+ gap: 20px;
48
  }
49
 
50
+ .option-label {
51
+ display: flex;
52
+ align-items: center;
53
+ cursor: pointer;
54
  font-size: 14px;
55
+ color: #333;
 
56
  }
57
 
58
+ .option-label input {
59
+ margin-right: 8px;
 
 
 
60
  }
61
 
62
+ .table-container {
63
+ background: white;
64
+ border-radius: 8px;
65
+ box-shadow: 0 1px 3px rgba(0,0,0,0.1);
66
+ overflow: hidden;
67
+ }
68
+
69
+ table {
70
+ width: 100%;
71
+ border-collapse: collapse;
72
  table-layout: fixed;
73
+ }
74
 
75
  /* Model name column */
76
+ th:first-child, td:first-child {
 
77
  width: 25%;
78
+ }
79
 
80
  /* Score columns (GAIA, MATH, SimpleQA) */
81
+ th:not(:first-child), td:not(:first-child) {
 
82
  width: 25%;
83
+ }
84
+
85
+ th {
86
+ text-align: left;
87
+ padding: 12px;
88
+ border-bottom: 2px solid #eee;
89
+ color: #333;
90
+ font-weight: 600;
91
  cursor: pointer;
92
+ }
93
 
94
+ th:hover {
95
  color: #2ecc71;
96
+ }
97
 
98
+ .sort-indicator {
99
+ display: inline-block;
100
+ margin-left: 4px;
101
  transition: transform 0.2s ease;
102
+ }
103
 
104
+ td {
105
+ padding: 12px;
106
  border-bottom: 1px solid #eee;
107
+ }
108
 
109
+ tr:nth-child(even) {
110
  background-color: #f8f9fa;
111
+ }
112
 
113
+ .model-name {
114
+ font-weight: 500;
115
  color: #2c3e50;
116
+ }
117
+
118
+ .score-container {
119
+ display: flex;
120
+ flex-direction: column;
121
+ gap: 4px;
122
  }
123
 
124
+ .score-bar {
125
+ width: 100%;
126
+ height: 24px;
127
+ background: #eee;
128
+ border-radius: 12px;
129
+ overflow: hidden;
130
  position: relative;
131
+ }
132
+
133
+ .vanilla-bar {
134
+ height: 14px;
135
+ border-radius: 7px;
136
+ }
137
+
138
+ .score-fill {
139
+ height: 100%;
140
+ transition: width 0.3s ease, background-color 0.3s ease;
141
+ border-radius: inherit;
142
+ }
143
+
144
+ .score-text {
145
+ position: absolute;
146
+ right: 8px;
147
+ top: 50%;
148
+ transform: translateY(-50%);
149
+ color: white;
150
+ font-size: 12px;
151
+ font-weight: 500;
152
+ text-shadow: 0 1px 2px rgba(0,0,0,0.1);
153
+ mix-blend-mode: difference;
154
  }
155
 
156
+ .vanilla-text {
157
+ font-size: 10px;
 
 
158
  }
159
 
160
+ .vanilla-text small {
161
+ font-size: 8px;
162
+ opacity: 0.9;
163
+ }
164
+
165
+ .legend {
166
+ margin-top: 16px;
167
+ text-align: center;
168
+ color: #666;
169
+ font-size: 13px;
170
+ }
171
+
172
+ @media (max-width: 768px) {
173
+ .filters-container {
174
+ flex-direction: column;
175
+ align-items: stretch;
176
+ }
177
+
178
+ .search-container {
179
+ margin-right: 0;
180
+ margin-bottom: 15px;
181
+ }
182
+
183
+ .options-container {
184
+ flex-direction: column;
185
+ gap: 10px;
186
+ }
187
  }