|
1 | 1 | .leaderboard { |
2 | 2 | font-size: 1rem; |
3 | | -} /*1rem = 16px*/ |
| 3 | +} |
4 | 4 |
|
5 | 5 | .my-custom-scrollbar { |
6 | 6 | overflow-y: auto; |
7 | 7 | margin-bottom: 1rem; |
8 | 8 | } |
9 | 9 |
|
10 | | -.leaderboard thead th { |
11 | | - top: 0; |
12 | | - border-top: 10px solid #dee2e6; |
13 | | - border-top-width: 1px; |
14 | | - border-top-style: solid; |
15 | | - border-top-color: rgb(222, 226, 230); |
16 | | -} |
17 | | - |
18 | | -.leaderboard tbody tr td, |
19 | | -.leaderboard thead tr th { |
20 | | - text-align: left !important; |
21 | | -} |
22 | | - |
23 | 10 | .dark-leaderboard-row { |
24 | 11 | background-color: #3a506b; |
25 | 12 | color: white; |
|
29 | 16 | background-color: #3a506b; |
30 | 17 | color: white; |
31 | 18 | } |
| 19 | + |
32 | 20 | .dark-leaderboard-row:hover { |
33 | 21 | background-color: #111831; |
34 | 22 | } |
|
38 | 26 | color: black; |
39 | 27 | display: table-row; |
40 | 28 | } |
| 29 | + |
41 | 30 | .light-leaderboard-row th { |
42 | 31 | background-color: white; |
43 | 32 | color: black; |
|
47 | 36 | background-color: #f0f8ff; |
48 | 37 | } |
49 | 38 |
|
| 39 | +.table-fixed tbody td { |
| 40 | + white-space: normal; /* Allow text wrapping within cells */ |
| 41 | +} |
| 42 | + |
| 43 | +.table-fixed { |
| 44 | + font-size: 0.93rem; |
| 45 | + overflow-wrap: break-word; |
| 46 | +} |
| 47 | + |
| 48 | +.leaderboard thead th { |
| 49 | + top: 0; |
| 50 | + border-top: 1px solid rgb(222 226 230); |
| 51 | +} |
| 52 | + |
| 53 | +.leaderboard tbody tr td, |
| 54 | +.leaderboard thead tr th { |
| 55 | + text-align: left !important; |
| 56 | +} |
| 57 | + |
50 | 58 |
|
51 | 59 | /* Small devices (landscape phones, 544px and up) */ |
52 | | -@media (max-width: 544px) { |
| 60 | +@media (545px <= width <= 1119px) { |
53 | 61 | .leaderboard { |
54 | 62 | font-size: 0.7rem; |
55 | | - } /*1rem = 16px*/ |
| 63 | + } |
56 | 64 |
|
57 | 65 | .my-custom-scrollbar { |
58 | 66 | max-height: 500px; |
59 | | - overflow: scroll; |
| 67 | + overflow: auto; |
60 | 68 | margin-bottom: 1rem; |
61 | 69 | } |
62 | 70 |
|
63 | 71 | .leaderboard thead th { |
| 72 | + white-space: nowrap; |
64 | 73 | top: 0; |
65 | | - border-top: 10px solid #dee2e6; |
66 | | - border-top-width: 1px; |
67 | | - border-top-style: solid; |
68 | | - border-top-color: rgb(222, 226, 230); |
| 74 | + border-top: 1px solid rgb(222 226 230); |
69 | 75 | } |
70 | 76 | } |
| 77 | + |
71 | 78 | .row { |
72 | 79 | width: 97%; |
73 | 80 | } |
74 | 81 |
|
75 | | -.table-fixed tbody td { |
76 | | - white-space: normal; /* Allow text wrapping within cells */ |
77 | | -} |
78 | | - |
79 | | -.table-fixed { |
80 | | - font-size: 0.93rem; |
81 | | - word-break: break-word; |
82 | | -} |
83 | | - |
84 | | -.animation { |
85 | | - animation: l-animation 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; |
86 | | -} |
87 | 82 | @keyframes l-animation { |
88 | 83 | 0% { |
89 | 84 | transform: rotate(0deg); |
90 | 85 | } |
| 86 | + |
91 | 87 | 100% { |
92 | 88 | transform: rotate(360deg); |
93 | 89 | } |
94 | 90 | } |
95 | 91 |
|
| 92 | +.animation { |
| 93 | + animation: l-animation 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; |
| 94 | +} |
| 95 | + |
96 | 96 | .leaderboardTotalsTitle { |
97 | 97 | color: #339cff; |
98 | 98 | font-weight: bold; |
|
103 | 103 | flex-direction: column; |
104 | 104 | } |
105 | 105 |
|
106 | | -@media screen and (max-width: 544px) { |
| 106 | +@media (width <= 980px) { |
107 | 107 | .responsive-font-size { |
108 | | - font-size: 0.75rem !important; |
| 108 | + font-size: 0.5rem !important; |
109 | 109 | } |
110 | 110 | } |
111 | 111 |
|
112 | | - |
113 | 112 | .leaderboard.abbreviated-mode thead th { |
114 | 113 | font-size: 0.75rem; |
115 | 114 | white-space: nowrap; |
|
120 | 119 | padding: 0.5rem 0.3rem; |
121 | 120 | vertical-align: middle; |
122 | 121 | } |
| 122 | + |
123 | 123 | .trophyTextWhite { |
124 | 124 | color: #fff; |
125 | 125 | } |
0 commit comments