File tree 5 files changed +45
-24
lines changed
__tests__/shared/components/Leaderboard/__snapshots__
5 files changed +45
-24
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,11 @@ exports[`Matches shallow shapshot 1`] = `
56
56
>
57
57
<a
58
58
href = " undefined/members/undefined/"
59
+ style = {
60
+ Object {
61
+ " color" : null ,
62
+ }
63
+ }
59
64
target = " _blank"
60
65
/>
61
66
<div
@@ -103,6 +108,11 @@ exports[`Matches shallow shapshot 1`] = `
103
108
>
104
109
<a
105
110
href = " undefined/members/undefined/"
111
+ style = {
112
+ Object {
113
+ " color" : null ,
114
+ }
115
+ }
106
116
target = " _blank"
107
117
/>
108
118
<div
@@ -150,6 +160,11 @@ exports[`Matches shallow shapshot 1`] = `
150
160
>
151
161
<a
152
162
href = " undefined/members/undefined/"
163
+ style = {
164
+ Object {
165
+ " color" : null ,
166
+ }
167
+ }
153
168
target = " _blank"
154
169
/>
155
170
<div
@@ -197,6 +212,11 @@ exports[`Matches shallow shapshot 1`] = `
197
212
>
198
213
<a
199
214
href = " undefined/members/undefined/"
215
+ style = {
216
+ Object {
217
+ " color" : null ,
218
+ }
219
+ }
200
220
target = " _blank"
201
221
/>
202
222
<div
Original file line number Diff line number Diff line change @@ -63,8 +63,6 @@ $light-gray: #d4d4d4;
63
63
img ,
64
64
svg {
65
65
border-radius : 50% ;
66
- border-style : solid ;
67
- border-width : 3px ;
68
66
height : 100% ;
69
67
width : 100% ;
70
68
}
Original file line number Diff line number Diff line change @@ -3,30 +3,32 @@ $podium-border-color: #ededf2;
3
3
4
4
.PodiumSpot {
5
5
border-radius : 6px ;
6
- padding : 23px 25 px ;
6
+ padding : 23px 15 px ;
7
7
display : flex ;
8
8
width : auto ;
9
9
10
10
.leaderboard-avatar {
11
11
display : inline-block ;
12
12
position : relative ;
13
13
margin-bottom : 12px ;
14
- margin-right : 20 px ;
14
+ margin-right : 11 px ;
15
15
overflow : visible ;
16
16
}
17
17
18
18
.ranking {
19
19
@include roboto-black ;
20
20
21
21
border-radius : 20px ;
22
- padding : 4px 9px 3px ;
23
- display : inline-block ;
22
+ display : flex ;
23
+ padding : 0 ;
24
+ align-items : center ;
25
+ justify-content : center ;
24
26
position : absolute ;
25
27
right : 0 ;
26
28
bottom : -10px ;
27
29
font-size : 15px ;
28
- width : 30 px ;
29
- height : 30 px ;
30
+ width : 28 px ;
31
+ height : 28 px ;
30
32
}
31
33
32
34
.winnings-info span {
@@ -93,13 +95,14 @@ $podium-border-color: #ededf2;
93
95
.handle-link ,
94
96
a .profile-link {
95
97
color : #0d61bf ;
96
- font-family : Roboto , sans-serif ;
97
- font-size : 20 px ;
98
- font-weight : 500 ;
98
+ font-family : Barlow , sans-serif ;
99
+ font-size : 16 px ;
100
+ font-weight : 600 ;
99
101
line-height : 24px ;
100
102
text-align : left ;
101
103
text-decoration : underline ;
102
- margin-bottom : 14px ;
104
+ margin-top : 11px ;
105
+ margin-bottom : 13px ;
103
106
104
107
& :hover {
105
108
text-decoration : none ;
@@ -115,35 +118,35 @@ $podium-border-color: #ededf2;
115
118
background-color : #f4f4f4 ;
116
119
117
120
.ranking {
118
- background-color : #ffd84c ;
119
- color : #2a2a2a ;
121
+ background-color : #ffd84d ;
122
+ color : #fff ;
120
123
}
121
124
}
122
125
123
126
.PodiumSpot--second {
124
127
background-color : #f4f4f4 ;
125
128
126
129
.ranking {
127
- background-color : #716d66 ;
128
- color : #2a2a2a ;
130
+ background-color : #746b65 ;
131
+ color : #fff ;
129
132
}
130
133
}
131
134
132
135
.PodiumSpot--third {
133
136
background-color : #f4f4f4 ;
134
137
135
138
.ranking {
136
- background-color : #844d29 ;
137
- color : #2a2a2a ;
139
+ background-color : #854e29 ;
140
+ color : #fff ;
138
141
}
139
142
}
140
143
141
144
.PodiumSpot--fourth {
142
145
background-color : #f4f4f4 ;
143
146
144
147
.ranking {
145
- background-color : #844d29 ;
146
- color : #2a2a2a ;
148
+ background-color : #1e94a3 ;
149
+ color : #fff ;
147
150
}
148
151
}
149
152
@@ -154,7 +157,7 @@ $podium-border-color: #ededf2;
154
157
margin-top : 0 ;
155
158
156
159
.leaderboard-avatar {
157
- height : 110 px ;
158
- width : 110 px ;
160
+ height : 79 px ;
161
+ width : 79 px ;
159
162
}
160
163
}
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export const RATING_COLORS = [{
112
112
color : '#616BD5' /* Blue */ ,
113
113
limit : 1500 ,
114
114
} , {
115
- color : '#FCD617 ' /* Yellow */ ,
115
+ color : '#F2C900 ' /* Yellow */ ,
116
116
limit : 2200 ,
117
117
} , {
118
118
color : '#EF3A3A' /* Red */ ,
You can’t perform that action at this time.
0 commit comments