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,8 +1,8 @@
|
|
|
1
|
-
@use "../base/color" as cl;
|
|
2
|
-
|
|
3
|
-
*:disabled,
|
|
4
|
-
*[disabled],
|
|
5
|
-
*.k-disabled {
|
|
6
|
-
background-color: cl.$background-disabled !important;
|
|
7
|
-
cursor: not-allowed !important;
|
|
8
|
-
}
|
|
1
|
+
@use "../base/color" as cl;
|
|
2
|
+
|
|
3
|
+
*:disabled,
|
|
4
|
+
*[disabled],
|
|
5
|
+
*.k-disabled {
|
|
6
|
+
background-color: cl.$background-disabled !important;
|
|
7
|
+
cursor: not-allowed !important;
|
|
8
|
+
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
@use "../base/color" as cl;
|
|
2
|
-
@use "../base/font" as ft;
|
|
3
|
-
@use "../base/mixins/font_size-mx" as mx;
|
|
4
|
-
|
|
5
|
-
::placeholder {
|
|
6
|
-
color: cl.$text-placeholder;
|
|
7
|
-
opacity: 1;
|
|
8
|
-
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
::-webkit-input-placeholder {
|
|
12
|
-
color: cl.$text-placeholder;
|
|
13
|
-
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:-ms-input-placeholder {
|
|
17
|
-
color: cl.$text-placeholder;
|
|
18
|
-
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.qo-placeholder-xs::placeholder {
|
|
22
|
-
@include mx.font-size(ft.$font-size-xs, ft.$line-height-xs);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.qo-placeholder-sm::placeholder {
|
|
26
|
-
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.qo-placeholder-md::placeholder {
|
|
30
|
-
@include mx.font-size(ft.$font-size-md, ft.$line-height-md);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.qo-placeholder-italic::placeholder {
|
|
34
|
-
font-style: italic;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.qo-placeholder-primary::placeholder { color: cl.$text-primary; }
|
|
38
|
-
.qo-placeholder-secondary::placeholder { color: cl.$text-secondary; }
|
|
39
|
-
.qo-placeholder-success::placeholder { color: cl.$text-success; }
|
|
40
|
-
.qo-placeholder-warning::placeholder { color: cl.$text-warning; }
|
|
41
|
-
.qo-placeholder-danger::placeholder { color: cl.$text-danger; }
|
|
42
|
-
.qo-placeholder-info::placeholder { color: cl.$text-info; }
|
|
43
|
-
.qo-placeholder-default::placeholder { color: cl.$text-default; }
|
|
44
|
-
.qo-placeholder-dark::placeholder { color: cl.$text-dark; }
|
|
45
|
-
.qo-placeholder-light::placeholder { color: cl.$text-light; }
|
|
46
|
-
.qo-placeholder-tertiary::placeholder { color: cl.$text-tertiary; }
|
|
1
|
+
@use "../base/color" as cl;
|
|
2
|
+
@use "../base/font" as ft;
|
|
3
|
+
@use "../base/mixins/font_size-mx" as mx;
|
|
4
|
+
|
|
5
|
+
::placeholder {
|
|
6
|
+
color: cl.$text-placeholder;
|
|
7
|
+
opacity: 1;
|
|
8
|
+
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
::-webkit-input-placeholder {
|
|
12
|
+
color: cl.$text-placeholder;
|
|
13
|
+
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:-ms-input-placeholder {
|
|
17
|
+
color: cl.$text-placeholder;
|
|
18
|
+
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.qo-placeholder-xs::placeholder {
|
|
22
|
+
@include mx.font-size(ft.$font-size-xs, ft.$line-height-xs);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.qo-placeholder-sm::placeholder {
|
|
26
|
+
@include mx.font-size(ft.$font-size-sm, ft.$line-height-sm);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.qo-placeholder-md::placeholder {
|
|
30
|
+
@include mx.font-size(ft.$font-size-md, ft.$line-height-md);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.qo-placeholder-italic::placeholder {
|
|
34
|
+
font-style: italic;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.qo-placeholder-primary::placeholder { color: cl.$text-primary; }
|
|
38
|
+
.qo-placeholder-secondary::placeholder { color: cl.$text-secondary; }
|
|
39
|
+
.qo-placeholder-success::placeholder { color: cl.$text-success; }
|
|
40
|
+
.qo-placeholder-warning::placeholder { color: cl.$text-warning; }
|
|
41
|
+
.qo-placeholder-danger::placeholder { color: cl.$text-danger; }
|
|
42
|
+
.qo-placeholder-info::placeholder { color: cl.$text-info; }
|
|
43
|
+
.qo-placeholder-default::placeholder { color: cl.$text-default; }
|
|
44
|
+
.qo-placeholder-dark::placeholder { color: cl.$text-dark; }
|
|
45
|
+
.qo-placeholder-light::placeholder { color: cl.$text-light; }
|
|
46
|
+
.qo-placeholder-tertiary::placeholder { color: cl.$text-tertiary; }
|
package/dist/src/components.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
// VS Theme Components Export
|
|
2
|
-
// Provides access to all component styles
|
|
3
|
-
|
|
4
|
-
export const buttons = './components/_buttons.scss';
|
|
5
|
-
export const input = './components/_input.scss';
|
|
6
|
-
export const placeholder = './components/_placeholder.scss';
|
|
7
|
-
export const cards = './components/_cards.scss';
|
|
8
|
-
|
|
9
|
-
// All components combined
|
|
10
|
-
export const allComponents = [
|
|
11
|
-
buttons,
|
|
12
|
-
input,
|
|
13
|
-
placeholder,
|
|
14
|
-
cards
|
|
15
|
-
];
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
buttons,
|
|
19
|
-
input,
|
|
20
|
-
placeholder,
|
|
21
|
-
cards,
|
|
22
|
-
all: allComponents
|
|
23
|
-
};
|
|
1
|
+
// VS Theme Components Export
|
|
2
|
+
// Provides access to all component styles
|
|
3
|
+
|
|
4
|
+
export const buttons = './components/_buttons.scss';
|
|
5
|
+
export const input = './components/_input.scss';
|
|
6
|
+
export const placeholder = './components/_placeholder.scss';
|
|
7
|
+
export const cards = './components/_cards.scss';
|
|
8
|
+
|
|
9
|
+
// All components combined
|
|
10
|
+
export const allComponents = [
|
|
11
|
+
buttons,
|
|
12
|
+
input,
|
|
13
|
+
placeholder,
|
|
14
|
+
cards
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
buttons,
|
|
19
|
+
input,
|
|
20
|
+
placeholder,
|
|
21
|
+
cards,
|
|
22
|
+
all: allComponents
|
|
23
|
+
};
|
package/dist/src/index.scss
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
// Reset
|
|
2
|
-
@forward "./utilities/reset";
|
|
3
|
-
|
|
4
|
-
// CSS Custom Properties
|
|
5
|
-
@forward "./base/custom-properties";
|
|
6
|
-
|
|
7
|
-
// Typography
|
|
8
|
-
@forward "./utilities/typography/font";
|
|
9
|
-
@forward "./utilities/typography/color";
|
|
10
|
-
|
|
11
|
-
// Background
|
|
12
|
-
@forward "./utilities/background-color/index.scss";
|
|
13
|
-
|
|
14
|
-
// Border
|
|
15
|
-
@forward "./utilities/border/border-color";
|
|
16
|
-
@forward "./utilities/border/border-radius";
|
|
17
|
-
@forward "./utilities/border/border-size";
|
|
18
|
-
|
|
19
|
-
// Spacing
|
|
20
|
-
@forward "./utilities/spaces/gap";
|
|
21
|
-
@forward "./utilities/spaces/margin";
|
|
22
|
-
@forward "./utilities/spaces/padding";
|
|
23
|
-
|
|
24
|
-
// Box shadow
|
|
25
|
-
@forward "./utilities/box-shadow/index.scss";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
// Display
|
|
29
|
-
@forward "./utilities/display";
|
|
30
|
-
|
|
31
|
-
// Flex
|
|
32
|
-
@forward "./utilities/flex";
|
|
33
|
-
|
|
34
|
-
// Text
|
|
35
|
-
@forward "./utilities/text";
|
|
36
|
-
|
|
37
|
-
// Position
|
|
38
|
-
@forward "./utilities/position";
|
|
39
|
-
|
|
40
|
-
// Overflow
|
|
41
|
-
@forward "./utilities/overflow";
|
|
42
|
-
|
|
43
|
-
// Opacity
|
|
44
|
-
@forward "./utilities/opacity";
|
|
45
|
-
|
|
46
|
-
// Cursor
|
|
47
|
-
@forward "./utilities/cursor";
|
|
48
|
-
|
|
49
|
-
// Sizing (width/height)
|
|
50
|
-
@forward "./utilities/sizing";
|
|
51
|
-
|
|
52
|
-
// Visibility
|
|
53
|
-
@forward "./utilities/visibility";
|
|
54
|
-
|
|
55
|
-
// Base variables & mixins
|
|
56
|
-
@forward "./base/mixins/media-query-mx";
|
|
57
|
-
@forward "./base/mixins/breakpoints";
|
|
58
|
-
@forward "./base/border";
|
|
59
|
-
@forward "./base/color";
|
|
60
|
-
@forward "./base/font";
|
|
61
|
-
@forward "./base/space";
|
|
62
|
-
@forward "./base/size";
|
|
63
|
-
|
|
64
|
-
// Components
|
|
65
|
-
@forward "./components/buttons";
|
|
66
|
-
@forward "./components/input";
|
|
67
|
-
@forward "./components/placeholder";
|
|
68
|
-
@forward "./components/disabled";
|
|
69
|
-
|
|
70
|
-
// Layout
|
|
71
|
-
@forward "./layout/drawer";
|
|
1
|
+
// Reset
|
|
2
|
+
@forward "./utilities/reset";
|
|
3
|
+
|
|
4
|
+
// CSS Custom Properties
|
|
5
|
+
@forward "./base/custom-properties";
|
|
6
|
+
|
|
7
|
+
// Typography
|
|
8
|
+
@forward "./utilities/typography/font";
|
|
9
|
+
@forward "./utilities/typography/color";
|
|
10
|
+
|
|
11
|
+
// Background
|
|
12
|
+
@forward "./utilities/background-color/index.scss";
|
|
13
|
+
|
|
14
|
+
// Border
|
|
15
|
+
@forward "./utilities/border/border-color";
|
|
16
|
+
@forward "./utilities/border/border-radius";
|
|
17
|
+
@forward "./utilities/border/border-size";
|
|
18
|
+
|
|
19
|
+
// Spacing
|
|
20
|
+
@forward "./utilities/spaces/gap";
|
|
21
|
+
@forward "./utilities/spaces/margin";
|
|
22
|
+
@forward "./utilities/spaces/padding";
|
|
23
|
+
|
|
24
|
+
// Box shadow
|
|
25
|
+
@forward "./utilities/box-shadow/index.scss";
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
// Display
|
|
29
|
+
@forward "./utilities/display";
|
|
30
|
+
|
|
31
|
+
// Flex
|
|
32
|
+
@forward "./utilities/flex";
|
|
33
|
+
|
|
34
|
+
// Text
|
|
35
|
+
@forward "./utilities/text";
|
|
36
|
+
|
|
37
|
+
// Position
|
|
38
|
+
@forward "./utilities/position";
|
|
39
|
+
|
|
40
|
+
// Overflow
|
|
41
|
+
@forward "./utilities/overflow";
|
|
42
|
+
|
|
43
|
+
// Opacity
|
|
44
|
+
@forward "./utilities/opacity";
|
|
45
|
+
|
|
46
|
+
// Cursor
|
|
47
|
+
@forward "./utilities/cursor";
|
|
48
|
+
|
|
49
|
+
// Sizing (width/height)
|
|
50
|
+
@forward "./utilities/sizing";
|
|
51
|
+
|
|
52
|
+
// Visibility
|
|
53
|
+
@forward "./utilities/visibility";
|
|
54
|
+
|
|
55
|
+
// Base variables & mixins
|
|
56
|
+
@forward "./base/mixins/media-query-mx";
|
|
57
|
+
@forward "./base/mixins/breakpoints";
|
|
58
|
+
@forward "./base/border";
|
|
59
|
+
@forward "./base/color";
|
|
60
|
+
@forward "./base/font";
|
|
61
|
+
@forward "./base/space";
|
|
62
|
+
@forward "./base/size";
|
|
63
|
+
|
|
64
|
+
// Components
|
|
65
|
+
@forward "./components/buttons";
|
|
66
|
+
@forward "./components/input";
|
|
67
|
+
@forward "./components/placeholder";
|
|
68
|
+
@forward "./components/disabled";
|
|
69
|
+
|
|
70
|
+
// Layout
|
|
71
|
+
@forward "./layout/drawer";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use "../base/mixins/meta-class" as mc;
|
|
2
|
-
|
|
3
|
-
$_cursors: auto, default, pointer, wait, text, move, not-allowed, grab, grabbing;
|
|
4
|
-
|
|
5
|
-
@each $cursor in $_cursors {
|
|
6
|
-
@include mc.meta("qo-cursor-#{$cursor}", (cursor: $cursor));
|
|
7
|
-
}
|
|
1
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
|
+
|
|
3
|
+
$_cursors: auto, default, pointer, wait, text, move, not-allowed, grab, grabbing;
|
|
4
|
+
|
|
5
|
+
@each $cursor in $_cursors {
|
|
6
|
+
@include mc.meta("qo-cursor-#{$cursor}", (cursor: $cursor));
|
|
7
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
-
@use "../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
4
|
-
$_displays: none, inline, inline-block, block, flex, inline-flex, grid, inline-grid, table, table-row, table-cell;
|
|
5
|
-
|
|
6
|
-
@each $display in $_displays {
|
|
7
|
-
@include mc.meta("qo-d-#{$display}", (display: $display));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Responsive variants
|
|
11
|
-
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
12
|
-
@media (min-width: $bp-value) {
|
|
13
|
-
@each $display in $_displays {
|
|
14
|
-
@include mc.meta("qo-d-#{$bp-name}-#{$display}", (display: $display));
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
$_displays: none, inline, inline-block, block, flex, inline-flex, grid, inline-grid, table, table-row, table-cell;
|
|
5
|
+
|
|
6
|
+
@each $display in $_displays {
|
|
7
|
+
@include mc.meta("qo-d-#{$display}", (display: $display));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Responsive variants
|
|
11
|
+
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
12
|
+
@media (min-width: $bp-value) {
|
|
13
|
+
@each $display in $_displays {
|
|
14
|
+
@include mc.meta("qo-d-#{$bp-name}-#{$display}", (display: $display));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
-
@use "../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
4
|
-
// Direction
|
|
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));
|
|
9
|
-
|
|
10
|
-
// Wrap
|
|
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));
|
|
14
|
-
|
|
15
|
-
// Justify content
|
|
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));
|
|
22
|
-
|
|
23
|
-
// Align items
|
|
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));
|
|
29
|
-
|
|
30
|
-
// Align self
|
|
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));
|
|
36
|
-
|
|
37
|
-
// Align content
|
|
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));
|
|
44
|
-
|
|
45
|
-
// Flex grow/shrink/fill
|
|
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));
|
|
51
|
-
|
|
52
|
-
// Order
|
|
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));
|
|
61
|
-
|
|
62
|
-
// Responsive variants
|
|
63
|
-
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
64
|
-
@media (min-width: $bp-value) {
|
|
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));
|
|
82
|
-
}
|
|
83
|
-
}
|
|
1
|
+
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
4
|
+
// Direction
|
|
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));
|
|
9
|
+
|
|
10
|
+
// Wrap
|
|
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));
|
|
14
|
+
|
|
15
|
+
// Justify content
|
|
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));
|
|
22
|
+
|
|
23
|
+
// Align items
|
|
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));
|
|
29
|
+
|
|
30
|
+
// Align self
|
|
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));
|
|
36
|
+
|
|
37
|
+
// Align content
|
|
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));
|
|
44
|
+
|
|
45
|
+
// Flex grow/shrink/fill
|
|
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));
|
|
51
|
+
|
|
52
|
+
// Order
|
|
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));
|
|
61
|
+
|
|
62
|
+
// Responsive variants
|
|
63
|
+
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
64
|
+
@media (min-width: $bp-value) {
|
|
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));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use "../base/mixins/meta-class" as mc;
|
|
2
|
-
|
|
3
|
-
$_opacities: (0: 0, 25: 0.25, 50: 0.5, 75: 0.75, 100: 1);
|
|
4
|
-
|
|
5
|
-
@each $key, $value in $_opacities {
|
|
6
|
-
@include mc.meta("qo-opacity-#{$key}", (opacity: $value));
|
|
7
|
-
}
|
|
1
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
|
+
|
|
3
|
+
$_opacities: (0: 0, 25: 0.25, 50: 0.5, 75: 0.75, 100: 1);
|
|
4
|
+
|
|
5
|
+
@each $key, $value in $_opacities {
|
|
6
|
+
@include mc.meta("qo-opacity-#{$key}", (opacity: $value));
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@use "../base/mixins/meta-class" as mc;
|
|
2
|
-
|
|
3
|
-
$_overflow-values: auto, hidden, visible, scroll;
|
|
4
|
-
|
|
5
|
-
@each $value in $_overflow-values {
|
|
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));
|
|
9
|
-
}
|
|
1
|
+
@use "../base/mixins/meta-class" as mc;
|
|
2
|
+
|
|
3
|
+
$_overflow-values: auto, hidden, visible, scroll;
|
|
4
|
+
|
|
5
|
+
@each $value in $_overflow-values {
|
|
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));
|
|
9
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
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));
|
|
8
|
-
|
|
9
|
-
// Edge positioning
|
|
10
|
-
$_positions: (0: 0, 50: 50%, 100: 100%);
|
|
11
|
-
|
|
12
|
-
@each $key, $value in $_positions {
|
|
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));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Center transform helpers
|
|
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
|
+
@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));
|
|
8
|
+
|
|
9
|
+
// Edge positioning
|
|
10
|
+
$_positions: (0: 0, 50: 50%, 100: 100%);
|
|
11
|
+
|
|
12
|
+
@each $key, $value in $_positions {
|
|
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));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Center transform helpers
|
|
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,24 +1,24 @@
|
|
|
1
|
-
@use "../base/size" as sz;
|
|
2
|
-
@use "../base/mixins/meta-class" as mc;
|
|
3
|
-
|
|
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));
|
|
7
|
-
}
|
|
8
|
-
|
|
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));
|
|
1
|
+
@use "../base/size" as sz;
|
|
2
|
+
@use "../base/mixins/meta-class" as mc;
|
|
3
|
+
|
|
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));
|
|
7
|
+
}
|
|
8
|
+
|
|
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));
|