@nulllogic/scssleon 1.0.36 → 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 +4 -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 +5 -1
- package/scss/scssleon.scss +5 -3
- package/scss/themes/_default.scss +130 -139
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,16 +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
|
-
"minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
|
|
23
|
-
"docs-build": "docker run --rm -it -v $(pwd):/src klakegg/hugo:alpine",
|
|
24
|
-
"docs-serve": "docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:alpine server"
|
|
21
|
+
"watch": "sass --watch ./scss:./dist/css"
|
|
25
22
|
},
|
|
26
23
|
"dependencies": {
|
|
27
|
-
"sass": "^1.
|
|
24
|
+
"sass": "^1.87.0"
|
|
28
25
|
},
|
|
29
26
|
"devDependencies": {
|
|
30
|
-
|
|
27
|
+
|
|
31
28
|
},
|
|
32
29
|
"homepage": "https://nulllogic.github.io/scssleon-docs",
|
|
33
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
|
+
}
|
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,30 +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 : (
|
|
19
|
+
-webkit-text-size-adjust: 100%,
|
|
20
|
+
-webkit-font-smoothing: antialiased,
|
|
21
|
+
|
|
15
22
|
margin: 0,
|
|
16
23
|
|
|
17
|
-
-
|
|
18
|
-
font-size : 1rem,
|
|
24
|
+
font-size : 1em,
|
|
19
25
|
font-weight: normal,
|
|
20
26
|
font-family: var(global(--font-family-default)),
|
|
21
27
|
line-height : 1,
|
|
28
|
+
text-rendering: optimizelegibility,
|
|
29
|
+
font-synthesis-weight: none,
|
|
22
30
|
|
|
23
31
|
color: var(--color),
|
|
24
32
|
background: var(--background),
|
|
25
33
|
|
|
26
|
-
text-rendering: optimizelegibility,
|
|
27
|
-
-webkit-font-smoothing: antialiased,
|
|
28
|
-
font-synthesis-weight: none,
|
|
29
|
-
|
|
30
34
|
colors: (
|
|
31
35
|
light : (
|
|
32
36
|
background: '#fff',
|
|
@@ -38,9 +42,11 @@ $html-config: (
|
|
|
38
42
|
)
|
|
39
43
|
)
|
|
40
44
|
),
|
|
45
|
+
|
|
41
46
|
a : (
|
|
42
47
|
text-decoration : underline,
|
|
43
48
|
color: var(--color),
|
|
49
|
+
|
|
44
50
|
colors: (
|
|
45
51
|
light : (
|
|
46
52
|
color: '#ccc',
|
|
@@ -49,6 +55,7 @@ $html-config: (
|
|
|
49
55
|
color: '#ccc'
|
|
50
56
|
)
|
|
51
57
|
),
|
|
58
|
+
|
|
52
59
|
subclasses : (
|
|
53
60
|
"&:hover": (
|
|
54
61
|
text-decoration: none
|
|
@@ -65,6 +72,7 @@ $html-config: (
|
|
|
65
72
|
),
|
|
66
73
|
)
|
|
67
74
|
)
|
|
75
|
+
|
|
68
76
|
),
|
|
69
77
|
ol: (
|
|
70
78
|
margin: 0,
|
|
@@ -86,12 +94,6 @@ $html-config: (
|
|
|
86
94
|
width: auto,
|
|
87
95
|
height: auto,
|
|
88
96
|
max-width: 100%,
|
|
89
|
-
),
|
|
90
|
-
"h1,h2,h3,h4,h5,h6" : (
|
|
91
|
-
margin: 0
|
|
92
|
-
),
|
|
93
|
-
p : (
|
|
94
|
-
margin: 0
|
|
95
97
|
)
|
|
96
98
|
)
|
|
97
99
|
);
|
|
@@ -101,43 +103,43 @@ $updated-theme: map.deep-merge($updated-theme, $html-config);
|
|
|
101
103
|
$content-config: (
|
|
102
104
|
content : (
|
|
103
105
|
h1 : (
|
|
104
|
-
font-size: 3.
|
|
105
|
-
line-height
|
|
106
|
+
font-size: 3.75rem,
|
|
107
|
+
line-height: inherit,
|
|
106
108
|
font-weight: 500,
|
|
107
109
|
margin: 0,
|
|
108
110
|
padding: 0 0 15px 0
|
|
109
111
|
),
|
|
110
112
|
h2 : (
|
|
111
|
-
font-size:
|
|
112
|
-
line-height
|
|
113
|
+
font-size: 3rem,
|
|
114
|
+
line-height: inherit,
|
|
113
115
|
font-weight: 500,
|
|
114
116
|
margin: 0,
|
|
115
117
|
padding: 0 0 15px 0
|
|
116
118
|
),
|
|
117
119
|
h3 : (
|
|
118
|
-
font-size: 2.
|
|
119
|
-
line-height
|
|
120
|
+
font-size: 2.25rem,
|
|
121
|
+
line-height: inherit,
|
|
120
122
|
font-weight: 500,
|
|
121
123
|
margin: 0,
|
|
122
124
|
padding: 0 0 15px 0
|
|
123
125
|
),
|
|
124
126
|
h4 : (
|
|
125
|
-
font-size:
|
|
126
|
-
line-height
|
|
127
|
+
font-size: 1.875rem,
|
|
128
|
+
line-height: inherit,
|
|
127
129
|
font-weight: 500,
|
|
128
130
|
margin: 0,
|
|
129
131
|
padding: 0 0 15px 0
|
|
130
132
|
),
|
|
131
133
|
h5 : (
|
|
132
|
-
font-size: 1.
|
|
133
|
-
line-height
|
|
134
|
+
font-size: 1.5rem,
|
|
135
|
+
line-height: inherit,
|
|
134
136
|
font-weight: 500,
|
|
135
137
|
margin: 0,
|
|
136
138
|
padding: 0 0 15px 0
|
|
137
139
|
),
|
|
138
140
|
h6 : (
|
|
139
|
-
font-size: 1.
|
|
140
|
-
line-height
|
|
141
|
+
font-size: 1.25rem,
|
|
142
|
+
line-height: inherit,
|
|
141
143
|
font-weight: 500,
|
|
142
144
|
margin: 0,
|
|
143
145
|
padding: 0 0 15px 0
|
|
@@ -145,6 +147,7 @@ $content-config: (
|
|
|
145
147
|
p : (
|
|
146
148
|
margin: 0,
|
|
147
149
|
padding: 0 0 15px 0,
|
|
150
|
+
line-height: clamp(1.25em, 4vw, 1.5em),
|
|
148
151
|
),
|
|
149
152
|
abbr: (
|
|
150
153
|
attributes : (
|
|
@@ -200,14 +203,14 @@ $content-config: (
|
|
|
200
203
|
code: (
|
|
201
204
|
color: var(--color),
|
|
202
205
|
background: var(--background),
|
|
203
|
-
padding:
|
|
206
|
+
padding: 2px 5px,
|
|
204
207
|
colors: (
|
|
205
208
|
light : (
|
|
206
209
|
background: '#fff',
|
|
207
210
|
color: '#ccc',
|
|
208
211
|
),
|
|
209
212
|
dark : (
|
|
210
|
-
background : rgba(38,69,116,1),
|
|
213
|
+
background : rgba(38, 69, 116, 1),
|
|
211
214
|
color: '#fff'
|
|
212
215
|
)
|
|
213
216
|
)
|
|
@@ -295,30 +298,30 @@ $updated-theme: map.deep-merge($updated-theme, $content-config);
|
|
|
295
298
|
|
|
296
299
|
$components-config: (
|
|
297
300
|
components: (
|
|
298
|
-
|
|
299
301
|
alert: (
|
|
300
302
|
|
|
301
|
-
--border-radius: .
|
|
303
|
+
--border-radius: .5rem,
|
|
302
304
|
--grid-template-columns: auto auto 1fr,
|
|
303
305
|
--gap : 0.5rem,
|
|
304
|
-
--padding: 0.
|
|
305
|
-
|
|
306
|
-
--left-column-
|
|
307
|
-
--center-column-
|
|
308
|
-
--
|
|
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,
|
|
309
313
|
|
|
310
314
|
box-shadow: var(--shadow),
|
|
311
315
|
background: var(--background),
|
|
312
316
|
border-radius: var(--border-radius),
|
|
313
|
-
|
|
317
|
+
border: var(--border),
|
|
314
318
|
outline: 1px solid transparent,
|
|
315
|
-
|
|
316
319
|
position: relative,
|
|
317
320
|
display: grid,
|
|
318
321
|
width: 100%,
|
|
319
322
|
max-width: 100%,
|
|
320
323
|
align-items: center,
|
|
321
|
-
|
|
324
|
+
line-height: 1rem,
|
|
322
325
|
grid-template-columns: var(--grid-template-columns),
|
|
323
326
|
grid-gap: var(--gap),
|
|
324
327
|
padding: var(--padding),
|
|
@@ -329,33 +332,35 @@ $components-config: (
|
|
|
329
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)"),
|
|
330
333
|
),
|
|
331
334
|
dark : (
|
|
332
|
-
background: rgb(
|
|
333
|
-
border: 1px solid rgba(
|
|
334
|
-
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"),
|
|
335
338
|
)
|
|
336
339
|
),
|
|
337
340
|
|
|
338
341
|
subclasses : (
|
|
339
|
-
|
|
340
|
-
justify-self: var(--left-column-
|
|
342
|
+
'.left' : (
|
|
343
|
+
justify-self: var(--left-column-justify-self),
|
|
344
|
+
align-self: var(--left-column-align-self),
|
|
341
345
|
),
|
|
342
|
-
|
|
343
|
-
justify-self: var(--center-column-
|
|
346
|
+
'.center' : (
|
|
347
|
+
justify-self: var(--center-column-justify-self),
|
|
348
|
+
align-self: var(--center-column-align-self),
|
|
344
349
|
),
|
|
345
|
-
|
|
346
|
-
justify-self: var(--right-column-
|
|
350
|
+
'.right' : (
|
|
351
|
+
justify-self: var(--right-column-justify-self),
|
|
352
|
+
align-self: var(--right-column-align-self),
|
|
347
353
|
),
|
|
348
354
|
)
|
|
349
|
-
),
|
|
350
355
|
|
|
356
|
+
),
|
|
351
357
|
accordion : (
|
|
352
358
|
|
|
353
359
|
--border-radius: .25rem,
|
|
354
|
-
--padding:
|
|
360
|
+
--padding: 1rem,
|
|
355
361
|
|
|
356
362
|
position: relative,
|
|
357
363
|
width: 100%,
|
|
358
|
-
|
|
359
364
|
colors: (
|
|
360
365
|
light : (
|
|
361
366
|
),
|
|
@@ -363,31 +368,65 @@ $components-config: (
|
|
|
363
368
|
border: 1px solid rgba(182, 199, 216, .35),
|
|
364
369
|
background: rgb(46, 56, 66),
|
|
365
370
|
)
|
|
366
|
-
)
|
|
371
|
+
),
|
|
372
|
+
subclasses : (
|
|
367
373
|
|
|
368
|
-
|
|
374
|
+
'.item' : (
|
|
375
|
+
padding-bottom: var(--padding),
|
|
369
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
|
+
),
|
|
370
414
|
badge : (
|
|
371
|
-
|
|
372
415
|
--border-radius: .25rem,
|
|
373
416
|
--padding: .125rem .625rem,
|
|
374
|
-
|
|
375
417
|
font-size: .75rem,
|
|
376
418
|
line-height: 1rem,
|
|
377
419
|
font-weight: 500,
|
|
378
|
-
|
|
379
420
|
white-space: nowrap,
|
|
380
421
|
vertical-align: middle,
|
|
381
422
|
align-items: center,
|
|
382
423
|
display: inline-flex,
|
|
383
|
-
|
|
384
424
|
padding: var(--padding),
|
|
385
425
|
border-radius: var(--border-radius),
|
|
386
426
|
color: var(--color),
|
|
387
427
|
background: var(--background),
|
|
388
428
|
box-shadow: var(--box-shadow),
|
|
389
429
|
border: var(--border),
|
|
390
|
-
|
|
391
430
|
colors: (
|
|
392
431
|
light : (
|
|
393
432
|
color: #ccc,
|
|
@@ -401,7 +440,6 @@ $components-config: (
|
|
|
401
440
|
)
|
|
402
441
|
)
|
|
403
442
|
),
|
|
404
|
-
|
|
405
443
|
breadcrumb : (
|
|
406
444
|
--padding: 0 0 0 5px,
|
|
407
445
|
list-style: none,
|
|
@@ -421,82 +459,66 @@ $components-config: (
|
|
|
421
459
|
display: inline-flex,
|
|
422
460
|
subclasses : (
|
|
423
461
|
".link" : (
|
|
424
|
-
|
|
425
462
|
)
|
|
426
463
|
)
|
|
427
464
|
)
|
|
428
465
|
)
|
|
429
466
|
),
|
|
430
|
-
|
|
431
467
|
button : (
|
|
468
|
+
--padding: .5rem .75rem,
|
|
432
469
|
--border-radius: .25rem,
|
|
433
470
|
--box-shadow : (
|
|
434
471
|
inset 0 0 0 1px rgba(0, 0, 0, 0.05),
|
|
435
|
-
inset 0 1px 2px 0 rgba(78, 83, 90, 0.1)
|
|
436
|
-
// inset -0.0625rem 0 0 #e3e3e3,
|
|
472
|
+
inset 0 1px 2px 0 rgba(78, 83, 90, 0.1) // inset -0.0625rem 0 0 #e3e3e3,
|
|
437
473
|
// inset 0.0625rem 0 0 #e3e3e3,
|
|
438
474
|
// inset 0 0.0625rem 0 #e3e3e3
|
|
439
475
|
),
|
|
440
|
-
--padding: .5rem .75rem,
|
|
441
|
-
|
|
442
476
|
display: inline-flex,
|
|
443
477
|
align-items: center,
|
|
444
478
|
align-content: center,
|
|
445
479
|
white-space: nowrap,
|
|
446
|
-
user-select: none,
|
|
447
480
|
text-decoration: none,
|
|
448
481
|
cursor: pointer,
|
|
449
|
-
|
|
450
482
|
vertical-align: middle,
|
|
451
483
|
font-size: 1em,
|
|
452
|
-
|
|
453
484
|
padding: var(--padding),
|
|
454
485
|
border: var(--border),
|
|
455
486
|
background: var(--background),
|
|
456
487
|
color: var(--color),
|
|
457
488
|
border-radius: var(--border-radius),
|
|
458
|
-
|
|
459
489
|
// This one is required for button group use
|
|
460
490
|
position: relative,
|
|
461
|
-
|
|
462
491
|
transition: (
|
|
463
492
|
color .15s ease-in-out,
|
|
464
493
|
background-color .15s ease-in-out,
|
|
465
494
|
border-color .15s ease-in-out,
|
|
466
495
|
box-shadow .15s ease-in-out
|
|
467
496
|
),
|
|
468
|
-
|
|
469
497
|
colors: (
|
|
470
498
|
light: (
|
|
471
499
|
color: #fff,
|
|
472
500
|
background: #fff
|
|
473
501
|
),
|
|
474
502
|
dark: (
|
|
475
|
-
|
|
476
503
|
// Default
|
|
477
504
|
color: #fff,
|
|
478
505
|
background: rgb(48, 56, 66),
|
|
479
506
|
border: 1px solid rgba(240, 246, 252, .25),
|
|
480
|
-
|
|
481
507
|
// Hover state
|
|
482
508
|
hover-color: #fff,
|
|
483
509
|
hover-background: rgb(59, 68, 81),
|
|
484
510
|
hover-border: 1px solid rgba(229, 235, 240, .55),
|
|
485
|
-
|
|
486
511
|
// Disabled state
|
|
487
512
|
disabled-color: #484f58,
|
|
488
513
|
disabled-background: #21262d,
|
|
489
514
|
disabled-border: 1px solid rgba(240, 246, 252, 0.1),
|
|
490
|
-
|
|
491
515
|
// Active state
|
|
492
516
|
active-color: #fff,
|
|
493
517
|
active-background: rgb(39, 45, 53),
|
|
494
518
|
active-border: 1px solid rgba(240, 246, 252, .25),
|
|
495
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")
|
|
496
|
-
|
|
497
520
|
)
|
|
498
521
|
),
|
|
499
|
-
|
|
500
522
|
subclasses : (
|
|
501
523
|
"&:hover:not(.loading, [disabled], .btn-link)" : (
|
|
502
524
|
color: var(--hover-color),
|
|
@@ -513,9 +535,10 @@ $components-config: (
|
|
|
513
535
|
background: transparent,
|
|
514
536
|
border: none,
|
|
515
537
|
box-shadow: none,
|
|
538
|
+
text-decoration: underline,
|
|
516
539
|
subclasses: (
|
|
517
540
|
"&:hover": (
|
|
518
|
-
text-decoration:
|
|
541
|
+
text-decoration: none,
|
|
519
542
|
)
|
|
520
543
|
)
|
|
521
544
|
),
|
|
@@ -531,44 +554,33 @@ $components-config: (
|
|
|
531
554
|
)
|
|
532
555
|
)
|
|
533
556
|
),
|
|
534
|
-
|
|
535
557
|
button-group: (
|
|
536
558
|
--gap: 10px,
|
|
537
|
-
|
|
538
559
|
display: flex,
|
|
539
560
|
flex-wrap: wrap,
|
|
540
|
-
|
|
541
561
|
subclasses : (
|
|
542
562
|
".btn:first-child" : (
|
|
543
563
|
border-start-end-radius: 0,
|
|
544
564
|
border-end-end-radius: 0,
|
|
545
565
|
),
|
|
546
|
-
|
|
547
566
|
".btn:last-child" : (
|
|
548
567
|
border-start-start-radius: 0,
|
|
549
568
|
border-end-start-radius: 0,
|
|
550
569
|
),
|
|
551
|
-
|
|
552
570
|
".btn:not(:first-child)" : (
|
|
553
571
|
margin-left: - 1px
|
|
554
572
|
),
|
|
555
|
-
|
|
556
573
|
".btn:not(:first-child, :last-child)" : (
|
|
557
574
|
border-radius: 0
|
|
558
575
|
),
|
|
559
|
-
|
|
560
576
|
".btn:only-child" : (
|
|
561
|
-
|
|
562
577
|
),
|
|
563
|
-
|
|
564
578
|
".btn:hover, .btn:focus" : (
|
|
565
579
|
z-index: 1
|
|
566
580
|
),
|
|
567
|
-
|
|
568
581
|
"&.separated" : (
|
|
569
582
|
gap: var(--gap),
|
|
570
583
|
--border-radius: 5px,
|
|
571
|
-
|
|
572
584
|
subclasses : (
|
|
573
585
|
".btn" : (
|
|
574
586
|
margin: 0,
|
|
@@ -578,20 +590,16 @@ $components-config: (
|
|
|
578
590
|
)
|
|
579
591
|
)
|
|
580
592
|
),
|
|
581
|
-
|
|
582
593
|
card : (
|
|
583
594
|
--border-radius: .25rem,
|
|
584
595
|
--padding: .5rem,
|
|
585
|
-
|
|
586
596
|
background: var(--background),
|
|
587
597
|
padding: var(--padding),
|
|
588
598
|
border-radius: var(--border-radius),
|
|
589
599
|
box-shadow: var(--shadow),
|
|
590
600
|
border: var(--border),
|
|
591
|
-
|
|
592
601
|
height: 100%,
|
|
593
602
|
margin: 0,
|
|
594
|
-
|
|
595
603
|
colors: (
|
|
596
604
|
light : (
|
|
597
605
|
background: rgb(200, 200, 200)
|
|
@@ -603,7 +611,6 @@ $components-config: (
|
|
|
603
611
|
)
|
|
604
612
|
)
|
|
605
613
|
),
|
|
606
|
-
|
|
607
614
|
container : (
|
|
608
615
|
margin: 0 auto,
|
|
609
616
|
width: 100%,
|
|
@@ -611,9 +618,7 @@ $components-config: (
|
|
|
611
618
|
light : (),
|
|
612
619
|
dark : ()
|
|
613
620
|
),
|
|
614
|
-
|
|
615
621
|
),
|
|
616
|
-
|
|
617
622
|
form : (
|
|
618
623
|
label : (
|
|
619
624
|
display: block,
|
|
@@ -682,41 +687,43 @@ $components-config: (
|
|
|
682
687
|
|
|
683
688
|
overlay : (
|
|
684
689
|
|
|
690
|
+
background : var(--background),
|
|
691
|
+
|
|
685
692
|
position: absolute,
|
|
686
693
|
top: 0,
|
|
687
694
|
bottom: 0,
|
|
688
695
|
left: 0,
|
|
689
696
|
right: 0,
|
|
697
|
+
|
|
690
698
|
width: 100%,
|
|
691
699
|
height: 100%,
|
|
692
700
|
|
|
701
|
+
display: flex,
|
|
702
|
+
align-items: center,
|
|
703
|
+
justify-content: center,
|
|
704
|
+
|
|
693
705
|
colors: (
|
|
694
706
|
light : (
|
|
695
707
|
),
|
|
696
708
|
dark : (
|
|
697
|
-
background: rgba(15, 23, 42, .
|
|
709
|
+
background: rgba(15, 23, 42, .85),
|
|
698
710
|
)
|
|
699
711
|
)
|
|
700
712
|
),
|
|
701
713
|
|
|
702
714
|
pagination : (
|
|
703
|
-
|
|
704
715
|
--grid-template-columns: auto auto 1fr,
|
|
705
716
|
--gap : 10px,
|
|
706
|
-
|
|
707
717
|
--left-column-aligment: start,
|
|
708
718
|
--center-column-alignment: center,
|
|
709
719
|
--right-column-alignment: end,
|
|
710
|
-
|
|
711
720
|
position: relative,
|
|
712
721
|
display: grid,
|
|
713
722
|
width: 100%,
|
|
714
723
|
max-width: 100%,
|
|
715
724
|
align-items: center,
|
|
716
|
-
|
|
717
725
|
grid-template-columns: var(--grid-template-columns),
|
|
718
726
|
grid-gap: var(--gap),
|
|
719
|
-
|
|
720
727
|
subclasses : (
|
|
721
728
|
".left" : (
|
|
722
729
|
justify-self: var(--left-column-alignment),
|
|
@@ -729,19 +736,14 @@ $components-config: (
|
|
|
729
736
|
)
|
|
730
737
|
),
|
|
731
738
|
),
|
|
732
|
-
|
|
733
739
|
placeholder : (
|
|
734
|
-
|
|
735
740
|
--min-height: 0.55rem,
|
|
736
741
|
--border-radius: .1875rem,
|
|
737
742
|
--gap: .6rem,
|
|
738
|
-
|
|
739
743
|
cursor: wait,
|
|
740
744
|
display: flex,
|
|
741
745
|
flex-direction: column,
|
|
742
|
-
|
|
743
746
|
gap: var(--gap),
|
|
744
|
-
|
|
745
747
|
colors: (
|
|
746
748
|
light : (
|
|
747
749
|
background: #ccc
|
|
@@ -750,14 +752,12 @@ $components-config: (
|
|
|
750
752
|
background: #ccc
|
|
751
753
|
)
|
|
752
754
|
),
|
|
753
|
-
|
|
754
755
|
subclasses : (
|
|
755
756
|
".el" : (
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
757
|
+
min-height: var(--min-height),
|
|
758
|
+
border-radius: var(--border-radius),
|
|
759
|
+
background: var(--background)
|
|
759
760
|
),
|
|
760
|
-
|
|
761
761
|
"&.glow" : (
|
|
762
762
|
subclasses : (
|
|
763
763
|
".el" : (
|
|
@@ -765,7 +765,6 @@ $components-config: (
|
|
|
765
765
|
)
|
|
766
766
|
)
|
|
767
767
|
),
|
|
768
|
-
|
|
769
768
|
"&.wave" : (
|
|
770
769
|
subclasses : (
|
|
771
770
|
".el" : (
|
|
@@ -783,7 +782,7 @@ $components-config: (
|
|
|
783
782
|
nav : (
|
|
784
783
|
|
|
785
784
|
--flex-direction: row,
|
|
786
|
-
--align-items:
|
|
785
|
+
--align-items: center,
|
|
787
786
|
--gap: 0,
|
|
788
787
|
|
|
789
788
|
display: flex,
|
|
@@ -805,46 +804,40 @@ $components-config: (
|
|
|
805
804
|
'&.horizontal' : (
|
|
806
805
|
--align-items: center,
|
|
807
806
|
--flex-direction : row,
|
|
807
|
+
--gap : 12.5px,
|
|
808
808
|
),
|
|
809
809
|
'&.vertical' : (
|
|
810
810
|
--flex-direction : column,
|
|
811
|
+
--align-items: auto,
|
|
811
812
|
),
|
|
812
813
|
'&.tabs' : (
|
|
813
|
-
|
|
814
814
|
),
|
|
815
815
|
'&.pills' : (
|
|
816
|
-
|
|
817
816
|
),
|
|
818
817
|
'.item' : (
|
|
819
818
|
width: auto,
|
|
820
|
-
|
|
821
819
|
subclasses : (
|
|
822
820
|
'.link' : (
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
light : (
|
|
829
|
-
color: '#333',
|
|
830
|
-
),
|
|
831
|
-
dark : (
|
|
832
|
-
color: '#fff'
|
|
833
|
-
)
|
|
821
|
+
display: inline-flex,
|
|
822
|
+
color: var(--color),
|
|
823
|
+
colors: (
|
|
824
|
+
light : (
|
|
825
|
+
color: '#333',
|
|
834
826
|
),
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
827
|
+
dark : (
|
|
828
|
+
color: '#fff'
|
|
829
|
+
)
|
|
830
|
+
),
|
|
831
|
+
subclasses: (
|
|
832
|
+
'&:hover' : (
|
|
833
|
+
text-decoration : none
|
|
839
834
|
)
|
|
840
835
|
)
|
|
841
836
|
),
|
|
842
837
|
)
|
|
843
838
|
)
|
|
844
839
|
)
|
|
845
|
-
|
|
846
840
|
),
|
|
847
|
-
|
|
848
841
|
navbar : (
|
|
849
842
|
|
|
850
843
|
--grid-template-columns: auto auto 1fr,
|
|
@@ -852,7 +845,6 @@ $components-config: (
|
|
|
852
845
|
--left-column-aligment: start,
|
|
853
846
|
--center-column-alignnent: center,
|
|
854
847
|
--right-column-alignment: end,
|
|
855
|
-
|
|
856
848
|
position: relative,
|
|
857
849
|
display: grid,
|
|
858
850
|
width: 100%,
|
|
@@ -860,17 +852,14 @@ $components-config: (
|
|
|
860
852
|
align-items: center,
|
|
861
853
|
margin: 0,
|
|
862
854
|
padding: 0,
|
|
863
|
-
|
|
864
855
|
grid-template-columns: var(--grid-template-columns),
|
|
865
856
|
grid-gap: var(--gap),
|
|
866
|
-
|
|
867
857
|
colors: (
|
|
868
858
|
light : (
|
|
869
859
|
),
|
|
870
860
|
dark: (
|
|
871
861
|
)
|
|
872
862
|
),
|
|
873
|
-
|
|
874
863
|
subclasses : (
|
|
875
864
|
".left" : (
|
|
876
865
|
justify-self: var(--left-column-alignment),
|
|
@@ -885,21 +874,23 @@ $components-config: (
|
|
|
885
874
|
),
|
|
886
875
|
|
|
887
876
|
sidecap : (
|
|
877
|
+
|
|
888
878
|
position: absolute,
|
|
889
879
|
top: 0,
|
|
890
880
|
right: 0,
|
|
891
881
|
height: 100%,
|
|
892
|
-
|
|
893
882
|
display: flex,
|
|
894
883
|
flex-direction: column,
|
|
884
|
+
width: 300px,
|
|
895
885
|
|
|
886
|
+
background: var(--background),
|
|
896
887
|
colors: (
|
|
897
888
|
light : (
|
|
898
889
|
background : #ccc
|
|
899
890
|
),
|
|
900
891
|
dark: (
|
|
901
892
|
background: rgb(45, 56, 66),
|
|
902
|
-
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)
|
|
903
894
|
)
|
|
904
895
|
)
|
|
905
896
|
)
|
|
@@ -908,4 +899,4 @@ $components-config: (
|
|
|
908
899
|
|
|
909
900
|
$updated-theme: map.deep-merge($updated-theme, $components-config);
|
|
910
901
|
|
|
911
|
-
$theme: map.deep-merge($updated-theme, $theme);
|
|
902
|
+
$theme: map.deep-merge($updated-theme, $theme);
|