@playpilot/tpi 5.24.4 → 5.25.0-beta.theme.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/link-injections.js +8 -8
- package/package.json +1 -1
- package/src/lib/scss/_functions.scss +17 -0
- package/src/lib/scss/_theme.scss +38 -0
- package/src/lib/scss/global.scss +7 -1
- package/src/routes/+page.svelte +0 -1
- package/src/routes/components/Ads/Disclaimer.svelte +7 -7
- package/src/routes/components/Ads/Display.svelte +7 -7
- package/src/routes/components/Ads/TopScroll.svelte +14 -14
- package/src/routes/components/ContextMenu.svelte +2 -2
- package/src/routes/components/Debugger.svelte +7 -7
- package/src/routes/components/Description.svelte +2 -2
- package/src/routes/components/Editorial/AIIndicator.svelte +13 -13
- package/src/routes/components/Editorial/Alert.svelte +5 -5
- package/src/routes/components/Editorial/DragHandle.svelte +1 -1
- package/src/routes/components/Editorial/Editor.svelte +24 -17
- package/src/routes/components/Editorial/EditorItem.svelte +14 -14
- package/src/routes/components/Editorial/EditorTrigger.svelte +3 -3
- package/src/routes/components/Editorial/ManualInjection.svelte +6 -6
- package/src/routes/components/Editorial/PlaylinkTypeSelect.svelte +8 -8
- package/src/routes/components/Editorial/ReportIssueModal.svelte +13 -13
- package/src/routes/components/Editorial/ResizeHandle.svelte +1 -1
- package/src/routes/components/Editorial/Search/TitleSearch.svelte +3 -3
- package/src/routes/components/Editorial/Search/TitleSearchItem.svelte +7 -7
- package/src/routes/components/Editorial/Session.svelte +2 -2
- package/src/routes/components/Editorial/Switch.svelte +5 -5
- package/src/routes/components/Editorial/TextInput.svelte +5 -5
- package/src/routes/components/Genres.svelte +8 -8
- package/src/routes/components/ListTitle.svelte +18 -18
- package/src/routes/components/Modal.svelte +10 -10
- package/src/routes/components/Participant.svelte +20 -20
- package/src/routes/components/Playlinks/AfterArticlePlaylinks.svelte +13 -13
- package/src/routes/components/Playlinks/Playlink.svelte +26 -26
- package/src/routes/components/Playlinks/PlaylinkIcon.svelte +5 -5
- package/src/routes/components/Playlinks/PlaylinkLabel.svelte +5 -5
- package/src/routes/components/Playlinks/Playlinks.svelte +13 -13
- package/src/routes/components/Popover.svelte +5 -5
- package/src/routes/components/Rails/ParticipantsRail.svelte +6 -5
- package/src/routes/components/Rails/Rail.svelte +4 -4
- package/src/routes/components/Rails/TitlesRail.svelte +5 -5
- package/src/routes/components/RoundButton.svelte +4 -4
- package/src/routes/components/Share.svelte +11 -11
- package/src/routes/components/SkeletonText.svelte +2 -2
- package/src/routes/components/SwipeHandle.svelte +4 -4
- package/src/routes/components/Tabs.svelte +5 -5
- package/src/routes/components/Title.svelte +17 -17
- package/src/routes/components/TitlePoster.svelte +1 -1
- package/src/routes/components/Tooltip.svelte +4 -4
- package/src/routes/elements/+page.svelte +0 -1
- package/src/lib/scss/variables.scss +0 -24
package/package.json
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:string";
|
|
3
|
+
@use "sass:meta";
|
|
4
|
+
|
|
1
5
|
@function margin($value) {
|
|
2
6
|
@return 16px * $value;
|
|
3
7
|
}
|
|
8
|
+
|
|
9
|
+
@function theme($scope, $fallback: "") {
|
|
10
|
+
// If the given fallback value is a string we use a variable, if it's not, we use the value straight up.
|
|
11
|
+
// In some cases you might need use a quoted string to get a variable. `"green"` vs `green`.
|
|
12
|
+
// If the fallback value is not given at all we assume it's meant to be a variable straight up without fallback.
|
|
13
|
+
@if $fallback == "" {
|
|
14
|
+
@return var(--playpilot-#{$scope});
|
|
15
|
+
} @if meta.type-of($fallback) == "string" {
|
|
16
|
+
@return var(--playpilot-#{$scope}, var(--playpilot-#{$fallback}));
|
|
17
|
+
} @else {
|
|
18
|
+
@return var(--playpilot-#{$scope}, $fallback);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use "./_functions.scss" as *;
|
|
2
|
+
|
|
3
|
+
$variables: (
|
|
4
|
+
// Colors
|
|
5
|
+
"primary": #fa548a,
|
|
6
|
+
"dark": #101426,
|
|
7
|
+
"light": #1b2743,
|
|
8
|
+
"lighter": #233257,
|
|
9
|
+
"content": #354367,
|
|
10
|
+
"content-light": #4b5b82,
|
|
11
|
+
"green": #53bca0,
|
|
12
|
+
"error": #ea5a5a,
|
|
13
|
+
"error-dark": #442533,
|
|
14
|
+
"warning": #f7c74e,
|
|
15
|
+
"warning-dark": #413c23,
|
|
16
|
+
"text-color": #fff,
|
|
17
|
+
"text-color-alt": #c8d4de,
|
|
18
|
+
|
|
19
|
+
// Sizing
|
|
20
|
+
"border-radius-small": margin(0.25),
|
|
21
|
+
"border-radius": margin(0.5),
|
|
22
|
+
"border-radius-large": margin(1),
|
|
23
|
+
|
|
24
|
+
// Fonts
|
|
25
|
+
"font-family": #{"Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif},
|
|
26
|
+
"font-size-small": 12px,
|
|
27
|
+
"font-size-base": 14px,
|
|
28
|
+
"font-size-large": 16px,
|
|
29
|
+
"font-bold": 500,
|
|
30
|
+
|
|
31
|
+
// Other
|
|
32
|
+
"shadow": #{margin(0.2) margin(0.15) margin(0.15) rgba(0, 0, 0, 0.2)},
|
|
33
|
+
"shadow-large": #{
|
|
34
|
+
margin(0.15) margin(0.15) margin(0.2) rgba(0, 0, 0, 0.05),
|
|
35
|
+
margin(0.2) margin(0.35) margin(0.35) rgba(0, 0, 0, 0.1),
|
|
36
|
+
margin(0.1) margin(0.1) margin(0.75) rgba(0, 0, 0, 0.25),
|
|
37
|
+
}
|
|
38
|
+
);
|
package/src/lib/scss/global.scss
CHANGED
package/src/routes/+page.svelte
CHANGED
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
display: flex;
|
|
34
34
|
align-items: center;
|
|
35
35
|
justify-content: center;
|
|
36
|
-
border:
|
|
36
|
+
border: theme(disclaimer-border, 2px solid rgba(255, 255, 255, 0.5));
|
|
37
37
|
padding: margin(0.25);
|
|
38
38
|
height: margin(1.25);
|
|
39
39
|
width: margin(1.25);
|
|
40
40
|
border-radius: 99px;
|
|
41
|
-
color:
|
|
41
|
+
color: theme(disclaimer-text-color, text-color-alt);
|
|
42
42
|
font-weight: bold;
|
|
43
43
|
line-height: 1;
|
|
44
44
|
|
|
45
45
|
&:hover {
|
|
46
|
-
border-color:
|
|
47
|
-
color:
|
|
46
|
+
border-color: theme(disclaimer-hover-border-color, text-color);
|
|
47
|
+
color: theme(disclaimer-hover-text-color, text-color);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&.small {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
padding: margin(0.25);
|
|
62
62
|
background: transparent;
|
|
63
63
|
border: 0;
|
|
64
|
-
color:
|
|
64
|
+
color: theme(disclaimer-tooltip-text-color, text-color);
|
|
65
65
|
cursor: pointer;
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
width: calc(var(--width, 15rem) * 0.8);
|
|
75
75
|
padding: margin(0.5);
|
|
76
76
|
border-radius: margin(0.5);
|
|
77
|
-
background:
|
|
78
|
-
box-shadow:
|
|
77
|
+
background: theme(disclaimer-tooltip-background, content);
|
|
78
|
+
box-shadow: theme(shadow);
|
|
79
79
|
font-size: 12px;
|
|
80
80
|
line-height: 1.1;
|
|
81
81
|
text-align: right;
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
.display {
|
|
86
86
|
display: block;
|
|
87
87
|
position: relative;
|
|
88
|
-
border-radius:
|
|
88
|
+
border-radius: theme(display-ad-border-radius, border-radius);
|
|
89
89
|
overflow: hidden;
|
|
90
90
|
background: black;
|
|
91
91
|
aspect-ratio: 16 / 9;
|
|
92
92
|
color: white !important;
|
|
93
93
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
|
|
94
|
-
font-family:
|
|
94
|
+
font-family: theme(detail-font-family, font-family);
|
|
95
95
|
line-height: 1.2;
|
|
96
96
|
font-style: normal !important;
|
|
97
97
|
}
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.logo {
|
|
140
|
-
border-radius:
|
|
140
|
+
border-radius: theme(display-ad-border-radius, border-radius);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.name {
|
|
@@ -151,12 +151,12 @@
|
|
|
151
151
|
.action {
|
|
152
152
|
margin-left: auto;
|
|
153
153
|
padding: margin(0.5) margin(0.75);
|
|
154
|
-
background:
|
|
155
|
-
border-radius:
|
|
154
|
+
background: theme(display-ad-action-background, white);
|
|
155
|
+
border-radius: theme(display-action-border-radius, margin(2));
|
|
156
156
|
transition: transform 50ms;
|
|
157
157
|
text-shadow: none;
|
|
158
|
-
font-weight:
|
|
159
|
-
color:
|
|
158
|
+
font-weight: theme(display-action-font-weight, 500);
|
|
159
|
+
color: theme(display-action-text-color, black);
|
|
160
160
|
white-space: nowrap;
|
|
161
161
|
|
|
162
162
|
&:hover {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</a>
|
|
76
76
|
|
|
77
77
|
<style lang="scss">
|
|
78
|
-
$border-radius-size:
|
|
78
|
+
$border-radius-size: theme(top-scroll-border-radius, border-radius-large);
|
|
79
79
|
|
|
80
80
|
.top-scroll {
|
|
81
81
|
position: relative;
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
width: 100%;
|
|
84
84
|
border-radius: $border-radius-size;
|
|
85
85
|
background: black;
|
|
86
|
-
color:
|
|
87
|
-
font-family:
|
|
88
|
-
font-size:
|
|
86
|
+
color: theme(top-scroll-text-color, white);
|
|
87
|
+
font-family: theme(top-scroll-font-family, font-family);
|
|
88
|
+
font-size: theme(top-scroll-font-size, font-size-base);
|
|
89
89
|
text-decoration: none;
|
|
90
90
|
line-height: 1.35;
|
|
91
91
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
min-height: margin(4.5);
|
|
104
104
|
padding: margin(0.25) margin(0.5);
|
|
105
105
|
gap: margin(0.5);
|
|
106
|
-
color:
|
|
106
|
+
color: theme(top-scroll-text-color, white);
|
|
107
107
|
|
|
108
108
|
.simple & {
|
|
109
109
|
justify-content: center;
|
|
@@ -113,35 +113,35 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.logo {
|
|
116
|
-
border-radius:
|
|
116
|
+
border-radius: theme(top-scroll-logo-border-radius, border-radius);
|
|
117
117
|
background: black;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.tagline {
|
|
121
121
|
margin: 0;
|
|
122
|
-
text-shadow:
|
|
122
|
+
text-shadow: theme(shadow);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.button {
|
|
126
126
|
margin-left: auto;
|
|
127
127
|
margin-right: margin(1);
|
|
128
128
|
padding: margin(0.25) margin(0.5);
|
|
129
|
-
background:
|
|
129
|
+
background: theme(top-scroll-button-background, white);
|
|
130
130
|
border: 0;
|
|
131
|
-
border-radius:
|
|
132
|
-
box-shadow:
|
|
133
|
-
color:
|
|
131
|
+
border-radius: theme(top-scroll-button-border-radius, border-radius-small);
|
|
132
|
+
box-shadow: theme(shadow);
|
|
133
|
+
color: theme(top-scroll-button-text-color, black);
|
|
134
134
|
font-family: inherit;
|
|
135
135
|
font-size: inherit;
|
|
136
136
|
line-height: inherit;
|
|
137
137
|
|
|
138
138
|
&:hover {
|
|
139
|
-
outline: margin(0.25) solid
|
|
140
|
-
background:
|
|
139
|
+
outline: margin(0.25) solid theme(top-scroll-button-background, rgba(white, 0.35));
|
|
140
|
+
background: theme(top-scroll-button-background, white);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
&:active {
|
|
144
|
-
background:
|
|
144
|
+
background: theme(top-scroll-button-background, white);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
border: 0;
|
|
47
47
|
border-radius: margin(0.25);
|
|
48
48
|
background: transparent;
|
|
49
|
-
color:
|
|
49
|
+
color: theme(text-color-alt);
|
|
50
50
|
|
|
51
51
|
&:hover {
|
|
52
52
|
cursor: pointer;
|
|
@@ -65,6 +65,6 @@
|
|
|
65
65
|
right: 0;
|
|
66
66
|
max-width: margin(15);
|
|
67
67
|
border-radius: margin(0.5);
|
|
68
|
-
background:
|
|
68
|
+
background: theme(lighter);
|
|
69
69
|
}
|
|
70
70
|
</style>
|
|
@@ -122,26 +122,26 @@
|
|
|
122
122
|
|
|
123
123
|
<style lang="scss">
|
|
124
124
|
summary {
|
|
125
|
-
color:
|
|
125
|
+
color: theme(primary);
|
|
126
126
|
font-weight: bold;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
hr {
|
|
130
|
-
border-color:
|
|
130
|
+
border-color: theme(primary);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
button {
|
|
134
134
|
cursor: pointer;
|
|
135
135
|
padding: margin(0.5);
|
|
136
|
-
border: 1px solid
|
|
136
|
+
border: 1px solid theme(primary);
|
|
137
137
|
background: transparent;
|
|
138
|
-
color:
|
|
138
|
+
color: theme(primary);
|
|
139
139
|
font-family: inherit;
|
|
140
140
|
font-weight: bold;
|
|
141
141
|
|
|
142
142
|
&:hover {
|
|
143
143
|
color: black;
|
|
144
|
-
background:
|
|
144
|
+
background: theme(primary);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -153,12 +153,12 @@
|
|
|
153
153
|
max-width: 70dvw;
|
|
154
154
|
max-height: 50dvh;
|
|
155
155
|
padding: margin(1);
|
|
156
|
-
border: 1px solid
|
|
156
|
+
border: 1px solid theme(primary);
|
|
157
157
|
background: black;
|
|
158
158
|
overflow: auto;
|
|
159
159
|
color: white;
|
|
160
160
|
font-family: "Consolas", monospace;
|
|
161
|
-
color:
|
|
161
|
+
color: theme(primary);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.item {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
padding: 0;
|
|
39
39
|
background: transparent;
|
|
40
40
|
border: 0;
|
|
41
|
-
color:
|
|
42
|
-
font-weight:
|
|
41
|
+
color: theme(read-more-text-color, text-color-alt);
|
|
42
|
+
font-weight: theme(read-more-font-weight, inherit);
|
|
43
43
|
font-family: inherit;
|
|
44
44
|
font-size: inherit;
|
|
45
45
|
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
position: relative;
|
|
88
88
|
display: flex;
|
|
89
89
|
gap: margin(0.5);
|
|
90
|
-
background:
|
|
90
|
+
background: theme(light);
|
|
91
91
|
padding: margin(0.5);
|
|
92
92
|
margin: 2px;
|
|
93
93
|
border-radius: 0.5rem;
|
|
94
94
|
font-size: 12px;
|
|
95
95
|
line-height: 1.5;
|
|
96
96
|
z-index: 1;
|
|
97
|
-
color:
|
|
97
|
+
color: theme(text-color-alt);
|
|
98
98
|
overflow: hidden;
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.icon {
|
|
108
|
-
color:
|
|
108
|
+
color: theme(green);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.border {
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
bottom: 0;
|
|
116
116
|
left: 0;
|
|
117
117
|
border-radius: 0.5rem;
|
|
118
|
-
background:
|
|
118
|
+
background: theme(green);
|
|
119
119
|
overflow: hidden;
|
|
120
120
|
transition: background-color 500ms;
|
|
121
121
|
|
|
122
122
|
.running & {
|
|
123
|
-
background:
|
|
123
|
+
background: theme(light);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
transform: translateY(-50%);
|
|
138
138
|
width: 100%;
|
|
139
139
|
height: 20rem;
|
|
140
|
-
background:
|
|
140
|
+
background: theme(green);
|
|
141
141
|
transform-origin: left 50%;
|
|
142
142
|
animation: rotate 2000ms infinite linear;
|
|
143
143
|
filter: blur(5rem);
|
|
@@ -152,13 +152,13 @@
|
|
|
152
152
|
.loading-bar-progress {
|
|
153
153
|
height: 0.5em;
|
|
154
154
|
border-radius: 0.25rem;
|
|
155
|
-
background:
|
|
155
|
+
background: theme(dark);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.loading-bar-fill {
|
|
159
159
|
height: 100%;
|
|
160
160
|
border-radius: 0.25rem;
|
|
161
|
-
background:
|
|
161
|
+
background: theme(green);
|
|
162
162
|
transition: width 200ms;
|
|
163
163
|
}
|
|
164
164
|
|
|
@@ -194,18 +194,18 @@
|
|
|
194
194
|
appearance: none;
|
|
195
195
|
margin-top: margin(0.25);
|
|
196
196
|
padding: margin(0.25);
|
|
197
|
-
border: 2px solid
|
|
197
|
+
border: 2px solid theme(content-light);
|
|
198
198
|
border-radius: margin(0.25);
|
|
199
|
-
background:
|
|
199
|
+
background: theme(light);
|
|
200
200
|
font-family: inherit;
|
|
201
|
-
color:
|
|
201
|
+
color: theme(text-color-alt);
|
|
202
202
|
font-size: margin(0.75);
|
|
203
203
|
line-height: 1;
|
|
204
204
|
cursor: pointer;
|
|
205
205
|
|
|
206
206
|
&:hover {
|
|
207
|
-
background:
|
|
208
|
-
color:
|
|
207
|
+
background: theme(content-light);
|
|
208
|
+
color: theme(text-color);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
</style>
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
.alert {
|
|
19
19
|
padding: margin(0.5);
|
|
20
20
|
border-radius: margin(0.5);
|
|
21
|
-
border: 1px solid
|
|
22
|
-
background:
|
|
21
|
+
border: 1px solid theme(error);
|
|
22
|
+
background: theme(error-dark);
|
|
23
23
|
font-size: margin(0.75);
|
|
24
|
-
font-family:
|
|
24
|
+
font-family: theme(font-family);
|
|
25
25
|
|
|
26
26
|
&.warning {
|
|
27
|
-
border-color:
|
|
28
|
-
background:
|
|
27
|
+
border-color: theme(warning);
|
|
28
|
+
background: theme(warning-dark);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.fixed {
|
|
@@ -239,7 +239,14 @@
|
|
|
239
239
|
</section>
|
|
240
240
|
|
|
241
241
|
<style lang="scss">
|
|
242
|
+
@use "lib/scss/_theme";
|
|
243
|
+
|
|
242
244
|
.editor {
|
|
245
|
+
// Reset any possible theme overrides back to their defaults
|
|
246
|
+
@each $name, $value in theme.$variables {
|
|
247
|
+
--playpilot-#{$name}: #{$value};
|
|
248
|
+
}
|
|
249
|
+
|
|
243
250
|
z-index: 2147483646; // 1 less than as high as she goes;
|
|
244
251
|
display: flex;
|
|
245
252
|
flex-direction: column;
|
|
@@ -253,10 +260,10 @@
|
|
|
253
260
|
margin: 0;
|
|
254
261
|
padding: margin(1);
|
|
255
262
|
border-radius: margin(1.5);
|
|
256
|
-
background:
|
|
257
|
-
box-shadow:
|
|
258
|
-
color:
|
|
259
|
-
font-family:
|
|
263
|
+
background: theme(dark);
|
|
264
|
+
box-shadow: theme(shadow-large);
|
|
265
|
+
color: theme(text-color);
|
|
266
|
+
font-family: theme(font-family);
|
|
260
267
|
transition: border-radius 100ms;
|
|
261
268
|
overflow-y: auto;
|
|
262
269
|
overflow-x: hidden;
|
|
@@ -273,7 +280,7 @@
|
|
|
273
280
|
border-radius: margin(2);
|
|
274
281
|
margin-left: auto;
|
|
275
282
|
padding-right: margin(0.5);
|
|
276
|
-
color:
|
|
283
|
+
color: theme(text-color-alt);
|
|
277
284
|
font-size: margin(0.85);
|
|
278
285
|
}
|
|
279
286
|
|
|
@@ -301,7 +308,7 @@
|
|
|
301
308
|
padding: margin(1) margin(1) margin(1) margin(1.5);
|
|
302
309
|
margin: 0 margin(-1) 0;
|
|
303
310
|
border: 0;
|
|
304
|
-
background:
|
|
311
|
+
background: theme(dark);
|
|
305
312
|
|
|
306
313
|
.loading & {
|
|
307
314
|
margin: margin(-1);
|
|
@@ -310,7 +317,7 @@
|
|
|
310
317
|
|
|
311
318
|
.heading {
|
|
312
319
|
margin: 0 margin(0.75) 0 0;
|
|
313
|
-
color:
|
|
320
|
+
color: theme(text-color);
|
|
314
321
|
font-size: margin(1.25);
|
|
315
322
|
font-weight: normal;
|
|
316
323
|
line-height: normal;
|
|
@@ -324,7 +331,7 @@
|
|
|
324
331
|
padding: 0;
|
|
325
332
|
margin-right: auto;
|
|
326
333
|
border-radius: 50%;
|
|
327
|
-
background:
|
|
334
|
+
background: theme(green);
|
|
328
335
|
line-height: margin(1.5);
|
|
329
336
|
text-align: center;
|
|
330
337
|
font-size: margin(0.85);
|
|
@@ -339,7 +346,7 @@
|
|
|
339
346
|
padding: margin(0.5);
|
|
340
347
|
font-size: margin(0.85);
|
|
341
348
|
font-style: italic;
|
|
342
|
-
color:
|
|
349
|
+
color: theme(text-color-alt);
|
|
343
350
|
}
|
|
344
351
|
|
|
345
352
|
.save {
|
|
@@ -353,23 +360,23 @@
|
|
|
353
360
|
padding: margin(0.5);
|
|
354
361
|
border: 0;
|
|
355
362
|
border-radius: margin(2);
|
|
356
|
-
background:
|
|
357
|
-
box-shadow: 0 0 margin(1) margin(1)
|
|
363
|
+
background: theme(content);
|
|
364
|
+
box-shadow: 0 0 margin(1) margin(1) theme(dark);
|
|
358
365
|
transition: opacity 100ms;
|
|
359
366
|
font-family: inherit;
|
|
360
|
-
color:
|
|
367
|
+
color: theme(text-color-alt);
|
|
361
368
|
font-size: margin(0.85);
|
|
362
369
|
cursor: pointer;
|
|
363
370
|
|
|
364
371
|
&:hover {
|
|
365
|
-
background:
|
|
366
|
-
color:
|
|
372
|
+
background: theme(content-light);
|
|
373
|
+
color: theme(text-color);
|
|
367
374
|
}
|
|
368
375
|
|
|
369
376
|
&[disabled] {
|
|
370
377
|
opacity: 0.75;
|
|
371
|
-
background:
|
|
372
|
-
color:
|
|
378
|
+
background: theme(light);
|
|
379
|
+
color: theme(content-light);
|
|
373
380
|
}
|
|
374
381
|
}
|
|
375
382
|
|
|
@@ -389,7 +396,7 @@
|
|
|
389
396
|
width: 100%;
|
|
390
397
|
height: 100%;
|
|
391
398
|
padding: margin(1.5);
|
|
392
|
-
background:
|
|
399
|
+
background: theme(dark);
|
|
393
400
|
overflow-y: auto;
|
|
394
401
|
}
|
|
395
402
|
</style>
|
|
@@ -177,19 +177,19 @@
|
|
|
177
177
|
<style lang="scss">
|
|
178
178
|
.item {
|
|
179
179
|
padding: margin(1) margin(0.5) margin(1) margin(0.5);
|
|
180
|
-
border-bottom: 1px solid
|
|
180
|
+
border-bottom: 1px solid theme(lighter);
|
|
181
181
|
transition: outline-offset 100ms;
|
|
182
182
|
|
|
183
183
|
&:hover,
|
|
184
184
|
&.highlighted {
|
|
185
185
|
border-radius: margin(0.5);
|
|
186
186
|
border-color: transparent;
|
|
187
|
-
outline: 2px solid
|
|
187
|
+
outline: 2px solid theme(content);
|
|
188
188
|
outline-offset: 1px;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
&.highlighted {
|
|
192
|
-
outline: 2px solid
|
|
192
|
+
outline: 2px solid theme(primary);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
width: margin(2);
|
|
205
205
|
height: margin(3);
|
|
206
206
|
border-radius: margin(0.25);
|
|
207
|
-
background:
|
|
207
|
+
background: theme(content);
|
|
208
208
|
|
|
209
209
|
.inactive & {
|
|
210
210
|
opacity: 0.35;
|
|
@@ -220,11 +220,11 @@
|
|
|
220
220
|
font-size: 0.7em;
|
|
221
221
|
line-height: 150%;
|
|
222
222
|
margin-right: margin(-0.5);
|
|
223
|
-
color:
|
|
223
|
+
color: theme(text-color-alt);
|
|
224
224
|
opacity: 0.75;
|
|
225
225
|
|
|
226
226
|
:global(em) {
|
|
227
|
-
color:
|
|
227
|
+
color: theme(text-color);
|
|
228
228
|
font-weight: bold;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
text-decoration: underline;
|
|
245
245
|
|
|
246
246
|
&:hover {
|
|
247
|
-
color:
|
|
247
|
+
color: theme(text-color);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
|
|
@@ -271,12 +271,12 @@
|
|
|
271
271
|
text-align: left;
|
|
272
272
|
font-family: inherit;
|
|
273
273
|
white-space: nowrap;
|
|
274
|
-
color:
|
|
274
|
+
color: theme(text-color-alt);
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
|
|
277
277
|
&:hover {
|
|
278
|
-
color:
|
|
279
|
-
background-color:
|
|
278
|
+
color: theme(text-color);
|
|
279
|
+
background-color: theme(content-light);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
&:first-child {
|
|
@@ -304,9 +304,9 @@
|
|
|
304
304
|
height: margin(1.5);
|
|
305
305
|
border: 0;
|
|
306
306
|
border-radius: 50%;
|
|
307
|
-
background:
|
|
308
|
-
color:
|
|
309
|
-
box-shadow:
|
|
307
|
+
background: theme(content);
|
|
308
|
+
color: theme(text-color);
|
|
309
|
+
box-shadow: theme(shadow);
|
|
310
310
|
cursor: pointer;
|
|
311
311
|
|
|
312
312
|
&:hover {
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
margin-bottom: margin(0.25);
|
|
327
327
|
opacity: 0.75;
|
|
328
328
|
font-size: margin(0.675);
|
|
329
|
-
color:
|
|
329
|
+
color: theme(text-color-alt);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
.offset {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
border: 0;
|
|
36
36
|
padding: margin(0.75);
|
|
37
37
|
border-radius: 50%;
|
|
38
|
-
background:
|
|
39
|
-
box-shadow:
|
|
38
|
+
background: theme(light);
|
|
39
|
+
box-shadow: theme(shadow-large);
|
|
40
40
|
transition: transform 50ms;
|
|
41
41
|
line-height: margin(1.5);
|
|
42
42
|
text-align: center;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
width: margin(1.5);
|
|
63
63
|
height: margin(1.5);
|
|
64
64
|
padding: margin(0.25);
|
|
65
|
-
background:
|
|
65
|
+
background: theme(content);
|
|
66
66
|
color: white;
|
|
67
67
|
|
|
68
68
|
:global(svg) {
|