procode-vs-theme 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/base/_border.scss +1 -0
- package/dist/src/base/_color.scss +5 -2
- package/dist/src/base/_custom-properties.scss +5 -0
- package/dist/src/base/_size.scss +13 -3
- package/dist/src/base/_space.scss +2 -0
- package/dist/src/base/mixins/_meta-class.scss +26 -0
- package/dist/src/components/_disabled.scss +8 -0
- package/dist/src/index.scss +1 -2
- package/dist/src/utilities/_cursor.scss +3 -3
- package/dist/src/utilities/_display.scss +3 -6
- package/dist/src/utilities/_flex.scss +60 -59
- package/dist/src/utilities/_opacity.scss +3 -3
- package/dist/src/utilities/_overflow.scss +5 -3
- package/dist/src/utilities/_position.scss +14 -18
- package/dist/src/utilities/_sizing.scss +21 -10
- package/dist/src/utilities/_text.scss +24 -30
- package/dist/src/utilities/_visibility.scss +4 -2
- package/dist/src/utilities/background-color/index.scss +16 -37
- package/dist/src/utilities/border/_border-color.scss +11 -33
- package/dist/src/utilities/border/_border-radius.scss +9 -28
- package/dist/src/utilities/border/_border-size.scss +8 -10
- package/dist/src/utilities/box-shadow/index.scss +6 -15
- package/dist/src/utilities/spaces/_gap.scss +4 -11
- package/dist/src/utilities/spaces/_margin.scss +14 -22
- package/dist/src/utilities/spaces/_padding.scss +7 -15
- package/dist/src/utilities/typography/_color.scss +12 -30
- package/dist/src/utilities/typography/_font.scss +35 -63
- package/package.json +2 -2
- package/src/base/_border.scss +1 -0
- package/src/base/_color.scss +5 -2
- package/src/base/_custom-properties.scss +5 -0
- package/src/base/_size.scss +13 -3
- package/src/base/_space.scss +2 -0
- package/src/base/mixins/_meta-class.scss +26 -0
- package/src/components/_disabled.scss +8 -0
- package/src/index.scss +1 -2
- package/src/utilities/_cursor.scss +3 -3
- package/src/utilities/_display.scss +3 -6
- package/src/utilities/_flex.scss +60 -59
- package/src/utilities/_opacity.scss +3 -3
- package/src/utilities/_overflow.scss +5 -3
- package/src/utilities/_position.scss +14 -18
- package/src/utilities/_sizing.scss +21 -10
- package/src/utilities/_text.scss +24 -30
- package/src/utilities/_visibility.scss +4 -2
- package/src/utilities/background-color/index.scss +16 -37
- package/src/utilities/border/_border-color.scss +11 -33
- package/src/utilities/border/_border-radius.scss +9 -28
- package/src/utilities/border/_border-size.scss +8 -10
- package/src/utilities/box-shadow/index.scss +6 -15
- package/src/utilities/spaces/_gap.scss +4 -11
- package/src/utilities/spaces/_margin.scss +14 -22
- package/src/utilities/spaces/_padding.scss +7 -15
- package/src/utilities/typography/_color.scss +12 -30
- package/src/utilities/typography/_font.scss +35 -63
- package/dist/src/utilities/size/index.scss +0 -9
- package/src/utilities/size/index.scss +0 -9
package/src/utilities/_flex.scss
CHANGED
|
@@ -1,82 +1,83 @@
|
|
|
1
1
|
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
// Direction
|
|
4
|
-
.qo-flex-row
|
|
5
|
-
.qo-flex-column
|
|
6
|
-
.qo-flex-row-reverse
|
|
7
|
-
.qo-flex-column-reverse
|
|
5
|
+
@include mc.meta("qo-flex-row", (flex-direction: row));
|
|
6
|
+
@include mc.meta("qo-flex-column", (flex-direction: column));
|
|
7
|
+
@include mc.meta("qo-flex-row-reverse", (flex-direction: row-reverse));
|
|
8
|
+
@include mc.meta("qo-flex-column-reverse", (flex-direction: column-reverse));
|
|
8
9
|
|
|
9
10
|
// Wrap
|
|
10
|
-
.qo-flex-wrap
|
|
11
|
-
.qo-flex-nowrap
|
|
12
|
-
.qo-flex-wrap-reverse
|
|
11
|
+
@include mc.meta("qo-flex-wrap", (flex-wrap: wrap));
|
|
12
|
+
@include mc.meta("qo-flex-nowrap", (flex-wrap: nowrap));
|
|
13
|
+
@include mc.meta("qo-flex-wrap-reverse", (flex-wrap: wrap-reverse));
|
|
13
14
|
|
|
14
15
|
// Justify content
|
|
15
|
-
.qo-justify-content-start
|
|
16
|
-
.qo-justify-content-end
|
|
17
|
-
.qo-justify-content-center
|
|
18
|
-
.qo-justify-content-between
|
|
19
|
-
.qo-justify-content-around
|
|
20
|
-
.qo-justify-content-evenly
|
|
16
|
+
@include mc.meta("qo-justify-content-start", (justify-content: flex-start));
|
|
17
|
+
@include mc.meta("qo-justify-content-end", (justify-content: flex-end));
|
|
18
|
+
@include mc.meta("qo-justify-content-center", (justify-content: center));
|
|
19
|
+
@include mc.meta("qo-justify-content-between", (justify-content: space-between));
|
|
20
|
+
@include mc.meta("qo-justify-content-around", (justify-content: space-around));
|
|
21
|
+
@include mc.meta("qo-justify-content-evenly", (justify-content: space-evenly));
|
|
21
22
|
|
|
22
23
|
// Align items
|
|
23
|
-
.qo-align-items-start
|
|
24
|
-
.qo-align-items-end
|
|
25
|
-
.qo-align-items-center
|
|
26
|
-
.qo-align-items-baseline
|
|
27
|
-
.qo-align-items-stretch
|
|
24
|
+
@include mc.meta("qo-align-items-start", (align-items: flex-start));
|
|
25
|
+
@include mc.meta("qo-align-items-end", (align-items: flex-end));
|
|
26
|
+
@include mc.meta("qo-align-items-center", (align-items: center));
|
|
27
|
+
@include mc.meta("qo-align-items-baseline", (align-items: baseline));
|
|
28
|
+
@include mc.meta("qo-align-items-stretch", (align-items: stretch));
|
|
28
29
|
|
|
29
30
|
// Align self
|
|
30
|
-
.qo-align-self-start
|
|
31
|
-
.qo-align-self-end
|
|
32
|
-
.qo-align-self-center
|
|
33
|
-
.qo-align-self-baseline
|
|
34
|
-
.qo-align-self-stretch
|
|
31
|
+
@include mc.meta("qo-align-self-start", (align-self: flex-start));
|
|
32
|
+
@include mc.meta("qo-align-self-end", (align-self: flex-end));
|
|
33
|
+
@include mc.meta("qo-align-self-center", (align-self: center));
|
|
34
|
+
@include mc.meta("qo-align-self-baseline", (align-self: baseline));
|
|
35
|
+
@include mc.meta("qo-align-self-stretch", (align-self: stretch));
|
|
35
36
|
|
|
36
37
|
// Align content
|
|
37
|
-
.qo-align-content-start
|
|
38
|
-
.qo-align-content-end
|
|
39
|
-
.qo-align-content-center
|
|
40
|
-
.qo-align-content-between
|
|
41
|
-
.qo-align-content-around
|
|
42
|
-
.qo-align-content-stretch
|
|
38
|
+
@include mc.meta("qo-align-content-start", (align-content: flex-start));
|
|
39
|
+
@include mc.meta("qo-align-content-end", (align-content: flex-end));
|
|
40
|
+
@include mc.meta("qo-align-content-center", (align-content: center));
|
|
41
|
+
@include mc.meta("qo-align-content-between", (align-content: space-between));
|
|
42
|
+
@include mc.meta("qo-align-content-around", (align-content: space-around));
|
|
43
|
+
@include mc.meta("qo-align-content-stretch", (align-content: stretch));
|
|
43
44
|
|
|
44
45
|
// Flex grow/shrink/fill
|
|
45
|
-
.qo-flex-fill
|
|
46
|
-
.qo-flex-grow-0
|
|
47
|
-
.qo-flex-grow-1
|
|
48
|
-
.qo-flex-shrink-0
|
|
49
|
-
.qo-flex-shrink-1
|
|
46
|
+
@include mc.meta("qo-flex-fill", (flex: 1 1 auto));
|
|
47
|
+
@include mc.meta("qo-flex-grow-0", (flex-grow: 0));
|
|
48
|
+
@include mc.meta("qo-flex-grow-1", (flex-grow: 1));
|
|
49
|
+
@include mc.meta("qo-flex-shrink-0", (flex-shrink: 0));
|
|
50
|
+
@include mc.meta("qo-flex-shrink-1", (flex-shrink: 1));
|
|
50
51
|
|
|
51
52
|
// Order
|
|
52
|
-
.qo-order-first
|
|
53
|
-
.qo-order-0
|
|
54
|
-
.qo-order-1
|
|
55
|
-
.qo-order-2
|
|
56
|
-
.qo-order-3
|
|
57
|
-
.qo-order-4
|
|
58
|
-
.qo-order-5
|
|
59
|
-
.qo-order-last
|
|
53
|
+
@include mc.meta("qo-order-first", (order: -1));
|
|
54
|
+
@include mc.meta("qo-order-0", (order: 0));
|
|
55
|
+
@include mc.meta("qo-order-1", (order: 1));
|
|
56
|
+
@include mc.meta("qo-order-2", (order: 2));
|
|
57
|
+
@include mc.meta("qo-order-3", (order: 3));
|
|
58
|
+
@include mc.meta("qo-order-4", (order: 4));
|
|
59
|
+
@include mc.meta("qo-order-5", (order: 5));
|
|
60
|
+
@include mc.meta("qo-order-last", (order: 6));
|
|
60
61
|
|
|
61
62
|
// Responsive variants
|
|
62
63
|
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
63
64
|
@media (min-width: $bp-value) {
|
|
64
|
-
.qo-flex-#{$bp-name}-row
|
|
65
|
-
.qo-flex-#{$bp-name}-column
|
|
66
|
-
.qo-flex-#{$bp-name}-row-reverse
|
|
67
|
-
.qo-flex-#{$bp-name}-column-reverse
|
|
68
|
-
.qo-flex-#{$bp-name}-wrap
|
|
69
|
-
.qo-flex-#{$bp-name}-nowrap
|
|
70
|
-
.qo-justify-content-#{$bp-name}-start
|
|
71
|
-
.qo-justify-content-#{$bp-name}-end
|
|
72
|
-
.qo-justify-content-#{$bp-name}-center
|
|
73
|
-
.qo-justify-content-#{$bp-name}-between
|
|
74
|
-
.qo-justify-content-#{$bp-name}-around
|
|
75
|
-
.qo-justify-content-#{$bp-name}-evenly
|
|
76
|
-
.qo-align-items-#{$bp-name}-start
|
|
77
|
-
.qo-align-items-#{$bp-name}-end
|
|
78
|
-
.qo-align-items-#{$bp-name}-center
|
|
79
|
-
.qo-align-items-#{$bp-name}-baseline
|
|
80
|
-
.qo-align-items-#{$bp-name}-stretch
|
|
65
|
+
@include mc.meta("qo-flex-#{$bp-name}-row", (flex-direction: row));
|
|
66
|
+
@include mc.meta("qo-flex-#{$bp-name}-column", (flex-direction: column));
|
|
67
|
+
@include mc.meta("qo-flex-#{$bp-name}-row-reverse", (flex-direction: row-reverse));
|
|
68
|
+
@include mc.meta("qo-flex-#{$bp-name}-column-reverse", (flex-direction: column-reverse));
|
|
69
|
+
@include mc.meta("qo-flex-#{$bp-name}-wrap", (flex-wrap: wrap));
|
|
70
|
+
@include mc.meta("qo-flex-#{$bp-name}-nowrap", (flex-wrap: nowrap));
|
|
71
|
+
@include mc.meta("qo-justify-content-#{$bp-name}-start", (justify-content: flex-start));
|
|
72
|
+
@include mc.meta("qo-justify-content-#{$bp-name}-end", (justify-content: flex-end));
|
|
73
|
+
@include mc.meta("qo-justify-content-#{$bp-name}-center", (justify-content: center));
|
|
74
|
+
@include mc.meta("qo-justify-content-#{$bp-name}-between", (justify-content: space-between));
|
|
75
|
+
@include mc.meta("qo-justify-content-#{$bp-name}-around", (justify-content: space-around));
|
|
76
|
+
@include mc.meta("qo-justify-content-#{$bp-name}-evenly", (justify-content: space-evenly));
|
|
77
|
+
@include mc.meta("qo-align-items-#{$bp-name}-start", (align-items: flex-start));
|
|
78
|
+
@include mc.meta("qo-align-items-#{$bp-name}-end", (align-items: flex-end));
|
|
79
|
+
@include mc.meta("qo-align-items-#{$bp-name}-center", (align-items: center));
|
|
80
|
+
@include mc.meta("qo-align-items-#{$bp-name}-baseline", (align-items: baseline));
|
|
81
|
+
@include mc.meta("qo-align-items-#{$bp-name}-stretch", (align-items: stretch));
|
|
81
82
|
}
|
|
82
83
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
|
+
|
|
1
3
|
$_overflow-values: auto, hidden, visible, scroll;
|
|
2
4
|
|
|
3
5
|
@each $value in $_overflow-values {
|
|
4
|
-
.qo-overflow-#{$value}
|
|
5
|
-
.qo-overflow-x-#{$value}
|
|
6
|
-
.qo-overflow-y-#{$value}
|
|
6
|
+
@include mc.meta("qo-overflow-#{$value}", (overflow: $value));
|
|
7
|
+
@include mc.meta("qo-overflow-x-#{$value}", (overflow-x: $value));
|
|
8
|
+
@include mc.meta("qo-overflow-y-#{$value}", (overflow-y: $value));
|
|
7
9
|
}
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
.qo-position-
|
|
4
|
-
.qo-position-
|
|
5
|
-
.qo-position-
|
|
1
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
|
+
|
|
3
|
+
@include mc.meta("qo-position-static", (position: static));
|
|
4
|
+
@include mc.meta("qo-position-relative", (position: relative));
|
|
5
|
+
@include mc.meta("qo-position-absolute", (position: absolute));
|
|
6
|
+
@include mc.meta("qo-position-fixed", (position: fixed));
|
|
7
|
+
@include mc.meta("qo-position-sticky", (position: sticky));
|
|
6
8
|
|
|
7
9
|
// Edge positioning
|
|
8
10
|
$_positions: (0: 0, 50: 50%, 100: 100%);
|
|
9
11
|
|
|
10
12
|
@each $key, $value in $_positions {
|
|
11
|
-
.qo-top-#{$key}
|
|
12
|
-
.qo-bottom-#{$key}
|
|
13
|
-
.qo-start-#{$key}
|
|
14
|
-
.qo-end-#{$key}
|
|
13
|
+
@include mc.meta("qo-top-#{$key}", (top: $value));
|
|
14
|
+
@include mc.meta("qo-bottom-#{$key}", (bottom: $value));
|
|
15
|
+
@include mc.meta("qo-start-#{$key}", (left: $value));
|
|
16
|
+
@include mc.meta("qo-end-#{$key}", (right: $value));
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
// Center transform helpers
|
|
18
|
-
.qo-translate-middle
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
.qo-translate-middle-x {
|
|
22
|
-
transform: translateX(-50%);
|
|
23
|
-
}
|
|
24
|
-
.qo-translate-middle-y {
|
|
25
|
-
transform: translateY(-50%);
|
|
26
|
-
}
|
|
20
|
+
@include mc.meta("qo-translate-middle", (transform: translate(-50%, -50%)));
|
|
21
|
+
@include mc.meta("qo-translate-middle-x", (transform: translateX(-50%)));
|
|
22
|
+
@include mc.meta("qo-translate-middle-y", (transform: translateY(-50%)));
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
@use "../base/size" as sz;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
|
-
@each $key, $value in
|
|
4
|
-
.qo-w-#{$key}
|
|
5
|
-
.qo-h-#{$key}
|
|
4
|
+
@each $key, $value in sz.$sizing-values {
|
|
5
|
+
@include mc.meta("qo-w-#{$key}", (width: $value));
|
|
6
|
+
@include mc.meta("qo-h-#{$key}", (height: $value));
|
|
6
7
|
}
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
.qo-
|
|
10
|
-
.qo-min-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
@each $key, $value in sz.$sizing-values {
|
|
10
|
+
@include mc.meta("qo-min-w-#{$key}", (min-width: $value));
|
|
11
|
+
@include mc.meta("qo-min-h-#{$key}", (min-height: $value));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@each $key, $value in sz.$sizing-values {
|
|
15
|
+
@include mc.meta("qo-max-w-#{$key}", (max-width: $value));
|
|
16
|
+
@include mc.meta("qo-max-h-#{$key}", (max-height: $value));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include mc.meta("qo-mw-100", (max-width: 100%));
|
|
20
|
+
@include mc.meta("qo-mh-100", (max-height: 100%));
|
|
21
|
+
@include mc.meta("qo-min-vw-100", (min-width: 100vw));
|
|
22
|
+
@include mc.meta("qo-min-vh-100", (min-height: 100vh));
|
|
23
|
+
@include mc.meta("qo-vw-100", (width: 100vw));
|
|
24
|
+
@include mc.meta("qo-vh-100", (height: 100vh));
|
package/src/utilities/_text.scss
CHANGED
|
@@ -1,49 +1,43 @@
|
|
|
1
1
|
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
// Text alignment
|
|
4
|
-
.qo-text-start
|
|
5
|
-
.qo-text-end
|
|
6
|
-
.qo-text-center
|
|
7
|
-
.qo-text-justify
|
|
5
|
+
@include mc.meta("qo-text-start", (text-align: left));
|
|
6
|
+
@include mc.meta("qo-text-end", (text-align: right));
|
|
7
|
+
@include mc.meta("qo-text-center", (text-align: center));
|
|
8
|
+
@include mc.meta("qo-text-justify", (text-align: justify));
|
|
8
9
|
|
|
9
10
|
// Text wrapping
|
|
10
|
-
.qo-text-nowrap
|
|
11
|
-
.qo-text-wrap
|
|
12
|
-
.qo-text-truncate
|
|
13
|
-
|
|
14
|
-
text-overflow: ellipsis;
|
|
15
|
-
white-space: nowrap;
|
|
16
|
-
}
|
|
17
|
-
.qo-text-break {
|
|
18
|
-
word-wrap: break-word;
|
|
19
|
-
word-break: break-word;
|
|
20
|
-
}
|
|
11
|
+
@include mc.meta("qo-text-nowrap", (white-space: nowrap));
|
|
12
|
+
@include mc.meta("qo-text-wrap", (white-space: normal));
|
|
13
|
+
@include mc.meta("qo-text-truncate", (overflow: hidden, text-overflow: ellipsis, white-space: nowrap));
|
|
14
|
+
@include mc.meta("qo-text-break", (word-wrap: break-word, word-break: break-word));
|
|
21
15
|
|
|
22
16
|
// Text transform
|
|
23
|
-
.qo-text-uppercase
|
|
24
|
-
.qo-text-lowercase
|
|
25
|
-
.qo-text-capitalize
|
|
17
|
+
@include mc.meta("qo-text-uppercase", (text-transform: uppercase));
|
|
18
|
+
@include mc.meta("qo-text-lowercase", (text-transform: lowercase));
|
|
19
|
+
@include mc.meta("qo-text-capitalize", (text-transform: capitalize));
|
|
26
20
|
|
|
27
21
|
// Text decoration
|
|
28
|
-
.qo-text-decoration-none
|
|
29
|
-
.qo-text-decoration-underline
|
|
30
|
-
.qo-text-decoration-line-through
|
|
22
|
+
@include mc.meta("qo-text-decoration-none", (text-decoration: none));
|
|
23
|
+
@include mc.meta("qo-text-decoration-underline", (text-decoration: underline));
|
|
24
|
+
@include mc.meta("qo-text-decoration-line-through", (text-decoration: line-through));
|
|
31
25
|
|
|
32
26
|
// Font style
|
|
33
|
-
.qo-fst-italic
|
|
34
|
-
.qo-fst-normal
|
|
27
|
+
@include mc.meta("qo-fst-italic", (font-style: italic));
|
|
28
|
+
@include mc.meta("qo-fst-normal", (font-style: normal));
|
|
35
29
|
|
|
36
30
|
// Line height
|
|
37
|
-
.qo-lh-1
|
|
38
|
-
.qo-lh-sm
|
|
39
|
-
.qo-lh-base
|
|
40
|
-
.qo-lh-lg
|
|
31
|
+
@include mc.meta("qo-lh-1", (line-height: 1));
|
|
32
|
+
@include mc.meta("qo-lh-sm", (line-height: 1.25));
|
|
33
|
+
@include mc.meta("qo-lh-base", (line-height: 1.5));
|
|
34
|
+
@include mc.meta("qo-lh-lg", (line-height: 2));
|
|
41
35
|
|
|
42
36
|
// Responsive text alignment
|
|
43
37
|
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
44
38
|
@media (min-width: $bp-value) {
|
|
45
|
-
.qo-text-#{$bp-name}-start
|
|
46
|
-
.qo-text-#{$bp-name}-end
|
|
47
|
-
.qo-text-#{$bp-name}-center
|
|
39
|
+
@include mc.meta("qo-text-#{$bp-name}-start", (text-align: left));
|
|
40
|
+
@include mc.meta("qo-text-#{$bp-name}-end", (text-align: right));
|
|
41
|
+
@include mc.meta("qo-text-#{$bp-name}-center", (text-align: center));
|
|
48
42
|
}
|
|
49
43
|
}
|
|
@@ -1,37 +1,16 @@
|
|
|
1
|
-
@use "../../base/color" as cl;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.qo-bg-secondary
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.qo-bg-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.qo-bg-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.qo-bg-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.qo-bg-info {
|
|
18
|
-
background-color: cl.$background-info;
|
|
19
|
-
}
|
|
20
|
-
.qo-bg-default {
|
|
21
|
-
background-color: cl.$background-default;
|
|
22
|
-
}
|
|
23
|
-
.qo-bg-dark {
|
|
24
|
-
background-color: cl.$background-dark;
|
|
25
|
-
}
|
|
26
|
-
.qo-bg-dark-alt {
|
|
27
|
-
background-color: cl.$background-dark-a;
|
|
28
|
-
}
|
|
29
|
-
.qo-bg-light {
|
|
30
|
-
background-color: cl.$background-light;
|
|
31
|
-
}
|
|
32
|
-
.qo-bg-tertiary {
|
|
33
|
-
background-color: cl.$background-tertiary;
|
|
34
|
-
}
|
|
35
|
-
.qo-bg-lime {
|
|
36
|
-
background-color: cl.$background-lime;
|
|
37
|
-
}
|
|
1
|
+
@use "../../base/color" as cl;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
@include mc.meta("qo-bg-primary", (background-color: cl.$background-primary));
|
|
5
|
+
@include mc.meta("qo-bg-secondary", (background-color: cl.$background-secondary));
|
|
6
|
+
@include mc.meta("qo-bg-success", (background-color: cl.$background-success));
|
|
7
|
+
@include mc.meta("qo-bg-warning", (background-color: cl.$background-warning));
|
|
8
|
+
@include mc.meta("qo-bg-danger", (background-color: cl.$background-danger));
|
|
9
|
+
@include mc.meta("qo-bg-info", (background-color: cl.$background-info));
|
|
10
|
+
@include mc.meta("qo-bg-default", (background-color: cl.$background-default));
|
|
11
|
+
@include mc.meta("qo-bg-dark", (background-color: cl.$background-dark));
|
|
12
|
+
@include mc.meta("qo-bg-dark-alt", (background-color: cl.$background-dark-a));
|
|
13
|
+
@include mc.meta("qo-bg-medium", (background-color: cl.$background-medium));
|
|
14
|
+
@include mc.meta("qo-bg-light", (background-color: cl.$background-light));
|
|
15
|
+
@include mc.meta("qo-bg-tertiary", (background-color: cl.$background-tertiary));
|
|
16
|
+
@include mc.meta("qo-bg-lime", (background-color: cl.$background-lime));
|
|
@@ -1,33 +1,11 @@
|
|
|
1
|
-
@use "../../base/color" as cl;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.qo-border-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.qo-border-
|
|
12
|
-
border-color: cl.$border-success;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.qo-border-warning {
|
|
16
|
-
border-color: cl.$border-warning;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.qo-border-danger {
|
|
20
|
-
border-color: cl.$border-danger;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.qo-border-info {
|
|
24
|
-
border-color: cl.$border-info;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.qo-border-light {
|
|
28
|
-
border-color: cl.$border-light;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.qo-border-dark {
|
|
32
|
-
border-color: cl.$border-dark;
|
|
33
|
-
}
|
|
1
|
+
@use "../../base/color" as cl;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
@include mc.meta("qo-border-primary", (border-color: cl.$border-primary));
|
|
5
|
+
@include mc.meta("qo-border-secondary", (border-color: cl.$border-secondary));
|
|
6
|
+
@include mc.meta("qo-border-success", (border-color: cl.$border-success));
|
|
7
|
+
@include mc.meta("qo-border-warning", (border-color: cl.$border-warning));
|
|
8
|
+
@include mc.meta("qo-border-danger", (border-color: cl.$border-danger));
|
|
9
|
+
@include mc.meta("qo-border-info", (border-color: cl.$border-info));
|
|
10
|
+
@include mc.meta("qo-border-light", (border-color: cl.$border-light));
|
|
11
|
+
@include mc.meta("qo-border-dark", (border-color: cl.$border-dark));
|
|
@@ -1,29 +1,10 @@
|
|
|
1
1
|
@use "../../base/border" as bo;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.qo-border-radius-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.qo-border-radius-md {
|
|
12
|
-
border-radius: bo.$border-radius-md;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.qo-border-radius-lg {
|
|
16
|
-
border-radius: bo.$border-radius-lg;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.qo-border-radius-xl {
|
|
20
|
-
border-radius: bo.$border-radius-xl;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.qo-border-radius-pill {
|
|
24
|
-
border-radius: bo.$border-radius-pill;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.qo-border-radius-full {
|
|
28
|
-
border-radius: bo.$border-radius-full;
|
|
29
|
-
}
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
@include mc.meta("qo-border-radius-0", (border-radius: bo.$border-radius-0));
|
|
5
|
+
@include mc.meta("qo-border-radius-sm", (border-radius: bo.$border-radius-sm));
|
|
6
|
+
@include mc.meta("qo-border-radius-md", (border-radius: bo.$border-radius-md));
|
|
7
|
+
@include mc.meta("qo-border-radius-lg", (border-radius: bo.$border-radius-lg));
|
|
8
|
+
@include mc.meta("qo-border-radius-xl", (border-radius: bo.$border-radius-xl));
|
|
9
|
+
@include mc.meta("qo-border-radius-pill", (border-radius: bo.$border-radius-pill));
|
|
10
|
+
@include mc.meta("qo-border-radius-full", (border-radius: bo.$border-radius-full));
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
@use "../../base/border" as bo;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.qo-border-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.qo-border-lg
|
|
9
|
-
border-width: bo.$border-width-lg;
|
|
10
|
-
}
|
|
1
|
+
@use "../../base/border" as bo;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@include mc.meta("qo-border-none", (border-width: bo.$border-width-none));
|
|
6
|
+
@include mc.meta("qo-border-sm", (border-width: bo.$border-width-sm));
|
|
7
|
+
@include mc.meta("qo-border-md", (border-width: bo.$border-width-md));
|
|
8
|
+
@include mc.meta("qo-border-lg", (border-width: bo.$border-width-lg));
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
@use "../../base/color" as cl;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
|
-
.qo-boxshadow-none
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.qo-boxshadow-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
.qo-boxshadow-md {
|
|
10
|
-
box-shadow: 0 4px 8px 0 cl.$boxshadow-primary;
|
|
11
|
-
}
|
|
12
|
-
.qo-boxshadow-lg {
|
|
13
|
-
box-shadow: 0 8px 16px 0 cl.$boxshadow-primary;
|
|
14
|
-
}
|
|
15
|
-
.qo-boxshadow-xl {
|
|
16
|
-
box-shadow: 0 12px 24px 0 cl.$boxshadow-primary;
|
|
17
|
-
}
|
|
4
|
+
@include mc.meta("qo-boxshadow-none", (box-shadow: none));
|
|
5
|
+
@include mc.meta("qo-boxshadow-sm", (box-shadow: 0 1px 2px 0 cl.$boxshadow-primary));
|
|
6
|
+
@include mc.meta("qo-boxshadow-md", (box-shadow: 0 4px 8px 0 cl.$boxshadow-primary));
|
|
7
|
+
@include mc.meta("qo-boxshadow-lg", (box-shadow: 0 8px 16px 0 cl.$boxshadow-primary));
|
|
8
|
+
@include mc.meta("qo-boxshadow-xl", (box-shadow: 0 12px 24px 0 cl.$boxshadow-primary));
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
@each $key, $value in sp.$spacers {
|
|
4
|
-
.qo-gap-#{$key}
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.qo-gap-x-#{$key} {
|
|
9
|
-
column-gap: $value;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.qo-gap-y-#{$key} {
|
|
13
|
-
row-gap: $value;
|
|
14
|
-
}
|
|
5
|
+
@include mc.meta("qo-gap-#{$key}", (gap: $value));
|
|
6
|
+
@include mc.meta("qo-gap-x-#{$key}", (column-gap: $value));
|
|
7
|
+
@include mc.meta("qo-gap-y-#{$key}", (row-gap: $value));
|
|
15
8
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
$_directions: (
|
|
4
5
|
"": "",
|
|
@@ -10,34 +11,25 @@ $_directions: (
|
|
|
10
11
|
|
|
11
12
|
@each $key, $value in sp.$spacers {
|
|
12
13
|
@each $dir-name, $dir-prop in $_directions {
|
|
13
|
-
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
margin-#{$dir-prop}: $value;
|
|
18
|
-
}
|
|
14
|
+
@if $dir-prop == "" {
|
|
15
|
+
@include mc.meta("qo-margin-#{$dir-name}#{$key}", (margin: $value));
|
|
16
|
+
} @else {
|
|
17
|
+
@include mc.meta("qo-margin-#{$dir-name}#{$key}", (margin-#{$dir-prop}: $value));
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
.qo-margin-x-#{$key}
|
|
23
|
-
|
|
24
|
-
margin-right: $value;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.qo-margin-y-#{$key} {
|
|
28
|
-
margin-top: $value;
|
|
29
|
-
margin-bottom: $value;
|
|
30
|
-
}
|
|
21
|
+
@include mc.meta("qo-margin-x-#{$key}", (margin-left: $value, margin-right: $value));
|
|
22
|
+
@include mc.meta("qo-margin-y-#{$key}", (margin-top: $value, margin-bottom: $value));
|
|
31
23
|
}
|
|
32
24
|
|
|
33
25
|
// Auto margins
|
|
34
|
-
.qo-margin-auto
|
|
35
|
-
.qo-margin-x-auto
|
|
36
|
-
.qo-margin-y-auto
|
|
37
|
-
.qo-margin-top-auto
|
|
38
|
-
.qo-margin-bottom-auto
|
|
39
|
-
.qo-margin-left-auto
|
|
40
|
-
.qo-margin-right-auto
|
|
26
|
+
@include mc.meta("qo-margin-auto", (margin: auto));
|
|
27
|
+
@include mc.meta("qo-margin-x-auto", (margin-left: auto, margin-right: auto));
|
|
28
|
+
@include mc.meta("qo-margin-y-auto", (margin-top: auto, margin-bottom: auto));
|
|
29
|
+
@include mc.meta("qo-margin-top-auto", (margin-top: auto));
|
|
30
|
+
@include mc.meta("qo-margin-bottom-auto", (margin-bottom: auto));
|
|
31
|
+
@include mc.meta("qo-margin-left-auto", (margin-left: auto));
|
|
32
|
+
@include mc.meta("qo-margin-right-auto", (margin-right: auto));
|
|
41
33
|
|
|
42
34
|
// @deprecated — typo aliases kept for backwards compatibility
|
|
43
35
|
.qo-margin-botttom-sm { margin-bottom: sp.$space-sm; }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
2
3
|
|
|
3
4
|
$_directions: (
|
|
4
5
|
"": "",
|
|
@@ -10,24 +11,15 @@ $_directions: (
|
|
|
10
11
|
|
|
11
12
|
@each $key, $value in sp.$spacers {
|
|
12
13
|
@each $dir-name, $dir-prop in $_directions {
|
|
13
|
-
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
padding-#{$dir-prop}: $value;
|
|
18
|
-
}
|
|
14
|
+
@if $dir-prop == "" {
|
|
15
|
+
@include mc.meta("qo-padding-#{$dir-name}#{$key}", (padding: $value));
|
|
16
|
+
} @else {
|
|
17
|
+
@include mc.meta("qo-padding-#{$dir-name}#{$key}", (padding-#{$dir-prop}: $value));
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
.qo-padding-x-#{$key}
|
|
23
|
-
|
|
24
|
-
padding-right: $value;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.qo-padding-y-#{$key} {
|
|
28
|
-
padding-top: $value;
|
|
29
|
-
padding-bottom: $value;
|
|
30
|
-
}
|
|
21
|
+
@include mc.meta("qo-padding-x-#{$key}", (padding-left: $value, padding-right: $value));
|
|
22
|
+
@include mc.meta("qo-padding-y-#{$key}", (padding-top: $value, padding-bottom: $value));
|
|
31
23
|
}
|
|
32
24
|
|
|
33
25
|
// @deprecated — typo aliases kept for backwards compatibility
|