@progress/kendo-theme-utils 5.12.0 → 5.12.1-dev.1
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 +4038 -774
- package/dist/all.scss +1458 -217
- package/package.json +6 -6
- package/scss/_functions.scss +1 -37
- package/scss/_mixins.scss +7 -7
- package/scss/_variables.scss +35 -20
- package/scss/accessibility/_screen-readers.scss +2 -2
- package/scss/border/_border-color.scss +1 -1
- package/scss/border/_border-radius.scss +1 -1
- package/scss/border/_border-style.scss +1 -1
- package/scss/border/_border-width.scss +1 -1
- package/scss/border/_outline-color.scss +1 -1
- package/scss/border/_outline-offset.scss +1 -1
- package/scss/border/_outline-style.scss +1 -1
- package/scss/border/_outline-width.scss +1 -1
- package/scss/flex-grid/_align-content.scss +1 -1
- package/scss/flex-grid/_align-items.scss +1 -1
- package/scss/flex-grid/_align-self.scss +1 -1
- package/scss/flex-grid/_flex-basis.scss +6 -5
- package/scss/flex-grid/_flex-direction.scss +10 -5
- package/scss/flex-grid/_flex-grow.scss +6 -3
- package/scss/flex-grid/_flex-shrink.scss +6 -3
- package/scss/flex-grid/_flex-wrap.scss +8 -4
- package/scss/flex-grid/_flex.scss +10 -5
- package/scss/flex-grid/_gap.scss +1 -1
- package/scss/flex-grid/_grid-auto-columns.scss +1 -1
- package/scss/flex-grid/_grid-auto-flow.scss +1 -1
- package/scss/flex-grid/_grid-auto-rows.scss +1 -1
- package/scss/flex-grid/_grid-column-start-end.scss +3 -3
- package/scss/flex-grid/_grid-row-start-end.scss +4 -3
- package/scss/flex-grid/_grid-template-columns.scss +1 -1
- package/scss/flex-grid/_grid-template-rows.scss +1 -1
- package/scss/flex-grid/_justify-content.scss +1 -1
- package/scss/flex-grid/_justify-items.scss +1 -1
- package/scss/flex-grid/_justify-self.scss +1 -1
- package/scss/flex-grid/_order.scss +20 -2
- package/scss/flex-grid/_place-content.scss +1 -1
- package/scss/flex-grid/_place-items.scss +1 -1
- package/scss/flex-grid/_place-self.scss +1 -1
- package/scss/interactivity/_accent-color.scss +1 -1
- package/scss/interactivity/_appearance.scss +6 -3
- package/scss/interactivity/_caret-color.scss +1 -1
- package/scss/interactivity/_cursor.scss +1 -1
- package/scss/interactivity/_pointer-events.scss +6 -3
- package/scss/interactivity/_resize.scss +10 -5
- package/scss/interactivity/_scroll.scss +6 -6
- package/scss/interactivity/_touch-action.scss +6 -3
- package/scss/interactivity/_user-select.scss +16 -8
- package/scss/interactivity/_will-change.scss +1 -1
- package/scss/layout/_aspect-ratio.scss +22 -2
- package/scss/layout/_clear.scss +22 -2
- package/scss/layout/_display.scss +27 -12
- package/scss/layout/_float.scss +17 -2
- package/scss/layout/_overflow.scss +32 -16
- package/scss/layout/_position.scss +49 -4
- package/scss/layout/_visibility.scss +1 -1
- package/scss/layout/_zindex.scss +1 -1
- package/scss/sizing/_height.scss +3 -3
- package/scss/sizing/_width.scss +3 -3
- package/scss/spacing/_margin.scss +1 -1
- package/scss/spacing/_padding.scss +1 -1
- package/scss/table/_border-collapse.scss +1 -1
- package/scss/table/_table-layout.scss +8 -3
- package/scss/transform/_flip.scss +6 -3
- package/scss/transform/_origin.scss +1 -1
- package/scss/transform/_rotate.scss +40 -2
- package/scss/transform/_scale.scss +18 -5
- package/scss/transform/_skew.scss +1 -1
- package/scss/transform/_translate.scss +60 -2
- package/scss/typography/_font-size.scss +1 -1
- package/scss/typography/_font-style.scss +1 -1
- package/scss/typography/_font-weight.scss +1 -1
- package/scss/typography/_text-align.scss +10 -5
- package/scss/typography/_text-transform.scss +8 -4
- package/scss/typography/_white-space.scss +14 -7
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
/// This is equivalent to `appearance: none;`. Resets any browser specific styling on an element.
|
|
1
2
|
/// @name .k-appearance-none
|
|
2
|
-
/// @description This is equivalent to `appearance: none;`. Resets any browser specific styling on an element.
|
|
3
3
|
/// @group appearance
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// This is equivalent to `appearance: auto;`. The user agent selects the appropriate special styling based on the element. Acts as `none` on elements with no special styling.
|
|
5
7
|
/// @name .k-appearance-auto
|
|
6
|
-
/// @description This is equivalent to `appearance: auto;`. The user agent selects the appropriate special styling based on the element. Acts as `none` on elements with no special styling.
|
|
7
8
|
/// @group appearance
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
// Appearance utility classes
|
|
12
|
+
$kendo-utils-appearance: k-map-get( $kendo-utils, "appearance" ) !default;
|
|
10
13
|
|
|
11
14
|
@include generate-utils( appearance, appearance, $kendo-utils-appearance );
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
/// 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.
|
|
1
2
|
/// @name .k-pointer-events-none
|
|
2
|
-
/// @description 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.
|
|
3
3
|
/// @group pointer-events
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// 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.
|
|
5
7
|
/// @name .k-pointer-events-auto
|
|
6
|
-
/// @description 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.
|
|
7
8
|
/// @group pointer-events
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
// Pointer events utility classes
|
|
12
|
+
$kendo-utils-pointer-events: k-map-get( $kendo-utils, "pointer-events" ) !default;
|
|
10
13
|
|
|
11
14
|
@include generate-utils( pointer-events, pointer-events, $kendo-utils-pointer-events );
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
+
/// This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
|
|
1
2
|
/// @name .k-resize
|
|
2
|
-
/// @description This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
|
|
3
3
|
/// @group resize
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// This is equivalent to `resize: none;`. The element offers no user-controllable method for resizing it.
|
|
5
7
|
/// @name .k-resize-none
|
|
6
|
-
/// @description This is equivalent to `resize: none;`. The element offers no user-controllable method for resizing it.
|
|
7
8
|
/// @group resize
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
11
|
+
/// This is equivalent to `resize: horizontal;`. The element displays a mechanism for allowing the user to resize it in the horizontal direction.
|
|
9
12
|
/// @name .k-resize-x
|
|
10
|
-
/// @description This is equivalent to `resize: horizontal;`. The element displays a mechanism for allowing the user to resize it in the horizontal direction.
|
|
11
13
|
/// @group resize
|
|
14
|
+
/// @contextType css
|
|
12
15
|
|
|
16
|
+
/// This is equivalent to `resize: vertical;`. The element displays a mechanism for allowing the user to resize it in the vertical direction.
|
|
13
17
|
/// @name .k-resize-y
|
|
14
|
-
/// @description This is equivalent to `resize: vertical;`. The element displays a mechanism for allowing the user to resize it in the vertical direction.
|
|
15
18
|
/// @group resize
|
|
19
|
+
/// @contextType css
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
// Resize utility classes
|
|
22
|
+
$kendo-utils-resize: k-map-get( $kendo-utils, "resize" ) !default;
|
|
18
23
|
|
|
19
24
|
@include generate-utils( resize, resize, $kendo-utils-resize );
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
-
$kendo-utils-scroll-behavior: map-get( $kendo-utils, "scroll-behavior" ) !default;
|
|
3
|
+
$kendo-utils-scroll-behavior: k-map-get( $kendo-utils, "scroll-behavior" ) !default;
|
|
4
4
|
|
|
5
5
|
@include generate-utils( scroll, scroll-behavior, $kendo-utils-scroll-behavior );
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
$kendo-utils-scroll-snap-type: map-get( $kendo-utils, "scroll-snap-type" ) !default;
|
|
8
|
+
$kendo-utils-scroll-snap-type: k-map-get( $kendo-utils, "scroll-snap-type" ) !default;
|
|
9
9
|
|
|
10
10
|
@include generate-utils( scroll-snap, scroll-snap-type, $kendo-utils-scroll-snap-type );
|
|
11
11
|
|
|
@@ -13,17 +13,17 @@ $kendo-utils-scroll-snap-type: map-get( $kendo-utils, "scroll-snap-type" ) !defa
|
|
|
13
13
|
.#{$kendo-prefix}scroll-snap-proximity { #{--#{$kendo-prefix}scroll-snap-strictness}: proximity; }
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
$kendo-utils-scroll-snap-stop: map-get( $kendo-utils, "scroll-snap-stop" ) !default;
|
|
16
|
+
$kendo-utils-scroll-snap-stop: k-map-get( $kendo-utils, "scroll-snap-stop" ) !default;
|
|
17
17
|
|
|
18
18
|
@include generate-utils( scroll-snap-stop, scroll-snap-stop, $kendo-utils-scroll-snap-stop );
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
$kendo-utils-scroll-snap-align: map-get( $kendo-utils, "scroll-snap-align" ) !default;
|
|
21
|
+
$kendo-utils-scroll-snap-align: k-map-get( $kendo-utils, "scroll-snap-align" ) !default;
|
|
22
22
|
|
|
23
23
|
@include generate-utils( scroll-snap-align, scroll-snap-align, $kendo-utils-scroll-snap-align );
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
$kendo-utils-scroll-margin: map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
26
|
+
$kendo-utils-scroll-margin: k-map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
27
27
|
|
|
28
28
|
@include generate-utils( scroll-m, scroll-margin, $kendo-utils-scroll-margin );
|
|
29
29
|
@include generate-utils( scroll-mt, scroll-margin-top, $kendo-utils-scroll-margin );
|
|
@@ -34,7 +34,7 @@ $kendo-utils-scroll-margin: map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
|
34
34
|
@include generate-utils( scroll-my, scroll-margin-block, $kendo-utils-scroll-margin );
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
$kendo-utils-scroll-padding: map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
37
|
+
$kendo-utils-scroll-padding: k-map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
38
38
|
|
|
39
39
|
@include generate-utils( scroll-p, scroll-padding, $kendo-utils-scroll-padding );
|
|
40
40
|
@include generate-utils( scroll-pt, scroll-padding-top, $kendo-utils-scroll-padding );
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
+
/// This is equivalent to `touch-action: none;`. Disable browser handling of all panning and zooming gestures.
|
|
3
4
|
/// @name .k-touch-action-none
|
|
4
|
-
/// @description This is equivalent to `touch-action: none;`. Disable browser handling of all panning and zooming gestures.
|
|
5
5
|
/// @group touch-action
|
|
6
|
+
/// @contextType css
|
|
6
7
|
|
|
8
|
+
/// This is equivalent to `touch-action: auto;`. Enable browser handling of all panning and zooming gestures.
|
|
7
9
|
/// @name .k-touch-action-auto
|
|
8
|
-
/// @description This is equivalent to `touch-action: auto;`. Enable browser handling of all panning and zooming gestures.
|
|
9
10
|
/// @group touch-action
|
|
11
|
+
/// @contextType css
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
// Touch-action utility classes
|
|
14
|
+
$kendo-utils-touch-action: k-map-get( $kendo-utils, "touch-action" ) !default;
|
|
12
15
|
|
|
13
16
|
@include generate-utils( touch-action, touch-action, $kendo-utils-touch-action );
|
|
@@ -1,23 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
/// @description This is equivalent to `user-select: auto;`. This is the default value of the `user-select` property.
|
|
3
|
-
/// @group user-select
|
|
1
|
+
// User-select documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/user-select.
|
|
4
2
|
|
|
3
|
+
/// This is equivalent to `user-select: none;`. The text of the element and its sub-elements is not selectable. Note that the Selection object can contain these elements.
|
|
5
4
|
/// @name .k-user-select-none
|
|
6
|
-
/// @description This is equivalent to `user-select: none;`. The text of the element and its sub-elements is not selectable. Note that the Selection object can contain these elements.
|
|
7
5
|
/// @group user-select
|
|
6
|
+
/// @contextType css
|
|
7
|
+
|
|
8
|
+
/// This is equivalent to `user-select: auto;`. This is the default value of the `user-select` property.
|
|
9
|
+
/// @name .k-user-select-auto
|
|
10
|
+
/// @group user-select
|
|
11
|
+
/// @contextType css
|
|
8
12
|
|
|
13
|
+
/// This is equivalent to `user-select: text;`. The text can be selected by the user.
|
|
9
14
|
/// @name .k-user-select-text
|
|
10
|
-
/// @description This is equivalent to `user-select: text;`. The text can be selected by the user.
|
|
11
15
|
/// @group user-select
|
|
16
|
+
/// @contextType css
|
|
12
17
|
|
|
18
|
+
/// This is equivalent to `user-select: all;`. The content of the element shall be selected atomically: If a selection would contain part of the element, then the selection must contain the entire element including all its descendants. If a double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.
|
|
13
19
|
/// @name .k-user-select-all
|
|
14
|
-
/// @description This is equivalent to `user-select: all;`. The content of the element shall be selected atomically: If a selection would contain part of the element, then the selection must contain the entire element including all its descendants. If a double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.
|
|
15
20
|
/// @group user-select
|
|
21
|
+
/// @contextType css
|
|
16
22
|
|
|
23
|
+
/// This is equivalent to `user-select: contain;`. Enables selection to start within the element; however, the selection will be contained by the bounds of that element.
|
|
17
24
|
/// @name .k-user-select-contain
|
|
18
|
-
/// @description This is equivalent to `user-select: contain;`. Enables selection to start within the element; however, the selection will be contained by the bounds of that element.
|
|
19
25
|
/// @group user-select
|
|
26
|
+
/// @contextType css
|
|
20
27
|
|
|
21
|
-
|
|
28
|
+
// User select utility classes
|
|
29
|
+
$kendo-utils-user-select: k-map-get( $kendo-utils, "user-select" ) !default;
|
|
22
30
|
|
|
23
31
|
@include generate-utils( user-select, user-select, $kendo-utils-user-select );
|
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Aspect-ratio documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/// This is equivalent to `aspect-ratio: auto;`. Replaced elements with an intrinsic aspect ratio use that aspect ratio, otherwise the box has no preferred aspect ratio. Size calculations involving intrinsic aspect ratio always work with the content box dimensions.
|
|
4
|
+
/// @name .k-aspect-ratio-auto
|
|
5
|
+
/// @group aspect-ratio
|
|
6
|
+
/// @contextType css
|
|
7
|
+
|
|
8
|
+
/// This is equivalent to `aspect-ratio: 1;`. The box's preferred aspect ratio is the specified ratio of 1. Size calculations involving preferred aspect ratio work with the dimensions of the box specified by box-sizing.
|
|
9
|
+
/// @name .k-aspect-ratio-1
|
|
10
|
+
/// @group aspect-ratio
|
|
11
|
+
/// @contextType css
|
|
12
|
+
|
|
13
|
+
/// This is equivalent to `aspect-ratio: 1 / 1;`. The box's preferred aspect ratio is the specified ratio of 1. Size calculations involving preferred aspect ratio work with the dimensions of the box specified by box-sizing.
|
|
14
|
+
/// @name .k-aspect-ratio-square
|
|
15
|
+
/// @group aspect-ratio
|
|
16
|
+
/// @contextType css
|
|
17
|
+
|
|
18
|
+
/// This is equivalent to `aspect-ratio: 16 / 9;`. The box's preferred aspect ratio is the specified ratio of 16 : 9. Size calculations involving preferred aspect ratio work with the dimensions of the box specified by box-sizing.
|
|
19
|
+
/// @name .k-aspect-ratio-video
|
|
20
|
+
/// @group aspect-ratio
|
|
21
|
+
/// @contextType css
|
|
22
|
+
|
|
23
|
+
$kendo-utils-aspect-ratio: k-map-get( $kendo-utils, "aspect-ratio" ) !default;
|
|
4
24
|
|
|
5
25
|
@include generate-utils( ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
package/scss/layout/_clear.scss
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Clear documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/clear.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/// This is equivalent to `clear: left;`. Is a keyword indicating that the element is moved down to clear past left floats.
|
|
4
|
+
/// @name .k-clear-left
|
|
5
|
+
/// @group float
|
|
6
|
+
/// @contextType css
|
|
7
|
+
|
|
8
|
+
/// This is equivalent to `clear: right;`. Is a keyword indicating that the element is moved down to clear past right floats.
|
|
9
|
+
/// @name .k-clear-right
|
|
10
|
+
/// @group float
|
|
11
|
+
/// @contextType css
|
|
12
|
+
|
|
13
|
+
/// This is equivalent to `clear: both;`. Is a keyword indicating that the element is moved down to clear past both left and right floats.
|
|
14
|
+
/// @name .k-clear-both
|
|
15
|
+
/// @group float
|
|
16
|
+
/// @contextType css
|
|
17
|
+
|
|
18
|
+
/// This is equivalent to `clear: none;`. Is a keyword indicating that the element is not moved down to clear past floating elements.
|
|
19
|
+
/// @name .k-clear-none
|
|
20
|
+
/// @group float
|
|
21
|
+
/// @contextType css
|
|
22
|
+
|
|
23
|
+
$kendo-utils-clear: k-map-get( $kendo-utils, "clear" ) !default;
|
|
4
24
|
|
|
5
25
|
@include generate-utils( clear, clear, $kendo-utils-clear );
|
|
@@ -1,47 +1,62 @@
|
|
|
1
|
+
/// 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.
|
|
1
2
|
/// @name .k-d-none
|
|
2
|
-
/// @description 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.
|
|
3
3
|
/// @group display
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// 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.
|
|
5
7
|
/// @name .k-d-block
|
|
6
|
-
/// @description 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.
|
|
7
8
|
/// @group display
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
11
|
+
/// 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
12
|
/// @name .k-d-inline
|
|
10
|
-
/// @description 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.
|
|
11
13
|
/// @group display
|
|
14
|
+
/// @contextType css
|
|
12
15
|
|
|
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).
|
|
13
17
|
/// @name .k-d-inline-block
|
|
14
|
-
/// @description 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).
|
|
15
18
|
/// @group display
|
|
19
|
+
/// @contextType css
|
|
16
20
|
|
|
21
|
+
/// This is equivalent to `display: flex;`. The element behaves like a block element and lays out its content according to the flexbox model.
|
|
17
22
|
/// @name .k-d-flex
|
|
18
|
-
/// @description This is equivalent to `display: flex;`. The element behaves like a block element and lays out its content according to the flexbox model.
|
|
19
23
|
/// @group display
|
|
24
|
+
/// @contextType css
|
|
20
25
|
|
|
26
|
+
/// This is equivalent to `display: inline-flex;`. The element behaves like an inline element and lays out its content according to the flexbox model.
|
|
21
27
|
/// @name .k-d-inline-flex
|
|
22
|
-
/// @description This is equivalent to `display: inline-flex;`. The element behaves like an inline element and lays out its content according to the flexbox model.
|
|
23
28
|
/// @group display
|
|
29
|
+
/// @contextType css
|
|
24
30
|
|
|
31
|
+
/// This is equivalent to `display: grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
25
32
|
/// @name .k-d-grid
|
|
26
|
-
/// @description This is equivalent to `display: grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
27
33
|
/// @group display
|
|
34
|
+
/// @contextType css
|
|
28
35
|
|
|
36
|
+
/// This is equivalent to `display: inline-grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
29
37
|
/// @name .k-d-inline-grid
|
|
30
|
-
/// @description This is equivalent to `display: inline-grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
|
|
31
38
|
/// @group display
|
|
39
|
+
/// @contextType css
|
|
32
40
|
|
|
41
|
+
/// This is equivalent to `display: table;`. These elements behave like HTML `<table>` elements. It defines a block-level box.
|
|
33
42
|
/// @name .k-d-table
|
|
34
|
-
/// @description This is equivalent to `display: table;`. These elements behave like HTML `<table>` elements. It defines a block-level box.
|
|
35
43
|
/// @group display
|
|
44
|
+
/// @contextType css
|
|
36
45
|
|
|
46
|
+
/// 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.
|
|
37
47
|
/// @name .k-d-inline-table
|
|
38
|
-
/// @description 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.
|
|
39
48
|
/// @group display
|
|
49
|
+
/// @contextType css
|
|
40
50
|
|
|
51
|
+
/// This is equivalent to `display: list-item;`. These elements behave like HTML `<LI>` elements. It defines a block-level box.
|
|
41
52
|
/// @name .k-d-list-item
|
|
42
|
-
/// @description This is equivalent to `display: list-item;`. These elements behave like HTML `<LI>` elements. It defines a block-level box.
|
|
43
53
|
/// @group display
|
|
54
|
+
/// @contextType css
|
|
44
55
|
|
|
45
|
-
|
|
56
|
+
// Display utility classes
|
|
57
|
+
$kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
46
58
|
|
|
47
59
|
@include generate-utils( d, display, $kendo-utils-display );
|
|
60
|
+
|
|
61
|
+
// Legacy alias
|
|
62
|
+
@include generate-utils( display, display, $kendo-utils-display );
|
package/scss/layout/_float.scss
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Float documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/float.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/// This is equivalent to `float: left;`. The element must float on the left side of its containing block.
|
|
4
|
+
/// @name .k-float-left
|
|
5
|
+
/// @group float
|
|
6
|
+
/// @contextType css
|
|
7
|
+
|
|
8
|
+
/// This is equivalent to `float: right;`. The element must float on the right side of its containing block.
|
|
9
|
+
/// @name .k-float-right
|
|
10
|
+
/// @group float
|
|
11
|
+
/// @contextType css
|
|
12
|
+
|
|
13
|
+
/// This is equivalent to `float: none;`. The element must not float.
|
|
14
|
+
/// @name .k-float-none
|
|
15
|
+
/// @group float
|
|
16
|
+
/// @contextType css
|
|
17
|
+
|
|
18
|
+
$kendo-utils-float: k-map-get( $kendo-utils, "float" ) !default;
|
|
4
19
|
|
|
5
20
|
@include generate-utils( float, float, $kendo-utils-float );
|
|
@@ -1,63 +1,79 @@
|
|
|
1
|
+
/// 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 scrollbar if content overflows.
|
|
1
2
|
/// @name .k-overflow-auto
|
|
2
|
-
/// @description 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 scrollbar if content overflows.
|
|
3
3
|
/// @group overflow
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// This is equivalent to `overflow: hidden;`. Content is clipped if necessary to fit the padding box. No scrollbar is 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.
|
|
5
7
|
/// @name .k-overflow-hidden
|
|
6
|
-
/// @description This is equivalent to `overflow: hidden;`. Content is clipped if necessary to fit the padding box. No scrollbar is 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.
|
|
7
8
|
/// @group overflow
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
11
|
+
/// This is equivalent to `overflow: visible;`. Content is not clipped and may be rendered outside the padding box.
|
|
9
12
|
/// @name .k-overflow-visible
|
|
10
|
-
/// @description This is equivalent to `overflow: visible;`. Content is not clipped and may be rendered outside the padding box.
|
|
11
13
|
/// @group overflow
|
|
14
|
+
/// @contextType css
|
|
12
15
|
|
|
16
|
+
/// This is equivalent to `overflow: scroll;`. Content is clipped if necessary to fit the padding box. Browsers always display scrollbar whether or not any content is actually clipped, preventing scrollbar from appearing or disappearing as content changes. Printers may still print overflowing content.
|
|
13
17
|
/// @name .k-overflow-scroll
|
|
14
|
-
/// @description This is equivalent to `overflow: scroll;`. Content is clipped if necessary to fit the padding box. Browsers always display scrollbar whether or not any content is actually clipped, preventing scrollbar from appearing or disappearing as content changes. Printers may still print overflowing content.
|
|
15
18
|
/// @group overflow
|
|
19
|
+
/// @contextType css
|
|
16
20
|
|
|
21
|
+
/// 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.
|
|
17
22
|
/// @name .k-overflow-clip
|
|
18
|
-
/// @description 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.
|
|
19
23
|
/// @group overflow
|
|
24
|
+
/// @contextType css
|
|
20
25
|
|
|
26
|
+
/// This is equivalent to `overflow-x: auto;`.
|
|
21
27
|
/// @name .k-overflow-x-auto
|
|
22
|
-
/// @description This is equivalent to `overflow-x: auto;`.
|
|
23
28
|
/// @group overflow
|
|
29
|
+
/// @contextType css
|
|
24
30
|
|
|
31
|
+
/// This is equivalent to `overflow-x: hidden;`.
|
|
25
32
|
/// @name .k-overflow-x-hidden
|
|
26
|
-
/// @description This is equivalent to `overflow-x: hidden;`.
|
|
27
33
|
/// @group overflow
|
|
34
|
+
/// @contextType css
|
|
28
35
|
|
|
36
|
+
/// This is equivalent to `overflow-x: visible;`.
|
|
29
37
|
/// @name .k-overflow-x-visible
|
|
30
|
-
/// @description This is equivalent to `overflow-x: visible;`.
|
|
31
38
|
/// @group overflow
|
|
39
|
+
/// @contextType css
|
|
32
40
|
|
|
41
|
+
/// This is equivalent to `overflow-x: scroll;`.
|
|
33
42
|
/// @name .k-overflow-x-scroll
|
|
34
|
-
/// @description This is equivalent to `overflow-x: scroll;`.
|
|
35
43
|
/// @group overflow
|
|
44
|
+
/// @contextType css
|
|
36
45
|
|
|
46
|
+
/// This is equivalent to `overflow-x: clip;`.
|
|
37
47
|
/// @name .k-overflow-x-clip
|
|
38
|
-
/// @description This is equivalent to `overflow-x: clip;`.
|
|
39
48
|
/// @group overflow
|
|
49
|
+
/// @contextType css
|
|
40
50
|
|
|
51
|
+
/// This is equivalent to `overflow-y: auto;`.
|
|
41
52
|
/// @name .k-overflow-y-auto
|
|
42
|
-
/// @description This is equivalent to `overflow-y: auto;`.
|
|
43
53
|
/// @group overflow
|
|
54
|
+
/// @contextType css
|
|
44
55
|
|
|
56
|
+
/// This is equivalent to `overflow-y: hidden;`.
|
|
45
57
|
/// @name .k-overflow-y-hidden
|
|
46
|
-
/// @description This is equivalent to `overflow-y: hidden;`.
|
|
47
58
|
/// @group overflow
|
|
59
|
+
/// @contextType css
|
|
48
60
|
|
|
61
|
+
/// This is equivalent to `overflow-y: visible;`.
|
|
49
62
|
/// @name .k-overflow-y-visible
|
|
50
|
-
/// @description This is equivalent to `overflow-y: visible;`.
|
|
51
63
|
/// @group overflow
|
|
64
|
+
/// @contextType css
|
|
52
65
|
|
|
66
|
+
/// This is equivalent to `overflow-y: scroll;`.
|
|
53
67
|
/// @name .k-overflow-y-scroll
|
|
54
|
-
/// @description This is equivalent to `overflow-y: scroll;`.
|
|
55
68
|
/// @group overflow
|
|
69
|
+
/// @contextType css
|
|
56
70
|
|
|
71
|
+
/// This is equivalent to `overflow-y: clip;`.
|
|
57
72
|
/// @name .k-overflow-y-clip
|
|
58
|
-
/// @description This is equivalent to `overflow-y: clip;`.
|
|
59
73
|
/// @group overflow
|
|
74
|
+
/// @contextType css
|
|
60
75
|
|
|
61
|
-
|
|
76
|
+
// Overflow utility classes
|
|
77
|
+
$kendo-utils-overflow: k-map-get( $kendo-utils, "overflow" ) !default;
|
|
62
78
|
|
|
63
79
|
@include generate-utils( overflow, overflow, $kendo-utils-overflow );
|
|
@@ -1,6 +1,31 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Position documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/position.
|
|
2
|
+
|
|
3
|
+
/// This is equivalent to `position: static;`. The element is positioned according to the normal flow of the document. The top, right, bottom, left, and z-index properties have no effect. This is the default value.
|
|
4
|
+
/// @name .k-pos-static
|
|
5
|
+
/// @group position
|
|
6
|
+
/// @contextType css
|
|
7
|
+
|
|
8
|
+
/// This is equivalent to `position: relative;`. The element is positioned according to the normal flow of the document, and then offset relative to itself based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements; thus, the space given for the element in the page layout is the same as if position were static.
|
|
9
|
+
/// @name .k-pos-relative
|
|
10
|
+
/// @group position
|
|
11
|
+
/// @contextType css
|
|
12
|
+
|
|
13
|
+
/// This is equivalent to `position: absolute;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to its closest positioned ancestor, if any; otherwise, it is placed relative to the initial containing block. Its final position is determined by the values of top, right, bottom, and left.
|
|
14
|
+
/// @name .k-pos-absolute
|
|
15
|
+
/// @group position
|
|
16
|
+
/// @contextType css
|
|
17
|
+
|
|
18
|
+
/// This is equivalent to `position: fixed;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to the initial containing block established by the viewport, except when one of its ancestors has a transform, perspective, or filter property set to something other than none (see the CSS Transforms Spec), in which case that ancestor behaves as the containing block. (Note that there are browser inconsistencies with perspective and filter contributing to containing block formation.) Its final position is determined by the values of top, right, bottom, and left.
|
|
19
|
+
/// @name .k-pos-fixed
|
|
20
|
+
/// @group position
|
|
21
|
+
/// @contextType css
|
|
2
22
|
|
|
3
|
-
|
|
23
|
+
/// This is equivalent to `position: sticky;`. The element is positioned according to the normal flow of the document, and then offset relative to its nearest scrolling ancestor and containing block (nearest block-level ancestor), including table-related elements, based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements.
|
|
24
|
+
/// @name .k-pos-sticky
|
|
25
|
+
/// @group position
|
|
26
|
+
/// @contextType css
|
|
27
|
+
|
|
28
|
+
$kendo-utils-position: k-map-get( $kendo-utils, "position" ) !default;
|
|
4
29
|
|
|
5
30
|
@include generate-utils( pos, position, $kendo-utils-position );
|
|
6
31
|
|
|
@@ -19,7 +44,7 @@ $kendo-utils-position: map-get( $kendo-utils, "position" ) !default;
|
|
|
19
44
|
|
|
20
45
|
// TODO DOCS
|
|
21
46
|
|
|
22
|
-
$kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
|
|
47
|
+
$kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
23
48
|
|
|
24
49
|
@include generate-utils( inset, inset, $kendo-utils-inset );
|
|
25
50
|
@include generate-utils( inset-x, inset-inline, $kendo-utils-inset );
|
|
@@ -31,7 +56,7 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
|
|
|
31
56
|
@include generate-utils( top-left, ( top, left ), $kendo-utils-inset );
|
|
32
57
|
@include generate-utils( top-right, ( top, right ), $kendo-utils-inset );
|
|
33
58
|
@include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
|
|
34
|
-
@include generate-utils( bottom-right, ( bottom, right), $kendo-utils-inset );
|
|
59
|
+
@include generate-utils( bottom-right, ( bottom, right ), $kendo-utils-inset );
|
|
35
60
|
|
|
36
61
|
.#{$kendo-prefix}top-start,
|
|
37
62
|
.#{$kendo-prefix}pos-top-start {
|
|
@@ -90,6 +115,26 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
|
|
|
90
115
|
}
|
|
91
116
|
|
|
92
117
|
|
|
118
|
+
/// This is equivalent to `top: 0;`.
|
|
119
|
+
/// @name .k-pos-top
|
|
120
|
+
/// @group position
|
|
121
|
+
/// @contextType css
|
|
122
|
+
|
|
123
|
+
/// This is equivalent to `right: 0;`.
|
|
124
|
+
/// @name .k-pos-right
|
|
125
|
+
/// @group position
|
|
126
|
+
/// @contextType css
|
|
127
|
+
|
|
128
|
+
/// This is equivalent to `bottom: 0;`.
|
|
129
|
+
/// @name .k-pos-bottom
|
|
130
|
+
/// @group position
|
|
131
|
+
/// @contextType css
|
|
132
|
+
|
|
133
|
+
/// This is equivalent to `left: 0;`.
|
|
134
|
+
/// @name .k-pos-left
|
|
135
|
+
/// @group position
|
|
136
|
+
/// @contextType css
|
|
137
|
+
|
|
93
138
|
@each $side in (top, right, bottom, left) {
|
|
94
139
|
.#{$kendo-prefix}#{$side},
|
|
95
140
|
.#{$kendo-prefix}pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
|
package/scss/layout/_zindex.scss
CHANGED
package/scss/sizing/_height.scss
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
-
$kendo-utils-height: map-get( $kendo-utils, "height" ) !default;
|
|
3
|
+
$kendo-utils-height: k-map-get( $kendo-utils, "height" ) !default;
|
|
4
4
|
|
|
5
5
|
@include generate-utils( h, height, $kendo-utils-height );
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
$kendo-utils-min-height: map-get( $kendo-utils, "min-height" ) !default;
|
|
8
|
+
$kendo-utils-min-height: k-map-get( $kendo-utils, "min-height" ) !default;
|
|
9
9
|
|
|
10
10
|
@include generate-utils( min-h, min-height, $kendo-utils-min-height );
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
$kendo-utils-max-height: map-get( $kendo-utils, "max-height" ) !default;
|
|
13
|
+
$kendo-utils-max-height: k-map-get( $kendo-utils, "max-height" ) !default;
|
|
14
14
|
|
|
15
15
|
@include generate-utils( max-h, max-height, $kendo-utils-max-height );
|
package/scss/sizing/_width.scss
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
-
$kendo-utils-width: map-get( $kendo-utils, "width" ) !default;
|
|
3
|
+
$kendo-utils-width: k-map-get( $kendo-utils, "width" ) !default;
|
|
4
4
|
|
|
5
5
|
@include generate-utils( w, width, $kendo-utils-width );
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
$kendo-utils-min-width: map-get( $kendo-utils, "min-width" ) !default;
|
|
8
|
+
$kendo-utils-min-width: k-map-get( $kendo-utils, "min-width" ) !default;
|
|
9
9
|
|
|
10
10
|
@include generate-utils( min-w, min-width, $kendo-utils-min-width );
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
$kendo-utils-max-width: map-get( $kendo-utils, "max-width" ) !default;
|
|
13
|
+
$kendo-utils-max-width: k-map-get( $kendo-utils, "max-width" ) !default;
|
|
14
14
|
|
|
15
15
|
@include generate-utils( max-w, max-width, $kendo-utils-max-width );
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
-
$kendo-utils-margin: map-get( $kendo-utils, "margin" ) !default;
|
|
3
|
+
$kendo-utils-margin: k-map-get( $kendo-utils, "margin" ) !default;
|
|
4
4
|
|
|
5
5
|
@include generate-utils( m, margin, $kendo-utils-margin );
|
|
6
6
|
@include generate-utils( mt, margin-top, $kendo-utils-margin );
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
-
$kendo-utils-padding: map-get( $kendo-utils, "padding" ) !default;
|
|
3
|
+
$kendo-utils-padding: k-map-get( $kendo-utils, "padding" ) !default;
|
|
4
4
|
|
|
5
5
|
@include generate-utils( p, padding, $kendo-utils-padding );
|
|
6
6
|
@include generate-utils( pt, padding-top, $kendo-utils-padding );
|