-
Notifications
You must be signed in to change notification settings - Fork 59
/
subtrack-stats.scss
106 lines (91 loc) · 2.07 KB
/
subtrack-stats.scss
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
94
95
96
97
98
99
100
101
102
103
104
105
106
@import 'topcoder-includes';
@import '../partials/combined';
.subtrack-stats {
.ratings {
.tracks {
@include horizontal-scroll;
@media only screen and (min-width: 768px) {
display: none;
}
}
.slide {
&:not(:first-child) {
.track:before {
content: '';
display: block;
position: absolute;
top: 32px;
left: -30px;
@include forward-slash(1px, 60px, 0, 2px, 30deg);
background-color: #D1D3D4;
@media only screen and (min-width: 768px) {
top: 42px;
left: -18px;
}
}
}
}
.track {
position: relative;
display: inline-block;
margin-right: 65px;
padding: 20px 0;
@media only screen and (min-width: 768px) {
width: 130px;
margin-right: 35px;
padding: 30px 20px;
cursor: pointer;
&:hover {
background-color: $gray-lightest;
.subtrack {
color: $gray-darkest;
border-bottom-color: $gray-darkest;
}
p:last-child {
color: $gray-darkest;
}
}
}
&:first-child {
margin-left: 20px;
}
&:last-child {
margin-right: 20px;
}
.flex-wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
p {
@include sofia-pro-regular;
font-size: 12px;
color: $accent-gray;
&:last-child {
text-transform: uppercase;
}
}
.subtrack {
padding-bottom: 7px;
border-bottom: 1px solid #D1D3D4;
}
.rating {
position: relative;
margin-top: 17px;
margin-bottom: 7px;
font-size: 32px;
@media only screen and (max-width: 767px) {
margin-top: 10px;
}
span {
position: absolute;
top: 5px;
right: -10px;
width: 6px;
height: 6px;
background-color: #5E9EF1;
}
}
}
}
}