-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
140 lines (118 loc) · 3.91 KB
/
Copy pathstyles.css
File metadata and controls
140 lines (118 loc) · 3.91 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/**
*
*
*
* OVERRIDES
*
*
*
*/
:root {
--bg: transparent;
--fg: #000;
--semantic-border-base-adaptive-default-fill: #e0e0e0;
--semantic-background-brand-adaptive-soft-fill: #fff;
--font-size: 14px;
--scale-3: 4px;
--scale-4: 8px;
--scale-7: 16px;
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--font-weight-medium: 600;
--font-weight-regular: 400;
}
body {
/* Default background color -- Should be the same as .color__background */
/* Current color: White */
background-color: var(--bg);
/* Default text color -- Should be the same as .color__text */
/* Current color: Black */
color: var(--fg);
/* Default fonts */
font-family: var(--font-family);
}
/* Remove background color of the container, so we can render our own color beneith it in react (Panel) */
.color__background--secondary--dark,
.color__background {
background: transparent;
}
/* Remove padding of the container */
.widget-phasedetail__info {
padding: 0;
}
/* Remove margin of the container (was used for placement between other internal widgets */
.widget-phasedetail__info__completed-info-wrapper__completed-info--leaders-box {
margin-top: 0;
}
/* Remove shadow and padding of the container */
.widget-phasedetail__info__completed-info-wrapper__completed-info {
background-color: var(--semantic-background-brand-adaptive-soft-fill);
border-radius: var(--scale-3);
padding: 0;
border: 1px solid var(--semantic-border-base-adaptive-default-fill);
}
/* Hide title: Leiders (we can't modify the font with variables) */
.widget-phasedetail__info__completed-info-wrapper__completed-info--leaders-box__title {
font-size: var(--font-size);
font-family: var(--font-family);
font-weight: var(--font-weight-medium);
margin-bottom: var(--scale-4);
padding: 0;
min-height: 40px;
align-items: center;
display: flex;
border-bottom: 1px solid var(--semantic-border-base-adaptive-default-fill);
padding: 0 var(--scale-7);
}
.widget-phasedetail__info__completed-info-wrapper__completed-info--leaders-box__result-wrapper {
padding: 0;
}
/* Remove top spacing of jersye, and use */
.widget-phasedetail__info__completed-info-wrapper__completed-info--leaders-box__result-wrapper__result {
margin-top: 0;
}
.widget-phasedetail__info__completed-info-wrapper__completed-info--leaders-box__result-wrapper__result__person-name {
font-size: var(--font-size);
font-weight: var(--font-weight-regular);
font-family: var(--font-family);
}
.widget-phasedetail__info__completed-info-wrapper__completed-info--leaders-box__result-wrapper__result {
margin-top: 0;
padding: var(--scale-4) var(--scale-7);
}
@media screen and (min-width: 700px) {
.widget-phasedetail__info__completed-info-wrapper__completed-info--leaders-box__result-wrapper {
display: flex;
margin-top: 0;
}
.widget-phasedetail__info__completed-info-wrapper--winner-and-leaders {
margin-top: 0;
}
}
.widget-phasedetail__no-additional-information-available-yet {
padding: var(--scale-4) var(--scale-7);
border: 1px solid var(--semantic-border-base-adaptive-default-fill);
border-radius: var(--scale-3);
}
.widget-phasedetail__no-additional-information-available-yet {
display: none;
}
.widget-phasedetail__info__completed-info-wrapper__completed-info--winner-box {
margin-bottom: 20px;
padding: 13px 15px 15px;
}
.widget-phasedetail__info__cycling-road__cycling-profile__svg__intermediate__text {
fill: white;
}
.widget-phasedetail__info__cycling-road__cycling-profile__result--info-block-only--with-results {
background: white;
}
.widget-phasedetail__info__cycling-road__cycling-profile__result__header__intermediate-type__content {
color: white;
}
@media screen and (min-width: 700px) {
.widget-phasedetail__info__completed-info-wrapper__completed-info--winner-box {
margin-bottom: 20px;
padding: 21px 25px 25px;
}
}