procode-vs-theme 1.0.8 → 1.0.9
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 +12 -12
- package/dist/src/base/_custom-properties.scss +108 -108
- package/dist/src/base/_font.scss +37 -37
- package/dist/src/base/_size.scss +17 -17
- package/dist/src/base/_space.scss +29 -29
- package/dist/src/base/mixins/_breakpoints.scss +27 -27
- package/dist/src/base/mixins/_meta-class.scss +26 -26
- package/dist/src/components/_buttons.scss +420 -420
- package/dist/src/components/_disabled.scss +8 -8
- package/dist/src/components/_placeholder.scss +46 -46
- package/dist/src/components.ts +23 -23
- package/dist/src/index.scss +71 -71
- package/dist/src/utilities/_cursor.scss +7 -7
- package/dist/src/utilities/_display.scss +17 -17
- package/dist/src/utilities/_flex.scss +83 -83
- package/dist/src/utilities/_opacity.scss +7 -7
- package/dist/src/utilities/_overflow.scss +9 -9
- package/dist/src/utilities/_position.scss +22 -22
- package/dist/src/utilities/_sizing.scss +24 -24
- package/dist/src/utilities/_text.scss +43 -43
- package/dist/src/utilities/_visibility.scss +4 -4
- package/dist/src/utilities/background-color/index.scss +16 -16
- package/dist/src/utilities/border/_border-color.scss +11 -11
- package/dist/src/utilities/border/_border-radius.scss +10 -10
- package/dist/src/utilities/border/_border-size.scss +8 -8
- package/dist/src/utilities/box-shadow/index.scss +8 -8
- package/dist/src/utilities/spaces/_gap.scss +8 -8
- package/dist/src/utilities/spaces/_margin.scss +38 -38
- package/dist/src/utilities/spaces/_padding.scss +29 -29
- package/dist/src/utilities/typography/_color.scss +33 -33
- package/dist/src/utilities/typography/_font.scss +35 -35
- package/dist/src/utilities.ts +112 -112
- package/package.json +1 -1
- package/src/base/_border.scss +12 -12
- package/src/base/_custom-properties.scss +108 -108
- package/src/base/_font.scss +37 -37
- package/src/base/_size.scss +17 -17
- package/src/base/_space.scss +29 -29
- package/src/base/mixins/_breakpoints.scss +27 -27
- package/src/base/mixins/_meta-class.scss +26 -26
- package/src/components/_buttons.scss +420 -420
- package/src/components/_disabled.scss +8 -8
- package/src/components/_placeholder.scss +46 -46
- package/src/components.ts +23 -23
- package/src/index.scss +71 -71
- package/src/utilities/_cursor.scss +7 -7
- package/src/utilities/_display.scss +17 -17
- package/src/utilities/_flex.scss +83 -83
- package/src/utilities/_opacity.scss +7 -7
- package/src/utilities/_overflow.scss +9 -9
- package/src/utilities/_position.scss +22 -22
- package/src/utilities/_sizing.scss +24 -24
- package/src/utilities/_text.scss +43 -43
- package/src/utilities/_visibility.scss +4 -4
- package/src/utilities/background-color/index.scss +16 -16
- package/src/utilities/border/_border-color.scss +11 -11
- package/src/utilities/border/_border-radius.scss +10 -10
- package/src/utilities/border/_border-size.scss +8 -8
- package/src/utilities/box-shadow/index.scss +8 -8
- package/src/utilities/spaces/_gap.scss +8 -8
- package/src/utilities/spaces/_margin.scss +38 -38
- package/src/utilities/spaces/_padding.scss +29 -29
- package/src/utilities/typography/_color.scss +33 -33
- package/src/utilities/typography/_font.scss +35 -35
- package/src/utilities.ts +112 -112
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
-
@use "../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
4
|
-
// Text alignment
|
|
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));
|
|
9
|
-
|
|
10
|
-
// Text wrapping
|
|
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));
|
|
15
|
-
|
|
16
|
-
// Text transform
|
|
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));
|
|
20
|
-
|
|
21
|
-
// Text decoration
|
|
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));
|
|
25
|
-
|
|
26
|
-
// Font style
|
|
27
|
-
@include mc.meta("qo-fst-italic", (font-style: italic));
|
|
28
|
-
@include mc.meta("qo-fst-normal", (font-style: normal));
|
|
29
|
-
|
|
30
|
-
// Line height
|
|
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));
|
|
35
|
-
|
|
36
|
-
// Responsive text alignment
|
|
37
|
-
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
38
|
-
@media (min-width: $bp-value) {
|
|
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));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
// Text alignment
|
|
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));
|
|
9
|
+
|
|
10
|
+
// Text wrapping
|
|
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));
|
|
15
|
+
|
|
16
|
+
// Text transform
|
|
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));
|
|
20
|
+
|
|
21
|
+
// Text decoration
|
|
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));
|
|
25
|
+
|
|
26
|
+
// Font style
|
|
27
|
+
@include mc.meta("qo-fst-italic", (font-style: italic));
|
|
28
|
+
@include mc.meta("qo-fst-normal", (font-style: normal));
|
|
29
|
+
|
|
30
|
+
// Line height
|
|
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));
|
|
35
|
+
|
|
36
|
+
// Responsive text alignment
|
|
37
|
+
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
38
|
+
@media (min-width: $bp-value) {
|
|
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));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "../base/mixins/meta-class" as mc;
|
|
2
|
-
|
|
3
|
-
@include mc.meta("qo-visible", (visibility: visible));
|
|
4
|
-
@include mc.meta("qo-invisible", (visibility: hidden));
|
|
1
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
|
+
|
|
3
|
+
@include mc.meta("qo-visible", (visibility: visible));
|
|
4
|
+
@include mc.meta("qo-invisible", (visibility: hidden));
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
+
@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,11 +1,11 @@
|
|
|
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
|
+
@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,10 +1,10 @@
|
|
|
1
|
-
@use "../../base/border" as bo;
|
|
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
|
+
@use "../../base/border" as bo;
|
|
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,8 +1,8 @@
|
|
|
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
|
+
@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,8 +1,8 @@
|
|
|
1
|
-
@use "../../base/color" as cl;
|
|
2
|
-
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
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
|
+
@use "../../base/color" as cl;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
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,8 +1,8 @@
|
|
|
1
|
-
@use "../../base/space" as sp;
|
|
2
|
-
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
4
|
-
@each $key, $value in sp.$spacers {
|
|
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));
|
|
8
|
-
}
|
|
1
|
+
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
@each $key, $value in sp.$spacers {
|
|
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));
|
|
8
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
@use "../../base/space" as sp;
|
|
2
|
-
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
4
|
-
$_directions: (
|
|
5
|
-
"": "",
|
|
6
|
-
"top-": "top",
|
|
7
|
-
"right-": "right",
|
|
8
|
-
"bottom-": "bottom",
|
|
9
|
-
"left-": "left",
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
@each $key, $value in sp.$spacers {
|
|
13
|
-
@each $dir-name, $dir-prop in $_directions {
|
|
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));
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
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));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Auto margins
|
|
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));
|
|
33
|
-
|
|
34
|
-
// @deprecated — typo aliases kept for backwards compatibility
|
|
35
|
-
.qo-margin-botttom-sm { margin-bottom: sp.$space-sm; }
|
|
36
|
-
.qo-margin-botttom-md { margin-bottom: sp.$space-md; }
|
|
37
|
-
.qo-margin-botttom-lg { margin-bottom: sp.$space-lg; }
|
|
38
|
-
.qo-margin-botttom-xl { margin-bottom: sp.$space-xl; }
|
|
1
|
+
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
$_directions: (
|
|
5
|
+
"": "",
|
|
6
|
+
"top-": "top",
|
|
7
|
+
"right-": "right",
|
|
8
|
+
"bottom-": "bottom",
|
|
9
|
+
"left-": "left",
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
@each $key, $value in sp.$spacers {
|
|
13
|
+
@each $dir-name, $dir-prop in $_directions {
|
|
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));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
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));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Auto margins
|
|
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));
|
|
33
|
+
|
|
34
|
+
// @deprecated — typo aliases kept for backwards compatibility
|
|
35
|
+
.qo-margin-botttom-sm { margin-bottom: sp.$space-sm; }
|
|
36
|
+
.qo-margin-botttom-md { margin-bottom: sp.$space-md; }
|
|
37
|
+
.qo-margin-botttom-lg { margin-bottom: sp.$space-lg; }
|
|
38
|
+
.qo-margin-botttom-xl { margin-bottom: sp.$space-xl; }
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
@use "../../base/space" as sp;
|
|
2
|
-
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
4
|
-
$_directions: (
|
|
5
|
-
"": "",
|
|
6
|
-
"top-": "top",
|
|
7
|
-
"right-": "right",
|
|
8
|
-
"bottom-": "bottom",
|
|
9
|
-
"left-": "left",
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
@each $key, $value in sp.$spacers {
|
|
13
|
-
@each $dir-name, $dir-prop in $_directions {
|
|
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));
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
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));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// @deprecated — typo aliases kept for backwards compatibility
|
|
26
|
-
.qo-padding-botttom-sm { padding-bottom: sp.$space-sm; }
|
|
27
|
-
.qo-padding-botttom-md { padding-bottom: sp.$space-md; }
|
|
28
|
-
.qo-padding-botttom-lg { padding-bottom: sp.$space-lg; }
|
|
29
|
-
.qo-padding-botttom-xl { padding-bottom: sp.$space-xl; }
|
|
1
|
+
@use "../../base/space" as sp;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
$_directions: (
|
|
5
|
+
"": "",
|
|
6
|
+
"top-": "top",
|
|
7
|
+
"right-": "right",
|
|
8
|
+
"bottom-": "bottom",
|
|
9
|
+
"left-": "left",
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
@each $key, $value in sp.$spacers {
|
|
13
|
+
@each $dir-name, $dir-prop in $_directions {
|
|
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));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
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));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// @deprecated — typo aliases kept for backwards compatibility
|
|
26
|
+
.qo-padding-botttom-sm { padding-bottom: sp.$space-sm; }
|
|
27
|
+
.qo-padding-botttom-md { padding-bottom: sp.$space-md; }
|
|
28
|
+
.qo-padding-botttom-lg { padding-bottom: sp.$space-lg; }
|
|
29
|
+
.qo-padding-botttom-xl { padding-bottom: sp.$space-xl; }
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
@use "../../base/color" as cl;
|
|
3
|
-
@use "../../base/mixins/meta-class" as mc;
|
|
4
|
-
|
|
5
|
-
@include mc.meta("qo-text-primary", (color: cl.$text-primary));
|
|
6
|
-
@include mc.meta("qo-text-secondary", (color: cl.$text-secondary));
|
|
7
|
-
@include mc.meta("qo-text-success", (color: cl.$text-success));
|
|
8
|
-
@include mc.meta("qo-text-warning", (color: cl.$text-warning));
|
|
9
|
-
@include mc.meta("qo-text-danger", (color: cl.$text-danger));
|
|
10
|
-
@include mc.meta("qo-text-info", (color: cl.$text-info));
|
|
11
|
-
@include mc.meta("qo-text-default", (color: cl.$text-default));
|
|
12
|
-
@include mc.meta("qo-text-dark", (color: cl.$text-dark));
|
|
13
|
-
@include mc.meta("qo-text-light", (color: cl.$text-light));
|
|
14
|
-
@include mc.meta("qo-text-tertiary", (color: cl.$text-tertiary));
|
|
15
|
-
|
|
16
|
-
// Higher specificity variants when used with .qo-btn (beats Kendo .k-button-* selectors)
|
|
17
|
-
// Intentionally NOT wrapped in meta() — button overrides must stay high specificity
|
|
18
|
-
.qo-btn {
|
|
19
|
-
&.qo-text-primary { color: cl.$text-primary; &:hover, &:focus, &:active { color: cl.$text-primary-hover; } }
|
|
20
|
-
&.qo-text-secondary { color: cl.$text-secondary; &:hover, &:focus, &:active { color: cl.$text-dark; } }
|
|
21
|
-
&.qo-text-success { color: cl.$text-success; &:hover, &:focus, &:active { color: color.adjust(cl.$text-success, $lightness: -10%); } }
|
|
22
|
-
&.qo-text-warning { color: cl.$text-warning; &:hover, &:focus, &:active { color: color.adjust(cl.$text-warning, $lightness: -10%); } }
|
|
23
|
-
&.qo-text-danger { color: cl.$text-danger; &:hover, &:focus, &:active { color: cl.$text-danger-hover; } }
|
|
24
|
-
&.qo-text-info { color: cl.$text-info; &:hover, &:focus, &:active { color: color.adjust(cl.$text-info, $lightness: -10%); } }
|
|
25
|
-
&.qo-text-default { color: cl.$text-default; &:hover, &:focus, &:active { color: cl.$text-dark; } }
|
|
26
|
-
&.qo-text-dark { color: cl.$text-dark; &:hover, &:focus, &:active { color: color.adjust(cl.$text-dark, $lightness: -10%); } }
|
|
27
|
-
&.qo-text-light { color: cl.$text-light; &:hover, &:focus, &:active { color: cl.$text-light; } }
|
|
28
|
-
&.qo-text-tertiary { color: cl.$text-tertiary; &:hover, &:focus, &:active { color: color.adjust(cl.$text-tertiary, $lightness: -10%); } }
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.qo-validation {
|
|
32
|
-
color: cl.$text-danger;
|
|
33
|
-
}
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "../../base/color" as cl;
|
|
3
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
4
|
+
|
|
5
|
+
@include mc.meta("qo-text-primary", (color: cl.$text-primary));
|
|
6
|
+
@include mc.meta("qo-text-secondary", (color: cl.$text-secondary));
|
|
7
|
+
@include mc.meta("qo-text-success", (color: cl.$text-success));
|
|
8
|
+
@include mc.meta("qo-text-warning", (color: cl.$text-warning));
|
|
9
|
+
@include mc.meta("qo-text-danger", (color: cl.$text-danger));
|
|
10
|
+
@include mc.meta("qo-text-info", (color: cl.$text-info));
|
|
11
|
+
@include mc.meta("qo-text-default", (color: cl.$text-default));
|
|
12
|
+
@include mc.meta("qo-text-dark", (color: cl.$text-dark));
|
|
13
|
+
@include mc.meta("qo-text-light", (color: cl.$text-light));
|
|
14
|
+
@include mc.meta("qo-text-tertiary", (color: cl.$text-tertiary));
|
|
15
|
+
|
|
16
|
+
// Higher specificity variants when used with .qo-btn (beats Kendo .k-button-* selectors)
|
|
17
|
+
// Intentionally NOT wrapped in meta() — button overrides must stay high specificity
|
|
18
|
+
.qo-btn {
|
|
19
|
+
&.qo-text-primary { color: cl.$text-primary; &:hover, &:focus, &:active { color: cl.$text-primary-hover; } }
|
|
20
|
+
&.qo-text-secondary { color: cl.$text-secondary; &:hover, &:focus, &:active { color: cl.$text-dark; } }
|
|
21
|
+
&.qo-text-success { color: cl.$text-success; &:hover, &:focus, &:active { color: color.adjust(cl.$text-success, $lightness: -10%); } }
|
|
22
|
+
&.qo-text-warning { color: cl.$text-warning; &:hover, &:focus, &:active { color: color.adjust(cl.$text-warning, $lightness: -10%); } }
|
|
23
|
+
&.qo-text-danger { color: cl.$text-danger; &:hover, &:focus, &:active { color: cl.$text-danger-hover; } }
|
|
24
|
+
&.qo-text-info { color: cl.$text-info; &:hover, &:focus, &:active { color: color.adjust(cl.$text-info, $lightness: -10%); } }
|
|
25
|
+
&.qo-text-default { color: cl.$text-default; &:hover, &:focus, &:active { color: cl.$text-dark; } }
|
|
26
|
+
&.qo-text-dark { color: cl.$text-dark; &:hover, &:focus, &:active { color: color.adjust(cl.$text-dark, $lightness: -10%); } }
|
|
27
|
+
&.qo-text-light { color: cl.$text-light; &:hover, &:focus, &:active { color: cl.$text-light; } }
|
|
28
|
+
&.qo-text-tertiary { color: cl.$text-tertiary; &:hover, &:focus, &:active { color: color.adjust(cl.$text-tertiary, $lightness: -10%); } }
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.qo-validation {
|
|
32
|
+
color: cl.$text-danger;
|
|
33
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
@use "../../base/font" as ft;
|
|
2
|
-
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
-
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");
|
|
4
|
-
|
|
5
|
-
@include mc.meta("qo-font-family-primary", (font-family: ft.$font-family-primary));
|
|
6
|
-
@include mc.meta("qo-font-family-secondary", (font-family: ft.$font-family-secondary));
|
|
7
|
-
|
|
8
|
-
@include mc.meta("qo-font-xxs", (font-size: ft.$font-size-xxs, line-height: ft.$line-height-xxs));
|
|
9
|
-
@include mc.meta("qo-font-xs", (font-size: ft.$font-size-xs, line-height: ft.$line-height-xs));
|
|
10
|
-
@include mc.meta("qo-font-sm", (font-size: ft.$font-size-sm, line-height: ft.$line-height-sm));
|
|
11
|
-
@include mc.meta("qo-font-md", (font-size: ft.$font-size-md, line-height: ft.$line-height-md));
|
|
12
|
-
@include mc.meta("qo-font-lg", (font-size: ft.$font-size-lg, line-height: ft.$line-height-lg));
|
|
13
|
-
@include mc.meta("qo-font-xl", (font-size: ft.$font-size-xl, line-height: ft.$line-height-xl));
|
|
14
|
-
@include mc.meta("qo-font-xxl", (font-size: ft.$font-size-xxl, line-height: ft.$line-height-xxl));
|
|
15
|
-
|
|
16
|
-
@include mc.meta("qo-font-weight-light", (font-weight: ft.$font-weight-light));
|
|
17
|
-
@include mc.meta("qo-font-weight-regular", (font-weight: ft.$font-weight-regular));
|
|
18
|
-
@include mc.meta("qo-font-weight-medium", (font-weight: ft.$font-weight-medium));
|
|
19
|
-
@include mc.meta("qo-font-weight-semibold", (font-weight: ft.$font-weight-semibold));
|
|
20
|
-
@include mc.meta("qo-font-weight-bold", (font-weight: ft.$font-weight-bold));
|
|
21
|
-
@include mc.meta("qo-font-weight-extrabold", (font-weight: ft.$font-weight-extrabold));
|
|
22
|
-
|
|
23
|
-
.qo-validation {
|
|
24
|
-
font-size: ft.$font-size-md;
|
|
25
|
-
line-height: ft.$line-height-md;
|
|
26
|
-
font-weight: ft.$font-weight-light;
|
|
27
|
-
margin-top: 2px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
h4 {
|
|
31
|
-
font-size: ft.$font-size-md;
|
|
32
|
-
line-height: ft.$line-height-md;
|
|
33
|
-
font-family: ft.$font-family-primary;
|
|
34
|
-
font-weight: ft.$font-weight-medium;
|
|
35
|
-
}
|
|
1
|
+
@use "../../base/font" as ft;
|
|
2
|
+
@use "../../base/mixins/meta-class" as mc;
|
|
3
|
+
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");
|
|
4
|
+
|
|
5
|
+
@include mc.meta("qo-font-family-primary", (font-family: ft.$font-family-primary));
|
|
6
|
+
@include mc.meta("qo-font-family-secondary", (font-family: ft.$font-family-secondary));
|
|
7
|
+
|
|
8
|
+
@include mc.meta("qo-font-xxs", (font-size: ft.$font-size-xxs, line-height: ft.$line-height-xxs));
|
|
9
|
+
@include mc.meta("qo-font-xs", (font-size: ft.$font-size-xs, line-height: ft.$line-height-xs));
|
|
10
|
+
@include mc.meta("qo-font-sm", (font-size: ft.$font-size-sm, line-height: ft.$line-height-sm));
|
|
11
|
+
@include mc.meta("qo-font-md", (font-size: ft.$font-size-md, line-height: ft.$line-height-md));
|
|
12
|
+
@include mc.meta("qo-font-lg", (font-size: ft.$font-size-lg, line-height: ft.$line-height-lg));
|
|
13
|
+
@include mc.meta("qo-font-xl", (font-size: ft.$font-size-xl, line-height: ft.$line-height-xl));
|
|
14
|
+
@include mc.meta("qo-font-xxl", (font-size: ft.$font-size-xxl, line-height: ft.$line-height-xxl));
|
|
15
|
+
|
|
16
|
+
@include mc.meta("qo-font-weight-light", (font-weight: ft.$font-weight-light));
|
|
17
|
+
@include mc.meta("qo-font-weight-regular", (font-weight: ft.$font-weight-regular));
|
|
18
|
+
@include mc.meta("qo-font-weight-medium", (font-weight: ft.$font-weight-medium));
|
|
19
|
+
@include mc.meta("qo-font-weight-semibold", (font-weight: ft.$font-weight-semibold));
|
|
20
|
+
@include mc.meta("qo-font-weight-bold", (font-weight: ft.$font-weight-bold));
|
|
21
|
+
@include mc.meta("qo-font-weight-extrabold", (font-weight: ft.$font-weight-extrabold));
|
|
22
|
+
|
|
23
|
+
.qo-validation {
|
|
24
|
+
font-size: ft.$font-size-md;
|
|
25
|
+
line-height: ft.$line-height-md;
|
|
26
|
+
font-weight: ft.$font-weight-light;
|
|
27
|
+
margin-top: 2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
h4 {
|
|
31
|
+
font-size: ft.$font-size-md;
|
|
32
|
+
line-height: ft.$line-height-md;
|
|
33
|
+
font-family: ft.$font-family-primary;
|
|
34
|
+
font-weight: ft.$font-weight-medium;
|
|
35
|
+
}
|