@sparkle-learning/core 0.0.43 → 0.0.46
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/cjs/header-mobile-collapse_61.cjs.entry.js +10 -110
- package/dist/cjs/{icons-c61db785.js → icons-fda820af.js} +0 -0
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +0 -1
- package/dist/cjs/sparkle-code.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +1 -1
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +0 -1
- package/dist/collection/components/sparkle-root/sparkle-root.css +3 -0
- package/dist/esm/header-mobile-collapse_61.entry.js +12 -112
- package/dist/esm/{icons-9b62a1ec.js → icons-1c794c74.js} +0 -0
- package/dist/esm/sparkle-animation-player.entry.js +0 -1
- package/dist/esm/sparkle-code.entry.js +1 -1
- package/dist/esm/sparkle-menu-collapsible.entry.js +1 -1
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +49 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +208 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +31 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +245 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +115 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +255 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +232 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +3 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +25 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +71 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +194 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +4 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +67 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +18 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +93 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +52 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +98 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +8 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +37 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +64 -0
- package/dist/sparkle-core/{p-0fa3fd63.entry.js → p-11a6c175.entry.js} +1 -1
- package/dist/sparkle-core/p-41a9ece7.entry.js +1 -0
- package/dist/sparkle-core/{p-a102341e.entry.js → p-957715c5.entry.js} +1 -1
- package/dist/sparkle-core/{p-b401b101.entry.js → p-a465598d.entry.js} +26 -30
- package/dist/sparkle-core/{p-e8073714.js → p-cabe9139.js} +0 -0
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/package.json +2 -2
- package/dist/sparkle-core/p-18cdd458.entry.js +0 -1
@@ -0,0 +1,255 @@
|
|
1
|
+
header-mobile-collapse,
|
2
|
+
header-mobile-collapse .header-mobile-collapse__content {
|
3
|
+
flex: 1;
|
4
|
+
display: flex;
|
5
|
+
justify-content: flex-end;
|
6
|
+
align-items: center;
|
7
|
+
}
|
8
|
+
|
9
|
+
header-mobile-collapse .ionic-sub-header__mobile-toggle {
|
10
|
+
display: none;
|
11
|
+
padding-top: 14px;
|
12
|
+
pointer-events: none;
|
13
|
+
padding-left: 8px;
|
14
|
+
}
|
15
|
+
|
16
|
+
header-mobile-collapse .ionic-sub-header__mobile-toggle svg {
|
17
|
+
height: 20px;
|
18
|
+
width: 20px;
|
19
|
+
}
|
20
|
+
|
21
|
+
header-mobile-collapse .UtilNav {
|
22
|
+
margin-left: auto;
|
23
|
+
}
|
24
|
+
|
25
|
+
header-mobile-collapse > ionic-search {
|
26
|
+
padding-right: 8px;
|
27
|
+
padding-top: 4px;
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
header-mobile-collapse .label-sm-only .Dropdown-button-label,
|
32
|
+
header-mobile-collapse .sm-only {
|
33
|
+
display: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
@media (max-width: 800px) {
|
37
|
+
header-mobile-collapse .ionic-sub-header__mobile-toggle {
|
38
|
+
display: block;
|
39
|
+
cursor: pointer;
|
40
|
+
padding-top: 14px;
|
41
|
+
pointer-events: all;
|
42
|
+
transition: 0.2s transform ease 0.1s;
|
43
|
+
transform-origin: 66% 50%;
|
44
|
+
}
|
45
|
+
|
46
|
+
header-mobile-collapse .header-mobile-collapse__backdrop {
|
47
|
+
position: fixed;
|
48
|
+
top: 100%;
|
49
|
+
height: 100vh;
|
50
|
+
left: 0;
|
51
|
+
right: 0;
|
52
|
+
background: rgba(0, 0, 0, 0.1);
|
53
|
+
cursor: pointer;
|
54
|
+
opacity: 0;
|
55
|
+
pointer-events: none;
|
56
|
+
transition: 0.4s opacity;
|
57
|
+
}
|
58
|
+
|
59
|
+
header-mobile-collapse.ionic-sub-header--mobile-active .header-mobile-collapse__backdrop {
|
60
|
+
opacity: 1;
|
61
|
+
pointer-events: all;
|
62
|
+
}
|
63
|
+
|
64
|
+
header-mobile-collapse > ionic-search {
|
65
|
+
display: block;
|
66
|
+
}
|
67
|
+
|
68
|
+
header-mobile-collapse .header-mobile-collapse__content {
|
69
|
+
display: flex;
|
70
|
+
flex-direction: column;
|
71
|
+
align-items: stretch;
|
72
|
+
position: fixed;
|
73
|
+
width: 100vw;
|
74
|
+
left: 0;
|
75
|
+
background: white;
|
76
|
+
box-shadow: 0px 1px 3px rgba(2, 8, 20, 0.06), 0px 1px 2px rgba(2, 8, 20, 0.04);
|
77
|
+
top: 56px;
|
78
|
+
padding: 16px 16px 8px;
|
79
|
+
max-height: calc(100vh - 64px);
|
80
|
+
overflow: auto;
|
81
|
+
pointer-events: none;
|
82
|
+
opacity: 0;
|
83
|
+
transform: translateY(-10px);
|
84
|
+
transition: transform 0.2s cubic-bezier(0.36, 0.66, 0.04, 1), opacity 0.2s linear;
|
85
|
+
}
|
86
|
+
|
87
|
+
header-mobile-collapse.ionic-sub-header--mobile-active .header-mobile-collapse__content {
|
88
|
+
opacity: 1;
|
89
|
+
pointer-events: all;
|
90
|
+
transform: translateY(0);
|
91
|
+
transition: transform 0.25s cubic-bezier(0.17, 0.67, 0.52, 1), opacity 0.1s linear;
|
92
|
+
}
|
93
|
+
|
94
|
+
header-mobile-collapse .sparkle-dropdown,
|
95
|
+
header-mobile-collapse .SectionNav .Dropdown {
|
96
|
+
align-self: stretch;
|
97
|
+
}
|
98
|
+
|
99
|
+
header-mobile-collapse .Dropdown .Dropdown-button,
|
100
|
+
header-mobile-collapse .UtilNav .sm-only {
|
101
|
+
width: 100%;
|
102
|
+
display: flex;
|
103
|
+
justify-content: space-between;
|
104
|
+
color: #5b708b;
|
105
|
+
font-size: 20px;
|
106
|
+
line-height: 24px;
|
107
|
+
letter-spacing: -0.03em;
|
108
|
+
padding: 13px 0 14px;
|
109
|
+
}
|
110
|
+
|
111
|
+
header-mobile-collapse .Dropdown--left .Dropdown-button {
|
112
|
+
padding-left: 16px;
|
113
|
+
padding-right: 14px;
|
114
|
+
margin-bottom: 10px;
|
115
|
+
padding-top: 10px;
|
116
|
+
height: 44px;
|
117
|
+
box-shadow: 0px 1px 2px rgba(2, 8, 20, 0.04);
|
118
|
+
}
|
119
|
+
|
120
|
+
header-mobile-collapse .Dropdown .Dropdown-button .Dropdown-arrow {
|
121
|
+
height: 26px;
|
122
|
+
width: 20px;
|
123
|
+
margin-right: -4px;
|
124
|
+
}
|
125
|
+
|
126
|
+
header-mobile-collapse .SectionNav .Dropdown,
|
127
|
+
header-mobile-collapse .SectionNav-tabs > * {
|
128
|
+
margin-right: 0;
|
129
|
+
}
|
130
|
+
|
131
|
+
header-mobile-collapse .Dropdown:focus {
|
132
|
+
outline: none;
|
133
|
+
}
|
134
|
+
|
135
|
+
header-mobile-collapse .SectionNav-tabs stencil-route-link {
|
136
|
+
height: 45px;
|
137
|
+
}
|
138
|
+
|
139
|
+
header-mobile-collapse .Dropdown--right .Dropdown-button {
|
140
|
+
text-align: left;
|
141
|
+
}
|
142
|
+
|
143
|
+
header-mobile-collapse .SectionNav stencil-route,
|
144
|
+
header-mobile-collapse .SectionNav-tabs,
|
145
|
+
header-mobile-collapse .UtilNav {
|
146
|
+
display: flex;
|
147
|
+
flex-direction: column;
|
148
|
+
margin-left: 0;
|
149
|
+
align-items: stretch;
|
150
|
+
}
|
151
|
+
|
152
|
+
header-mobile-collapse .UtilNav > * {
|
153
|
+
margin-left: 0;
|
154
|
+
border-bottom: 1px solid #e6e6e8;
|
155
|
+
}
|
156
|
+
|
157
|
+
header-mobile-collapse .UtilNav > :last-child {
|
158
|
+
border-bottom: none;
|
159
|
+
}
|
160
|
+
|
161
|
+
header-mobile-collapse .Dropdown-panel {
|
162
|
+
position: static;
|
163
|
+
border-bottom: 1px solid var(--text-color--lighter);
|
164
|
+
}
|
165
|
+
|
166
|
+
header-mobile-collapse .SectionNav-tabs a {
|
167
|
+
font-size: 20px;
|
168
|
+
line-height: 24px;
|
169
|
+
letter-spacing: -0.02em;
|
170
|
+
color: #5b708b;
|
171
|
+
padding-left: 16px;
|
172
|
+
padding-right: 14px;
|
173
|
+
font-weight: 400;
|
174
|
+
}
|
175
|
+
|
176
|
+
header-mobile-collapse .UtilNav a {
|
177
|
+
padding: 0;
|
178
|
+
}
|
179
|
+
|
180
|
+
header-mobile-collapse .SectionNav-tabs .link-active {
|
181
|
+
background: rgba(var(--ion-color-primary-rgb), 0.12);
|
182
|
+
color: var(--ion-color-primary);
|
183
|
+
display: flex;
|
184
|
+
justify-content: space-between;
|
185
|
+
width: 100%;
|
186
|
+
border-radius: 8px;
|
187
|
+
}
|
188
|
+
|
189
|
+
header-mobile-collapse .SectionNav-tabs .link-active::after {
|
190
|
+
content: '\2713';
|
191
|
+
position: static;
|
192
|
+
background: none;
|
193
|
+
width: auto;
|
194
|
+
font-size: 16px;
|
195
|
+
}
|
196
|
+
|
197
|
+
header-mobile-collapse .SectionNav-tabs {
|
198
|
+
position: relative;
|
199
|
+
padding-bottom: 8px;
|
200
|
+
margin-bottom: 18px;
|
201
|
+
margin-top: 5px;
|
202
|
+
}
|
203
|
+
|
204
|
+
header-mobile-collapse .SectionNav-tabs::after {
|
205
|
+
position: absolute;
|
206
|
+
bottom: 0;
|
207
|
+
left: -16px;
|
208
|
+
width: 100vw;
|
209
|
+
border-bottom: 1px solid #e6e6e8;
|
210
|
+
content: '';
|
211
|
+
}
|
212
|
+
|
213
|
+
header-mobile-collapse .header-mobile-collapse__content ionic-search {
|
214
|
+
display: none;
|
215
|
+
}
|
216
|
+
|
217
|
+
header-mobile-collapse .UtilNav::before {
|
218
|
+
content: 'More';
|
219
|
+
font-size: 20px;
|
220
|
+
line-height: 24px;
|
221
|
+
letter-spacing: 0.01em;
|
222
|
+
color: #000;
|
223
|
+
padding: 6px 2px 8px;
|
224
|
+
}
|
225
|
+
|
226
|
+
header-mobile-collapse .label-sm-only .Dropdown-button-label,
|
227
|
+
header-mobile-collapse .sm-only {
|
228
|
+
display: block;
|
229
|
+
}
|
230
|
+
|
231
|
+
header-mobile-collapse .label-sm-only .Dropdown-icon,
|
232
|
+
header-mobile-collapse .lg-only {
|
233
|
+
display: none;
|
234
|
+
}
|
235
|
+
|
236
|
+
header-mobile-collapse .label-sm-only .Dropdown-icon + .Dropdown-arrow {
|
237
|
+
fill: #5b708b;
|
238
|
+
}
|
239
|
+
|
240
|
+
header-mobile-collapse .UtilNav .sm-only .Dropdown-arrow {
|
241
|
+
height: 26px;
|
242
|
+
width: 20px;
|
243
|
+
margin-right: -4px;
|
244
|
+
fill: #b2becd;
|
245
|
+
}
|
246
|
+
|
247
|
+
header-mobile-collapse .Dropdown-panel a {
|
248
|
+
padding: 8px;
|
249
|
+
font-size: 16px;
|
250
|
+
}
|
251
|
+
|
252
|
+
header-mobile-collapse .Dropdown.is-open .Dropdown-panel {
|
253
|
+
position: static;
|
254
|
+
}
|
255
|
+
}
|
package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css
ADDED
@@ -0,0 +1,232 @@
|
|
1
|
+
sparkle-header {
|
2
|
+
background-color: var(--background);
|
3
|
+
box-shadow: 0px 1px 3px rgba(2, 8, 20, 0.06), 0px 1px 2px rgba(2, 8, 20, 0.04);
|
4
|
+
color: var(--text-color--light);
|
5
|
+
display: block;
|
6
|
+
font-size: 14px;
|
7
|
+
font-weight: 500;
|
8
|
+
line-height: 1;
|
9
|
+
position: fixed;
|
10
|
+
top: 0;
|
11
|
+
left: 0;
|
12
|
+
transform: translateY(0);
|
13
|
+
transition: transform 200ms ease;
|
14
|
+
user-select: none;
|
15
|
+
width: 100%;
|
16
|
+
white-space: nowrap;
|
17
|
+
z-index: 2;
|
18
|
+
}
|
19
|
+
|
20
|
+
@media (min-width: 768px) {
|
21
|
+
.Layout:not(.is-menu-toggled) sparkle-header.hidden {
|
22
|
+
transform: translateY(-100%);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
@media (max-width: 768px) {
|
27
|
+
.Layout.is-menu-toggled sparkle-header.hidden {
|
28
|
+
transform: translateY(-100%);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
sparkle-header header {
|
33
|
+
align-items: center;
|
34
|
+
display: flex;
|
35
|
+
height: var(--header-height);
|
36
|
+
padding: 0 1.4rem 0 0.8rem;
|
37
|
+
}
|
38
|
+
|
39
|
+
sparkle-header a {
|
40
|
+
color: inherit;
|
41
|
+
font-weight: 500;
|
42
|
+
padding: 10px 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
sparkle-header ion-icon {
|
46
|
+
font-size: 16px;
|
47
|
+
color: #b2becd;
|
48
|
+
}
|
49
|
+
|
50
|
+
sparkle-header .link-active {
|
51
|
+
color: var(--ion-color-sparkle);
|
52
|
+
}
|
53
|
+
|
54
|
+
@media (hover: hover) {
|
55
|
+
sparkle-header a:not(.link-active):hover {
|
56
|
+
color: var(--text-color);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
sparkle-header sparkle-menu-toggle {
|
61
|
+
flex: none;
|
62
|
+
margin-right: 0.75em;
|
63
|
+
}
|
64
|
+
|
65
|
+
sparkle-header .HeaderLogo {
|
66
|
+
color: var(--text-color--dark);
|
67
|
+
font-family: var(--heading-font-family);
|
68
|
+
height: 25px;
|
69
|
+
margin-right: 2em;
|
70
|
+
display: flex;
|
71
|
+
justify-content: center;
|
72
|
+
align-items: center;
|
73
|
+
font-size: 1.5em;
|
74
|
+
}
|
75
|
+
|
76
|
+
sparkle-header .SectionNav stencil-route {
|
77
|
+
display: flex;
|
78
|
+
}
|
79
|
+
|
80
|
+
sparkle-header .SectionNav .Dropdown {
|
81
|
+
align-self: center;
|
82
|
+
color: var(--text-color);
|
83
|
+
margin-right: 0.75em;
|
84
|
+
}
|
85
|
+
|
86
|
+
sparkle-header .SectionNav .Dropdown-button {
|
87
|
+
border: solid 1px #dee3ea;
|
88
|
+
border-radius: 6px;
|
89
|
+
color: var(--text-color--dark);
|
90
|
+
padding: 10px;
|
91
|
+
transition: border-color 100ms ease;
|
92
|
+
}
|
93
|
+
|
94
|
+
sparkle-header .SectionNav .Dropdown.is-open .Dropdown-button {
|
95
|
+
border-color: var(--line-rule-color);
|
96
|
+
}
|
97
|
+
|
98
|
+
sparkle-header .SectionNav .Dropdown-panel {
|
99
|
+
min-width: 180px;
|
100
|
+
}
|
101
|
+
|
102
|
+
sparkle-header .SectionNav .Dropdown-panel a {
|
103
|
+
display: flex;
|
104
|
+
justify-content: space-between;
|
105
|
+
}
|
106
|
+
|
107
|
+
sparkle-header .SectionNav .Dropdown-panel svg {
|
108
|
+
height: 1em;
|
109
|
+
width: 1em;
|
110
|
+
}
|
111
|
+
|
112
|
+
sparkle-header .SectionNav .Dropdown-panel .Nav-link {
|
113
|
+
margin-left: 0;
|
114
|
+
margin-right: 0;
|
115
|
+
}
|
116
|
+
|
117
|
+
sparkle-header .SectionNav-tabs > * {
|
118
|
+
align-items: center;
|
119
|
+
display: inline-flex;
|
120
|
+
height: var(--header-height);
|
121
|
+
margin-right: 1em;
|
122
|
+
padding: 0px 1em;
|
123
|
+
position: relative;
|
124
|
+
}
|
125
|
+
|
126
|
+
sparkle-header .SectionNav-tabs .link-active:after {
|
127
|
+
background-color: currentColor;
|
128
|
+
bottom: 0;
|
129
|
+
content: '';
|
130
|
+
display: block;
|
131
|
+
height: 2px;
|
132
|
+
left: 0;
|
133
|
+
position: absolute;
|
134
|
+
width: 100%;
|
135
|
+
}
|
136
|
+
|
137
|
+
sparkle-header .UtilNav {
|
138
|
+
align-items: center;
|
139
|
+
display: flex;
|
140
|
+
font-size: 12px;
|
141
|
+
margin-left: auto;
|
142
|
+
}
|
143
|
+
|
144
|
+
sparkle-header .UtilNav > * {
|
145
|
+
margin-left: 1em;
|
146
|
+
}
|
147
|
+
|
148
|
+
sparkle-header .UtilNav .Dropdown.is-open {
|
149
|
+
color: var(--text-color);
|
150
|
+
}
|
151
|
+
|
152
|
+
sparkle-header .UtilNav .Dropdown-button {
|
153
|
+
padding: 10px 0;
|
154
|
+
}
|
155
|
+
|
156
|
+
@media (hover: hover) {
|
157
|
+
sparkle-header .UtilNav .Dropdown-button:hover {
|
158
|
+
color: var(--text-color);
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
sparkle-header .UtilNav .Dropdown-panel {
|
163
|
+
font-size: 14px;
|
164
|
+
}
|
165
|
+
|
166
|
+
sparkle-header .class-room-toggle-container {
|
167
|
+
display: flex;
|
168
|
+
justify-content: start;
|
169
|
+
align-items: center;
|
170
|
+
padding-left: 20px;
|
171
|
+
}
|
172
|
+
sparkle-header .class-room-mode-toggle-title {
|
173
|
+
padding-right: 5px;
|
174
|
+
}
|
175
|
+
|
176
|
+
sparkle-header .class-room-mode-toggle {
|
177
|
+
align-items: center;
|
178
|
+
display: flex;
|
179
|
+
justify-content: center;
|
180
|
+
width: 90px;
|
181
|
+
height: 28px;
|
182
|
+
background: var(--ion-color-sparkle-step-50);
|
183
|
+
border-radius: 18px;
|
184
|
+
}
|
185
|
+
|
186
|
+
sparkle-header .class-room-mode-toggle button {
|
187
|
+
background-color: transparent;
|
188
|
+
border: none;
|
189
|
+
border-radius: 16px;
|
190
|
+
|
191
|
+
color: #5b708b;
|
192
|
+
|
193
|
+
cursor: pointer;
|
194
|
+
font-family: var(--font-family);
|
195
|
+
font-size: 11px;
|
196
|
+
letter-spacing: -0.02em;
|
197
|
+
width: calc(50% - 2px);
|
198
|
+
line-height: 21px;
|
199
|
+
padding-top: 2px;
|
200
|
+
|
201
|
+
transition: 200ms background-color ease, 200ms color ease;
|
202
|
+
}
|
203
|
+
|
204
|
+
sparkle-header .class-room-mode-toggle button:focus,
|
205
|
+
sparkle-header .class-room-mode-toggle button:active {
|
206
|
+
outline: none;
|
207
|
+
}
|
208
|
+
|
209
|
+
sparkle-header .class-room-mode-toggle button.is-selected {
|
210
|
+
background-color: var(--ion-color-sparkle);
|
211
|
+
color: var(--ion-color-sparkle-contrast);
|
212
|
+
|
213
|
+
font-weight: 600;
|
214
|
+
box-shadow: 0px 2px 3px #a7b5c7;
|
215
|
+
}
|
216
|
+
sparkle-header .girls-inc-logo {
|
217
|
+
display: block;
|
218
|
+
max-width: 40px;
|
219
|
+
max-height: 40px;
|
220
|
+
width: auto;
|
221
|
+
height: auto;
|
222
|
+
}
|
223
|
+
|
224
|
+
sparkle-header sparkle-dropdown.profile-dropdown .Dropdown-icon {
|
225
|
+
height: 30px;
|
226
|
+
width: 30px;
|
227
|
+
}
|
228
|
+
|
229
|
+
|
230
|
+
sparkle-header sparkle-dropdown.profile-dropdown .Dropdown-arrow {
|
231
|
+
height: 30px;
|
232
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
sparkle-menu-toggle {
|
2
|
+
background-color: rgba(0, 0, 0, var(--bg-alpha, 0));
|
3
|
+
border-radius: 50%;
|
4
|
+
color: var(--text-color--light);
|
5
|
+
cursor: pointer;
|
6
|
+
height: 40px;
|
7
|
+
padding: 8px;
|
8
|
+
width: 40px;
|
9
|
+
}
|
10
|
+
|
11
|
+
@media (hover: hover) {
|
12
|
+
sparkle-menu-toggle:focus,
|
13
|
+
sparkle-menu-toggle:hover {
|
14
|
+
--bg-alpha: 0.03;
|
15
|
+
outline: none;
|
16
|
+
}
|
17
|
+
|
18
|
+
sparkle-menu-toggle:active {
|
19
|
+
--bg-alpha: 0.06;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
sparkle-menu-toggle svg {
|
24
|
+
fill: currentColor;
|
25
|
+
}
|
package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
sparkle-menu {
|
2
|
+
background-color: var(--background);
|
3
|
+
border-right: solid 1px var(--line-rule-color);
|
4
|
+
display: flex;
|
5
|
+
flex-direction: column;
|
6
|
+
height: 100vh;
|
7
|
+
left: 0;
|
8
|
+
position: fixed;
|
9
|
+
top: 0;
|
10
|
+
transition: transform 200ms cubic-bezier(0.2, 1, 0.2, 1);
|
11
|
+
transform: var(--menu-transform, none);
|
12
|
+
width: var(--menu-width);
|
13
|
+
z-index: 1;
|
14
|
+
}
|
15
|
+
|
16
|
+
sparkle-menu > header {
|
17
|
+
align-items: center;
|
18
|
+
border-bottom: solid 1px var(--line-rule-color);
|
19
|
+
display: flex;
|
20
|
+
flex: none;
|
21
|
+
height: var(--header-height);
|
22
|
+
padding: 0 1.4rem 0 0.8rem;
|
23
|
+
user-select: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
sparkle-menu sparkle-menu-toggle {
|
27
|
+
margin-right: 0.75em;
|
28
|
+
}
|
29
|
+
|
30
|
+
sparkle-menu .MenuLogo {
|
31
|
+
color: var(--text-color--dark);
|
32
|
+
font-family: var(--heading-font-family);
|
33
|
+
height: 25px;
|
34
|
+
}
|
35
|
+
|
36
|
+
sparkle-menu > .Menu {
|
37
|
+
overflow-y: auto;
|
38
|
+
-webkit-overflow-scrolling: touch;
|
39
|
+
}
|
40
|
+
|
41
|
+
sparkle-menu nav {
|
42
|
+
padding: 2rem 1.5rem;
|
43
|
+
}
|
44
|
+
|
45
|
+
.MenuControls {
|
46
|
+
border-bottom: solid 1px var(--line-rule-color);
|
47
|
+
box-shadow: 0 5px 10px -10px rgba(0, 0, 0, 0.1);
|
48
|
+
font-size: 13px;
|
49
|
+
padding: 1em;
|
50
|
+
}
|
51
|
+
|
52
|
+
.CourseSelect,
|
53
|
+
.CourseSelect .Dropdown,
|
54
|
+
.CourseSelect .Dropdown-button {
|
55
|
+
width: 100%;
|
56
|
+
}
|
57
|
+
|
58
|
+
.CourseSelect-course {
|
59
|
+
align-items: center;
|
60
|
+
display: flex;
|
61
|
+
}
|
62
|
+
|
63
|
+
.CourseSelect-icon {
|
64
|
+
height: 14px;
|
65
|
+
width: 14px;
|
66
|
+
margin-right: 0.5em;
|
67
|
+
}
|
68
|
+
|
69
|
+
.CourseSelect .Select-option {
|
70
|
+
padding-left: 0.75em;
|
71
|
+
}
|