@progress/kendo-theme-default 5.12.1-dev.1 → 5.12.1-dev.3
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/all.css +11342 -11738
- package/dist/all.scss +11297 -11990
- package/dist/default-blue.scss +27 -29
- package/dist/default-dataviz-v4.scss +6 -7
- package/dist/default-green.scss +27 -29
- package/dist/default-main-dark.scss +27 -30
- package/dist/default-main.scss +27 -29
- package/dist/default-nordic.scss +27 -29
- package/dist/default-ocean-blue-a11y.scss +42 -0
- package/dist/default-ocean-blue.scss +29 -35
- package/dist/default-orange.scss +27 -29
- package/dist/default-purple.scss +27 -29
- package/dist/default-turquoise.scss +27 -29
- package/dist/default-urban.scss +27 -29
- package/lib/swatches/default-blue.json +32 -41
- package/lib/swatches/default-dataviz-v4.json +8 -7
- package/lib/swatches/default-green.json +33 -41
- package/lib/swatches/default-main-dark.json +31 -49
- package/lib/swatches/default-main.json +33 -41
- package/lib/swatches/default-nordic.json +33 -41
- package/lib/swatches/default-ocean-blue-a11y.json +258 -0
- package/lib/swatches/default-ocean-blue.json +35 -64
- package/lib/swatches/default-orange.json +33 -41
- package/lib/swatches/default-purple.json +33 -41
- package/lib/swatches/default-turquoise.json +33 -41
- package/lib/swatches/default-urban.json +33 -41
- package/package.json +5 -5
- package/scss/_variables.scss +96 -42
- package/scss/action-buttons/_layout.scss +4 -4
- package/scss/action-buttons/_theme.scss +4 -4
- package/scss/action-buttons/_variables.scss +9 -9
- package/scss/action-sheet/_layout.scss +41 -41
- package/scss/action-sheet/_theme.scss +27 -27
- package/scss/action-sheet/_variables.scss +64 -63
- package/scss/adaptive/_layout.scss +11 -15
- package/scss/adaptive/_theme.scss +12 -12
- package/scss/adaptive/_variables.scss +18 -18
- package/scss/appbar/_variables.scss +3 -3
- package/scss/avatar/_variables.scss +3 -3
- package/scss/badge/_index.scss +1 -1
- package/scss/badge/_variables.scss +32 -32
- package/scss/bottom-navigation/_index.scss +1 -1
- package/scss/bottom-navigation/_layout.scss +17 -17
- package/scss/bottom-navigation/_theme.scss +4 -4
- package/scss/bottom-navigation/_variables.scss +23 -23
- package/scss/breadcrumb/_layout.scss +16 -16
- package/scss/breadcrumb/_theme.scss +42 -24
- package/scss/breadcrumb/_variables.scss +46 -41
- package/scss/button/_index.scss +0 -1
- package/scss/button/_layout.scss +2 -2
- package/scss/button/_theme.scss +7 -7
- package/scss/button/_variables.scss +37 -34
- package/scss/calendar/_layout.scss +49 -53
- package/scss/calendar/_theme.scss +52 -52
- package/scss/calendar/_variables.scss +104 -103
- package/scss/captcha/_index.scss +1 -1
- package/scss/captcha/_layout.scss +10 -10
- package/scss/captcha/_theme.scss +3 -3
- package/scss/captcha/_variables.scss +14 -14
- package/scss/card/_index.scss +2 -2
- package/scss/card/_layout.scss +45 -45
- package/scss/card/_theme.scss +15 -15
- package/scss/card/_variables.scss +55 -55
- package/scss/chat/_layout.scss +59 -59
- package/scss/chat/_theme.scss +28 -28
- package/scss/chat/_variables.scss +57 -57
- package/scss/checkbox/_index.scss +0 -2
- package/scss/checkbox/_theme.scss +2 -2
- package/scss/checkbox/_variables.scss +4 -1
- package/scss/chip/_index.scss +0 -1
- package/scss/chip/_layout.scss +1 -1
- package/scss/chip/_theme.scss +13 -13
- package/scss/chip/_variables.scss +32 -29
- package/scss/color-preview/_layout.scss +6 -6
- package/scss/color-preview/_theme.scss +4 -4
- package/scss/color-preview/_variables.scss +11 -11
- package/scss/coloreditor/_layout.scss +18 -18
- package/scss/coloreditor/_theme.scss +6 -6
- package/scss/coloreditor/_variables.scss +24 -24
- package/scss/colorgradient/_index.scss +2 -2
- package/scss/colorgradient/_layout.scss +39 -39
- package/scss/colorgradient/_theme.scss +13 -13
- package/scss/colorgradient/_variables.scss +50 -50
- package/scss/colorpalette/_index.scss +1 -1
- package/scss/colorpalette/_layout.scss +5 -5
- package/scss/colorpalette/_theme.scss +3 -3
- package/scss/colorpalette/_variables.scss +8 -8
- package/scss/common/_base.scss +1 -1
- package/scss/common/_dragdrop.scss +13 -13
- package/scss/common/_index.scss +0 -2
- package/scss/dataviz/_index.scss +0 -1
- package/scss/dataviz/_layout.scss +75 -75
- package/scss/dataviz/_theme.scss +20 -18
- package/scss/dataviz/_variables.scss +101 -97
- package/scss/datetimepicker/_layout.scss +3 -3
- package/scss/datetimepicker/_variables.scss +1 -1
- package/scss/dialog/_variables.scss +3 -3
- package/scss/draggable/_layout.scss +23 -23
- package/scss/draggable/_theme.scss +5 -5
- package/scss/draggable/_variables.scss +20 -20
- package/scss/drawer/_theme.scss +1 -1
- package/scss/drawer/_variables.scss +5 -5
- package/scss/dropdowngrid/_index.scss +4 -7
- package/scss/dropdowngrid/_variables.scss +1 -0
- package/scss/dropdowntree/_layout.scss +2 -2
- package/scss/dropdowntree/_variables.scss +2 -2
- package/scss/dropzone/_layout.scss +12 -12
- package/scss/dropzone/_theme.scss +7 -7
- package/scss/dropzone/_variables.scss +21 -20
- package/scss/editor/_layout.scss +3 -3
- package/scss/editor/_variables.scss +3 -3
- package/scss/expansion-panel/_index.scss +2 -2
- package/scss/expansion-panel/_layout.scss +9 -9
- package/scss/expansion-panel/_theme.scss +12 -12
- package/scss/expansion-panel/_variables.scss +22 -22
- package/scss/fab/_index.scss +1 -1
- package/scss/fab/_layout.scss +4 -4
- package/scss/fab/_theme.scss +14 -6
- package/scss/fab/_variables.scss +10 -10
- package/scss/filemanager/_layout.scss +26 -26
- package/scss/filemanager/_theme.scss +31 -31
- package/scss/filemanager/_variables.scss +59 -59
- package/scss/filter/_layout.scss +15 -15
- package/scss/filter/_theme.scss +3 -3
- package/scss/filter/_variables.scss +8 -8
- package/scss/floating-label/_layout.scss +19 -19
- package/scss/floating-label/_theme.scss +4 -4
- package/scss/floating-label/_variables.scss +14 -14
- package/scss/forms/_index.scss +0 -4
- package/scss/forms/_layout.scss +15 -11
- package/scss/forms/_variables.scss +19 -12
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +49 -44
- package/scss/gantt/_theme.scss +60 -60
- package/scss/gantt/_variables.scss +96 -92
- package/scss/grid/_index.scss +2 -2
- package/scss/grid/_layout.scss +19 -19
- package/scss/grid/_theme.scss +8 -8
- package/scss/grid/_variables.scss +80 -80
- package/scss/icons/_layout.scss +6 -1093
- package/scss/imageeditor/_layout.scss +19 -19
- package/scss/imageeditor/_theme.scss +13 -13
- package/scss/imageeditor/_variables.scss +31 -31
- package/scss/input/_layout.scss +1 -1
- package/scss/input/_theme.scss +24 -24
- package/scss/input/_variables.scss +36 -36
- package/scss/list/_layout.scss +2 -2
- package/scss/list/_theme.scss +1 -1
- package/scss/list/_variables.scss +66 -72
- package/scss/listbox/_variables.scss +3 -3
- package/scss/listgroup/_layout.scss +15 -15
- package/scss/listgroup/_theme.scss +3 -3
- package/scss/listgroup/_variables.scss +10 -10
- package/scss/listview/_index.scss +2 -2
- package/scss/listview/_theme.scss +1 -1
- package/scss/listview/_variables.scss +3 -3
- package/scss/loader/_layout.scss +40 -40
- package/scss/loader/_variables.scss +31 -30
- package/scss/map/_index.scss +1 -1
- package/scss/map/_layout.scss +16 -16
- package/scss/map/_theme.scss +5 -5
- package/scss/map/_variables.scss +21 -21
- package/scss/mediaplayer/_layout.scss +5 -5
- package/scss/mediaplayer/_theme.scss +6 -6
- package/scss/mediaplayer/_variables.scss +13 -13
- package/scss/menu/_layout.scss +39 -39
- package/scss/menu/_theme.scss +26 -26
- package/scss/menu/_variables.scss +67 -66
- package/scss/messagebox/_layout.scss +7 -7
- package/scss/messagebox/_theme.scss +3 -3
- package/scss/messagebox/_variables.scss +11 -11
- package/scss/multiselect/_index.scss +0 -1
- package/scss/notification/_variables.scss +5 -5
- package/scss/orgchart/_index.scss +1 -1
- package/scss/orgchart/_layout.scss +26 -26
- package/scss/orgchart/_theme.scss +13 -13
- package/scss/orgchart/_variables.scss +56 -56
- package/scss/overlay/_layout.scss +1 -1
- package/scss/overlay/_theme.scss +2 -2
- package/scss/overlay/_variables.scss +3 -3
- package/scss/pager/_index.scss +0 -2
- package/scss/pager/_layout.scss +1 -1
- package/scss/pager/_theme.scss +6 -6
- package/scss/pager/_variables.scss +38 -34
- package/scss/panelbar/_layout.scss +17 -17
- package/scss/panelbar/_theme.scss +70 -70
- package/scss/panelbar/_variables.scss +104 -103
- package/scss/pdf-viewer/_index.scss +1 -2
- package/scss/pdf-viewer/_layout.scss +13 -13
- package/scss/pdf-viewer/_theme.scss +21 -21
- package/scss/pdf-viewer/_variables.scss +45 -44
- package/scss/pivotgrid/_index.scss +5 -5
- package/scss/pivotgrid/_layout.scss +45 -45
- package/scss/pivotgrid/_theme.scss +52 -52
- package/scss/pivotgrid/_variables.scss +89 -86
- package/scss/popover/_layout.scss +19 -17
- package/scss/popover/_theme.scss +7 -7
- package/scss/popover/_variables.scss +26 -26
- package/scss/popup/_layout.scss +7 -7
- package/scss/popup/_theme.scss +4 -4
- package/scss/popup/_variables.scss +12 -12
- package/scss/progressbar/_layout.scss +1 -1
- package/scss/progressbar/_variables.scss +2 -2
- package/scss/radio/_index.scss +0 -3
- package/scss/radio/_theme.scss +2 -2
- package/scss/radio/_variables.scss +5 -1
- package/scss/rating/_layout.scss +11 -11
- package/scss/rating/_theme.scss +6 -6
- package/scss/rating/_variables.scss +17 -16
- package/scss/scheduler/_layout.scss +36 -55
- package/scss/scheduler/_theme.scss +51 -51
- package/scss/scheduler/_variables.scss +93 -93
- package/scss/scrollview/_layout.scss +16 -16
- package/scss/scrollview/_theme.scss +23 -23
- package/scss/scrollview/_variables.scss +32 -32
- package/scss/signature/_variables.scss +18 -18
- package/scss/skeleton/_layout.scss +4 -4
- package/scss/skeleton/_theme.scss +2 -2
- package/scss/skeleton/_variables.scss +6 -6
- package/scss/slider/_layout.scss +26 -26
- package/scss/slider/_theme.scss +21 -21
- package/scss/slider/_variables.scss +44 -44
- package/scss/split-button/_layout.scss +3 -4
- package/scss/split-button/_theme.scss +1 -1
- package/scss/split-button/_variables.scss +6 -6
- package/scss/splitter/_layout.scss +15 -15
- package/scss/splitter/_theme.scss +10 -10
- package/scss/splitter/_variables.scss +18 -18
- package/scss/spreadsheet/_layout.scss +30 -30
- package/scss/spreadsheet/_theme.scss +20 -20
- package/scss/spreadsheet/_variables.scss +29 -29
- package/scss/stepper/_layout.scss +36 -37
- package/scss/stepper/_theme.scss +44 -45
- package/scss/stepper/_variables.scss +86 -86
- package/scss/switch/_index.scss +1 -1
- package/scss/switch/_theme.scss +10 -2
- package/scss/switch/_variables.scss +7 -7
- package/scss/table/_index.scss +0 -8
- package/scss/table/_theme.scss +1 -1
- package/scss/table/_variables.scss +21 -18
- package/scss/tabstrip/_layout.scss +31 -31
- package/scss/tabstrip/_theme.scss +26 -26
- package/scss/tabstrip/_variables.scss +42 -41
- package/scss/taskboard/_index.scss +1 -1
- package/scss/taskboard/_layout.scss +34 -34
- package/scss/taskboard/_theme.scss +32 -32
- package/scss/taskboard/_variables.scss +93 -93
- package/scss/tilelayout/_layout.scss +4 -4
- package/scss/tilelayout/_theme.scss +4 -4
- package/scss/tilelayout/_variables.scss +8 -8
- package/scss/timedurationpicker/_index.scss +1 -1
- package/scss/timeline/_layout.scss +55 -55
- package/scss/timeline/_theme.scss +15 -15
- package/scss/timeline/_variables.scss +50 -50
- package/scss/timeselector/_layout.scss +18 -18
- package/scss/timeselector/_theme.scss +13 -11
- package/scss/timeselector/_variables.scss +37 -36
- package/scss/toolbar/_layout.scss +11 -11
- package/scss/toolbar/_theme.scss +2 -2
- package/scss/toolbar/_variables.scss +24 -24
- package/scss/tooltip/_layout.scss +22 -22
- package/scss/tooltip/_theme.scss +25 -25
- package/scss/tooltip/_variables.scss +29 -29
- package/scss/treelist/_index.scss +1 -1
- package/scss/treeview/_layout.scss +6 -6
- package/scss/treeview/_theme.scss +2 -2
- package/scss/treeview/_variables.scss +30 -30
- package/scss/typography/_index.scss +0 -1
- package/scss/typography/_layout.scss +77 -77
- package/scss/typography/_theme.scss +3 -3
- package/scss/typography/_variables.scss +84 -128
- package/scss/upload/_index.scss +0 -1
- package/scss/upload/_layout.scss +1 -1
- package/scss/upload/_theme.scss +5 -1
- package/scss/upload/_variables.scss +6 -5
- package/scss/utils/_index.scss +0 -22
- package/scss/validator/_layout.scss +1 -1
- package/scss/window/_theme.scss +1 -1
- package/scss/window/_variables.scss +9 -5
- package/scss/wizard/_layout.scss +11 -11
- package/scss/wizard/_theme.scss +1 -1
- package/scss/wizard/_variables.scss +10 -10
- package/scss/icons/font/WebComponentsIcons.scss +0 -3
- package/scss/icons/font/WebComponentsIcons.ttf +0 -0
- package/scss/utils/_aspect-ratio.scss +0 -32
- package/scss/utils/_border.scss +0 -109
- package/scss/utils/_display.scss +0 -41
- package/scss/utils/_flex.scss +0 -189
- package/scss/utils/_float.scss +0 -85
- package/scss/utils/_grid.scss +0 -45
- package/scss/utils/_order.scss +0 -54
- package/scss/utils/_overflow.scss +0 -87
- package/scss/utils/_pointer-events.scss +0 -30
- package/scss/utils/_position.scss +0 -209
- package/scss/utils/_resize.scss +0 -47
- package/scss/utils/_spacer.scss +0 -16
- package/scss/utils/_spacing.scss +0 -162
- package/scss/utils/_table-layout.scss +0 -17
- package/scss/utils/_text.scss +0 -154
- package/scss/utils/_theme-colors.scss +0 -47
- package/scss/utils/_touch-action.scss +0 -30
- package/scss/utils/_transform.scss +0 -105
- package/scss/utils/_user-select.scss +0 -51
package/scss/utils/_display.scss
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@include exports( "utils/display" ) {
|
|
2
|
-
|
|
3
|
-
// sass-lint:disable-block no-important
|
|
4
|
-
// stylelint-disable block-opening-brace-space-before
|
|
5
|
-
|
|
6
|
-
// Display documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/display.
|
|
7
|
-
|
|
8
|
-
/// This is equivalent to `display: inline;`. The element generates one or more inline element boxes that do not generate line breaks before or after themselves. In normal flow, the next element will be on the same line if there is space.
|
|
9
|
-
/// @name .k-display-inline
|
|
10
|
-
/// @group display
|
|
11
|
-
.k-display-inline { display: inline !important; }
|
|
12
|
-
/// This is equivalent to `display: block;`. The element generates a block element box, generating line breaks both before and after the element when in the normal flow.
|
|
13
|
-
/// @name .k-display-block
|
|
14
|
-
/// @group display
|
|
15
|
-
.k-display-block { display: block !important; }
|
|
16
|
-
/// This is equivalent to `display: inline-block;`. The element generates a block element box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would).
|
|
17
|
-
/// @name .k-display-inline-block
|
|
18
|
-
/// @group display
|
|
19
|
-
.k-display-inline-block { display: inline-block !important; }
|
|
20
|
-
/// This is equivalent to `display: flex;`. The element behaves like a block element and lays out its content according to the flexbox model.
|
|
21
|
-
/// @name .k-display-flex
|
|
22
|
-
/// @group display
|
|
23
|
-
.k-display-flex { display: flex !important; }
|
|
24
|
-
/// This is equivalent to `display: inline-flex;`. The element behaves like an inline element and lays out its content according to the flexbox model.
|
|
25
|
-
/// @name .k-display-inline-flex
|
|
26
|
-
/// @group display
|
|
27
|
-
.k-display-inline-flex { display: inline-flex !important; }
|
|
28
|
-
/// This is equivalent to `display: table;`. These elements behave like HTML `<table>` elements. It defines a block-level box.
|
|
29
|
-
/// @name .k-display-table
|
|
30
|
-
/// @group display
|
|
31
|
-
.k-display-table { display: table !important; }
|
|
32
|
-
/// This is equivalent to `display: inline-table;`. The inline-table value does not have a direct mapping in HTML. It behaves like an HTML `<table>` element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context.
|
|
33
|
-
/// @name .k-display-inline-table
|
|
34
|
-
/// @group display
|
|
35
|
-
.k-display-inline-table { display: inline-table !important; }
|
|
36
|
-
/// This is equivalent to `display: none;`. Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.
|
|
37
|
-
/// @name .k-display-none
|
|
38
|
-
/// @group display
|
|
39
|
-
.k-display-none { display: none !important; }
|
|
40
|
-
|
|
41
|
-
}
|
package/scss/utils/_flex.scss
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
@include exports( "utils/flex" ) {
|
|
2
|
-
|
|
3
|
-
// stylelint-disable block-opening-brace-space-before
|
|
4
|
-
|
|
5
|
-
// Flex documentation sourced from https://css-tricks.com/almanac/properties/f/flex/.
|
|
6
|
-
|
|
7
|
-
/// This is equivalent to `display: flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
|
|
8
|
-
/// @name .k-d-flex
|
|
9
|
-
/// @group flex-layout
|
|
10
|
-
.k-d-flex { display: flex; }
|
|
11
|
-
.\!k-d-flex { display: flex !important; } // sass-lint:disable-line no-important class-name-format
|
|
12
|
-
/// This is equivalent to `display: inline-flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
|
|
13
|
-
/// @name .k-d-inline-flex
|
|
14
|
-
/// @group flex-layout
|
|
15
|
-
.k-d-inline-flex { display: inline-flex; }
|
|
16
|
-
.\!k-d-inline-flex { display: inline-flex !important; } // sass-lint:disable-line no-important class-name-format
|
|
17
|
-
/// This is equivalent to `display: inline-flex` and `flex-direction: row`.
|
|
18
|
-
/// @name .k-d-flex-row
|
|
19
|
-
/// @group flex-layout
|
|
20
|
-
.k-d-flex-row { @extend .k-d-flex, .k-flex-row; }
|
|
21
|
-
.\!k-d-flex-row { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
|
|
22
|
-
/// This is equivalent to `display: inline-flex` and `flex-direction: column`.
|
|
23
|
-
/// @name .k-d-flex-col
|
|
24
|
-
/// @group flex-layout
|
|
25
|
-
.k-d-flex-col { @extend .k-d-flex, .k-flex-col; }
|
|
26
|
-
.\!k-d-flex-col { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
|
|
27
|
-
/// This is equivalent to `flex-direction: row`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in `ltr`; right to left in `rtl`.
|
|
28
|
-
/// @name .k-flex-row
|
|
29
|
-
/// @group flex-layout
|
|
30
|
-
.k-flex-row { flex-direction: row; }
|
|
31
|
-
.\!k-flex-row { flex-direction: row !important; } // sass-lint:disable-line no-important class-name-format
|
|
32
|
-
/// This is equivalent to `flex-direction: row-reverse`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in `ltr`; left to right in `rtl`.
|
|
33
|
-
/// @name .k-flex-row-reverse
|
|
34
|
-
/// @group flex-layout
|
|
35
|
-
.k-flex-row-reverse { flex-direction: row-reverse; }
|
|
36
|
-
.\!k-flex-row-reverse { flex-direction: row-reverse !important; } // sass-lint:disable-line no-important class-name-format
|
|
37
|
-
/// This is equivalent to `flex-direction: column`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom.
|
|
38
|
-
/// @name .k-flex-col
|
|
39
|
-
/// @group flex-layout
|
|
40
|
-
.k-flex-col { flex-direction: column; }
|
|
41
|
-
.\!k-flex-col { flex-direction: column !important; } // sass-lint:disable-line no-important class-name-format
|
|
42
|
-
/// This is equivalent to `flex-direction: column-reverse`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top.
|
|
43
|
-
/// @name .k-flex-col-reverse
|
|
44
|
-
/// @group flex-layout
|
|
45
|
-
.k-flex-col-reverse { flex-direction: column-reverse; }
|
|
46
|
-
.\!k-flex-col-reverse { flex-direction: column-reverse !important; } // sass-lint:disable-line no-important class-name-format
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
// Aliases
|
|
50
|
-
.k-flex-column { @extend .k-flex-col; }
|
|
51
|
-
.k-flex-column-reverse { @extend .k-flex-col-reverse; }
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// Flex wrap
|
|
55
|
-
|
|
56
|
-
/// This is equivalent to `flex-wrap: wrap`. It allows flex items to wrap as needed onto multiple lines, from top to bottom.
|
|
57
|
-
/// @name .k-flex-wrap
|
|
58
|
-
/// @group flex-layout
|
|
59
|
-
.k-flex-wrap { flex-wrap: wrap; }
|
|
60
|
-
.\!k-flex-wrap { flex-wrap: wrap !important; } // sass-lint:disable-line no-important class-name-format
|
|
61
|
-
/// This is equivalent to `flex-wrap: nowrap`. All flex items will be on one line.
|
|
62
|
-
/// @name .k-flex-nowrap
|
|
63
|
-
/// @group flex-layout
|
|
64
|
-
.k-flex-nowrap { flex-wrap: nowrap; }
|
|
65
|
-
.\!k-flex-nowrap { flex-wrap: nowrap !important; } // sass-lint:disable-line no-important class-name-format
|
|
66
|
-
/// This is equivalent to `flex-wrap: wrap-reverse`. It allows flex items to wrap as needed onto multiple lines, from bottom to top.
|
|
67
|
-
/// @name .k-flex-wrap-reverse
|
|
68
|
-
/// @group flex-layout
|
|
69
|
-
.k-flex-wrap-reverse { flex-wrap: wrap-reverse; }
|
|
70
|
-
.\!k-flex-wrap-reverse { flex-wrap: wrap-reverse !important; } // sass-lint:disable-line no-important class-name-format
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
// Flex, shrink, grow,
|
|
74
|
-
|
|
75
|
-
/// This is the same as `flex: initial;` and the shorthand for the default value: `flex: 0 1 auto`. It sizes the item based on its `width`/`height` properties (or its content if not set). It makes the flex item inflexible when there is some free space left, but allows it to shrink to its minimum when there is not enough space. The alignment abilities or `auto` margins can be used to align flex items along the main axis.
|
|
76
|
-
/// @name .k-flex-initial
|
|
77
|
-
/// @group flex-layout
|
|
78
|
-
.k-flex-initial { flex: 0 1 auto; }
|
|
79
|
-
.\!k-flex-initial { flex: 0 1 auto !important; } // sass-lint:disable-line no-important class-name-format
|
|
80
|
-
/// This is equivalent to `flex: 1 1 0%`. It sizes the item not based on its `width`/`height` properties, but based on the available space. This is similar to `flex: 1 1 auto` execpt it is allowed to shrink beyond its initial size.
|
|
81
|
-
/// @name .k-flex-1
|
|
82
|
-
/// @group flex-layout
|
|
83
|
-
.k-flex-1 { flex: 1 1 0%; }
|
|
84
|
-
.\!k-flex-1 { flex: 1 1 0% !important; } // sass-lint:disable-line no-important class-name-format
|
|
85
|
-
/// This is equivalent to `flex: 1 1 auto`. Beware, this is not the default value. It sizes the item based on its `width`/`height` properties, but makes it fully flexible so that they absorb any extra space along the main axis. If all items are either `flex: auto`, `flex: initial`, or `flex: none`, any remaining space after the items have been sized will be distributed evenly to the items with `flex: auto`.
|
|
86
|
-
/// @name .k-flex-auto
|
|
87
|
-
/// @group flex-layout
|
|
88
|
-
.k-flex-auto { flex: 1 1 auto; }
|
|
89
|
-
.\!k-flex-auto { flex: 1 1 auto !important; } // sass-lint:disable-line no-important class-name-format
|
|
90
|
-
/// This is equivalent to `flex: 0 0 auto`. It sizes the item according to its `width`/`height` properties, but makes it fully inflexible. This is similar to `flex: initial` except it is not allowed to shrink, even in an overflow situation.
|
|
91
|
-
/// @name .k-flex-none
|
|
92
|
-
/// @group flex-layout
|
|
93
|
-
.k-flex-none { flex: none; }
|
|
94
|
-
.\!k-flex-none { flex: none !important; } // sass-lint:disable-line no-important class-name-format
|
|
95
|
-
/// This is equivalent to `flex-grow: 1`. It defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.
|
|
96
|
-
/// @name .k-flex-grow
|
|
97
|
-
/// @group flex-layout
|
|
98
|
-
.k-flex-grow { flex-grow: 1; }
|
|
99
|
-
.\!k-flex-grow { flex-grow: 1 !important; } // sass-lint:disable-line no-important class-name-format
|
|
100
|
-
/// This is equivalent to `flex-grow: 0`. The item will not grow.
|
|
101
|
-
/// @name .k-flex-grow-0
|
|
102
|
-
/// @group flex-layout
|
|
103
|
-
.k-flex-grow-0 { flex-grow: 0; }
|
|
104
|
-
.\!k-flex-grow-0 { flex-grow: 0 !important; } // sass-lint:disable-line no-important class-name-format
|
|
105
|
-
/// This is equivalent to `flex-shrink: 1`. It determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn't enough space on the row.
|
|
106
|
-
/// @name .k-flex-shrink
|
|
107
|
-
/// @group flex-layout
|
|
108
|
-
.k-flex-shrink { flex-shrink: 1; }
|
|
109
|
-
.\!k-flex-shrink { flex-shrink: 1 !important; } // sass-lint:disable-line no-important class-name-format
|
|
110
|
-
/// This is equivalent to `flex-shrink: 0`. The item will not shrink.
|
|
111
|
-
/// @name .k-flex-shrink-0
|
|
112
|
-
/// @group flex-layout
|
|
113
|
-
.k-flex-shrink-0 { flex-shrink: 0; }
|
|
114
|
-
.\!k-flex-shrink-0 { flex-shrink: 0 !important; } // sass-lint:disable-line no-important class-name-format
|
|
115
|
-
/// This is equivalent to `flex-basis: auto`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It sizes the element according to its size property.
|
|
116
|
-
/// @name .k-flex-basis-auto
|
|
117
|
-
/// @group flex-layout
|
|
118
|
-
.k-flex-basis-auto { flex-basis: auto; }
|
|
119
|
-
.\!k-flex-basis-auto { flex-basis: auto !important; } // sass-lint:disable-line no-important class-name-format
|
|
120
|
-
/// This is equivalent to `flex-basis: 0`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It disregards the element' size property.
|
|
121
|
-
/// @name .k-flex-basis-0
|
|
122
|
-
/// @group flex-layout
|
|
123
|
-
.k-flex-basis-0 { flex-basis: 0%; }
|
|
124
|
-
.\!k-flex-basis-0 { flex-basis: 0% !important; } // sass-lint:disable-line no-important class-name-format
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
// Flex align
|
|
128
|
-
.k-align-items-start { align-items: flex-start; }
|
|
129
|
-
.\!k-align-items-start { align-items: flex-start !important; } // sass-lint:disable-line no-important class-name-format
|
|
130
|
-
.k-align-items-end { align-items: flex-end; }
|
|
131
|
-
.\!k-align-items-end { align-items: flex-end !important; } // sass-lint:disable-line no-important class-name-format
|
|
132
|
-
.k-align-items-center { align-items: center; }
|
|
133
|
-
.\!k-align-items-center { align-items: center !important; } // sass-lint:disable-line no-important class-name-format
|
|
134
|
-
.k-align-items-stretch { align-items: stretch; }
|
|
135
|
-
.\!k-align-items-stretch { align-items: stretch !important; } // sass-lint:disable-line no-important class-name-format
|
|
136
|
-
.k-align-items-baseline { align-items: baseline; }
|
|
137
|
-
.\!k-align-items-baseline { align-items: baseline !important; } // sass-lint:disable-line no-important class-name-format
|
|
138
|
-
|
|
139
|
-
.k-align-content-start { align-content: flex-start; }
|
|
140
|
-
.\!k-align-content-start { align-content: flex-start !important; } // sass-lint:disable-line no-important class-name-format
|
|
141
|
-
.k-align-content-end { align-content: flex-end; }
|
|
142
|
-
.\!k-align-content-end { align-content: flex-end !important; } // sass-lint:disable-line no-important class-name-format
|
|
143
|
-
.k-align-content-center { align-content: center; }
|
|
144
|
-
.\!k-align-content-center { align-content: center !important; } // sass-lint:disable-line no-important class-name-format
|
|
145
|
-
.k-align-content-stretch { align-content: stretch; }
|
|
146
|
-
.\!k-align-content-stretch { align-content: stretch !important; } // sass-lint:disable-line no-important class-name-format
|
|
147
|
-
.k-align-content-baseline { align-content: baseline; }
|
|
148
|
-
.\!k-align-content-baseline { align-content: baseline !important; } // sass-lint:disable-line no-important class-name-format
|
|
149
|
-
|
|
150
|
-
.k-align-self-start { align-self: flex-start; }
|
|
151
|
-
.\!k-align-self-start { align-self: flex-start !important; } // sass-lint:disable-line no-important class-name-format
|
|
152
|
-
.k-align-self-end { align-self: flex-end; }
|
|
153
|
-
.\!k-align-self-end { align-self: flex-end !important; } // sass-lint:disable-line no-important class-name-format
|
|
154
|
-
.k-align-self-center { align-self: center; }
|
|
155
|
-
.\!k-align-self-center { align-self: center !important; } // sass-lint:disable-line no-important class-name-format
|
|
156
|
-
.k-align-self-stretch { align-self: stretch; }
|
|
157
|
-
.\!k-align-self-stretch { align-self: stretch !important; } // sass-lint:disable-line no-important class-name-format
|
|
158
|
-
.k-align-self-baseline { align-self: baseline; }
|
|
159
|
-
.\!k-align-self-baseline { align-self: baseline !important; } // sass-lint:disable-line no-important class-name-format
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
// Justify content
|
|
163
|
-
.k-justify-content-start { justify-content: flex-start; }
|
|
164
|
-
.\!k-justify-content-start { justify-content: flex-start !important; } // sass-lint:disable-line no-important class-name-format
|
|
165
|
-
.k-justify-content-end { justify-content: flex-end; }
|
|
166
|
-
.\!k-justify-content-end { justify-content: flex-end !important; } // sass-lint:disable-line no-important class-name-format
|
|
167
|
-
.k-justify-content-center { justify-content: center; }
|
|
168
|
-
.\!k-justify-content-center { justify-content: center !important; } // sass-lint:disable-line no-important class-name-format
|
|
169
|
-
.k-justify-content-between { justify-content: space-between; }
|
|
170
|
-
.\!k-justify-content-between { justify-content: space-between !important; } // sass-lint:disable-line no-important class-name-format
|
|
171
|
-
.k-justify-content-around { justify-content: space-around; }
|
|
172
|
-
.\!k-justify-content-around { justify-content: space-around !important; } // sass-lint:disable-line no-important class-name-format
|
|
173
|
-
.k-justify-content-evenly { justify-content: space-evenly; }
|
|
174
|
-
.\!k-justify-content-evenly { justify-content: space-evenly !important; } // sass-lint:disable-line no-important class-name-format
|
|
175
|
-
.k-justify-content-stretch > * { flex: 1 0 0%; }
|
|
176
|
-
.\!k-justify-content-stretch > * { flex: 1 0 0% !important; } // sass-lint:disable-line no-important class-name-format
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
// Justify items
|
|
180
|
-
.k-justify-items-start { justify-items: flex-start; }
|
|
181
|
-
.\!k-justify-items-start { justify-items: flex-start !important; } // sass-lint:disable-line no-important class-name-format
|
|
182
|
-
.k-justify-items-end { justify-items: flex-end; }
|
|
183
|
-
.\!k-justify-items-end { justify-items: flex-end !important; } // sass-lint:disable-line no-important class-name-format
|
|
184
|
-
.k-justify-items-center { justify-items: center; }
|
|
185
|
-
.\!k-justify-items-center { justify-items: center !important; } // sass-lint:disable-line no-important class-name-format
|
|
186
|
-
.k-justify-items-stretch { justify-items: stretch; }
|
|
187
|
-
.\!k-justify-items-stretch { justify-items: stretch !important; } // sass-lint:disable-line no-important class-name-format
|
|
188
|
-
|
|
189
|
-
}
|
package/scss/utils/_float.scss
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
@include exports( "utils/float" ) {
|
|
2
|
-
|
|
3
|
-
// Float documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/float.
|
|
4
|
-
// Clear documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/clear.
|
|
5
|
-
|
|
6
|
-
/// This is equivalent to `float: left;`. The element must float on the left side of its containing block.
|
|
7
|
-
/// @name .k-float-left
|
|
8
|
-
/// @group float
|
|
9
|
-
/// @contextType css
|
|
10
|
-
_ {}
|
|
11
|
-
|
|
12
|
-
/// This is equivalent to `float: right;`. The element must float on the right side of its containing block.
|
|
13
|
-
/// @name .k-float-right
|
|
14
|
-
/// @group float
|
|
15
|
-
/// @contextType css
|
|
16
|
-
_ {}
|
|
17
|
-
|
|
18
|
-
/// This is equivalent to `float: none;`. The element must not float.
|
|
19
|
-
/// @name .k-float-none
|
|
20
|
-
/// @group float
|
|
21
|
-
/// @contextType css
|
|
22
|
-
_ {}
|
|
23
|
-
|
|
24
|
-
/// This is equivalent to `clear: left;`. Is a keyword indicating that the element is moved down to clear past left floats.
|
|
25
|
-
/// @name .k-clear-left
|
|
26
|
-
/// @group float
|
|
27
|
-
/// @contextType css
|
|
28
|
-
_ {}
|
|
29
|
-
|
|
30
|
-
/// This is equivalent to `clear: right;`. Is a keyword indicating that the element is moved down to clear past right floats.
|
|
31
|
-
/// @name .k-clear-right
|
|
32
|
-
/// @group float
|
|
33
|
-
/// @contextType css
|
|
34
|
-
_ {}
|
|
35
|
-
|
|
36
|
-
/// This is equivalent to `clear: both;`. Is a keyword indicating that the element is moved down to clear past both left and right floats.
|
|
37
|
-
/// @name .k-clear-both
|
|
38
|
-
/// @group float
|
|
39
|
-
/// @contextType css
|
|
40
|
-
_ {}
|
|
41
|
-
|
|
42
|
-
/// This is equivalent to `clear: none;`. Is a keyword indicating that the element is not moved down to clear past floating elements.
|
|
43
|
-
/// @name .k-clear-none
|
|
44
|
-
/// @group float
|
|
45
|
-
/// @contextType css
|
|
46
|
-
_ {}
|
|
47
|
-
|
|
48
|
-
// Float utility classes
|
|
49
|
-
$utils-float: (
|
|
50
|
-
left,
|
|
51
|
-
right,
|
|
52
|
-
none
|
|
53
|
-
) !default;
|
|
54
|
-
|
|
55
|
-
// Clear utility classes
|
|
56
|
-
$utils-clear: (
|
|
57
|
-
left,
|
|
58
|
-
right,
|
|
59
|
-
both,
|
|
60
|
-
none
|
|
61
|
-
) !default;
|
|
62
|
-
|
|
63
|
-
@if $utils-float {
|
|
64
|
-
@each $float in $utils-float {
|
|
65
|
-
// sass-lint:disable-block no-important
|
|
66
|
-
.k-float-#{$float} { float: $float !important; }
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@if $utils-clear {
|
|
71
|
-
@each $clear in $utils-clear {
|
|
72
|
-
// sass-lint:disable-block no-important
|
|
73
|
-
.k-clear-#{$clear} { clear: $clear !important; }
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
// Float wrap
|
|
79
|
-
.k-floatwrap::after {
|
|
80
|
-
content: "";
|
|
81
|
-
display: block;
|
|
82
|
-
clear: both;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
}
|
package/scss/utils/_grid.scss
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@include exports("utils/grid") {
|
|
2
|
-
|
|
3
|
-
// stylelint-disable block-opening-brace-space-before
|
|
4
|
-
|
|
5
|
-
/// This is equivalent to `display: grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
6
|
-
/// @name .k-d-grid
|
|
7
|
-
/// @group grid-layout
|
|
8
|
-
.k-d-grid { display: grid; }
|
|
9
|
-
.k-grid-cols-none { grid-template-columns: none; }
|
|
10
|
-
.k-grid-rows-none { grid-template-rows: none; }
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
// Grid flow
|
|
14
|
-
.k-grid-flow-col { grid-auto-flow: column; }
|
|
15
|
-
.k-grid-flow-col-dense { grid-auto-flow: column dense; }
|
|
16
|
-
.k-grid-flow-row { grid-auto-flow: row; }
|
|
17
|
-
.k-grid-flow-row-dense { grid-auto-flow: row dense; }
|
|
18
|
-
.k-grid-flow-unset { grid-auto-flow: unset; }
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
// Columns
|
|
22
|
-
.k-colspan-all { grid-column: 1 / -1; }
|
|
23
|
-
.k-colspan-auto { grid-column: auto; }
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
// Rows
|
|
27
|
-
.k-rowspan-all { grid-row: 1 / -1; }
|
|
28
|
-
.k-rowspan-auto { grid-row: auto; }
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// Grid utilities
|
|
32
|
-
@for $i from 1 through $grid-cols {
|
|
33
|
-
.k-grid-cols-#{$i} { grid-template-columns: repeat($i, minmax(0, 1fr)); }
|
|
34
|
-
.k-colspan-#{$i} { grid-column: span $i; }
|
|
35
|
-
.k-col-start-#{$i} { grid-column-start: $i; }
|
|
36
|
-
.k-col-end-#{$i} { grid-column-end: $i; }
|
|
37
|
-
}
|
|
38
|
-
@for $i from 1 through $grid-rows {
|
|
39
|
-
.k-grid-rows-#{$i} { grid-template-rows: repeat($i, minmax(0, 1fr)); }
|
|
40
|
-
.k-rowspan-#{$i} { grid-row: span $i; }
|
|
41
|
-
.k-row-start-#{$i} { grid-row-start: $i; }
|
|
42
|
-
.k-row-end-#{$i} { grid-row-end: $i; }
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
}
|
package/scss/utils/_order.scss
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
@include exports( "utils/order" ) {
|
|
2
|
-
|
|
3
|
-
/// This is equivalent to `order: -9999;`.
|
|
4
|
-
/// @name .k-order-first
|
|
5
|
-
/// @group order
|
|
6
|
-
/// @contextType css
|
|
7
|
-
_ {}
|
|
8
|
-
|
|
9
|
-
/// This is equivalent to `order: 9999;`.
|
|
10
|
-
/// @name .k-order-last
|
|
11
|
-
/// @group order
|
|
12
|
-
/// @contextType css
|
|
13
|
-
_ {}
|
|
14
|
-
|
|
15
|
-
/// This is equivalent to `order: 0;`.
|
|
16
|
-
/// @name .k-order-none
|
|
17
|
-
/// @group order
|
|
18
|
-
/// @contextType css
|
|
19
|
-
_ {}
|
|
20
|
-
|
|
21
|
-
/// This is equivalent to `order: 1;`, `order: 2;`, `order: 12;`, etc.
|
|
22
|
-
/// @name .from k-order-1 to k-order-12
|
|
23
|
-
/// @group order
|
|
24
|
-
/// @contextType css
|
|
25
|
-
_ {}
|
|
26
|
-
|
|
27
|
-
// Order utility classes
|
|
28
|
-
$utils-order: (
|
|
29
|
-
first: -9999,
|
|
30
|
-
last: 9999,
|
|
31
|
-
none: 0,
|
|
32
|
-
1: 1,
|
|
33
|
-
2: 2,
|
|
34
|
-
3: 3,
|
|
35
|
-
4: 4,
|
|
36
|
-
5: 5,
|
|
37
|
-
6: 6,
|
|
38
|
-
7: 7,
|
|
39
|
-
8: 8,
|
|
40
|
-
9: 9,
|
|
41
|
-
10: 10,
|
|
42
|
-
11: 11,
|
|
43
|
-
12: 12
|
|
44
|
-
) !default;
|
|
45
|
-
|
|
46
|
-
// sass-lint:disable no-important
|
|
47
|
-
@if $utils-order {
|
|
48
|
-
@each $order, $val in $utils-order {
|
|
49
|
-
.k-order-#{$order} { order: $val !important; }
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
// sass-lint:enable no-important
|
|
53
|
-
|
|
54
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
@include exports( "utils/overflow" ) {
|
|
2
|
-
|
|
3
|
-
// Overflow documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/overflow.
|
|
4
|
-
|
|
5
|
-
/// This is equivalent to `overflow: auto;`. Depends on the user agent. If content fits inside the padding box, it looks the same as visible, but still establishes a new block formatting context. Desktop browsers provide scrollbars if content overflows.
|
|
6
|
-
/// @name .k-overflow-auto
|
|
7
|
-
/// @group overflow
|
|
8
|
-
/// @contextType css
|
|
9
|
-
_ {}
|
|
10
|
-
|
|
11
|
-
/// This is equivalent to `overflow: hidden;`. Content is clipped if necessary to fit the padding box. No scrollbars are provided, and no support for allowing the user to scroll (such as by dragging or using a scroll wheel) is allowed. The content can be scrolled programmatically (for example, by setting the value of a property such as offsetLeft), so the element is still a scroll container.
|
|
12
|
-
/// @name .k-overflow-hidden
|
|
13
|
-
/// @group overflow
|
|
14
|
-
/// @contextType css
|
|
15
|
-
_ {}
|
|
16
|
-
|
|
17
|
-
/// This is equivalent to `overflow: visible;`. Content is not clipped and may be rendered outside the padding box.
|
|
18
|
-
/// @name .k-overflow-visible
|
|
19
|
-
/// @group overflow
|
|
20
|
-
/// @contextType css
|
|
21
|
-
_ {}
|
|
22
|
-
|
|
23
|
-
/// This is equivalent to `overflow: scroll;`. Content is clipped if necessary to fit the padding box. Browsers always display scrollbars whether or not any content is actually clipped, preventing scrollbars from appearing or disappearing as content changes. Printers may still print overflowing content.
|
|
24
|
-
/// @name .k-overflow-scroll
|
|
25
|
-
/// @group overflow
|
|
26
|
-
/// @contextType css
|
|
27
|
-
_ {}
|
|
28
|
-
|
|
29
|
-
/// This is equivalent to `overflow: clip;`. Like for hidden, the content is clipped to the element's padding box. The difference between clip and hidden is that the clip keyword also forbids all scrolling, including programmatic scrolling.
|
|
30
|
-
/// @name .k-overflow-clip
|
|
31
|
-
/// @group overflow
|
|
32
|
-
/// @contextType css
|
|
33
|
-
_ {}
|
|
34
|
-
|
|
35
|
-
/// This is equivalent to `overflow-x: VALUE;`. Sets what shows when content overflows a block-level element's left and right edges. The `VALUE` could be set to `auto`, `hidden`, `visible`, `scroll`, and `clip`.
|
|
36
|
-
/// @name .k-overflow-x-VALUE
|
|
37
|
-
/// @group overflow
|
|
38
|
-
/// @contextType css
|
|
39
|
-
_ {}
|
|
40
|
-
|
|
41
|
-
/// This is equivalent to `overflow-y: VALUE;`. Sets what shows when content overflows a block-level element's top and bottom edges. The `VALUE` could be set to `auto`, `hidden`, `visible`, `scroll`, and `clip`.
|
|
42
|
-
/// @name .k-overflow-y-VALUE
|
|
43
|
-
/// @group overflow
|
|
44
|
-
/// @contextType css
|
|
45
|
-
_ {}
|
|
46
|
-
|
|
47
|
-
/// This is equivalent to `overflow: VALUE_X VALUE_Y;`. This is a shorthand for `overflow-x: VALUE_X; overflow-y: VALUE_Y;`. The `VALUE_X` and `VALUE_Y` could be set to `auto`, `hidden`, `visible`, `scroll`, and `clip`.
|
|
48
|
-
/// @name .k-overflow-VALUE_X-VALUE_Y
|
|
49
|
-
/// @group overflow
|
|
50
|
-
/// @contextType css
|
|
51
|
-
_ {}
|
|
52
|
-
|
|
53
|
-
// Overflow utility classes
|
|
54
|
-
$utils-overflow: (
|
|
55
|
-
auto,
|
|
56
|
-
hidden,
|
|
57
|
-
visible,
|
|
58
|
-
scroll,
|
|
59
|
-
clip
|
|
60
|
-
) !default;
|
|
61
|
-
|
|
62
|
-
// sass-lint:disable no-important
|
|
63
|
-
@if $utils-overflow {
|
|
64
|
-
@each $overflow in $utils-overflow {
|
|
65
|
-
.k-overflow-#{$overflow} { overflow: $overflow; }
|
|
66
|
-
.k-overflow-x-#{$overflow} { overflow-x: $overflow; }
|
|
67
|
-
.k-overflow-y-#{$overflow} { overflow-y: $overflow; }
|
|
68
|
-
|
|
69
|
-
.\!k-overflow-#{$overflow} { overflow: $overflow !important; }
|
|
70
|
-
.\!k-overflow-x-#{$overflow} { overflow-x: $overflow !important; }
|
|
71
|
-
.\!k-overflow-y-#{$overflow} { overflow-y: $overflow !important; }
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
@each $overflow-x in $utils-overflow {
|
|
76
|
-
@each $overflow-y in $utils-overflow {
|
|
77
|
-
@if $overflow-x != $overflow-y {
|
|
78
|
-
.k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y; }
|
|
79
|
-
|
|
80
|
-
.\!k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y !important; }
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
// sass-lint:enable no-important
|
|
86
|
-
|
|
87
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@include exports( "utils/pointer-events" ) {
|
|
2
|
-
|
|
3
|
-
// Pointer-events documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events.
|
|
4
|
-
|
|
5
|
-
/// This is equivalent to `pointer-events: none;`. The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.
|
|
6
|
-
/// @name .k-pointer-events-none
|
|
7
|
-
/// @group pointer-events
|
|
8
|
-
/// @contextType css
|
|
9
|
-
_ {}
|
|
10
|
-
|
|
11
|
-
/// This is equivalent to `pointer-events: auto;`. The element behaves as it would if the pointer-events property were not specified. In SVG content, this value and the value visiblePainted have the same effect.
|
|
12
|
-
/// @name .k-pointer-events-auto
|
|
13
|
-
/// @group pointer-events
|
|
14
|
-
/// @contextType css
|
|
15
|
-
_ {}
|
|
16
|
-
|
|
17
|
-
// Pointer events utility classes
|
|
18
|
-
$utils-pointer-events: (
|
|
19
|
-
none,
|
|
20
|
-
auto
|
|
21
|
-
) !default;
|
|
22
|
-
|
|
23
|
-
@if $utils-pointer-events {
|
|
24
|
-
@each $pointer-events in $utils-pointer-events {
|
|
25
|
-
// sass-lint:disable-block no-important
|
|
26
|
-
.k-pointer-events-#{$pointer-events} { pointer-events: $pointer-events !important; }
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|