databook-theme 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.MD +1 -1
- data/_includes/blog/blog.liquid +50 -50
- data/_includes/blog/features.liquid +36 -36
- data/_includes/blog/full.liquid +3 -3
- data/_includes/blog/list.liquid +41 -41
- data/_includes/blog/post.liquid +6 -6
- data/_includes/components/analytics.google.liquid +11 -11
- data/_includes/components/analytics.liquid +11 -11
- data/_includes/components/comments.disqus.liquid +17 -17
- data/_includes/components/comments.gitalk.liquid +22 -22
- data/_includes/components/comments.liquid +13 -13
- data/_includes/components/navmenu.items.liquid +51 -51
- data/_includes/components/navmenu.liquid +4 -4
- data/_includes/components/pagination.liquid +83 -83
- data/_includes/components/prevnext.liquid +1 -1
- data/_includes/components/search.baidu.liquid +7 -7
- data/_includes/components/search.bing.liquid +6 -6
- data/_includes/components/search.google.liquid +6 -6
- data/_includes/components/search.liquid +21 -21
- data/_includes/components/social_button.liquid +9 -9
- data/_includes/components/social_link.liquid +14 -14
- data/_includes/components/title.liquid +41 -41
- data/_includes/components/toc.liquid +28 -28
- data/_includes/custom/analytics.liquid +3 -3
- data/_includes/custom/blog.liquid +3 -3
- data/_includes/custom/body.liquid +3 -3
- data/_includes/custom/comments.liquid +3 -3
- data/_includes/custom/favicon.liquid +11 -0
- data/_includes/custom/footer.liquid +3 -3
- data/_includes/custom/head.liquid +3 -3
- data/_includes/custom/katex.liquid +15 -15
- data/_includes/custom/mathjax.liquid +19 -19
- data/_includes/custom/search.liquid +3 -3
- data/_includes/extensions/toc.liquid +182 -182
- data/_includes/functions/get_config.liquid +11 -11
- data/_includes/functions/get_config_data.liquid +23 -23
- data/_includes/functions/get_icon.liquid +5 -5
- data/_includes/functions/get_page_meta.liquid +74 -60
- data/_includes/functions/get_page_thumbnail.liquid +22 -23
- data/_includes/functions/get_page_title.liquid +7 -7
- data/_includes/functions/get_recent_posts.liquid +17 -17
- data/_includes/functions/get_taxonomy_link.liquid +9 -9
- data/_includes/head/head.liquid +11 -12
- data/_includes/head/meta.liquid +50 -41
- data/_includes/head/requirements.liquid +87 -87
- data/_includes/head/styles.liquid +10 -10
- data/_includes/js/codes.js +116 -116
- data/_includes/js/scrollspy.js +16 -16
- data/_includes/layout/article.liquid +74 -71
- data/_includes/layout/footer.liquid +53 -53
- data/_includes/layout/header.liquid +31 -31
- data/_includes/layout/hero.liquid +29 -29
- data/_includes/layout/page.liquid +33 -33
- data/_includes/layout/pagehead.liquid +17 -17
- data/_includes/layout/sidebar.liquid +178 -178
- data/_includes/localize +29 -29
- data/_includes/notice +6 -6
- data/_includes/version +1 -1
- data/_layouts/article.liquid +10 -10
- data/_layouts/default.liquid +132 -131
- data/_layouts/home.liquid +20 -20
- data/_layouts/page.liquid +9 -9
- data/_layouts/post.liquid +9 -9
- data/_layouts/system.liquid +35 -35
- data/_layouts/taxonomy.liquid +67 -67
- data/_sass/_databook.scss +42 -42
- data/_sass/_debug.scss +7 -7
- data/_sass/_variables.scss +24 -24
- data/_sass/base/_mixins.scss +32 -32
- data/_sass/base/_normalize.scss +45 -45
- data/_sass/base/_responsive.scss +28 -28
- data/_sass/components/_archive.scss +49 -49
- data/_sass/components/_blog.scss +249 -249
- data/_sass/components/_forms.scss +30 -30
- data/_sass/components/_hero.scss +70 -70
- data/_sass/components/_misc.scss +3 -3
- data/_sass/components/_notice.scss +27 -27
- data/_sass/components/_notification.scss +10 -10
- data/_sass/components/_post.scss +19 -19
- data/_sass/components/_sidebar.scss +303 -303
- data/_sass/components/_tabs.scss +67 -67
- data/_sass/components/_text.scss +27 -27
- data/_sass/components/_toc.scss +50 -50
- data/_sass/layout/_article.scss +211 -211
- data/_sass/layout/_body.scss +26 -26
- data/_sass/layout/_footer.scss +75 -75
- data/_sass/layout/_header.scss +124 -124
- data/_sass/layout/_main.scss +8 -8
- data/_sass/layout/_misc.scss +7 -7
- data/_sass/layout/_navbar.scss +323 -323
- data/_sass/layout/_sidebar.scss +115 -115
- data/_sass/layout/_wrapper.scss +7 -7
- data/_sass/theme/_scheme.scss +112 -112
- data/_sass/typography/_article.scss +49 -49
- data/_sass/typography/_doc.scss +104 -104
- data/_sass/typography/_highlight.scss +208 -208
- data/_sass/typography/_markdown.scss +18 -18
- data/_sass/typography/_table.scss +119 -119
- data/_sass/typography/_typography.scss +103 -108
- data/_sass/utilities/_thinscrollbar.scss +35 -35
- data/assets/databook/css/databook.scss +6 -6
- data/assets/databook/js/databook.js +8 -8
- data/assets/databook/js/search.js +47 -47
- data/assets/databook/version.json +9 -9
- data/assets/search.json +30 -30
- metadata +8 -8
- data/_includes/head/opengraph.liquid +0 -1
@@ -1,303 +1,303 @@
|
|
1
|
-
.c-profile {
|
2
|
-
margin: 0;
|
3
|
-
padding: 0;
|
4
|
-
text-align: center;
|
5
|
-
|
6
|
-
&__image {
|
7
|
-
@include flex-center;
|
8
|
-
|
9
|
-
border-radius: 128px;
|
10
|
-
margin: 2rem auto;
|
11
|
-
height: 128px;
|
12
|
-
width: 128px;
|
13
|
-
|
14
|
-
border: 1px solid var(--db-border-color-inactive);
|
15
|
-
background: white;
|
16
|
-
|
17
|
-
& img {
|
18
|
-
max-width: 80%;
|
19
|
-
max-height: 80%;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
&__title {
|
24
|
-
font-weight: bold;
|
25
|
-
font-size: 1.5em;
|
26
|
-
margin: .5rem auto;
|
27
|
-
color: var(--db-text-color-active);
|
28
|
-
}
|
29
|
-
|
30
|
-
&__subtitle {
|
31
|
-
color: var(--db-text-color-inactive);
|
32
|
-
margin: .25rem auto;
|
33
|
-
}
|
34
|
-
|
35
|
-
&__description {
|
36
|
-
margin: 1rem 0;
|
37
|
-
color: var(--db-text-color-inactive);
|
38
|
-
}
|
39
|
-
|
40
|
-
}
|
41
|
-
|
42
|
-
.c-navlist {
|
43
|
-
margin-top: 1rem;
|
44
|
-
user-select: none;
|
45
|
-
|
46
|
-
&__item {
|
47
|
-
text-align: center;
|
48
|
-
|
49
|
-
&::before,
|
50
|
-
&:last-of-type::after {
|
51
|
-
background-image: linear-gradient(to left, transparent, var(--db-border-color) 30%, var(--db-border-color) 70%, transparent);
|
52
|
-
content: "";
|
53
|
-
display: block;
|
54
|
-
height: 2px;
|
55
|
-
width: 100%;
|
56
|
-
opacity: 0.6;
|
57
|
-
}
|
58
|
-
|
59
|
-
&:hover {
|
60
|
-
background-image: linear-gradient(to left, transparent, var(--db-surface-hover-color) 30%, var(--db-surface-hover-color) 70%, transparent);
|
61
|
-
}
|
62
|
-
|
63
|
-
&.is-active {
|
64
|
-
font-weight: bold;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
&__link {
|
69
|
-
color: inherit;
|
70
|
-
display: block;
|
71
|
-
padding: .5rem;
|
72
|
-
text-decoration: none;
|
73
|
-
text-overflow: ellipsis;
|
74
|
-
|
75
|
-
&:not([href]):not([onclick]):hover {
|
76
|
-
color: inherit;
|
77
|
-
text-decoration: none;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
}
|
82
|
-
|
83
|
-
.c-sociallist {
|
84
|
-
display: table;
|
85
|
-
color: var(--db-text-color-inactive);
|
86
|
-
vertical-align: top;
|
87
|
-
margin: 2rem auto;
|
88
|
-
|
89
|
-
&__item {
|
90
|
-
font-size: .875em;
|
91
|
-
}
|
92
|
-
|
93
|
-
&__icon {
|
94
|
-
width: 1.5rem;
|
95
|
-
text-align: center;
|
96
|
-
padding-bottom: .5rem;
|
97
|
-
}
|
98
|
-
|
99
|
-
&__text {
|
100
|
-
text-align: left;
|
101
|
-
padding-bottom: .5rem;
|
102
|
-
}
|
103
|
-
|
104
|
-
a {
|
105
|
-
color: inherit;
|
106
|
-
text-decoration: none;
|
107
|
-
|
108
|
-
&:hover {
|
109
|
-
color: var(--db-text-color-active);
|
110
|
-
text-decoration: underline;
|
111
|
-
}
|
112
|
-
}
|
113
|
-
|
114
|
-
}
|
115
|
-
|
116
|
-
.c-navtree {
|
117
|
-
display: flex;
|
118
|
-
flex-direction: column;
|
119
|
-
flex: 1;
|
120
|
-
padding: 0;
|
121
|
-
user-select: none;
|
122
|
-
|
123
|
-
&__group {
|
124
|
-
&:not(&--bottom) {
|
125
|
-
margin-bottom: 1rem;
|
126
|
-
}
|
127
|
-
|
128
|
-
&:not(&--bottom) + &--bottom {
|
129
|
-
margin-top: auto;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
|
133
|
-
&__label {
|
134
|
-
font-size: small;
|
135
|
-
font-weight: bold;
|
136
|
-
padding: .5em;
|
137
|
-
margin-top: .5rem;
|
138
|
-
color: var(--db-text-color-inactive);
|
139
|
-
opacity: .75;
|
140
|
-
|
141
|
-
&::after {
|
142
|
-
background-image: linear-gradient(to right, var(--db-border-color) 33%, transparent);
|
143
|
-
content: "";
|
144
|
-
display: block;
|
145
|
-
margin-top: .25rem;
|
146
|
-
height: 2px;
|
147
|
-
width: 100%;
|
148
|
-
opacity: 0.6;
|
149
|
-
}
|
150
|
-
}
|
151
|
-
|
152
|
-
&__item {
|
153
|
-
display: flex;
|
154
|
-
flex-direction: row;
|
155
|
-
border: 1px solid transparent;
|
156
|
-
border-radius: $border-radius-control;
|
157
|
-
margin: 2px 0;
|
158
|
-
overflow: hidden;
|
159
|
-
|
160
|
-
&.is-active {
|
161
|
-
font-weight: bold;
|
162
|
-
}
|
163
|
-
|
164
|
-
&:not(.is-disabled) .c-navtree__link:hover,
|
165
|
-
&:not(.is-disabled) .c-navtree__link:hover + .c-navtree__toggle {
|
166
|
-
background-color: var(--db-surface-hover-color);
|
167
|
-
}
|
168
|
-
|
169
|
-
&.is-disabled {
|
170
|
-
color: var(--db-text-color-disabled);
|
171
|
-
}
|
172
|
-
|
173
|
-
}
|
174
|
-
|
175
|
-
&__link {
|
176
|
-
display: flex;
|
177
|
-
text-overflow: ellipsis;
|
178
|
-
overflow: hidden;
|
179
|
-
padding: 8px 0 8px 8px;
|
180
|
-
align-items: center;
|
181
|
-
flex: 1;
|
182
|
-
border: 1px solid transparent;
|
183
|
-
color: inherit;
|
184
|
-
|
185
|
-
&:hover {
|
186
|
-
text-decoration: none;
|
187
|
-
color: inherit;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
|
191
|
-
&__icon {
|
192
|
-
width: 1.5rem;
|
193
|
-
text-align: center;
|
194
|
-
color: var(--db-text-color-inactive);
|
195
|
-
opacity: .88;
|
196
|
-
}
|
197
|
-
|
198
|
-
&__badge {
|
199
|
-
width: 2.4rem;
|
200
|
-
text-align: center;
|
201
|
-
color: var(--db-text-color-inactive);
|
202
|
-
opacity: .88;
|
203
|
-
}
|
204
|
-
|
205
|
-
&__text {
|
206
|
-
flex: 1;
|
207
|
-
padding: 0 4px;
|
208
|
-
}
|
209
|
-
|
210
|
-
&__button {
|
211
|
-
color: var(--db-text-color-inactive);
|
212
|
-
width: 2.4rem;
|
213
|
-
display: flex;
|
214
|
-
align-items: center;
|
215
|
-
justify-content: center;
|
216
|
-
user-select: none;
|
217
|
-
|
218
|
-
&--toggle {
|
219
|
-
&::before {
|
220
|
-
font-family: 'Font Awesome 5 Free';
|
221
|
-
content: "\f067";
|
222
|
-
font-weight: 600;
|
223
|
-
|
224
|
-
@at-root .is-expanded #{&} {
|
225
|
-
content: "\f068";
|
226
|
-
}
|
227
|
-
}
|
228
|
-
}
|
229
|
-
|
230
|
-
&:hover {
|
231
|
-
color: var(--db-text-color-active);
|
232
|
-
background-color: var(--db-surface-hover-color);
|
233
|
-
}
|
234
|
-
&[href]:hover,
|
235
|
-
&[onclick]:hover {
|
236
|
-
cursor: pointer;
|
237
|
-
}
|
238
|
-
}
|
239
|
-
|
240
|
-
&__list {
|
241
|
-
flex-direction: column;
|
242
|
-
display: none;
|
243
|
-
font-size: .8em;
|
244
|
-
padding-left: 2rem;
|
245
|
-
|
246
|
-
.c-navtree__icon {
|
247
|
-
font-size: xx-small;
|
248
|
-
}
|
249
|
-
|
250
|
-
.c-navtree__link {
|
251
|
-
padding: 6px 8px;
|
252
|
-
font-size: 15px;
|
253
|
-
}
|
254
|
-
|
255
|
-
@at-root .is-expanded + #{&} {
|
256
|
-
display: inherit;
|
257
|
-
}
|
258
|
-
|
259
|
-
}
|
260
|
-
|
261
|
-
}
|
262
|
-
|
263
|
-
$sidebutton-size: 2rem;
|
264
|
-
.c-sidebuttons {
|
265
|
-
@include flex-center;
|
266
|
-
margin-top: auto;
|
267
|
-
|
268
|
-
&__item {
|
269
|
-
border: 1px solid var(--db-border-color);
|
270
|
-
color: var(--db-text-color-inactive);
|
271
|
-
border-radius: $sidebutton-size;
|
272
|
-
margin: $sidebutton-size / 4;
|
273
|
-
width: $sidebutton-size;
|
274
|
-
height: $sidebutton-size;
|
275
|
-
line-height: $sidebutton-size;
|
276
|
-
text-align: center;
|
277
|
-
|
278
|
-
&:hover {
|
279
|
-
background-color: var(--db-surface-hover-color);
|
280
|
-
color: var(--db-text-color-active);
|
281
|
-
text-decoration: none;
|
282
|
-
}
|
283
|
-
}
|
284
|
-
|
285
|
-
&__link {
|
286
|
-
color: inherit;
|
287
|
-
text-decoration: none;
|
288
|
-
display: block;
|
289
|
-
|
290
|
-
&:hover {
|
291
|
-
color: inherit;
|
292
|
-
text-decoration: none;
|
293
|
-
}
|
294
|
-
}
|
295
|
-
}
|
296
|
-
|
297
|
-
.c-texticon {
|
298
|
-
font-family: monospace;
|
299
|
-
margin: auto;
|
300
|
-
overflow: hidden;
|
301
|
-
white-space: nowrap;
|
302
|
-
width: 2ch;
|
303
|
-
}
|
1
|
+
.c-profile {
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
text-align: center;
|
5
|
+
|
6
|
+
&__image {
|
7
|
+
@include flex-center;
|
8
|
+
|
9
|
+
border-radius: 128px;
|
10
|
+
margin: 2rem auto;
|
11
|
+
height: 128px;
|
12
|
+
width: 128px;
|
13
|
+
|
14
|
+
border: 1px solid var(--db-border-color-inactive);
|
15
|
+
background: white;
|
16
|
+
|
17
|
+
& img {
|
18
|
+
max-width: 80%;
|
19
|
+
max-height: 80%;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&__title {
|
24
|
+
font-weight: bold;
|
25
|
+
font-size: 1.5em;
|
26
|
+
margin: .5rem auto;
|
27
|
+
color: var(--db-text-color-active);
|
28
|
+
}
|
29
|
+
|
30
|
+
&__subtitle {
|
31
|
+
color: var(--db-text-color-inactive);
|
32
|
+
margin: .25rem auto;
|
33
|
+
}
|
34
|
+
|
35
|
+
&__description {
|
36
|
+
margin: 1rem 0;
|
37
|
+
color: var(--db-text-color-inactive);
|
38
|
+
}
|
39
|
+
|
40
|
+
}
|
41
|
+
|
42
|
+
.c-navlist {
|
43
|
+
margin-top: 1rem;
|
44
|
+
user-select: none;
|
45
|
+
|
46
|
+
&__item {
|
47
|
+
text-align: center;
|
48
|
+
|
49
|
+
&::before,
|
50
|
+
&:last-of-type::after {
|
51
|
+
background-image: linear-gradient(to left, transparent, var(--db-border-color) 30%, var(--db-border-color) 70%, transparent);
|
52
|
+
content: "";
|
53
|
+
display: block;
|
54
|
+
height: 2px;
|
55
|
+
width: 100%;
|
56
|
+
opacity: 0.6;
|
57
|
+
}
|
58
|
+
|
59
|
+
&:hover {
|
60
|
+
background-image: linear-gradient(to left, transparent, var(--db-surface-hover-color) 30%, var(--db-surface-hover-color) 70%, transparent);
|
61
|
+
}
|
62
|
+
|
63
|
+
&.is-active {
|
64
|
+
font-weight: bold;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
&__link {
|
69
|
+
color: inherit;
|
70
|
+
display: block;
|
71
|
+
padding: .5rem;
|
72
|
+
text-decoration: none;
|
73
|
+
text-overflow: ellipsis;
|
74
|
+
|
75
|
+
&:not([href]):not([onclick]):hover {
|
76
|
+
color: inherit;
|
77
|
+
text-decoration: none;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
}
|
82
|
+
|
83
|
+
.c-sociallist {
|
84
|
+
display: table;
|
85
|
+
color: var(--db-text-color-inactive);
|
86
|
+
vertical-align: top;
|
87
|
+
margin: 2rem auto;
|
88
|
+
|
89
|
+
&__item {
|
90
|
+
font-size: .875em;
|
91
|
+
}
|
92
|
+
|
93
|
+
&__icon {
|
94
|
+
width: 1.5rem;
|
95
|
+
text-align: center;
|
96
|
+
padding-bottom: .5rem;
|
97
|
+
}
|
98
|
+
|
99
|
+
&__text {
|
100
|
+
text-align: left;
|
101
|
+
padding-bottom: .5rem;
|
102
|
+
}
|
103
|
+
|
104
|
+
a {
|
105
|
+
color: inherit;
|
106
|
+
text-decoration: none;
|
107
|
+
|
108
|
+
&:hover {
|
109
|
+
color: var(--db-text-color-active);
|
110
|
+
text-decoration: underline;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
}
|
115
|
+
|
116
|
+
.c-navtree {
|
117
|
+
display: flex;
|
118
|
+
flex-direction: column;
|
119
|
+
flex: 1;
|
120
|
+
padding: 0;
|
121
|
+
user-select: none;
|
122
|
+
|
123
|
+
&__group {
|
124
|
+
&:not(&--bottom) {
|
125
|
+
margin-bottom: 1rem;
|
126
|
+
}
|
127
|
+
|
128
|
+
&:not(&--bottom) + &--bottom {
|
129
|
+
margin-top: auto;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
&__label {
|
134
|
+
font-size: small;
|
135
|
+
font-weight: bold;
|
136
|
+
padding: .5em;
|
137
|
+
margin-top: .5rem;
|
138
|
+
color: var(--db-text-color-inactive);
|
139
|
+
opacity: .75;
|
140
|
+
|
141
|
+
&::after {
|
142
|
+
background-image: linear-gradient(to right, var(--db-border-color) 33%, transparent);
|
143
|
+
content: "";
|
144
|
+
display: block;
|
145
|
+
margin-top: .25rem;
|
146
|
+
height: 2px;
|
147
|
+
width: 100%;
|
148
|
+
opacity: 0.6;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
&__item {
|
153
|
+
display: flex;
|
154
|
+
flex-direction: row;
|
155
|
+
border: 1px solid transparent;
|
156
|
+
border-radius: $border-radius-control;
|
157
|
+
margin: 2px 0;
|
158
|
+
overflow: hidden;
|
159
|
+
|
160
|
+
&.is-active {
|
161
|
+
font-weight: bold;
|
162
|
+
}
|
163
|
+
|
164
|
+
&:not(.is-disabled) .c-navtree__link:hover,
|
165
|
+
&:not(.is-disabled) .c-navtree__link:hover + .c-navtree__toggle {
|
166
|
+
background-color: var(--db-surface-hover-color);
|
167
|
+
}
|
168
|
+
|
169
|
+
&.is-disabled {
|
170
|
+
color: var(--db-text-color-disabled);
|
171
|
+
}
|
172
|
+
|
173
|
+
}
|
174
|
+
|
175
|
+
&__link {
|
176
|
+
display: flex;
|
177
|
+
text-overflow: ellipsis;
|
178
|
+
overflow: hidden;
|
179
|
+
padding: 8px 0 8px 8px;
|
180
|
+
align-items: center;
|
181
|
+
flex: 1;
|
182
|
+
border: 1px solid transparent;
|
183
|
+
color: inherit;
|
184
|
+
|
185
|
+
&:hover {
|
186
|
+
text-decoration: none;
|
187
|
+
color: inherit;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
&__icon {
|
192
|
+
width: 1.5rem;
|
193
|
+
text-align: center;
|
194
|
+
color: var(--db-text-color-inactive);
|
195
|
+
opacity: .88;
|
196
|
+
}
|
197
|
+
|
198
|
+
&__badge {
|
199
|
+
width: 2.4rem;
|
200
|
+
text-align: center;
|
201
|
+
color: var(--db-text-color-inactive);
|
202
|
+
opacity: .88;
|
203
|
+
}
|
204
|
+
|
205
|
+
&__text {
|
206
|
+
flex: 1;
|
207
|
+
padding: 0 4px;
|
208
|
+
}
|
209
|
+
|
210
|
+
&__button {
|
211
|
+
color: var(--db-text-color-inactive);
|
212
|
+
width: 2.4rem;
|
213
|
+
display: flex;
|
214
|
+
align-items: center;
|
215
|
+
justify-content: center;
|
216
|
+
user-select: none;
|
217
|
+
|
218
|
+
&--toggle {
|
219
|
+
&::before {
|
220
|
+
font-family: 'Font Awesome 5 Free';
|
221
|
+
content: "\f067";
|
222
|
+
font-weight: 600;
|
223
|
+
|
224
|
+
@at-root .is-expanded #{&} {
|
225
|
+
content: "\f068";
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
&:hover {
|
231
|
+
color: var(--db-text-color-active);
|
232
|
+
background-color: var(--db-surface-hover-color);
|
233
|
+
}
|
234
|
+
&[href]:hover,
|
235
|
+
&[onclick]:hover {
|
236
|
+
cursor: pointer;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
&__list {
|
241
|
+
flex-direction: column;
|
242
|
+
display: none;
|
243
|
+
font-size: .8em;
|
244
|
+
padding-left: 2rem;
|
245
|
+
|
246
|
+
.c-navtree__icon {
|
247
|
+
font-size: xx-small;
|
248
|
+
}
|
249
|
+
|
250
|
+
.c-navtree__link {
|
251
|
+
padding: 6px 8px;
|
252
|
+
font-size: 15px;
|
253
|
+
}
|
254
|
+
|
255
|
+
@at-root .is-expanded + #{&} {
|
256
|
+
display: inherit;
|
257
|
+
}
|
258
|
+
|
259
|
+
}
|
260
|
+
|
261
|
+
}
|
262
|
+
|
263
|
+
$sidebutton-size: 2rem;
|
264
|
+
.c-sidebuttons {
|
265
|
+
@include flex-center;
|
266
|
+
margin-top: auto;
|
267
|
+
|
268
|
+
&__item {
|
269
|
+
border: 1px solid var(--db-border-color);
|
270
|
+
color: var(--db-text-color-inactive);
|
271
|
+
border-radius: $sidebutton-size;
|
272
|
+
margin: $sidebutton-size / 4;
|
273
|
+
width: $sidebutton-size;
|
274
|
+
height: $sidebutton-size;
|
275
|
+
line-height: $sidebutton-size;
|
276
|
+
text-align: center;
|
277
|
+
|
278
|
+
&:hover {
|
279
|
+
background-color: var(--db-surface-hover-color);
|
280
|
+
color: var(--db-text-color-active);
|
281
|
+
text-decoration: none;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
&__link {
|
286
|
+
color: inherit;
|
287
|
+
text-decoration: none;
|
288
|
+
display: block;
|
289
|
+
|
290
|
+
&:hover {
|
291
|
+
color: inherit;
|
292
|
+
text-decoration: none;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
|
297
|
+
.c-texticon {
|
298
|
+
font-family: monospace;
|
299
|
+
margin: auto;
|
300
|
+
overflow: hidden;
|
301
|
+
white-space: nowrap;
|
302
|
+
width: 2ch;
|
303
|
+
}
|