@progress/kendo-theme-default 5.1.2-dev.6 → 5.2.1-dev.0
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 +438 -187
- package/dist/all.scss +269 -133
- package/lib/swatches/default-blue.json +2 -1
- package/lib/swatches/default-dataviz-v4.json +2 -1
- package/lib/swatches/default-green.json +2 -1
- package/lib/swatches/default-main-dark.json +2 -1
- package/lib/swatches/default-main.json +2 -1
- package/lib/swatches/default-nordic.json +2 -1
- package/lib/swatches/default-orange.json +2 -1
- package/lib/swatches/default-purple.json +2 -1
- package/lib/swatches/default-turquoise.json +2 -1
- package/lib/swatches/default-urban.json +2 -1
- package/package.json +3 -3
- package/scss/_variables.scss +5 -4
- package/scss/badge/_variables.scss +3 -3
- package/scss/bottom-navigation/_variables.scss +1 -1
- package/scss/breadcrumb/_variables.scss +1 -1
- package/scss/button/_layout.scss +13 -0
- package/scss/button/_variables.scss +11 -0
- package/scss/calendar/_layout.scss +3 -0
- package/scss/calendar/_variables.scss +1 -1
- package/scss/card/_variables.scss +1 -1
- package/scss/chip/_layout.scss +2 -0
- package/scss/color-preview/_variables.scss +1 -1
- package/scss/coloreditor/_variables.scss +1 -1
- package/scss/colorgradient/_layout.scss +4 -0
- package/scss/colorgradient/_variables.scss +2 -2
- package/scss/common/_base.scss +2 -2
- package/scss/dataviz/_layout.scss +3 -3
- package/scss/editor/_layout.scss +2 -2
- package/scss/fab/_variables.scss +1 -1
- package/scss/forms/_layout.scss +0 -5
- package/scss/gantt/_layout.scss +39 -7
- package/scss/gantt/_theme.scss +16 -1
- package/scss/gantt/_variables.scss +5 -0
- package/scss/grid/_layout.scss +1 -1
- package/scss/imageeditor/_layout.scss +5 -0
- package/scss/input/_layout.scss +2 -2
- package/scss/list/_layout.scss +8 -0
- package/scss/listgroup/_variables.scss +1 -1
- package/scss/loader/_variables.scss +1 -1
- package/scss/notification/_variables.scss +2 -1
- package/scss/orgchart/_variables.scss +1 -1
- package/scss/pager/_layout.scss +5 -0
- package/scss/pivotgrid/_variables.scss +1 -1
- package/scss/popup/_layout.scss +1 -1
- package/scss/popup/_theme.scss +1 -1
- package/scss/progressbar/_layout.scss +1 -1
- package/scss/scheduler/_layout.scss +1 -1
- package/scss/scheduler/_variables.scss +2 -2
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_theme.scss +1 -1
- package/scss/spreadsheet/_layout.scss +1 -5
- package/scss/spreadsheet/_variables.scss +3 -3
- package/scss/stepper/_layout.scss +2 -1
- package/scss/tabstrip/_variables.scss +1 -1
- package/scss/taskboard/_variables.scss +2 -2
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_layout.scss +3 -3
- package/scss/tooltip/_variables.scss +1 -1
- package/scss/treeview/_variables.scss +1 -1
- package/scss/utils/_border.scss +4 -4
- package/scss/utils/_flex.scss +98 -59
|
@@ -27,7 +27,7 @@ $loader-secondary-bg: #656565 !default;
|
|
|
27
27
|
$loader-container-panel-border-width: 1px !default;
|
|
28
28
|
$loader-container-panel-border-style: solid !default;
|
|
29
29
|
$loader-container-panel-border-color: $component-border !default;
|
|
30
|
-
$loader-container-panel-border-radius: $border-radius !default;
|
|
30
|
+
$loader-container-panel-border-radius: $kendo-border-radius-md !default;
|
|
31
31
|
$loader-container-panel-bg: $white !default;
|
|
32
32
|
|
|
33
33
|
$loader-container-padding-sm: map-get( $spacing, 4 ) !default;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
$notification-padding-x: 8px !default;
|
|
3
3
|
$notification-padding-y: 4px !default;
|
|
4
4
|
$notification-border-width: 1px !default;
|
|
5
|
-
$notification-border-radius: $border-radius !default;
|
|
5
|
+
$notification-border-radius: $kendo-border-radius-md !default;
|
|
6
6
|
|
|
7
7
|
$notification-shadow: $popup-shadow !default;
|
|
8
8
|
|
|
@@ -20,6 +20,7 @@ $notification-border: $component-border !default;
|
|
|
20
20
|
@function notification-theme( $colors ) {
|
|
21
21
|
$_theme: ();
|
|
22
22
|
|
|
23
|
+
// sass-lint:disable-block indentation
|
|
23
24
|
@each $name, $color in $colors {
|
|
24
25
|
$_theme: map-merge(( $name: (
|
|
25
26
|
color: contrast-wcag( $color ),
|
|
@@ -16,7 +16,7 @@ $orgchart-node-container-gap: $orgchart-spacer !default;
|
|
|
16
16
|
$orgchart-node-group-padding-y: $orgchart-spacer !default;
|
|
17
17
|
$orgchart-node-group-padding-x: $orgchart-node-group-padding-y !default;
|
|
18
18
|
$orgchart-node-group-border-width: 1px !default;
|
|
19
|
-
$orgchart-node-group-border-radius: $border-radius !default;
|
|
19
|
+
$orgchart-node-group-border-radius: $kendo-border-radius-md !default;
|
|
20
20
|
$orgchart-node-group-bg: $base-bg !default;
|
|
21
21
|
$orgchart-node-group-text: $base-text !default;
|
|
22
22
|
$orgchart-node-group-border: $base-border !default;
|
package/scss/pager/_layout.scss
CHANGED
|
@@ -80,7 +80,7 @@ $pivotgrid-configurator-button-size: calc( #{$pivotgrid-line-height * 1em} + #{$
|
|
|
80
80
|
$pivotgrid-calculated-field-padding-x: $pivotgrid-spacer !default;
|
|
81
81
|
$pivotgrid-calculated-field-padding-y: $pivotgrid-spacer !default;
|
|
82
82
|
$pivotgrid-calculated-field-border-width: 1px !default;
|
|
83
|
-
$pivotgrid-calculated-field-border-radius: $border-radius !default;
|
|
83
|
+
$pivotgrid-calculated-field-border-radius: $kendo-border-radius-md !default;
|
|
84
84
|
$pivotgrid-calculated-field-gap: $pivotgrid-spacer !default;
|
|
85
85
|
|
|
86
86
|
$pivotgrid-calculated-field-bg: $component-bg !default;
|
package/scss/popup/_layout.scss
CHANGED
package/scss/popup/_theme.scss
CHANGED
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
// Appointments
|
|
394
394
|
kendo-scheduler .k-event,
|
|
395
395
|
.k-event {
|
|
396
|
-
@include border-radius( $border-radius );
|
|
396
|
+
@include border-radius( $kendo-border-radius );
|
|
397
397
|
min-height: $scheduler-event-min-height;
|
|
398
398
|
box-sizing: border-box;
|
|
399
399
|
border-width: 0;
|
|
@@ -19,7 +19,7 @@ $scheduler-footer-border: $toolbar-border !default;
|
|
|
19
19
|
$scheduler-footer-gradient: $toolbar-gradient !default;
|
|
20
20
|
|
|
21
21
|
$scheduler-event-min-height: 25px !default;
|
|
22
|
-
$scheduler-event-border-radius: $border-radius !default;
|
|
22
|
+
$scheduler-event-border-radius: $kendo-border-radius-md !default;
|
|
23
23
|
$scheduler-event-line-height: calc( #{$scheduler-event-min-height} - (2 * #{$padding-y}) ) !default;
|
|
24
24
|
|
|
25
25
|
$scheduler-event-bg: tint( $selected-bg, 2 ) !default;
|
|
@@ -86,7 +86,7 @@ $scheduler-tooltip-events-gap: $padding-y !default;
|
|
|
86
86
|
|
|
87
87
|
$scheduler-tooltip-event-padding-x: $padding-x !default;
|
|
88
88
|
$scheduler-tooltip-event-padding-y: $padding-y !default;
|
|
89
|
-
$scheduler-tooltip-event-border-radius: $border-radius !default;
|
|
89
|
+
$scheduler-tooltip-event-border-radius: $kendo-border-radius-md !default;
|
|
90
90
|
$scheduler-tooltip-event-gap: $padding-x-sm !default;
|
|
91
91
|
|
|
92
92
|
$scheduler-tooltip-callout-text: $scheduler-tooltip-bg !default;
|
package/scss/slider/_theme.scss
CHANGED
|
@@ -91,10 +91,6 @@
|
|
|
91
91
|
min-width: $form-line-height * 1em;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.k-input,
|
|
95
|
-
.k-picker {
|
|
96
|
-
width: 5em;
|
|
97
|
-
}
|
|
98
94
|
.k-color-picker {
|
|
99
95
|
width: min-content;
|
|
100
96
|
}
|
|
@@ -569,7 +565,7 @@
|
|
|
569
565
|
box-sizing: border-box;
|
|
570
566
|
}
|
|
571
567
|
.k-spreadsheet-filter {
|
|
572
|
-
@include border-radius( $border-radius );
|
|
568
|
+
@include border-radius( $kendo-border-radius );
|
|
573
569
|
line-height: 1;
|
|
574
570
|
position: absolute;
|
|
575
571
|
cursor: pointer;
|
|
@@ -15,9 +15,9 @@ $spreadsheet-insert-image-dialog-preview-width: 355px !default;
|
|
|
15
15
|
$spreadsheet-insert-image-dialog-preview-height: 230px !default;
|
|
16
16
|
$spreadsheet-insert-image-dialog-preview-img: "image-default.png" !default;
|
|
17
17
|
$spreadsheet-insert-image-dialog-preview-border: $component-border !default;
|
|
18
|
-
$spreadsheet-insert-image-dialog-preview-border-radius: $border-radius !default;
|
|
18
|
+
$spreadsheet-insert-image-dialog-preview-border-radius: $kendo-border-radius-md !default;
|
|
19
19
|
$spreadsheet-insert-image-dialog-preview-overlay-shadow: inset 0 0 0 2000px rgba(0, 0, 0, .5) !default;
|
|
20
|
-
$spreadsheet-insert-image-dialog-preview-overlay-border-radius: $border-radius !default;
|
|
20
|
+
$spreadsheet-insert-image-dialog-preview-overlay-border-radius: $kendo-border-radius-md !default;
|
|
21
21
|
$spreadsheet-insert-image-dialog-overlay-hovered-text: $component-bg !default;
|
|
22
22
|
|
|
23
23
|
$spreadsheet-drawing-handle-width: 6px !default;
|
|
@@ -27,7 +27,7 @@ $spreadsheet-drawing-handle-border-width: 1px !default;
|
|
|
27
27
|
$spreadsheet-drawing-handle-outline-color: $primary !default;
|
|
28
28
|
$spreadsheet-drawing-handle-border-color: $selected-bg !default;
|
|
29
29
|
$spreadsheet-drawing-handle-bg: $primary !default;
|
|
30
|
-
$spreadsheet-drawing-handle-border-radius: $border-radius-lg !default;
|
|
30
|
+
$spreadsheet-drawing-handle-border-radius: $kendo-border-radius-lg !default;
|
|
31
31
|
|
|
32
32
|
$spreadsheet-drawing-outline-style: solid !default;
|
|
33
33
|
$spreadsheet-drawing-outline-width: 2px !default;
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
display: flex;
|
|
69
69
|
align-items: center;
|
|
70
70
|
justify-content: center;
|
|
71
|
+
flex: none;
|
|
71
72
|
position: relative;
|
|
72
73
|
z-index: 1;
|
|
73
74
|
overflow: visible;
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
|
|
102
103
|
// Step label
|
|
103
104
|
.k-step-label {
|
|
104
|
-
max-width: 10em;
|
|
105
|
+
max-width: clamp(100%, 10em, 100%);
|
|
105
106
|
display: inline-flex;
|
|
106
107
|
flex-wrap: wrap;
|
|
107
108
|
align-items: center;
|
|
@@ -33,7 +33,7 @@ $tabstrip-item-padding-y: $nav-item-padding-y !default;
|
|
|
33
33
|
$tabstrip-item-border-width: 1px !default;
|
|
34
34
|
/// Border radius of tabs
|
|
35
35
|
/// @group tabstrip
|
|
36
|
-
$tabstrip-item-border-radius: $border-radius !default;
|
|
36
|
+
$tabstrip-item-border-radius: $kendo-border-radius-md !default;
|
|
37
37
|
/// Spacing between tabs
|
|
38
38
|
/// @group tabstrip
|
|
39
39
|
$tabstrip-item-gap: $nav-item-margin !default;
|
|
@@ -26,7 +26,7 @@ $taskboard-columns-container-gap: $taskboard-spacer !default;
|
|
|
26
26
|
|
|
27
27
|
$taskboard-column-width: 320px !default;
|
|
28
28
|
$taskboard-column-border-width: 1px !default;
|
|
29
|
-
$taskboard-column-border-radius: $border-radius !default;
|
|
29
|
+
$taskboard-column-border-radius: $kendo-border-radius-md !default;
|
|
30
30
|
$taskboard-column-bg: $base-bg !default;
|
|
31
31
|
$taskboard-column-text: null !default;
|
|
32
32
|
$taskboard-column-border: transparent !default;
|
|
@@ -68,7 +68,7 @@ $taskboard-pane-actions-padding-x: $taskboard-spacer !default;
|
|
|
68
68
|
$taskboard-card-padding-y: $taskboard-spacer !default;
|
|
69
69
|
$taskboard-card-padding-x: $taskboard-card-padding-y !default;
|
|
70
70
|
$taskboard-card-border-width: $card-border-width !default;
|
|
71
|
-
$taskboard-card-border-radius: $border-radius !default;
|
|
71
|
+
$taskboard-card-border-radius: $kendo-border-radius-md !default;
|
|
72
72
|
$taskboard-card-shadow: $card-shadow !default;
|
|
73
73
|
$taskboard-card-bg: $card-bg !default;
|
|
74
74
|
$taskboard-card-text: $card-text !default;
|
|
@@ -4,7 +4,7 @@ $tilelayout-card-border-width: $card-border-width !default;
|
|
|
4
4
|
$tilelayout-card-focus-shadow: $card-focus-shadow !default;
|
|
5
5
|
|
|
6
6
|
$tilelayout-hint-border-width: 1px !default;
|
|
7
|
-
$tilelayout-hint-border-radius: $border-radius-lg !default;
|
|
7
|
+
$tilelayout-hint-border-radius: $kendo-border-radius-lg !default;
|
|
8
8
|
|
|
9
9
|
$tilelayout-bg: $base-bg !default;
|
|
10
10
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
display: inline-block;
|
|
33
33
|
text-align: center;
|
|
34
34
|
padding: $timeline-flag-padding-y $timeline-flag-padding-x;
|
|
35
|
-
border-radius: $border-radius;
|
|
35
|
+
border-radius: $kendo-border-radius;
|
|
36
36
|
line-height: $timeline-flag-line-height;
|
|
37
37
|
min-width: $timeline-flag-min-width;
|
|
38
38
|
max-width: $timeline-flag-max-width;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
&::-webkit-scrollbar-thumb {
|
|
99
|
-
border-radius: $border-radius;
|
|
99
|
+
border-radius: $kendo-border-radius;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
height: 100%;
|
|
141
141
|
width: $timeline-track-size;
|
|
142
142
|
transform: translateX(-50%);
|
|
143
|
-
border-radius: $border-radius-lg;
|
|
143
|
+
border-radius: $kendo-border-radius-lg;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.k-timeline-flag-wrap {
|
|
@@ -3,7 +3,7 @@ $tooltip-padding-y: $padding-y !default;
|
|
|
3
3
|
$tooltip-padding-x: $padding-x !default;
|
|
4
4
|
$tooltip-max-width: null !default;
|
|
5
5
|
$tooltip-border-width: 0px !default;
|
|
6
|
-
$tooltip-border-radius: $border-radius !default;
|
|
6
|
+
$tooltip-border-radius: $kendo-border-radius-md !default;
|
|
7
7
|
|
|
8
8
|
$tooltip-font-family: $font-family !default;
|
|
9
9
|
$tooltip-font-size: $font-size !default;
|
|
@@ -25,7 +25,7 @@ $kendo-treeview-item-padding-y: map-get( $spacing, 1 ) !default;
|
|
|
25
25
|
$kendo-treeview-item-border-width: 0px !default;
|
|
26
26
|
/// Border radius of treeview items.
|
|
27
27
|
/// @group treeview
|
|
28
|
-
$kendo-treeview-item-border-radius: $border-radius !default;
|
|
28
|
+
$kendo-treeview-item-border-radius: $kendo-border-radius-md !default;
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
/// The sizes of the treeview.
|
package/scss/utils/_border.scss
CHANGED
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
) !default;
|
|
42
42
|
|
|
43
43
|
$utils-border-radius: (
|
|
44
|
-
default:
|
|
44
|
+
default: $kendo-border-radius-md,
|
|
45
45
|
0: 0,
|
|
46
|
-
sm:
|
|
47
|
-
md:
|
|
48
|
-
lg:
|
|
46
|
+
sm: $kendo-border-radius-sm,
|
|
47
|
+
md: $kendo-border-radius-md,
|
|
48
|
+
lg: $kendo-border-radius-lg,
|
|
49
49
|
full: 9999px
|
|
50
50
|
) !default;
|
|
51
51
|
|
package/scss/utils/_flex.scss
CHANGED
|
@@ -7,48 +7,48 @@
|
|
|
7
7
|
/// @name k-d-flex
|
|
8
8
|
/// @description 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.
|
|
9
9
|
/// @group flex-layout
|
|
10
|
-
.k-d-flex
|
|
11
|
-
.\!k-d-flex
|
|
10
|
+
.k-d-flex { display: flex; }
|
|
11
|
+
.\!k-d-flex { display: flex !important; } // sass-lint:disable-line no-important class-name-format
|
|
12
12
|
/// @name k-d-inline-flex
|
|
13
13
|
/// @description 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.
|
|
14
14
|
/// @group flex-layout
|
|
15
|
-
.k-d-inline-flex
|
|
16
|
-
.\!k-d-inline-flex
|
|
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
17
|
/// @name k-d-flex-row
|
|
18
18
|
/// @description This is equivalent to `display: inline-flex` and `flex-direction: row`.
|
|
19
19
|
/// @group flex-layout
|
|
20
|
-
.k-d-flex-row
|
|
21
|
-
.\!k-d-flex-row
|
|
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
22
|
/// @name k-d-flex-col
|
|
23
23
|
/// @description This is equivalent to `display: inline-flex` and `flex-direction: column`.
|
|
24
24
|
/// @group flex-layout
|
|
25
|
-
.k-d-flex-col
|
|
26
|
-
.\!k-d-flex-col
|
|
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
27
|
/// @name k-flex-row
|
|
28
28
|
/// @description 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`.
|
|
29
29
|
/// @group flex-layout
|
|
30
|
-
.k-flex-row
|
|
31
|
-
.\!k-flex-row
|
|
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
32
|
/// @name k-flex-row-reverse
|
|
33
33
|
/// @description 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`.
|
|
34
34
|
/// @group flex-layout
|
|
35
|
-
.k-flex-row-reverse
|
|
36
|
-
.\!k-flex-row-reverse
|
|
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
37
|
/// @name k-flex-col
|
|
38
38
|
/// @description 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.
|
|
39
39
|
/// @group flex-layout
|
|
40
|
-
.k-flex-col
|
|
41
|
-
.\!k-flex-col
|
|
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
42
|
/// @name k-flex-col-reverse
|
|
43
43
|
/// @description 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.
|
|
44
44
|
/// @group flex-layout
|
|
45
|
-
.k-flex-col-reverse
|
|
46
|
-
.\!k-flex-col-reverse
|
|
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
47
|
|
|
48
48
|
|
|
49
49
|
// Aliases
|
|
50
|
-
.k-flex-column
|
|
51
|
-
.k-flex-column-reverse
|
|
50
|
+
.k-flex-column { @extend .k-flex-col; }
|
|
51
|
+
.k-flex-column-reverse { @extend .k-flex-col-reverse; }
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
// Flex wrap
|
|
@@ -56,15 +56,18 @@
|
|
|
56
56
|
/// @name k-flex-wrap
|
|
57
57
|
/// @description This is equivalent to `flex-wrap: wrap`. It allows flex items to wrap as needed onto multiple lines, from top to bottom.
|
|
58
58
|
/// @group flex-layout
|
|
59
|
-
.k-flex-wrap
|
|
59
|
+
.k-flex-wrap { flex-wrap: wrap; }
|
|
60
|
+
.\!k-flex-wrap { flex-wrap: wrap !important; } // sass-lint:disable-line no-important class-name-format
|
|
60
61
|
/// @name k-flex-nowrap
|
|
61
62
|
/// @description This is equivalent to `flex-wrap: nowrap`. All flex items will be on one line.
|
|
62
63
|
/// @group flex-layout
|
|
63
|
-
.k-flex-nowrap
|
|
64
|
+
.k-flex-nowrap { flex-wrap: nowrap; }
|
|
65
|
+
.\!k-flex-nowrap { flex-wrap: nowrap !important; } // sass-lint:disable-line no-important class-name-format
|
|
64
66
|
/// @name k-flex-wrap-reverse
|
|
65
67
|
/// @description This is equivalent to `flex-wrap: wrap-reverse`. It allows flex items to wrap as needed onto multiple lines, from bottom to top.
|
|
66
68
|
/// @group flex-layout
|
|
67
|
-
.k-flex-wrap-reverse
|
|
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
|
|
68
71
|
|
|
69
72
|
|
|
70
73
|
// Flex, shrink, grow,
|
|
@@ -72,79 +75,115 @@
|
|
|
72
75
|
/// @name k-flex-initial
|
|
73
76
|
/// @description 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.
|
|
74
77
|
/// @group flex-layout
|
|
75
|
-
.k-flex-initial
|
|
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
|
|
76
80
|
/// @name k-flex-1
|
|
77
81
|
/// @description 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.
|
|
78
82
|
/// @group flex-layout
|
|
79
|
-
.k-flex-1
|
|
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
|
|
80
85
|
/// @name k-flex-auto
|
|
81
86
|
/// @description 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`.
|
|
82
87
|
/// @group flex-layout
|
|
83
|
-
.k-flex-auto
|
|
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
|
|
84
90
|
/// @name k-flex-none
|
|
85
91
|
/// @description 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.
|
|
86
92
|
/// @group flex-layout
|
|
87
|
-
.k-flex-none
|
|
93
|
+
.k-flex-none { flex: none; }
|
|
94
|
+
.\!k-flex-none { flex: none !important; } // sass-lint:disable-line no-important class-name-format
|
|
88
95
|
/// @name k-flex-grow
|
|
89
96
|
/// @description 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.
|
|
90
97
|
/// @group flex-layout
|
|
91
|
-
.k-flex-grow
|
|
98
|
+
.k-flex-grow { flex-grow: 1; }
|
|
99
|
+
.\!k-flex-grow { flex-grow: 1 !important; } // sass-lint:disable-line no-important class-name-format
|
|
92
100
|
/// @name k-flex-grow-0
|
|
93
101
|
/// @description This is equivalent to `flex-grow: 0`. The item will not grow.
|
|
94
102
|
/// @group flex-layout
|
|
95
|
-
.k-flex-grow-0
|
|
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
|
|
96
105
|
/// @name k-flex-shrink
|
|
97
106
|
/// @description 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.
|
|
98
107
|
/// @group flex-layout
|
|
99
|
-
.k-flex-shrink
|
|
108
|
+
.k-flex-shrink { flex-shrink: 1; }
|
|
109
|
+
.\!k-flex-shrink { flex-shrink: 1 !important; } // sass-lint:disable-line no-important class-name-format
|
|
100
110
|
/// @name k-flex-shrink-0
|
|
101
111
|
/// @description This is equivalent to `flex-shrink: 0`. The item will not shrink.
|
|
102
112
|
/// @group flex-layout
|
|
103
|
-
.k-flex-shrink-0
|
|
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
|
|
104
115
|
/// @name k-flex-basis-auto
|
|
105
116
|
/// @description 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.
|
|
106
117
|
/// @group flex-layout
|
|
107
|
-
.k-flex-basis-auto
|
|
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
|
|
108
120
|
/// @name k-flex-basis-0
|
|
109
121
|
/// @description 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.
|
|
110
122
|
/// @group flex-layout
|
|
111
|
-
.k-flex-basis-0
|
|
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
|
|
112
125
|
|
|
113
126
|
|
|
114
127
|
// Flex align
|
|
115
|
-
.k-align-items-start
|
|
116
|
-
|
|
117
|
-
.k-align-items-
|
|
118
|
-
|
|
119
|
-
.k-align-items-
|
|
120
|
-
|
|
121
|
-
.k-align-
|
|
122
|
-
|
|
123
|
-
.k-align-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
.k-align-
|
|
129
|
-
|
|
130
|
-
.k-align-
|
|
131
|
-
|
|
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
|
|
132
160
|
|
|
133
161
|
|
|
134
162
|
// Justify content
|
|
135
|
-
.k-justify-content-start
|
|
136
|
-
|
|
137
|
-
.k-justify-content-
|
|
138
|
-
|
|
139
|
-
.k-justify-content-
|
|
140
|
-
|
|
141
|
-
.k-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
|
|
142
177
|
|
|
143
178
|
|
|
144
179
|
// Justify items
|
|
145
|
-
.k-justify-items-start
|
|
146
|
-
|
|
147
|
-
.k-justify-items-
|
|
148
|
-
|
|
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
|
|
149
188
|
|
|
150
189
|
}
|