@nulllogic/scssleon 1.0.35 → 1.0.37
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/README.md +3 -3
- package/package.json +6 -7
- package/scss/_base.scss +1 -1
- package/scss/_content.scss +1 -2
- package/scss/_reset.scss +15 -7
- package/scss/_root.scss +7 -7
- package/scss/mixins/_utilities.scss +1 -1
- package/scss/mixins/generators/_components.scss +13 -8
- package/scss/scssleon.scss +5 -3
- package/scss/themes/_default.scss +153 -125
package/README.md
CHANGED
|
@@ -16,11 +16,11 @@ Welcome to XII/Grid CSS framework ! It's the most advanced responsive front-end
|
|
|
16
16
|
<a href="https://nulllogic.net/"><img src="./.imgs/logo.png" alt="NullLogic logo"></a>
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
|
-
## ┌ Quickstart ┐
|
|
19
|
+
## ┌ 🧭 Quickstart ┐
|
|
20
20
|
|
|
21
21
|
[](https://vimeo.com/83573522)
|
|
22
22
|
|
|
23
|
-
## ┌ Documentation ┐
|
|
23
|
+
## ┌ 📚 Documentation ┐
|
|
24
24
|
|
|
25
25
|
<p align="left">
|
|
26
26
|
<img src="./.imgs/documentation.jpg" width="100%" alt="xiigrid documentation">
|
|
@@ -58,7 +58,7 @@ Learn more about using Hugo by reading its [documentation](https://gohugo.io/doc
|
|
|
58
58
|
<a href="https://www.browserstack.com"><img src="./.imgs/browserstack.jpg" alt="browserstack"></a><br />
|
|
59
59
|
Thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to test in real browsers!
|
|
60
60
|
|
|
61
|
-
## ┌ License ┐
|
|
61
|
+
## ┌ 📜 License ┐
|
|
62
62
|
|
|
63
63
|
<p align="left">
|
|
64
64
|
<img src="./.imgs/license.jpg" width="100%" alt="xiigrid licence">
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulllogic/scssleon",
|
|
3
3
|
"description": "Most advanced, simple and clean SCSS framework",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.37",
|
|
5
5
|
"version_short": "1.0",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"css",
|
|
@@ -18,14 +18,13 @@
|
|
|
18
18
|
"css": "npm run css-compile",
|
|
19
19
|
"css-compile": "sass --style expanded --source-map --embed-sources scss/:dist/css/",
|
|
20
20
|
"dist": "npm run css && npm run minify",
|
|
21
|
-
"watch": "sass --watch ./scss:./dist/css"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
21
|
+
"watch": "sass --watch ./scss:./dist/css"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"sass": "^1.87.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
|
|
28
|
-
"clean-css": "^5.3.3"
|
|
27
|
+
|
|
29
28
|
},
|
|
30
29
|
"homepage": "https://nulllogic.github.io/scssleon-docs",
|
|
31
30
|
"style": "dist/scssleon.css",
|
package/scss/_base.scss
CHANGED
package/scss/_content.scss
CHANGED
package/scss/_reset.scss
CHANGED
|
@@ -40,6 +40,21 @@ $color_scheme: functions.get-config($config, "color-scheme");
|
|
|
40
40
|
text-decoration-skip-ink: none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
// Headings
|
|
44
|
+
h1,
|
|
45
|
+
h2,
|
|
46
|
+
h3,
|
|
47
|
+
h4,
|
|
48
|
+
h5,
|
|
49
|
+
h6 {
|
|
50
|
+
margin: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Paragraph
|
|
54
|
+
p {
|
|
55
|
+
margin: 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
// Lists
|
|
44
59
|
ul,ol,
|
|
45
60
|
ol ol,
|
|
@@ -211,19 +226,12 @@ $color_scheme: functions.get-config($config, "color-scheme");
|
|
|
211
226
|
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
|
212
227
|
// controls in Android 4.
|
|
213
228
|
// 2. Correct the inability to style clickable types in iOS and Safari.
|
|
214
|
-
// 3. Opinionated: add "hand" cursor to non-disabled button elements.
|
|
215
229
|
|
|
216
230
|
button,
|
|
217
231
|
[type="button"], // 1
|
|
218
232
|
[type="reset"],
|
|
219
233
|
[type="submit"] {
|
|
220
234
|
-webkit-appearance: button; // 2
|
|
221
|
-
|
|
222
|
-
@if $is-button-pointers-enabled {
|
|
223
|
-
&:not(:disabled) {
|
|
224
|
-
cursor: pointer; // 3
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
235
|
}
|
|
228
236
|
|
|
229
237
|
// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
|
package/scss/_root.scss
CHANGED
|
@@ -18,12 +18,6 @@ $color_scheme: functions.get-config($config, "color-scheme");
|
|
|
18
18
|
$root-variables: functions.get-theme($theme, "root.variables");
|
|
19
19
|
|
|
20
20
|
:root {
|
|
21
|
-
@if $is-smooth-scroll-enabled {
|
|
22
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
23
|
-
scroll-behavior: smooth;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
21
|
color-scheme: string.unquote($color_scheme);
|
|
28
22
|
|
|
29
23
|
@include mixins.generate-properties(
|
|
@@ -31,4 +25,10 @@ $root-variables: functions.get-theme($theme, "root.variables");
|
|
|
31
25
|
functions.get-theme($theme, "root"),
|
|
32
26
|
$config
|
|
33
27
|
);
|
|
34
|
-
|
|
28
|
+
|
|
29
|
+
@if $is-smooth-scroll-enabled {
|
|
30
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
31
|
+
scroll-behavior: smooth;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:meta';
|
|
3
3
|
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
4
|
+
@use 'properties';
|
|
5
|
+
@use 'wrapper';
|
|
6
6
|
|
|
7
|
-
@use
|
|
7
|
+
@use '../../functions' as functions;
|
|
8
8
|
|
|
9
9
|
@mixin generate-component($component, $class, $config, $theme) {
|
|
10
|
-
$theme-component:
|
|
10
|
+
$theme-component: '';
|
|
11
11
|
|
|
12
12
|
// Checking, if the component was previously defined inside theme components
|
|
13
|
-
@if (meta.type-of($component) ==
|
|
13
|
+
@if (meta.type-of($component) == 'string') {
|
|
14
14
|
/* Loading component settings and styling */
|
|
15
15
|
$theme-component: functions.get-theme(
|
|
16
16
|
$theme,
|
|
17
|
-
|
|
17
|
+
'components' + '.' + $component
|
|
18
18
|
);
|
|
19
19
|
} @else {
|
|
20
20
|
$theme-component: $component;
|
|
@@ -31,3 +31,8 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
//@mixin generate-components($component, $class, $config, $theme) {
|
|
35
|
+
|
|
36
|
+
@mixin get-structure ($component) {
|
|
37
|
+
@debug $component;
|
|
38
|
+
}
|
package/scss/scssleon.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
1
3
|
/*
|
|
2
4
|
* ------------------------------------------------------------------
|
|
3
5
|
* ███████╗ ██████╗ ██████╗███████╗██╗ ███████╗ ██████╗ ███╗ ██╗
|
|
@@ -64,13 +66,13 @@ $theme: theme.$theme;
|
|
|
64
66
|
$theme: $theme
|
|
65
67
|
);
|
|
66
68
|
|
|
67
|
-
// Great reset
|
|
69
|
+
// ↓ Great reset
|
|
68
70
|
@use "reset" with (
|
|
69
71
|
$config: $config,
|
|
70
72
|
$theme: $theme
|
|
71
73
|
);
|
|
72
74
|
|
|
73
|
-
// Base
|
|
75
|
+
// ↓ Base
|
|
74
76
|
// Special utility, that will dynamically generate CSS
|
|
75
77
|
// properties for HTML tags, specified in theme
|
|
76
78
|
@use "base" with (
|
|
@@ -78,7 +80,7 @@ $theme: theme.$theme;
|
|
|
78
80
|
$theme: $theme
|
|
79
81
|
);
|
|
80
82
|
|
|
81
|
-
// Amazing content
|
|
83
|
+
// ↓ Amazing content
|
|
82
84
|
// Special class `.content` to allow formatting of the default html tags
|
|
83
85
|
@use "content" with (
|
|
84
86
|
$config: $config,
|
|
@@ -3,25 +3,34 @@
|
|
|
3
3
|
|
|
4
4
|
// Main theme colors
|
|
5
5
|
$theme: () !default;
|
|
6
|
-
$updated-theme
|
|
6
|
+
$updated-theme: () !default;
|
|
7
7
|
|
|
8
8
|
$html-config: (
|
|
9
9
|
root: (
|
|
10
|
+
|
|
10
11
|
--font-family-default : string.unquote("system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"),
|
|
11
12
|
--font-family-monospace : string.unquote("ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"),
|
|
13
|
+
|
|
12
14
|
),
|
|
15
|
+
|
|
13
16
|
html : (
|
|
17
|
+
|
|
14
18
|
body : (
|
|
15
|
-
margin: 0,
|
|
16
19
|
-webkit-text-size-adjust: 100%,
|
|
17
|
-
font-
|
|
20
|
+
-webkit-font-smoothing: antialiased,
|
|
21
|
+
|
|
22
|
+
margin: 0,
|
|
23
|
+
|
|
24
|
+
font-size : 1em,
|
|
18
25
|
font-weight: normal,
|
|
19
|
-
line-height : 1,
|
|
20
26
|
font-family: var(global(--font-family-default)),
|
|
27
|
+
line-height : 1,
|
|
28
|
+
text-rendering: optimizelegibility,
|
|
29
|
+
font-synthesis-weight: none,
|
|
30
|
+
|
|
21
31
|
color: var(--color),
|
|
22
32
|
background: var(--background),
|
|
23
|
-
|
|
24
|
-
-webkit-font-smoothing: antialiased,
|
|
33
|
+
|
|
25
34
|
colors: (
|
|
26
35
|
light : (
|
|
27
36
|
background: '#fff',
|
|
@@ -33,9 +42,11 @@ $html-config: (
|
|
|
33
42
|
)
|
|
34
43
|
)
|
|
35
44
|
),
|
|
45
|
+
|
|
36
46
|
a : (
|
|
37
47
|
text-decoration : underline,
|
|
38
48
|
color: var(--color),
|
|
49
|
+
|
|
39
50
|
colors: (
|
|
40
51
|
light : (
|
|
41
52
|
color: '#ccc',
|
|
@@ -44,7 +55,11 @@ $html-config: (
|
|
|
44
55
|
color: '#ccc'
|
|
45
56
|
)
|
|
46
57
|
),
|
|
58
|
+
|
|
47
59
|
subclasses : (
|
|
60
|
+
"&:hover": (
|
|
61
|
+
text-decoration: none
|
|
62
|
+
),
|
|
48
63
|
"&[target='_blank']" : (
|
|
49
64
|
subclasses : (
|
|
50
65
|
"&:after" : (
|
|
@@ -57,6 +72,7 @@ $html-config: (
|
|
|
57
72
|
),
|
|
58
73
|
)
|
|
59
74
|
)
|
|
75
|
+
|
|
60
76
|
),
|
|
61
77
|
ol: (
|
|
62
78
|
margin: 0,
|
|
@@ -78,9 +94,6 @@ $html-config: (
|
|
|
78
94
|
width: auto,
|
|
79
95
|
height: auto,
|
|
80
96
|
max-width: 100%,
|
|
81
|
-
),
|
|
82
|
-
p : (
|
|
83
|
-
margin: 0
|
|
84
97
|
)
|
|
85
98
|
)
|
|
86
99
|
);
|
|
@@ -90,50 +103,51 @@ $updated-theme: map.deep-merge($updated-theme, $html-config);
|
|
|
90
103
|
$content-config: (
|
|
91
104
|
content : (
|
|
92
105
|
h1 : (
|
|
93
|
-
font-size: 3.
|
|
94
|
-
line-height
|
|
106
|
+
font-size: 3.75rem,
|
|
107
|
+
line-height: inherit,
|
|
95
108
|
font-weight: 500,
|
|
96
109
|
margin: 0,
|
|
97
110
|
padding: 0 0 15px 0
|
|
98
111
|
),
|
|
99
112
|
h2 : (
|
|
100
|
-
font-size:
|
|
101
|
-
line-height
|
|
113
|
+
font-size: 3rem,
|
|
114
|
+
line-height: inherit,
|
|
102
115
|
font-weight: 500,
|
|
103
116
|
margin: 0,
|
|
104
117
|
padding: 0 0 15px 0
|
|
105
118
|
),
|
|
106
119
|
h3 : (
|
|
107
|
-
font-size: 2.
|
|
108
|
-
line-height
|
|
120
|
+
font-size: 2.25rem,
|
|
121
|
+
line-height: inherit,
|
|
109
122
|
font-weight: 500,
|
|
110
123
|
margin: 0,
|
|
111
124
|
padding: 0 0 15px 0
|
|
112
125
|
),
|
|
113
126
|
h4 : (
|
|
114
|
-
font-size:
|
|
115
|
-
line-height
|
|
127
|
+
font-size: 1.875rem,
|
|
128
|
+
line-height: inherit,
|
|
116
129
|
font-weight: 500,
|
|
117
130
|
margin: 0,
|
|
118
131
|
padding: 0 0 15px 0
|
|
119
132
|
),
|
|
120
133
|
h5 : (
|
|
121
|
-
font-size: 1.
|
|
122
|
-
line-height
|
|
134
|
+
font-size: 1.5rem,
|
|
135
|
+
line-height: inherit,
|
|
123
136
|
font-weight: 500,
|
|
124
137
|
margin: 0,
|
|
125
138
|
padding: 0 0 15px 0
|
|
126
139
|
),
|
|
127
140
|
h6 : (
|
|
128
|
-
font-size: 1.
|
|
129
|
-
line-height
|
|
141
|
+
font-size: 1.25rem,
|
|
142
|
+
line-height: inherit,
|
|
130
143
|
font-weight: 500,
|
|
131
144
|
margin: 0,
|
|
132
145
|
padding: 0 0 15px 0
|
|
133
146
|
),
|
|
134
147
|
p : (
|
|
135
148
|
margin: 0,
|
|
136
|
-
padding: 0 0 15px 0
|
|
149
|
+
padding: 0 0 15px 0,
|
|
150
|
+
line-height: clamp(1.25em, 4vw, 1.5em),
|
|
137
151
|
),
|
|
138
152
|
abbr: (
|
|
139
153
|
attributes : (
|
|
@@ -189,14 +203,14 @@ $content-config: (
|
|
|
189
203
|
code: (
|
|
190
204
|
color: var(--color),
|
|
191
205
|
background: var(--background),
|
|
192
|
-
padding:
|
|
206
|
+
padding: 2px 5px,
|
|
193
207
|
colors: (
|
|
194
208
|
light : (
|
|
195
209
|
background: '#fff',
|
|
196
210
|
color: '#ccc',
|
|
197
211
|
),
|
|
198
212
|
dark : (
|
|
199
|
-
background : rgba(38,69,116,1),
|
|
213
|
+
background : rgba(38, 69, 116, 1),
|
|
200
214
|
color: '#fff'
|
|
201
215
|
)
|
|
202
216
|
)
|
|
@@ -284,18 +298,33 @@ $updated-theme: map.deep-merge($updated-theme, $content-config);
|
|
|
284
298
|
|
|
285
299
|
$components-config: (
|
|
286
300
|
components: (
|
|
287
|
-
|
|
288
301
|
alert: (
|
|
289
302
|
|
|
290
|
-
--border-radius: .
|
|
291
|
-
--
|
|
303
|
+
--border-radius: .5rem,
|
|
304
|
+
--grid-template-columns: auto auto 1fr,
|
|
305
|
+
--gap : 0.5rem,
|
|
306
|
+
--padding: 0.825rem,
|
|
307
|
+
--left-column-justify-self: start,
|
|
308
|
+
--left-column-align-self: start,
|
|
309
|
+
--center-column-justify-self: center,
|
|
310
|
+
--center-column-align-self: center,
|
|
311
|
+
--right-column-justify-self: end,
|
|
312
|
+
--right-column-align-self: start,
|
|
292
313
|
|
|
293
314
|
box-shadow: var(--shadow),
|
|
294
315
|
background: var(--background),
|
|
295
|
-
|
|
316
|
+
border-radius: var(--border-radius),
|
|
317
|
+
border: var(--border),
|
|
296
318
|
outline: 1px solid transparent,
|
|
297
319
|
position: relative,
|
|
298
|
-
display:
|
|
320
|
+
display: grid,
|
|
321
|
+
width: 100%,
|
|
322
|
+
max-width: 100%,
|
|
323
|
+
align-items: center,
|
|
324
|
+
line-height: 1rem,
|
|
325
|
+
grid-template-columns: var(--grid-template-columns),
|
|
326
|
+
grid-gap: var(--gap),
|
|
327
|
+
padding: var(--padding),
|
|
299
328
|
|
|
300
329
|
colors: (
|
|
301
330
|
light : (
|
|
@@ -303,22 +332,35 @@ $components-config: (
|
|
|
303
332
|
shadow: string.unquote("inset 0 0.0625rem 0 0 rgba(186, 191, 195, 1), inset 0 0 0 0.0625rem rgba(186, 191, 195, 1)"),
|
|
304
333
|
),
|
|
305
334
|
dark : (
|
|
306
|
-
background: rgb(
|
|
307
|
-
border: 1px solid rgba(
|
|
308
|
-
shadow: string.unquote("
|
|
335
|
+
background: rgb(18, 18, 24),
|
|
336
|
+
border: 1px solid rgba(48, 54, 61, 0.75),
|
|
337
|
+
shadow: string.unquote("rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px"),
|
|
309
338
|
)
|
|
339
|
+
),
|
|
340
|
+
|
|
341
|
+
subclasses : (
|
|
342
|
+
'.left' : (
|
|
343
|
+
justify-self: var(--left-column-justify-self),
|
|
344
|
+
align-self: var(--left-column-align-self),
|
|
345
|
+
),
|
|
346
|
+
'.center' : (
|
|
347
|
+
justify-self: var(--center-column-justify-self),
|
|
348
|
+
align-self: var(--center-column-align-self),
|
|
349
|
+
),
|
|
350
|
+
'.right' : (
|
|
351
|
+
justify-self: var(--right-column-justify-self),
|
|
352
|
+
align-self: var(--right-column-align-self),
|
|
353
|
+
),
|
|
310
354
|
)
|
|
311
355
|
|
|
312
356
|
),
|
|
313
|
-
|
|
314
357
|
accordion : (
|
|
315
358
|
|
|
316
359
|
--border-radius: .25rem,
|
|
317
|
-
--padding:
|
|
360
|
+
--padding: 1rem,
|
|
318
361
|
|
|
319
362
|
position: relative,
|
|
320
363
|
width: 100%,
|
|
321
|
-
|
|
322
364
|
colors: (
|
|
323
365
|
light : (
|
|
324
366
|
),
|
|
@@ -326,31 +368,65 @@ $components-config: (
|
|
|
326
368
|
border: 1px solid rgba(182, 199, 216, .35),
|
|
327
369
|
background: rgb(46, 56, 66),
|
|
328
370
|
)
|
|
329
|
-
)
|
|
371
|
+
),
|
|
372
|
+
subclasses : (
|
|
330
373
|
|
|
331
|
-
|
|
374
|
+
'.item' : (
|
|
375
|
+
padding-bottom: var(--padding),
|
|
332
376
|
|
|
377
|
+
subclasses : (
|
|
378
|
+
'.title' : (
|
|
379
|
+
display: flex,
|
|
380
|
+
padding-bottom: var(--padding),
|
|
381
|
+
subclasses : (
|
|
382
|
+
'> button' : (
|
|
383
|
+
color: inherit,
|
|
384
|
+
background: none,
|
|
385
|
+
border: none,
|
|
386
|
+
cursor: pointer,
|
|
387
|
+
display: flex,
|
|
388
|
+
padding: 0,
|
|
389
|
+
font-size: inherit,
|
|
390
|
+
width: 100%,
|
|
391
|
+
align-items: center,
|
|
392
|
+
justify-content: space-between,
|
|
393
|
+
border-bottom: 1px solid #ccc,
|
|
394
|
+
subclasses : (
|
|
395
|
+
'.left' : (
|
|
396
|
+
justify-self: var(--left-column-alignment),
|
|
397
|
+
),
|
|
398
|
+
'.center' : (
|
|
399
|
+
justify-self: var(--center-column-alignment),
|
|
400
|
+
),
|
|
401
|
+
'.right' : (
|
|
402
|
+
justify-self: var(--right-column-alignment)
|
|
403
|
+
)
|
|
404
|
+
)
|
|
405
|
+
)
|
|
406
|
+
)
|
|
407
|
+
),
|
|
408
|
+
'.content' : (
|
|
409
|
+
)
|
|
410
|
+
)
|
|
411
|
+
)
|
|
412
|
+
)
|
|
413
|
+
),
|
|
333
414
|
badge : (
|
|
334
|
-
|
|
335
415
|
--border-radius: .25rem,
|
|
336
416
|
--padding: .125rem .625rem,
|
|
337
|
-
|
|
338
417
|
font-size: .75rem,
|
|
339
418
|
line-height: 1rem,
|
|
340
419
|
font-weight: 500,
|
|
341
|
-
|
|
342
420
|
white-space: nowrap,
|
|
343
421
|
vertical-align: middle,
|
|
344
422
|
align-items: center,
|
|
345
423
|
display: inline-flex,
|
|
346
|
-
|
|
347
424
|
padding: var(--padding),
|
|
348
425
|
border-radius: var(--border-radius),
|
|
349
426
|
color: var(--color),
|
|
350
427
|
background: var(--background),
|
|
351
428
|
box-shadow: var(--box-shadow),
|
|
352
429
|
border: var(--border),
|
|
353
|
-
|
|
354
430
|
colors: (
|
|
355
431
|
light : (
|
|
356
432
|
color: #ccc,
|
|
@@ -364,7 +440,6 @@ $components-config: (
|
|
|
364
440
|
)
|
|
365
441
|
)
|
|
366
442
|
),
|
|
367
|
-
|
|
368
443
|
breadcrumb : (
|
|
369
444
|
--padding: 0 0 0 5px,
|
|
370
445
|
list-style: none,
|
|
@@ -384,82 +459,66 @@ $components-config: (
|
|
|
384
459
|
display: inline-flex,
|
|
385
460
|
subclasses : (
|
|
386
461
|
".link" : (
|
|
387
|
-
|
|
388
462
|
)
|
|
389
463
|
)
|
|
390
464
|
)
|
|
391
465
|
)
|
|
392
466
|
),
|
|
393
|
-
|
|
394
467
|
button : (
|
|
468
|
+
--padding: .5rem .75rem,
|
|
395
469
|
--border-radius: .25rem,
|
|
396
470
|
--box-shadow : (
|
|
397
471
|
inset 0 0 0 1px rgba(0, 0, 0, 0.05),
|
|
398
|
-
inset 0 1px 2px 0 rgba(78, 83, 90, 0.1)
|
|
399
|
-
// inset -0.0625rem 0 0 #e3e3e3,
|
|
472
|
+
inset 0 1px 2px 0 rgba(78, 83, 90, 0.1) // inset -0.0625rem 0 0 #e3e3e3,
|
|
400
473
|
// inset 0.0625rem 0 0 #e3e3e3,
|
|
401
474
|
// inset 0 0.0625rem 0 #e3e3e3
|
|
402
475
|
),
|
|
403
|
-
--padding: .5rem .75rem,
|
|
404
|
-
|
|
405
476
|
display: inline-flex,
|
|
406
477
|
align-items: center,
|
|
407
478
|
align-content: center,
|
|
408
479
|
white-space: nowrap,
|
|
409
|
-
user-select: none,
|
|
410
480
|
text-decoration: none,
|
|
411
481
|
cursor: pointer,
|
|
412
|
-
|
|
413
482
|
vertical-align: middle,
|
|
414
483
|
font-size: 1em,
|
|
415
|
-
|
|
416
484
|
padding: var(--padding),
|
|
417
485
|
border: var(--border),
|
|
418
486
|
background: var(--background),
|
|
419
487
|
color: var(--color),
|
|
420
488
|
border-radius: var(--border-radius),
|
|
421
|
-
|
|
422
489
|
// This one is required for button group use
|
|
423
490
|
position: relative,
|
|
424
|
-
|
|
425
491
|
transition: (
|
|
426
492
|
color .15s ease-in-out,
|
|
427
493
|
background-color .15s ease-in-out,
|
|
428
494
|
border-color .15s ease-in-out,
|
|
429
495
|
box-shadow .15s ease-in-out
|
|
430
496
|
),
|
|
431
|
-
|
|
432
497
|
colors: (
|
|
433
498
|
light: (
|
|
434
499
|
color: #fff,
|
|
435
500
|
background: #fff
|
|
436
501
|
),
|
|
437
502
|
dark: (
|
|
438
|
-
|
|
439
503
|
// Default
|
|
440
504
|
color: #fff,
|
|
441
505
|
background: rgb(48, 56, 66),
|
|
442
506
|
border: 1px solid rgba(240, 246, 252, .25),
|
|
443
|
-
|
|
444
507
|
// Hover state
|
|
445
508
|
hover-color: #fff,
|
|
446
509
|
hover-background: rgb(59, 68, 81),
|
|
447
510
|
hover-border: 1px solid rgba(229, 235, 240, .55),
|
|
448
|
-
|
|
449
511
|
// Disabled state
|
|
450
512
|
disabled-color: #484f58,
|
|
451
513
|
disabled-background: #21262d,
|
|
452
514
|
disabled-border: 1px solid rgba(240, 246, 252, 0.1),
|
|
453
|
-
|
|
454
515
|
// Active state
|
|
455
516
|
active-color: #fff,
|
|
456
517
|
active-background: rgb(39, 45, 53),
|
|
457
518
|
active-border: 1px solid rgba(240, 246, 252, .25),
|
|
458
519
|
active-shadow: string.unquote("-0.0625rem 0rem 0.0625rem 0rem rgba(26,26,26,0.122) inset,0.0625rem 0rem 0.0625rem 0rem rgba(26,26,26,0.122) inset, 0rem 0.125rem 0.0625rem 0rem rgba(26,26,26,0.2) inset")
|
|
459
|
-
|
|
460
520
|
)
|
|
461
521
|
),
|
|
462
|
-
|
|
463
522
|
subclasses : (
|
|
464
523
|
"&:hover:not(.loading, [disabled], .btn-link)" : (
|
|
465
524
|
color: var(--hover-color),
|
|
@@ -476,9 +535,10 @@ $components-config: (
|
|
|
476
535
|
background: transparent,
|
|
477
536
|
border: none,
|
|
478
537
|
box-shadow: none,
|
|
538
|
+
text-decoration: underline,
|
|
479
539
|
subclasses: (
|
|
480
540
|
"&:hover": (
|
|
481
|
-
text-decoration:
|
|
541
|
+
text-decoration: none,
|
|
482
542
|
)
|
|
483
543
|
)
|
|
484
544
|
),
|
|
@@ -494,44 +554,33 @@ $components-config: (
|
|
|
494
554
|
)
|
|
495
555
|
)
|
|
496
556
|
),
|
|
497
|
-
|
|
498
557
|
button-group: (
|
|
499
558
|
--gap: 10px,
|
|
500
|
-
|
|
501
559
|
display: flex,
|
|
502
560
|
flex-wrap: wrap,
|
|
503
|
-
|
|
504
561
|
subclasses : (
|
|
505
562
|
".btn:first-child" : (
|
|
506
563
|
border-start-end-radius: 0,
|
|
507
564
|
border-end-end-radius: 0,
|
|
508
565
|
),
|
|
509
|
-
|
|
510
566
|
".btn:last-child" : (
|
|
511
567
|
border-start-start-radius: 0,
|
|
512
568
|
border-end-start-radius: 0,
|
|
513
569
|
),
|
|
514
|
-
|
|
515
570
|
".btn:not(:first-child)" : (
|
|
516
571
|
margin-left: - 1px
|
|
517
572
|
),
|
|
518
|
-
|
|
519
573
|
".btn:not(:first-child, :last-child)" : (
|
|
520
574
|
border-radius: 0
|
|
521
575
|
),
|
|
522
|
-
|
|
523
576
|
".btn:only-child" : (
|
|
524
|
-
|
|
525
577
|
),
|
|
526
|
-
|
|
527
578
|
".btn:hover, .btn:focus" : (
|
|
528
579
|
z-index: 1
|
|
529
580
|
),
|
|
530
|
-
|
|
531
581
|
"&.separated" : (
|
|
532
582
|
gap: var(--gap),
|
|
533
583
|
--border-radius: 5px,
|
|
534
|
-
|
|
535
584
|
subclasses : (
|
|
536
585
|
".btn" : (
|
|
537
586
|
margin: 0,
|
|
@@ -541,20 +590,16 @@ $components-config: (
|
|
|
541
590
|
)
|
|
542
591
|
)
|
|
543
592
|
),
|
|
544
|
-
|
|
545
593
|
card : (
|
|
546
594
|
--border-radius: .25rem,
|
|
547
595
|
--padding: .5rem,
|
|
548
|
-
|
|
549
596
|
background: var(--background),
|
|
550
597
|
padding: var(--padding),
|
|
551
598
|
border-radius: var(--border-radius),
|
|
552
599
|
box-shadow: var(--shadow),
|
|
553
600
|
border: var(--border),
|
|
554
|
-
|
|
555
601
|
height: 100%,
|
|
556
602
|
margin: 0,
|
|
557
|
-
|
|
558
603
|
colors: (
|
|
559
604
|
light : (
|
|
560
605
|
background: rgb(200, 200, 200)
|
|
@@ -566,7 +611,6 @@ $components-config: (
|
|
|
566
611
|
)
|
|
567
612
|
)
|
|
568
613
|
),
|
|
569
|
-
|
|
570
614
|
container : (
|
|
571
615
|
margin: 0 auto,
|
|
572
616
|
width: 100%,
|
|
@@ -574,9 +618,7 @@ $components-config: (
|
|
|
574
618
|
light : (),
|
|
575
619
|
dark : ()
|
|
576
620
|
),
|
|
577
|
-
|
|
578
621
|
),
|
|
579
|
-
|
|
580
622
|
form : (
|
|
581
623
|
label : (
|
|
582
624
|
display: block,
|
|
@@ -645,41 +687,43 @@ $components-config: (
|
|
|
645
687
|
|
|
646
688
|
overlay : (
|
|
647
689
|
|
|
690
|
+
background : var(--background),
|
|
691
|
+
|
|
648
692
|
position: absolute,
|
|
649
693
|
top: 0,
|
|
650
694
|
bottom: 0,
|
|
651
695
|
left: 0,
|
|
652
696
|
right: 0,
|
|
697
|
+
|
|
653
698
|
width: 100%,
|
|
654
699
|
height: 100%,
|
|
655
700
|
|
|
701
|
+
display: flex,
|
|
702
|
+
align-items: center,
|
|
703
|
+
justify-content: center,
|
|
704
|
+
|
|
656
705
|
colors: (
|
|
657
706
|
light : (
|
|
658
707
|
),
|
|
659
708
|
dark : (
|
|
660
|
-
background: rgba(15, 23, 42, .
|
|
709
|
+
background: rgba(15, 23, 42, .85),
|
|
661
710
|
)
|
|
662
711
|
)
|
|
663
712
|
),
|
|
664
713
|
|
|
665
714
|
pagination : (
|
|
666
|
-
|
|
667
715
|
--grid-template-columns: auto auto 1fr,
|
|
668
716
|
--gap : 10px,
|
|
669
|
-
|
|
670
717
|
--left-column-aligment: start,
|
|
671
718
|
--center-column-alignment: center,
|
|
672
719
|
--right-column-alignment: end,
|
|
673
|
-
|
|
674
720
|
position: relative,
|
|
675
721
|
display: grid,
|
|
676
722
|
width: 100%,
|
|
677
723
|
max-width: 100%,
|
|
678
724
|
align-items: center,
|
|
679
|
-
|
|
680
725
|
grid-template-columns: var(--grid-template-columns),
|
|
681
726
|
grid-gap: var(--gap),
|
|
682
|
-
|
|
683
727
|
subclasses : (
|
|
684
728
|
".left" : (
|
|
685
729
|
justify-self: var(--left-column-alignment),
|
|
@@ -692,19 +736,14 @@ $components-config: (
|
|
|
692
736
|
)
|
|
693
737
|
),
|
|
694
738
|
),
|
|
695
|
-
|
|
696
739
|
placeholder : (
|
|
697
|
-
|
|
698
740
|
--min-height: 0.55rem,
|
|
699
741
|
--border-radius: .1875rem,
|
|
700
742
|
--gap: .6rem,
|
|
701
|
-
|
|
702
743
|
cursor: wait,
|
|
703
744
|
display: flex,
|
|
704
745
|
flex-direction: column,
|
|
705
|
-
|
|
706
746
|
gap: var(--gap),
|
|
707
|
-
|
|
708
747
|
colors: (
|
|
709
748
|
light : (
|
|
710
749
|
background: #ccc
|
|
@@ -713,14 +752,12 @@ $components-config: (
|
|
|
713
752
|
background: #ccc
|
|
714
753
|
)
|
|
715
754
|
),
|
|
716
|
-
|
|
717
755
|
subclasses : (
|
|
718
756
|
".el" : (
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
757
|
+
min-height: var(--min-height),
|
|
758
|
+
border-radius: var(--border-radius),
|
|
759
|
+
background: var(--background)
|
|
722
760
|
),
|
|
723
|
-
|
|
724
761
|
"&.glow" : (
|
|
725
762
|
subclasses : (
|
|
726
763
|
".el" : (
|
|
@@ -728,7 +765,6 @@ $components-config: (
|
|
|
728
765
|
)
|
|
729
766
|
)
|
|
730
767
|
),
|
|
731
|
-
|
|
732
768
|
"&.wave" : (
|
|
733
769
|
subclasses : (
|
|
734
770
|
".el" : (
|
|
@@ -746,7 +782,7 @@ $components-config: (
|
|
|
746
782
|
nav : (
|
|
747
783
|
|
|
748
784
|
--flex-direction: row,
|
|
749
|
-
--align-items:
|
|
785
|
+
--align-items: center,
|
|
750
786
|
--gap: 0,
|
|
751
787
|
|
|
752
788
|
display: flex,
|
|
@@ -768,46 +804,40 @@ $components-config: (
|
|
|
768
804
|
'&.horizontal' : (
|
|
769
805
|
--align-items: center,
|
|
770
806
|
--flex-direction : row,
|
|
807
|
+
--gap : 12.5px,
|
|
771
808
|
),
|
|
772
809
|
'&.vertical' : (
|
|
773
810
|
--flex-direction : column,
|
|
811
|
+
--align-items: auto,
|
|
774
812
|
),
|
|
775
813
|
'&.tabs' : (
|
|
776
|
-
|
|
777
814
|
),
|
|
778
815
|
'&.pills' : (
|
|
779
|
-
|
|
780
816
|
),
|
|
781
817
|
'.item' : (
|
|
782
818
|
width: auto,
|
|
783
|
-
|
|
784
819
|
subclasses : (
|
|
785
820
|
'.link' : (
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
light : (
|
|
792
|
-
color: '#333',
|
|
793
|
-
),
|
|
794
|
-
dark : (
|
|
795
|
-
color: '#fff'
|
|
796
|
-
)
|
|
821
|
+
display: inline-flex,
|
|
822
|
+
color: var(--color),
|
|
823
|
+
colors: (
|
|
824
|
+
light : (
|
|
825
|
+
color: '#333',
|
|
797
826
|
),
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
827
|
+
dark : (
|
|
828
|
+
color: '#fff'
|
|
829
|
+
)
|
|
830
|
+
),
|
|
831
|
+
subclasses: (
|
|
832
|
+
'&:hover' : (
|
|
833
|
+
text-decoration : none
|
|
802
834
|
)
|
|
803
835
|
)
|
|
804
836
|
),
|
|
805
837
|
)
|
|
806
838
|
)
|
|
807
839
|
)
|
|
808
|
-
|
|
809
840
|
),
|
|
810
|
-
|
|
811
841
|
navbar : (
|
|
812
842
|
|
|
813
843
|
--grid-template-columns: auto auto 1fr,
|
|
@@ -815,7 +845,6 @@ $components-config: (
|
|
|
815
845
|
--left-column-aligment: start,
|
|
816
846
|
--center-column-alignnent: center,
|
|
817
847
|
--right-column-alignment: end,
|
|
818
|
-
|
|
819
848
|
position: relative,
|
|
820
849
|
display: grid,
|
|
821
850
|
width: 100%,
|
|
@@ -823,17 +852,14 @@ $components-config: (
|
|
|
823
852
|
align-items: center,
|
|
824
853
|
margin: 0,
|
|
825
854
|
padding: 0,
|
|
826
|
-
|
|
827
855
|
grid-template-columns: var(--grid-template-columns),
|
|
828
856
|
grid-gap: var(--gap),
|
|
829
|
-
|
|
830
857
|
colors: (
|
|
831
858
|
light : (
|
|
832
859
|
),
|
|
833
860
|
dark: (
|
|
834
861
|
)
|
|
835
862
|
),
|
|
836
|
-
|
|
837
863
|
subclasses : (
|
|
838
864
|
".left" : (
|
|
839
865
|
justify-self: var(--left-column-alignment),
|
|
@@ -848,21 +874,23 @@ $components-config: (
|
|
|
848
874
|
),
|
|
849
875
|
|
|
850
876
|
sidecap : (
|
|
877
|
+
|
|
851
878
|
position: absolute,
|
|
852
879
|
top: 0,
|
|
853
880
|
right: 0,
|
|
854
881
|
height: 100%,
|
|
855
|
-
|
|
856
882
|
display: flex,
|
|
857
883
|
flex-direction: column,
|
|
884
|
+
width: 300px,
|
|
858
885
|
|
|
886
|
+
background: var(--background),
|
|
859
887
|
colors: (
|
|
860
888
|
light : (
|
|
861
889
|
background : #ccc
|
|
862
890
|
),
|
|
863
891
|
dark: (
|
|
864
892
|
background: rgb(45, 56, 66),
|
|
865
|
-
box-shadow: 0rem 1.25rem 1.25rem -0.5rem rgba(26,26,26, .28)
|
|
893
|
+
box-shadow: 0rem 1.25rem 1.25rem -0.5rem rgba(26, 26, 26, .28)
|
|
866
894
|
)
|
|
867
895
|
)
|
|
868
896
|
)
|
|
@@ -871,4 +899,4 @@ $components-config: (
|
|
|
871
899
|
|
|
872
900
|
$updated-theme: map.deep-merge($updated-theme, $components-config);
|
|
873
901
|
|
|
874
|
-
$theme: map.deep-merge($updated-theme, $theme);
|
|
902
|
+
$theme: map.deep-merge($updated-theme, $theme);
|