|
4 | 4 | position: relative; |
5 | 5 | display: grid; |
6 | 6 | width: 100%; |
7 | | - padding: 14px @team-space-3; |
| 7 | + padding: 18px @team-space-4; |
8 | 8 | border: 1px solid @team-border; |
9 | 9 | border-radius: @team-radius-control; |
10 | 10 | background: @team-surface; |
11 | 11 | box-shadow: @team-shadow-xs; |
12 | 12 | box-sizing: border-box; |
13 | | - grid-template-columns: minmax(250px, 0.9fr) minmax(500px, 1.55fr) auto; |
14 | | - grid-template-areas: "summary content action"; |
15 | | - gap: @team-space-3; |
| 13 | + grid-template-columns: minmax(0, 1fr) auto; |
| 14 | + grid-template-areas: |
| 15 | + "summary action" |
| 16 | + "content content"; |
| 17 | + gap: 14px @team-space-4; |
16 | 18 | transition: |
17 | 19 | border-color @team-duration-fast @team-ease-standard, |
18 | 20 | box-shadow @team-duration-fast @team-ease-standard, |
|
36 | 38 | .u-battle-summary { |
37 | 39 | display: flex; |
38 | 40 | min-width: 0; |
39 | | - align-items: center; |
| 41 | + align-items: flex-start; |
40 | 42 | grid-area: summary; |
41 | 43 | gap: @team-space-2; |
42 | 44 | } |
43 | 45 |
|
44 | 46 | .u-team-logo { |
45 | | - width: 58px; |
46 | | - height: 58px; |
| 47 | + width: 64px; |
| 48 | + height: 64px; |
47 | 49 | flex: none; |
48 | 50 | border: 1px solid @team-border-light; |
49 | 51 | border-radius: 11px; |
|
88 | 90 | text-transform: uppercase; |
89 | 91 | } |
90 | 92 |
|
| 93 | + .u-detail-toggle { |
| 94 | + margin: 0; |
| 95 | + } |
| 96 | + |
91 | 97 | .u-battle-badges { |
92 | 98 | display: flex; |
93 | 99 | flex-wrap: wrap; |
|
115 | 121 | } |
116 | 122 | } |
117 | 123 |
|
118 | | - .u-battle-meta { |
119 | | - display: flex; |
120 | | - flex-wrap: wrap; |
121 | | - align-items: center; |
122 | | - margin: 6px 0 0; |
123 | | - gap: 4px 14px; |
124 | | - |
125 | | - > div { |
126 | | - display: inline-flex; |
127 | | - min-width: 0; |
128 | | - align-items: center; |
129 | | - gap: 5px; |
130 | | - } |
131 | | - |
132 | | - dt, |
133 | | - dd { |
134 | | - margin: 0; |
135 | | - } |
136 | | - |
137 | | - dd { |
138 | | - overflow: hidden; |
139 | | - color: @team-text-secondary; |
140 | | - font-size: 12px; |
141 | | - font-weight: 400; |
142 | | - line-height: 18px; |
143 | | - text-overflow: ellipsis; |
144 | | - white-space: nowrap; |
145 | | - } |
146 | | - } |
147 | | - |
148 | 124 | .u-battle-content { |
149 | 125 | display: grid; |
150 | 126 | min-width: 0; |
151 | | - padding-left: @team-space-3; |
152 | | - border-left: 1px solid @team-border-light; |
| 127 | + padding-top: 14px; |
| 128 | + border-top: 1px solid @team-border-light; |
153 | 129 | grid-area: content; |
154 | | - grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.8fr); |
155 | | - gap: @team-space-3; |
| 130 | + grid-template-columns: minmax(0, 720px) minmax(0, 660px); |
| 131 | + justify-content: space-between; |
| 132 | + gap: 32px; |
156 | 133 | } |
157 | 134 |
|
158 | 135 | .u-team-setting, |
|
162 | 139 | flex-direction: column; |
163 | 140 |
|
164 | 141 | h3 { |
165 | | - margin: 0 0 6px; |
| 142 | + margin: 0 0 8px; |
166 | 143 | font-size: 11px; |
167 | 144 | line-height: 14px; |
168 | 145 | white-space: nowrap; |
|
177 | 154 | display: grid; |
178 | 155 | margin: 0; |
179 | 156 | grid-template-columns: repeat(3, minmax(0, 1fr)); |
180 | | - gap: @team-space-2; |
| 157 | + gap: 6px; |
181 | 158 |
|
182 | 159 | > div { |
183 | 160 | min-width: 0; |
184 | | - height: 50px; |
185 | | - padding: 6px 10px; |
186 | | - border: 1px solid transparent; |
187 | | - border-radius: 8px; |
| 161 | + height: 54px; |
| 162 | + padding: 8px 11px; |
| 163 | + border: 1px solid @team-border-light; |
| 164 | + border-radius: 9px; |
188 | 165 | background: @team-surface-muted; |
189 | 166 | box-sizing: border-box; |
190 | 167 | } |
|
196 | 173 | } |
197 | 174 |
|
198 | 175 | dt { |
199 | | - font-weight: 500; |
| 176 | + font-weight: 400; |
200 | 177 | } |
201 | 178 |
|
202 | 179 | dd { |
|
206 | 183 | margin-top: 1px; |
207 | 184 | overflow: hidden; |
208 | 185 | color: @team-text-regular; |
209 | | - font-size: 13px; |
| 186 | + font-size: 12px; |
210 | 187 | font-weight: 500; |
211 | | - line-height: 18px; |
| 188 | + line-height: 1.8; |
212 | 189 | text-overflow: ellipsis; |
213 | 190 | white-space: nowrap; |
214 | 191 | gap: 6px; |
|
231 | 208 | .u-battle-link { |
232 | 209 | display: grid; |
233 | 210 | min-width: 0; |
234 | | - height: 50px; |
| 211 | + height: 54px; |
235 | 212 | align-content: center; |
236 | | - padding: 5px 9px; |
| 213 | + padding: 8px 11px; |
237 | 214 | border: 1px solid @team-border-light; |
238 | | - border-radius: 8px; |
239 | | - background: @team-surface; |
| 215 | + border-radius: 9px; |
| 216 | + background: @team-surface-muted; |
240 | 217 | box-sizing: border-box; |
241 | 218 | gap: 1px; |
242 | 219 |
|
243 | 220 | > span { |
244 | 221 | color: @team-text-muted; |
245 | 222 | font-size: 12px; |
246 | | - font-weight: 500; |
| 223 | + font-weight: 400; |
247 | 224 | line-height: 18px; |
248 | 225 | white-space: nowrap; |
249 | 226 | } |
250 | 227 |
|
251 | 228 | em, |
252 | 229 | .u-link { |
253 | 230 | overflow: hidden; |
254 | | - font-size: 13px; |
| 231 | + font-size: 12px; |
255 | 232 | font-style: normal; |
256 | 233 | font-weight: 500; |
257 | 234 | line-height: 18px; |
|
275 | 252 |
|
276 | 253 | .u-team-op { |
277 | 254 | display: flex; |
278 | | - align-items: center; |
279 | | - padding-top: 12px; |
| 255 | + align-items: flex-start; |
280 | 256 | box-sizing: border-box; |
281 | 257 | grid-area: action; |
| 258 | + gap: @team-space-2; |
282 | 259 |
|
283 | 260 | .el-button { |
284 | | - min-height: 36px; |
| 261 | + display: inline-flex; |
| 262 | + min-width: 108px; |
| 263 | + min-height: 38px; |
| 264 | + align-items: center; |
| 265 | + justify-content: center; |
285 | 266 | margin: 0; |
286 | | - padding: 7px 13px; |
287 | | - border-color: @team-primary; |
| 267 | + padding: 8px 15px; |
288 | 268 | border-radius: 10px; |
289 | | - background: @team-primary; |
| 269 | + font-size: 13px; |
290 | 270 | font-weight: 600; |
291 | | - box-shadow: 0 4px 10px rgba(91, 92, 245, 0.16); |
| 271 | + line-height: 20px; |
| 272 | + |
| 273 | + .el-icon { |
| 274 | + width: 16px; |
| 275 | + height: 16px; |
| 276 | + margin: 0; |
| 277 | + font-size: 16px; |
| 278 | + } |
| 279 | + |
| 280 | + } |
| 281 | + |
| 282 | + .u-bind-battle { |
| 283 | + border-color: @team-primary; |
| 284 | + background: @team-primary; |
| 285 | + box-shadow: 0 5px 12px rgba(91, 92, 245, 0.2); |
292 | 286 |
|
293 | 287 | &:hover, |
294 | 288 | &:focus { |
|
301 | 295 |
|
302 | 296 | @media screen and (max-width: 1240px) { |
303 | 297 | .u-battle-team { |
304 | | - grid-template-columns: minmax(0, 1fr) auto; |
305 | | - grid-template-areas: |
306 | | - "summary action" |
307 | | - "content content"; |
308 | | - |
309 | 298 | .u-battle-content { |
310 | | - padding-top: @team-space-2; |
311 | | - padding-left: 0; |
312 | | - border-top: 1px solid @team-border-light; |
313 | | - border-left: 0; |
314 | | - grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.8fr); |
315 | | - } |
316 | | - |
317 | | - .u-team-op { |
318 | | - padding-top: 0; |
| 299 | + grid-template-columns: minmax(0, 1fr); |
| 300 | + justify-content: stretch; |
319 | 301 | } |
320 | 302 | } |
321 | 303 | } |
|
333 | 315 | gap: @team-space-3; |
334 | 316 | } |
335 | 317 |
|
| 318 | + .u-battle-fields { |
| 319 | + grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 320 | + gap: @team-space-2; |
| 321 | + |
| 322 | + > div, |
| 323 | + > div:first-child { |
| 324 | + padding: 6px 10px; |
| 325 | + border: 1px solid @team-border-light; |
| 326 | + border-radius: 8px; |
| 327 | + background: @team-surface-muted; |
| 328 | + } |
| 329 | + } |
| 330 | + |
336 | 331 | .u-battle-data { |
337 | 332 | min-width: 0; |
338 | 333 | } |
339 | 334 |
|
340 | 335 | .u-team-op { |
| 336 | + .u-detail-toggle, |
341 | 337 | .el-button { |
342 | | - width: 100%; |
| 338 | + flex: 1; |
343 | 339 | } |
344 | 340 | } |
345 | 341 | } |
|
374 | 370 | line-height: 24px; |
375 | 371 | white-space: normal; |
376 | 372 | } |
| 373 | + |
| 374 | + .u-detail-toggle { |
| 375 | + margin-top: 4px; |
| 376 | + } |
377 | 377 | } |
378 | 378 |
|
379 | 379 | .u-team-status > span { |
|
0 commit comments