jekyll-theme-flow 0.1.0
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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +18 -0
- data/LICENSE.txt +22 -0
- data/README.md +313 -0
- data/_includes/archive_versions.html +36 -0
- data/_includes/footer.html +5 -0
- data/_includes/head.html +9 -0
- data/_includes/icon.html +10 -0
- data/_includes/nav_tree.html +38 -0
- data/_includes/navbar.html +55 -0
- data/_includes/search_slot.html +19 -0
- data/_includes/shells/bare.html +5 -0
- data/_includes/shells/sidebar-left.html +18 -0
- data/_includes/shells/sidebar-right.html +18 -0
- data/_includes/shells/topnav.html +8 -0
- data/_includes/sidebar.html +10 -0
- data/_layouts/archive-index.html +26 -0
- data/_layouts/archive.html +14 -0
- data/_layouts/bare.html +5 -0
- data/_layouts/default.html +14 -0
- data/_layouts/search.html +15 -0
- data/_layouts/sidebar-left.html +5 -0
- data/_layouts/sidebar-right.html +5 -0
- data/_layouts/topnav.html +5 -0
- data/_sass/bulma/_index.scss +10 -0
- data/_sass/bulma/base/_index.scss +6 -0
- data/_sass/bulma/base/animations.scss +15 -0
- data/_sass/bulma/base/generic.scss +240 -0
- data/_sass/bulma/base/minireset.scss +92 -0
- data/_sass/bulma/base/skeleton.scss +114 -0
- data/_sass/bulma/components/_index.scss +13 -0
- data/_sass/bulma/components/breadcrumb.scss +139 -0
- data/_sass/bulma/components/card.scss +162 -0
- data/_sass/bulma/components/dropdown.scss +188 -0
- data/_sass/bulma/components/menu.scss +165 -0
- data/_sass/bulma/components/message.scss +183 -0
- data/_sass/bulma/components/modal.scss +164 -0
- data/_sass/bulma/components/navbar.scss +799 -0
- data/_sass/bulma/components/pagination.scss +379 -0
- data/_sass/bulma/components/panel.scss +218 -0
- data/_sass/bulma/components/tabs.scss +273 -0
- data/_sass/bulma/elements/_index.scss +16 -0
- data/_sass/bulma/elements/block.scss +6 -0
- data/_sass/bulma/elements/box.scss +59 -0
- data/_sass/bulma/elements/button.scss +659 -0
- data/_sass/bulma/elements/content.scss +289 -0
- data/_sass/bulma/elements/delete.scss +6 -0
- data/_sass/bulma/elements/icon.scss +67 -0
- data/_sass/bulma/elements/image.scss +64 -0
- data/_sass/bulma/elements/loader.scss +15 -0
- data/_sass/bulma/elements/notification.scss +105 -0
- data/_sass/bulma/elements/progress.scss +115 -0
- data/_sass/bulma/elements/table.scss +261 -0
- data/_sass/bulma/elements/tag.scss +219 -0
- data/_sass/bulma/elements/title.scss +130 -0
- data/_sass/bulma/form/_index.scss +9 -0
- data/_sass/bulma/form/checkbox-radio.scss +36 -0
- data/_sass/bulma/form/file.scss +330 -0
- data/_sass/bulma/form/input-textarea.scss +115 -0
- data/_sass/bulma/form/select.scss +144 -0
- data/_sass/bulma/form/shared.scss +178 -0
- data/_sass/bulma/form/tools.scss +352 -0
- data/_sass/bulma/grid/_index.scss +5 -0
- data/_sass/bulma/grid/columns.scss +961 -0
- data/_sass/bulma/grid/grid.scss +209 -0
- data/_sass/bulma/helpers/_index.scss +15 -0
- data/_sass/bulma/helpers/aspect-ratio.scss +12 -0
- data/_sass/bulma/helpers/border.scss +15 -0
- data/_sass/bulma/helpers/color.scss +344 -0
- data/_sass/bulma/helpers/flexbox.scss +62 -0
- data/_sass/bulma/helpers/float.scss +28 -0
- data/_sass/bulma/helpers/gap.scss +24 -0
- data/_sass/bulma/helpers/other.scss +19 -0
- data/_sass/bulma/helpers/overflow.scss +21 -0
- data/_sass/bulma/helpers/position.scss +19 -0
- data/_sass/bulma/helpers/spacing.scss +64 -0
- data/_sass/bulma/helpers/typography.scss +174 -0
- data/_sass/bulma/helpers/visibility.scss +221 -0
- data/_sass/bulma/layout/_index.scss +9 -0
- data/_sass/bulma/layout/container.scss +59 -0
- data/_sass/bulma/layout/footer.scss +23 -0
- data/_sass/bulma/layout/hero.scss +273 -0
- data/_sass/bulma/layout/level.scss +107 -0
- data/_sass/bulma/layout/media.scss +106 -0
- data/_sass/bulma/layout/section.scss +38 -0
- data/_sass/bulma/themes/_index.scss +36 -0
- data/_sass/bulma/themes/dark.scss +57 -0
- data/_sass/bulma/themes/light.scss +147 -0
- data/_sass/bulma/themes/setup.scss +174 -0
- data/_sass/bulma/utilities/_index.scss +7 -0
- data/_sass/bulma/utilities/controls.scss +85 -0
- data/_sass/bulma/utilities/css-variables.scss +502 -0
- data/_sass/bulma/utilities/derived-variables.scss +112 -0
- data/_sass/bulma/utilities/extends.scss +34 -0
- data/_sass/bulma/utilities/functions.scss +310 -0
- data/_sass/bulma/utilities/initial-variables.scss +157 -0
- data/_sass/bulma/utilities/mixins.scss +462 -0
- data/_sass/flow.scss +131 -0
- data/assets/css/theme.scss +3 -0
- data/assets/js/alpine.min.js +21 -0
- data/lib/jekyll-theme-flow.rb +38 -0
- metadata +209 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
{%- assign flow_variant = page.flow_layout | default: layout.flow_layout | default: site.flow.layout | default: "sidebar-left" -%}
|
|
4
|
+
<!doctype html>
|
|
5
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" | escape }}">
|
|
6
|
+
{% include head.html %}
|
|
7
|
+
<body>
|
|
8
|
+
{% assign shell = "shells/" | append: flow_variant | append: ".html" %}
|
|
9
|
+
{% include {{ shell }} %}
|
|
10
|
+
{% include footer.html %}
|
|
11
|
+
{% if site.client_search.enabled %}{% search_dropdown scripts_only %}{% endif %}
|
|
12
|
+
<script src="{{ '/assets/js/alpine.min.js' | relative_url }}" defer></script>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<section class="section">
|
|
6
|
+
<div class="container">
|
|
7
|
+
<h1 class="title">{{ page.title | default: "Search" | escape }}</h1>
|
|
8
|
+
{% if site.client_search.enabled %}
|
|
9
|
+
{% search_form %}
|
|
10
|
+
{% else %}
|
|
11
|
+
<p>Search is not enabled. Set <code>client_search.enabled: true</code> in
|
|
12
|
+
<code>_config.yml</code>.</p>
|
|
13
|
+
{% endif %}
|
|
14
|
+
</div>
|
|
15
|
+
</section>
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
@use "../utilities/initial-variables" as iv;
|
|
2
|
+
@use "../utilities/css-variables.scss" as cv;
|
|
3
|
+
@use "../utilities/mixins" as mx;
|
|
4
|
+
|
|
5
|
+
$body-background-color: cv.getVar("scheme-main") !default;
|
|
6
|
+
$body-size: 1em !default;
|
|
7
|
+
$body-min-width: 300px !default;
|
|
8
|
+
$body-rendering: optimizeLegibility !default;
|
|
9
|
+
$body-family: cv.getVar("family-primary") !default;
|
|
10
|
+
$body-overflow-x: hidden !default;
|
|
11
|
+
$body-overflow-y: scroll !default;
|
|
12
|
+
|
|
13
|
+
$body-color: cv.getVar("text") !default;
|
|
14
|
+
$body-font-size: 1em !default;
|
|
15
|
+
$body-weight: cv.getVar("weight-normal") !default;
|
|
16
|
+
$body-line-height: 1.5 !default;
|
|
17
|
+
|
|
18
|
+
$code-family: cv.getVar("family-code") !default;
|
|
19
|
+
$code-padding: 0.25em 0.5em 0.25em !default;
|
|
20
|
+
$code-weight: normal !default;
|
|
21
|
+
$code-size: 0.875em !default;
|
|
22
|
+
|
|
23
|
+
$small-font-size: 0.875em !default;
|
|
24
|
+
|
|
25
|
+
$hr-background-color: cv.getVar("background") !default;
|
|
26
|
+
$hr-height: 2px !default;
|
|
27
|
+
$hr-margin: 1.5rem 0 !default;
|
|
28
|
+
|
|
29
|
+
$strong-color: cv.getVar("text-strong") !default;
|
|
30
|
+
$strong-weight: cv.getVar("weight-semibold") !default;
|
|
31
|
+
|
|
32
|
+
$pre-font-size: 0.875em !default;
|
|
33
|
+
$pre-padding: 1.25rem 1.5rem !default;
|
|
34
|
+
$pre-code-font-size: 1em !default;
|
|
35
|
+
|
|
36
|
+
#{iv.$variables-host} {
|
|
37
|
+
@include cv.register-vars(
|
|
38
|
+
(
|
|
39
|
+
"body-background-color": #{$body-background-color},
|
|
40
|
+
"body-size": #{$body-size},
|
|
41
|
+
"body-min-width": #{$body-min-width},
|
|
42
|
+
"body-rendering": #{$body-rendering},
|
|
43
|
+
"body-family": #{$body-family},
|
|
44
|
+
"body-overflow-x": #{$body-overflow-x},
|
|
45
|
+
"body-overflow-y": #{$body-overflow-y},
|
|
46
|
+
"body-color": #{$body-color},
|
|
47
|
+
"body-font-size": #{$body-font-size},
|
|
48
|
+
"body-weight": #{$body-weight},
|
|
49
|
+
"body-line-height": #{$body-line-height},
|
|
50
|
+
"code-family": #{$code-family},
|
|
51
|
+
"code-padding": #{$code-padding},
|
|
52
|
+
"code-weight": #{$code-weight},
|
|
53
|
+
"code-size": #{$code-size},
|
|
54
|
+
"small-font-size": #{$small-font-size},
|
|
55
|
+
"hr-background-color": #{$hr-background-color},
|
|
56
|
+
"hr-height": #{$hr-height},
|
|
57
|
+
"hr-margin": #{$hr-margin},
|
|
58
|
+
"strong-color": #{$strong-color},
|
|
59
|
+
"strong-weight": #{$strong-weight},
|
|
60
|
+
"pre-font-size": #{$pre-font-size},
|
|
61
|
+
"pre-padding": #{$pre-padding},
|
|
62
|
+
"pre-code-font-size": #{$pre-code-font-size},
|
|
63
|
+
)
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
html {
|
|
68
|
+
background-color: cv.getVar("body-background-color");
|
|
69
|
+
font-size: cv.getVar("body-size");
|
|
70
|
+
-moz-osx-font-smoothing: grayscale;
|
|
71
|
+
-webkit-font-smoothing: antialiased;
|
|
72
|
+
min-width: cv.getVar("body-min-width");
|
|
73
|
+
overflow-x: cv.getVar("body-overflow-x");
|
|
74
|
+
overflow-y: cv.getVar("body-overflow-y");
|
|
75
|
+
text-rendering: cv.getVar("body-rendering");
|
|
76
|
+
text-size-adjust: 100%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
article,
|
|
80
|
+
aside,
|
|
81
|
+
figure,
|
|
82
|
+
footer,
|
|
83
|
+
header,
|
|
84
|
+
hgroup,
|
|
85
|
+
section {
|
|
86
|
+
display: block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
body,
|
|
90
|
+
button,
|
|
91
|
+
input,
|
|
92
|
+
optgroup,
|
|
93
|
+
select,
|
|
94
|
+
textarea {
|
|
95
|
+
font-family: cv.getVar("body-family");
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
code,
|
|
99
|
+
pre {
|
|
100
|
+
-moz-osx-font-smoothing: auto;
|
|
101
|
+
-webkit-font-smoothing: auto;
|
|
102
|
+
font-family: cv.getVar("code-family");
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
body {
|
|
106
|
+
color: cv.getVar("body-color");
|
|
107
|
+
font-size: cv.getVar("body-font-size");
|
|
108
|
+
font-weight: cv.getVar("body-weight");
|
|
109
|
+
line-height: cv.getVar("body-line-height");
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Inline
|
|
113
|
+
|
|
114
|
+
a,
|
|
115
|
+
button {
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
|
|
118
|
+
&:focus-visible {
|
|
119
|
+
outline-color: hsl(
|
|
120
|
+
cv.getVar("focus-h"),
|
|
121
|
+
cv.getVar("focus-s"),
|
|
122
|
+
cv.getVar("focus-l")
|
|
123
|
+
);
|
|
124
|
+
outline-offset: cv.getVar("focus-offset");
|
|
125
|
+
outline-style: cv.getVar("focus-style");
|
|
126
|
+
outline-width: cv.getVar("focus-width");
|
|
127
|
+
|
|
128
|
+
&:active {
|
|
129
|
+
outline-width: 1px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&:active {
|
|
134
|
+
outline-width: 1px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
a {
|
|
139
|
+
color: cv.getVar("link-text");
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
text-decoration: none;
|
|
142
|
+
transition-duration: cv.getVar("duration");
|
|
143
|
+
transition-property: background-color, border-color, color;
|
|
144
|
+
|
|
145
|
+
strong {
|
|
146
|
+
color: currentColor;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
button {
|
|
151
|
+
@include mx.reset;
|
|
152
|
+
transition-duration: cv.getVar("duration");
|
|
153
|
+
transition-property: background-color, border-color, color;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
code {
|
|
157
|
+
background-color: cv.getVar("code-background");
|
|
158
|
+
border-radius: 0.5em;
|
|
159
|
+
color: cv.getVar("code");
|
|
160
|
+
font-size: cv.getVar("code-size");
|
|
161
|
+
font-weight: cv.getVar("code-weight");
|
|
162
|
+
padding: cv.getVar("code-padding");
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
hr {
|
|
166
|
+
background-color: cv.getVar("hr-background-color");
|
|
167
|
+
border: none;
|
|
168
|
+
display: block;
|
|
169
|
+
height: cv.getVar("hr-height");
|
|
170
|
+
margin: cv.getVar("hr-margin");
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
img {
|
|
174
|
+
height: auto;
|
|
175
|
+
max-width: 100%;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
input[type="checkbox"],
|
|
179
|
+
input[type="radio"] {
|
|
180
|
+
vertical-align: baseline;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
small {
|
|
184
|
+
font-size: cv.getVar("small-font-size");
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
span {
|
|
188
|
+
font-style: inherit;
|
|
189
|
+
font-weight: inherit;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
strong {
|
|
193
|
+
color: cv.getVar("strong-color");
|
|
194
|
+
font-weight: cv.getVar("strong-weight");
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
svg {
|
|
198
|
+
height: auto;
|
|
199
|
+
width: auto;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// Block
|
|
203
|
+
|
|
204
|
+
fieldset {
|
|
205
|
+
border: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
pre {
|
|
209
|
+
@include mx.overflow-touch;
|
|
210
|
+
|
|
211
|
+
background-color: cv.getVar("pre-background");
|
|
212
|
+
color: cv.getVar("pre");
|
|
213
|
+
font-size: cv.getVar("pre-font-size");
|
|
214
|
+
overflow-x: auto;
|
|
215
|
+
padding: cv.getVar("pre-padding");
|
|
216
|
+
white-space: pre;
|
|
217
|
+
word-wrap: normal;
|
|
218
|
+
|
|
219
|
+
code {
|
|
220
|
+
background-color: transparent;
|
|
221
|
+
color: currentColor;
|
|
222
|
+
font-size: cv.getVar("pre-code-font-size");
|
|
223
|
+
padding: 0;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
table {
|
|
228
|
+
td,
|
|
229
|
+
th {
|
|
230
|
+
vertical-align: top;
|
|
231
|
+
|
|
232
|
+
&:not([align]) {
|
|
233
|
+
text-align: inherit;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
th {
|
|
238
|
+
color: cv.getVar("text-strong");
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
|
|
2
|
+
// Blocks
|
|
3
|
+
html,
|
|
4
|
+
body,
|
|
5
|
+
p,
|
|
6
|
+
ol,
|
|
7
|
+
ul,
|
|
8
|
+
li,
|
|
9
|
+
dl,
|
|
10
|
+
dt,
|
|
11
|
+
dd,
|
|
12
|
+
blockquote,
|
|
13
|
+
figure,
|
|
14
|
+
fieldset,
|
|
15
|
+
legend,
|
|
16
|
+
textarea,
|
|
17
|
+
pre,
|
|
18
|
+
iframe,
|
|
19
|
+
hr,
|
|
20
|
+
h1,
|
|
21
|
+
h2,
|
|
22
|
+
h3,
|
|
23
|
+
h4,
|
|
24
|
+
h5,
|
|
25
|
+
h6 {
|
|
26
|
+
margin: 0;
|
|
27
|
+
padding: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Headings
|
|
31
|
+
h1,
|
|
32
|
+
h2,
|
|
33
|
+
h3,
|
|
34
|
+
h4,
|
|
35
|
+
h5,
|
|
36
|
+
h6 {
|
|
37
|
+
font-size: 100%;
|
|
38
|
+
font-weight: normal;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// List
|
|
42
|
+
ul {
|
|
43
|
+
list-style: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Form
|
|
47
|
+
button,
|
|
48
|
+
input,
|
|
49
|
+
select,
|
|
50
|
+
textarea {
|
|
51
|
+
margin: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Box sizing
|
|
55
|
+
html {
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
* {
|
|
60
|
+
&,
|
|
61
|
+
&::before,
|
|
62
|
+
&::after {
|
|
63
|
+
box-sizing: inherit;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Media
|
|
68
|
+
img,
|
|
69
|
+
video {
|
|
70
|
+
height: auto;
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Iframe
|
|
75
|
+
iframe {
|
|
76
|
+
border: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Table
|
|
80
|
+
table {
|
|
81
|
+
border-collapse: collapse;
|
|
82
|
+
border-spacing: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
td,
|
|
86
|
+
th {
|
|
87
|
+
padding: 0;
|
|
88
|
+
|
|
89
|
+
&:not([align]) {
|
|
90
|
+
text-align: inherit;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
@use "../utilities/css-variables" as cv;
|
|
2
|
+
@use "../utilities/initial-variables" as iv;
|
|
3
|
+
@use "../utilities/mixins" as mx;
|
|
4
|
+
@use "../utilities/extends";
|
|
5
|
+
|
|
6
|
+
$skeleton-background: cv.getVar("border") !default;
|
|
7
|
+
$skeleton-radius: cv.getVar("radius-small") !default;
|
|
8
|
+
$skeleton-block-min-height: 4.5em !default;
|
|
9
|
+
$skeleton-lines-gap: 0.75em !default;
|
|
10
|
+
$skeleton-line-height: 0.75em !default;
|
|
11
|
+
|
|
12
|
+
#{iv.$variables-host} {
|
|
13
|
+
@include cv.register-vars(
|
|
14
|
+
(
|
|
15
|
+
"skeleton-background": #{$skeleton-background},
|
|
16
|
+
"skeleton-radius": #{$skeleton-radius},
|
|
17
|
+
"skeleton-block-min-height": #{$skeleton-block-min-height},
|
|
18
|
+
"skeleton-lines-gap": #{$skeleton-lines-gap},
|
|
19
|
+
"skeleton-line-height": #{$skeleton-line-height},
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
%skeleton-pulsation {
|
|
25
|
+
animation-duration: 2s;
|
|
26
|
+
animation-iteration-count: infinite;
|
|
27
|
+
animation-name: pulsate;
|
|
28
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
29
|
+
background-color: cv.getVar("skeleton-background");
|
|
30
|
+
border-radius: cv.getVar("skeleton-radius");
|
|
31
|
+
box-shadow: none;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.#{iv.$class-prefix}is-skeleton {
|
|
36
|
+
@extend %skeleton-pulsation;
|
|
37
|
+
color: transparent !important;
|
|
38
|
+
|
|
39
|
+
em,
|
|
40
|
+
strong {
|
|
41
|
+
color: inherit;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
img {
|
|
45
|
+
visibility: hidden;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.#{iv.$class-prefix}checkbox {
|
|
49
|
+
input {
|
|
50
|
+
opacity: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.#{iv.$class-prefix}delete {
|
|
55
|
+
border-radius: cv.getVar("radius-rounded");
|
|
56
|
+
|
|
57
|
+
&::before,
|
|
58
|
+
&::after {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
input.#{iv.$class-prefix}is-skeleton,
|
|
65
|
+
textarea.#{iv.$class-prefix}is-skeleton {
|
|
66
|
+
resize: none;
|
|
67
|
+
|
|
68
|
+
@include mx.placeholder {
|
|
69
|
+
color: transparent !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.#{iv.$class-prefix}has-skeleton {
|
|
74
|
+
color: transparent !important;
|
|
75
|
+
position: relative;
|
|
76
|
+
|
|
77
|
+
&::after {
|
|
78
|
+
@extend %skeleton-pulsation;
|
|
79
|
+
content: "";
|
|
80
|
+
display: block;
|
|
81
|
+
height: 100%;
|
|
82
|
+
left: 0;
|
|
83
|
+
max-width: 100%;
|
|
84
|
+
min-width: 10%;
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 0;
|
|
87
|
+
width: 7em;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.#{iv.$class-prefix}skeleton-block {
|
|
92
|
+
@extend %block;
|
|
93
|
+
@extend %skeleton-pulsation;
|
|
94
|
+
color: transparent !important;
|
|
95
|
+
min-height: cv.getVar("skeleton-block-min-height");
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.#{iv.$class-prefix}skeleton-lines {
|
|
99
|
+
color: transparent !important;
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
gap: cv.getVar("skeleton-lines-gap");
|
|
103
|
+
position: relative;
|
|
104
|
+
|
|
105
|
+
> div {
|
|
106
|
+
@extend %skeleton-pulsation;
|
|
107
|
+
height: cv.getVar("skeleton-line-height");
|
|
108
|
+
|
|
109
|
+
&:last-child {
|
|
110
|
+
min-width: 4em;
|
|
111
|
+
width: 30%;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Bulma Components */
|
|
2
|
+
@charset "utf-8";
|
|
3
|
+
|
|
4
|
+
@forward "breadcrumb";
|
|
5
|
+
@forward "card";
|
|
6
|
+
@forward "dropdown";
|
|
7
|
+
@forward "menu";
|
|
8
|
+
@forward "message";
|
|
9
|
+
@forward "modal";
|
|
10
|
+
@forward "navbar";
|
|
11
|
+
@forward "pagination";
|
|
12
|
+
@forward "panel";
|
|
13
|
+
@forward "tabs";
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
@use "../utilities/css-variables" as cv;
|
|
2
|
+
@use "../utilities/initial-variables" as iv;
|
|
3
|
+
@use "../utilities/extends";
|
|
4
|
+
@use "../utilities/mixins";
|
|
5
|
+
|
|
6
|
+
$breadcrumb-item-color: cv.getVar("link-text") !default;
|
|
7
|
+
$breadcrumb-item-hover-color: cv.getVar("link-text-hover") !default;
|
|
8
|
+
$breadcrumb-item-active-color: cv.getVar("link-text-active") !default;
|
|
9
|
+
|
|
10
|
+
$breadcrumb-item-padding-vertical: 0 !default;
|
|
11
|
+
$breadcrumb-item-padding-horizontal: 0.75em !default;
|
|
12
|
+
|
|
13
|
+
$breadcrumb-item-separator-color: cv.getVar("border") !default;
|
|
14
|
+
|
|
15
|
+
.#{iv.$class-prefix}breadcrumb {
|
|
16
|
+
@include cv.register-vars(
|
|
17
|
+
(
|
|
18
|
+
"breadcrumb-item-color": #{$breadcrumb-item-color},
|
|
19
|
+
"breadcrumb-item-hover-color": #{$breadcrumb-item-hover-color},
|
|
20
|
+
"breadcrumb-item-active-color": #{$breadcrumb-item-active-color},
|
|
21
|
+
"breadcrumb-item-padding-vertical": #{$breadcrumb-item-padding-vertical},
|
|
22
|
+
"breadcrumb-item-padding-horizontal": #{$breadcrumb-item-padding-horizontal},
|
|
23
|
+
"breadcrumb-item-separator-color": #{$breadcrumb-item-separator-color},
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.#{iv.$class-prefix}breadcrumb {
|
|
29
|
+
@extend %block;
|
|
30
|
+
@extend %unselectable;
|
|
31
|
+
font-size: cv.getVar("size-normal");
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
|
|
34
|
+
a {
|
|
35
|
+
align-items: center;
|
|
36
|
+
color: cv.getVar("breadcrumb-item-color");
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
padding: cv.getVar("breadcrumb-item-padding-vertical")
|
|
40
|
+
cv.getVar("breadcrumb-item-padding-horizontal");
|
|
41
|
+
|
|
42
|
+
&:hover {
|
|
43
|
+
color: cv.getVar("breadcrumb-item-hover-color");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
li {
|
|
48
|
+
align-items: center;
|
|
49
|
+
display: flex;
|
|
50
|
+
|
|
51
|
+
&:first-child a {
|
|
52
|
+
padding-inline-start: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.#{iv.$class-prefix}is-active {
|
|
56
|
+
a {
|
|
57
|
+
color: cv.getVar("breadcrumb-item-active-color");
|
|
58
|
+
cursor: default;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
& + li::before {
|
|
64
|
+
color: cv.getVar("breadcrumb-item-separator-color");
|
|
65
|
+
content: "/";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
ul,
|
|
70
|
+
ol {
|
|
71
|
+
align-items: flex-start;
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-wrap: wrap;
|
|
74
|
+
justify-content: flex-start;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.#{iv.$class-prefix}icon {
|
|
78
|
+
&:first-child {
|
|
79
|
+
margin-inline-end: 0.5em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:last-child {
|
|
83
|
+
margin-inline-start: 0.5em;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Alignment
|
|
88
|
+
&.#{iv.$class-prefix}is-centered {
|
|
89
|
+
ol,
|
|
90
|
+
ul {
|
|
91
|
+
justify-content: center;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.#{iv.$class-prefix}is-right {
|
|
96
|
+
ol,
|
|
97
|
+
ul {
|
|
98
|
+
justify-content: flex-end;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Sizes
|
|
103
|
+
&.#{iv.$class-prefix}is-small {
|
|
104
|
+
font-size: cv.getVar("size-small");
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.#{iv.$class-prefix}is-medium {
|
|
108
|
+
font-size: cv.getVar("size-medium");
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.#{iv.$class-prefix}is-large {
|
|
112
|
+
font-size: cv.getVar("size-large");
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Styles
|
|
116
|
+
&.#{iv.$class-prefix}has-arrow-separator {
|
|
117
|
+
li + li::before {
|
|
118
|
+
content: "→";
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&.#{iv.$class-prefix}has-bullet-separator {
|
|
123
|
+
li + li::before {
|
|
124
|
+
content: "•";
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.#{iv.$class-prefix}has-dot-separator {
|
|
129
|
+
li + li::before {
|
|
130
|
+
content: "·";
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.#{iv.$class-prefix}has-succeeds-separator {
|
|
135
|
+
li + li::before {
|
|
136
|
+
content: "≻";
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|