/
beatmapset-score.less
93 lines (77 loc) · 1.76 KB
/
beatmapset-score.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/**
* Copyright 2015-2017 ppy Pty. Ltd.
*
* This file is part of osu!web. osu!web is distributed with the hope of
* attracting more community contributions to the core ecosystem of osu!.
*
* osu!web is free software: you can redistribute it and/or modify
* it under the terms of the Affero GNU General Public License version 3
* as published by the Free Software Foundation.
*
* osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with osu!web. If not, see <http://www.gnu.org/licenses/>.
*/
.beatmapset-score {
display: flex;
align-items: center;
padding: 5px 20px;
&:hover {
.default-border-radius;
background-color: #eee;
}
&__element {
font-size: 14px;
font-style: italic;
&--position {
width: 50px;
font-style: italic;
}
&--flag {
height: 20px;
width: 40px;
}
&--player {
flex: 1;
font-weight: 600;
color: @blue-text;
overflow: hidden;
min-width: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
&--mods {
padding-right: 10px;
}
&--rank {
width: 30px;
align-self: stretch;
margin-right: 10px;
}
}
&__stat {
font-size: 14px;
font-style: italic;
color: @purple-dark;
text-align: right;
&--score {
width: 120px;
font-weight: 600;
}
&--accuracy {
width: 90px;
}
&--combo {
width: 60px;
}
&--hits {
width: 160px;
}
&--miss {
width: 80px;
}
}
}