@progress/kendo-theme-default 5.0.0-beta.2 → 5.0.0-beta.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/README.md +5 -8
- package/dist/all.css +1060 -935
- package/dist/all.scss +1766 -1499
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/adaptive/_layout.scss +0 -3
- package/scss/appbar/_layout.scss +19 -3
- package/scss/button/_layout.scss +1 -38
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_layout.scss +1 -3
- package/scss/chat/_theme.scss +0 -8
- package/scss/chat/_variables.scss +0 -2
- package/scss/checkbox/_index.scss +1 -1
- package/scss/checkbox/_layout.scss +44 -27
- package/scss/checkbox/_variables.scss +2 -8
- package/scss/color-preview/_layout.scss +23 -24
- package/scss/color-preview/_theme.scss +0 -14
- package/scss/coloreditor/_layout.scss +5 -1
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/combobox/_layout.scss +1 -1
- package/scss/combobox/_theme.scss +1 -1
- package/scss/combobox/_variables.scss +1 -31
- package/scss/daterangepicker/_layout.scss +16 -1
- package/scss/datetimepicker/_layout.scss +39 -2
- package/scss/editor/_layout.scss +24 -7
- package/scss/fab/_layout.scss +24 -58
- package/scss/fab/_theme.scss +43 -48
- package/scss/fab/_variables.scss +129 -72
- package/scss/fab/index.md +0 -0
- package/scss/forms/_layout.scss +4 -2
- package/scss/grid/_layout.scss +95 -98
- package/scss/grid/_variables.scss +7 -7
- package/scss/imageeditor/_layout.scss +4 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +1 -0
- package/scss/input/_layout.scss +17 -0
- package/scss/input/_variables.scss +3 -3
- package/scss/list/_index.scss +1 -0
- package/scss/list/_layout.scss +10 -2
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listview/_layout.scss +2 -9
- package/scss/map/_layout.scss +17 -0
- package/scss/maskedtextbox/_layout.scss +1 -1
- package/scss/maskedtextbox/_theme.scss +1 -1
- package/scss/mediaplayer/_layout.scss +5 -0
- package/scss/menu/_layout.scss +58 -29
- package/scss/menu/_variables.scss +13 -1
- package/scss/multiselect/_layout.scss +4 -1
- package/scss/multiselect/_theme.scss +4 -1
- package/scss/numerictextbox/_layout.scss +12 -2
- package/scss/numerictextbox/_theme.scss +1 -1
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_layout.scss +23 -16
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/radio/_index.scss +1 -1
- package/scss/radio/_layout.scss +43 -27
- package/scss/radio/_variables.scss +2 -8
- package/scss/scheduler/_layout.scss +1 -1
- package/scss/spreadsheet/_layout.scss +29 -20
- package/scss/table/_layout.scss +26 -5
- package/scss/table/_theme.scss +3 -2
- package/scss/table/_variables.scss +9 -9
- package/scss/tabstrip/_layout.scss +1 -1
- package/scss/toolbar/_layout.scss +29 -2
- package/scss/toolbar/_theme.scss +35 -7
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/treeview/_layout.scss +108 -113
- package/scss/treeview/_theme.scss +38 -29
- package/scss/treeview/_variables.scss +34 -50
- package/scss/typography/_variables.scss +3 -3
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +35 -0
- package/scss/virtual-scroller/_theme.scss +3 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/window/_variables.scss +1 -1
package/scss/fab/_layout.scss
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
color: inherit;
|
|
11
11
|
background-color: transparent;
|
|
12
|
-
font-size: $fab-font-size;
|
|
13
|
-
line-height: $fab-line-height;
|
|
14
|
-
font-family: $fab-font-family;
|
|
12
|
+
font-size: $kendo-fab-font-size;
|
|
13
|
+
line-height: $kendo-fab-line-height;
|
|
14
|
+
font-family: $kendo-fab-font-family;
|
|
15
15
|
text-align: center;
|
|
16
16
|
white-space: nowrap;
|
|
17
17
|
display: inline-flex;
|
|
@@ -30,73 +30,39 @@
|
|
|
30
30
|
|
|
31
31
|
// FAB Icon
|
|
32
32
|
.k-fab-icon {
|
|
33
|
-
width: $fab-icon-width;
|
|
34
|
-
height: $fab-icon-height;
|
|
33
|
+
width: $kendo-fab-icon-width;
|
|
34
|
+
height: $kendo-fab-icon-height;
|
|
35
35
|
|
|
36
36
|
&:not(:only-child) {
|
|
37
|
-
margin-right: $fab-icon-spacing;
|
|
38
|
-
margin-left: -$fab-icon-spacing;
|
|
37
|
+
margin-right: $kendo-fab-icon-spacing;
|
|
38
|
+
margin-left: -$kendo-fab-icon-spacing;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
// Sizes
|
|
44
44
|
.k-fab-sm {
|
|
45
|
-
padding: $fab-padding-y-sm $fab-padding-x-sm;
|
|
45
|
+
padding: $kendo-fab-padding-y-sm $kendo-fab-padding-x-sm;
|
|
46
46
|
}
|
|
47
47
|
.k-fab-md {
|
|
48
|
-
padding: $fab-padding-y $fab-padding-x;
|
|
48
|
+
padding: $kendo-fab-padding-y $kendo-fab-padding-x;
|
|
49
49
|
}
|
|
50
50
|
.k-fab-lg {
|
|
51
|
-
padding: $fab-padding-y-lg $fab-padding-x-lg;
|
|
51
|
+
padding: $kendo-fab-padding-y-lg $kendo-fab-padding-x-lg;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
|
|
55
54
|
// Shapes
|
|
56
|
-
.k-fab-
|
|
57
|
-
border-radius: 0;
|
|
58
|
-
|
|
59
|
-
&.k-fab-sm {
|
|
60
|
-
width: $fab-size-sm;
|
|
61
|
-
height: $fab-size-sm;
|
|
62
|
-
}
|
|
63
|
-
&.k-fab-md {
|
|
64
|
-
width: $fab-size-md;
|
|
65
|
-
height: $fab-size-md;
|
|
66
|
-
}
|
|
67
|
-
&.k-fab-lg {
|
|
68
|
-
width: $fab-size-lg;
|
|
69
|
-
height: $fab-size-lg;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.k-fab-circle {
|
|
73
|
-
border-radius: 50%;
|
|
55
|
+
.k-fab-rectangle { }
|
|
74
56
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
height: $fab-size-sm;
|
|
78
|
-
}
|
|
79
|
-
&.k-fab-md {
|
|
80
|
-
width: $fab-size-md;
|
|
81
|
-
height: $fab-size-md;
|
|
82
|
-
}
|
|
83
|
-
&.k-fab-lg {
|
|
84
|
-
width: $fab-size-lg;
|
|
85
|
-
height: $fab-size-lg;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
.k-fab-pill {
|
|
89
|
-
border-radius: 5rem;
|
|
90
|
-
}
|
|
91
|
-
.k-fab-rounded {
|
|
92
|
-
@include border-radius( $fab-border-radius );
|
|
57
|
+
.k-fab-square {
|
|
58
|
+
aspect-ratio: 1;
|
|
93
59
|
}
|
|
94
60
|
|
|
95
61
|
|
|
96
62
|
// Items
|
|
97
63
|
.k-fab-items {
|
|
98
64
|
margin: 0;
|
|
99
|
-
padding: $fab-items-padding-y $fab-items-padding-x;
|
|
65
|
+
padding: $kendo-fab-items-padding-y $kendo-fab-items-padding-x;
|
|
100
66
|
display: flex;
|
|
101
67
|
}
|
|
102
68
|
|
|
@@ -141,19 +107,19 @@
|
|
|
141
107
|
}
|
|
142
108
|
|
|
143
109
|
.k-fab-item-text {
|
|
144
|
-
padding: $fab-item-text-padding-y $fab-item-text-padding-x;
|
|
145
|
-
border-width: $fab-item-text-border-width;
|
|
146
|
-
border-radius: $fab-item-text-border-radius;
|
|
147
|
-
font-size: $fab-item-text-font-size;
|
|
148
|
-
line-height: $fab-item-text-line-height;
|
|
110
|
+
padding: $kendo-fab-item-text-padding-y $kendo-fab-item-text-padding-x;
|
|
111
|
+
border-width: $kendo-fab-item-text-border-width;
|
|
112
|
+
border-radius: $kendo-fab-item-text-border-radius;
|
|
113
|
+
font-size: $kendo-fab-item-text-font-size;
|
|
114
|
+
line-height: $kendo-fab-item-text-line-height;
|
|
149
115
|
}
|
|
150
116
|
|
|
151
117
|
.k-fab-item-icon {
|
|
152
|
-
width: $fab-item-icon-width;
|
|
153
|
-
height: $fab-item-icon-height;
|
|
154
|
-
padding: $fab-item-icon-padding-y $fab-item-icon-padding-x;
|
|
155
|
-
border-width: $fab-item-icon-border-width;
|
|
156
|
-
border-radius: $fab-item-icon-border-radius;
|
|
118
|
+
width: $kendo-fab-item-icon-width;
|
|
119
|
+
height: $kendo-fab-item-icon-height;
|
|
120
|
+
padding: $kendo-fab-item-icon-padding-y $kendo-fab-item-icon-padding-x;
|
|
121
|
+
border-width: $kendo-fab-item-icon-border-width;
|
|
122
|
+
border-radius: $kendo-fab-item-icon-border-radius;
|
|
157
123
|
box-sizing: content-box;
|
|
158
124
|
outline: none;
|
|
159
125
|
}
|
package/scss/fab/_theme.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@include exports( "fab/theme" ) {
|
|
2
2
|
|
|
3
3
|
// Normal state
|
|
4
|
-
@each $name, $color in $fab-theme-colors {
|
|
5
|
-
.k-fab-#{$name} {
|
|
6
|
-
@include box-shadow($fab-shadow);
|
|
7
|
-
outline: $fab-border-width solid $color;
|
|
8
|
-
outline-offset: -$fab-border-width;
|
|
4
|
+
@each $name, $color in $kendo-fab-theme-colors {
|
|
5
|
+
.k-fab-solid-#{$name} {
|
|
6
|
+
@include box-shadow($kendo-fab-shadow);
|
|
7
|
+
outline: $kendo-fab-border-width solid $color;
|
|
8
|
+
outline-offset: -$kendo-fab-border-width;
|
|
9
9
|
border-color: $color;
|
|
10
10
|
color: contrast-wcag( $color );
|
|
11
11
|
background-color: $color;
|
|
@@ -13,20 +13,18 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
// Hover state
|
|
16
|
-
@each $name, $color in $fab-theme-colors {
|
|
17
|
-
.k-
|
|
18
|
-
.k-
|
|
19
|
-
.k-fab-#{$name}:hover {
|
|
16
|
+
@each $name, $color in $kendo-fab-theme-colors {
|
|
17
|
+
.k-hover.k-fab-solid-#{$name},
|
|
18
|
+
.k-fab-solid-#{$name}:hover {
|
|
20
19
|
border-color: try-shade( $color, .5 );
|
|
21
20
|
background-color: try-shade( $color, .5 );
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
// Focus state
|
|
26
|
-
@each $name, $color in $fab-theme-colors {
|
|
27
|
-
.k-fab-#{$name}.k-
|
|
28
|
-
.k-fab-#{$name}
|
|
29
|
-
.k-fab-#{$name}:focus {
|
|
25
|
+
@each $name, $color in $kendo-fab-theme-colors {
|
|
26
|
+
.k-fab-solid-#{$name}.k-focus,
|
|
27
|
+
.k-fab-solid-#{$name}:focus {
|
|
30
28
|
outline-style: solid;
|
|
31
29
|
outline-width: 2px;
|
|
32
30
|
outline-color: rgba( $color, .3 );
|
|
@@ -34,21 +32,21 @@
|
|
|
34
32
|
}
|
|
35
33
|
|
|
36
34
|
// Active state
|
|
37
|
-
@each $name, $color in $fab-theme-colors {
|
|
38
|
-
.k-
|
|
39
|
-
.k-
|
|
40
|
-
.k-fab-#{$name}:active {
|
|
41
|
-
@include box-shadow($fab-active-shadow);
|
|
35
|
+
@each $name, $color in $kendo-fab-theme-colors {
|
|
36
|
+
.k-active.k-fab-solid-#{$name},
|
|
37
|
+
.k-selected.k-fab-solid-#{$name},
|
|
38
|
+
.k-fab-solid-#{$name}:active {
|
|
39
|
+
@include box-shadow($kendo-fab-active-shadow);
|
|
42
40
|
border-color: try-shade( $color, 1.5);
|
|
43
41
|
background-color: try-shade( $color, 1.5);
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
// Disabled state
|
|
48
|
-
@each $name, $color in $fab-theme-colors {
|
|
49
|
-
.k-
|
|
50
|
-
.k-fab-#{$name}:disabled {
|
|
51
|
-
@include box-shadow($fab-disabled-shadow);
|
|
46
|
+
@each $name, $color in $kendo-fab-theme-colors {
|
|
47
|
+
.k-disabled.k-fab-solid-#{$name},
|
|
48
|
+
.k-fab-solid-#{$name}:disabled {
|
|
49
|
+
@include box-shadow($kendo-fab-disabled-shadow);
|
|
52
50
|
background-color: try-tint( $color, 5 );
|
|
53
51
|
color: try-tint( contrast-wcag( $color ), 5 );
|
|
54
52
|
opacity: 1;
|
|
@@ -58,62 +56,59 @@
|
|
|
58
56
|
// Items
|
|
59
57
|
.k-fab-item-text {
|
|
60
58
|
@include fill(
|
|
61
|
-
$fab-item-text,
|
|
62
|
-
$fab-item-bg,
|
|
63
|
-
$fab-item-border
|
|
59
|
+
$kendo-fab-item-text,
|
|
60
|
+
$kendo-fab-item-bg,
|
|
61
|
+
$kendo-fab-item-border
|
|
64
62
|
);
|
|
65
|
-
@include box-shadow($fab-item-shadow);
|
|
63
|
+
@include box-shadow($kendo-fab-item-shadow);
|
|
66
64
|
|
|
67
65
|
}
|
|
68
66
|
.k-fab-item-icon {
|
|
69
67
|
@include fill(
|
|
70
|
-
$fab-item-icon-text,
|
|
71
|
-
$fab-item-icon-bg,
|
|
72
|
-
$fab-item-icon-border
|
|
68
|
+
$kendo-fab-item-icon-text,
|
|
69
|
+
$kendo-fab-item-icon-bg,
|
|
70
|
+
$kendo-fab-item-icon-border
|
|
73
71
|
);
|
|
74
|
-
@include box-shadow($fab-item-shadow);
|
|
75
|
-
outline: $fab-border-width solid rgba(0, 0, 0, .08);
|
|
76
|
-
outline-offset: -$fab-border-width;
|
|
72
|
+
@include box-shadow($kendo-fab-item-shadow);
|
|
73
|
+
outline: $kendo-fab-border-width solid rgba(0, 0, 0, .08);
|
|
74
|
+
outline-offset: -$kendo-fab-border-width;
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
// Hover state
|
|
80
|
-
.k-fab-item.k-
|
|
81
|
-
.k-fab-item.k-state-hovered .k-fab-item-icon
|
|
78
|
+
.k-fab-item.k-hover .k-fab-item-icon,
|
|
82
79
|
.k-fab-item:hover .k-fab-item-icon {
|
|
83
|
-
border-color: try-shade( $fab-item-icon-border, .5 );
|
|
84
|
-
background-color: try-shade( $fab-item-icon-bg, .5 );
|
|
80
|
+
border-color: try-shade( $kendo-fab-item-icon-border, .5 );
|
|
81
|
+
background-color: try-shade( $kendo-fab-item-icon-bg, .5 );
|
|
85
82
|
}
|
|
86
83
|
|
|
87
84
|
// Focus state
|
|
88
85
|
.k-fab-item:focus .k-fab-item-text,
|
|
89
86
|
.k-fab-item:focus .k-fab-item-icon,
|
|
90
|
-
.k-fab-item.k-
|
|
91
|
-
.k-fab-item.k-
|
|
92
|
-
.k-fab-item.k-state-focused .k-fab-item-text,
|
|
93
|
-
.k-fab-item.k-state-focused .k-fab-item-icon {
|
|
87
|
+
.k-fab-item.k-focus .k-fab-item-text,
|
|
88
|
+
.k-fab-item.k-focus .k-fab-item-icon {
|
|
94
89
|
outline-style: solid;
|
|
95
90
|
outline-width: 2px;
|
|
96
91
|
outline-color: rgba(0, 0, 0, .08);
|
|
97
92
|
}
|
|
98
93
|
|
|
99
94
|
// Active state
|
|
100
|
-
.k-fab-item.k-
|
|
95
|
+
.k-fab-item.k-active .k-fab-item-icon,
|
|
101
96
|
.k-fab-item:active .k-fab-item-icon {
|
|
102
|
-
@include box-shadow($fab-item-active-shadow);
|
|
103
|
-
border-color: try-shade( $fab-item-icon-border, 1);
|
|
104
|
-
background-color: try-shade( $fab-item-icon-bg, 1);
|
|
97
|
+
@include box-shadow($kendo-fab-item-active-shadow);
|
|
98
|
+
border-color: try-shade( $kendo-fab-item-icon-border, 1);
|
|
99
|
+
background-color: try-shade( $kendo-fab-item-icon-bg, 1);
|
|
105
100
|
}
|
|
106
101
|
|
|
107
102
|
// Disabled state
|
|
108
|
-
.k-fab-item.k-
|
|
103
|
+
.k-fab-item.k-disabled,
|
|
109
104
|
.k-fab-item:disabled {
|
|
110
105
|
opacity: 1;
|
|
111
106
|
|
|
112
107
|
.k-fab-item-text,
|
|
113
108
|
.k-fab-item-icon {
|
|
114
|
-
@include box-shadow($fab-item-disabled-shadow);
|
|
115
|
-
background-color: try-tint( $fab-item-bg, 5 );
|
|
116
|
-
color: try-tint( $fab-item-text, 5 );
|
|
109
|
+
@include box-shadow($kendo-fab-item-disabled-shadow);
|
|
110
|
+
background-color: try-tint( $kendo-fab-item-bg, 5 );
|
|
111
|
+
color: try-tint( $kendo-fab-item-text, 5 );
|
|
117
112
|
}
|
|
118
113
|
}
|
|
119
114
|
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -1,74 +1,131 @@
|
|
|
1
1
|
// Floating Action Button
|
|
2
|
-
$fab-padding-x: map-get( $spacing, 4 ) !default;
|
|
3
|
-
$fab-padding-y: $fab-padding-x !default;
|
|
4
|
-
$fab-border-width: 1px !default;
|
|
5
|
-
$fab-border-radius: $border-radius !default;
|
|
6
|
-
$fab-font-family: $font-family !default;
|
|
7
|
-
$fab-font-size: $font-size !default;
|
|
8
|
-
$fab-line-height: $line-height !default;
|
|
9
2
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
$fab-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
$fab-
|
|
30
|
-
$fab-
|
|
31
|
-
$fab-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
$fab-
|
|
37
|
-
$fab-
|
|
38
|
-
$fab-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
$fab-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
$fab-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
$fab-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
$fab-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
$fab-item-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
$
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
$fab-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
$fab-
|
|
73
|
-
|
|
74
|
-
|
|
3
|
+
/// Width of the border around the FAB.
|
|
4
|
+
/// @group floating-action-button
|
|
5
|
+
$kendo-fab-border-width: 1px !default;
|
|
6
|
+
/// Border radius of the FAB.
|
|
7
|
+
/// @group floating-action-button
|
|
8
|
+
$kendo-fab-border-radius: $border-radius !default;
|
|
9
|
+
|
|
10
|
+
/// Font family of the FAB.
|
|
11
|
+
/// @group floating-action-button
|
|
12
|
+
$kendo-fab-font-family: $font-family !default;
|
|
13
|
+
/// Font size of the FAB.
|
|
14
|
+
/// @group floating-action-button
|
|
15
|
+
$kendo-fab-font-size: $font-size !default;
|
|
16
|
+
/// Line height of the FAB.
|
|
17
|
+
/// @group floating-action-button
|
|
18
|
+
$kendo-fab-line-height: $line-height !default;
|
|
19
|
+
|
|
20
|
+
/// Horizontal padding of the FAB.
|
|
21
|
+
/// @group floating-action-button
|
|
22
|
+
$kendo-fab-padding-x: map-get( $spacing, 4 ) !default;
|
|
23
|
+
$kendo-fab-padding-x-sm: ( $kendo-fab-padding-x / 2 ) !default;
|
|
24
|
+
$kendo-fab-padding-x-md: $kendo-fab-padding-x !default;
|
|
25
|
+
$kendo-fab-padding-x-lg: ( $kendo-fab-padding-x * 1.5 ) !default;
|
|
26
|
+
|
|
27
|
+
/// Vertical padding of the FAB.
|
|
28
|
+
/// @group floating-action-button
|
|
29
|
+
$kendo-fab-padding-y: $kendo-fab-padding-x !default;
|
|
30
|
+
$kendo-fab-padding-y-sm: ( $kendo-fab-padding-y / 2 ) !default;
|
|
31
|
+
$kendo-fab-padding-y-md: $kendo-fab-padding-y !default;
|
|
32
|
+
$kendo-fab-padding-y-lg: ( $kendo-fab-padding-y * 1.5 ) !default;
|
|
33
|
+
|
|
34
|
+
/// FAB icon width.
|
|
35
|
+
/// @group floating-action-button
|
|
36
|
+
$kendo-fab-icon-width: 20px !default;
|
|
37
|
+
/// FAB icon height.
|
|
38
|
+
/// @group floating-action-button
|
|
39
|
+
$kendo-fab-icon-height: $kendo-fab-icon-width !default;
|
|
40
|
+
/// FAB icon spacing.
|
|
41
|
+
/// @group floating-action-button
|
|
42
|
+
$kendo-fab-icon-spacing: map-get( $spacing, 1 ) / 2 !default;
|
|
43
|
+
|
|
44
|
+
/// FAB items horizontal padding.
|
|
45
|
+
/// @group floating-action-button
|
|
46
|
+
$kendo-fab-items-padding-x: 0px !default;
|
|
47
|
+
/// FAB items vertical padding.
|
|
48
|
+
/// @group floating-action-button
|
|
49
|
+
$kendo-fab-items-padding-y: map-get( $spacing, 4 ) !default;
|
|
50
|
+
|
|
51
|
+
/// FAB item text horizontal padding.
|
|
52
|
+
/// @group floating-action-button
|
|
53
|
+
$kendo-fab-item-text-padding-x: map-get( $spacing, 1 ) !default;
|
|
54
|
+
/// FAB item text vertical padding.
|
|
55
|
+
/// @group floating-action-button
|
|
56
|
+
$kendo-fab-item-text-padding-y: $kendo-fab-item-text-padding-x !default;
|
|
57
|
+
/// Width of the FAB item text border.
|
|
58
|
+
/// @group floating-action-button
|
|
59
|
+
$kendo-fab-item-text-border-width: 1px !default;
|
|
60
|
+
/// Border radius of the FAB item text.
|
|
61
|
+
/// @group floating-action-button
|
|
62
|
+
$kendo-fab-item-text-border-radius: 2px !default;
|
|
63
|
+
/// Font size of the FAB item text.
|
|
64
|
+
/// @group floating-action-button
|
|
65
|
+
$kendo-fab-item-text-font-size: $font-size-xs !default;
|
|
66
|
+
/// Line height of the FAB item text.
|
|
67
|
+
/// @group floating-action-button
|
|
68
|
+
$kendo-fab-item-text-line-height: 1.2 !default;
|
|
69
|
+
|
|
70
|
+
/// FAB item icon horizontal padding.
|
|
71
|
+
/// @group floating-action-button
|
|
72
|
+
$kendo-fab-item-icon-padding-x: map-get( $spacing, 2 ) !default;
|
|
73
|
+
/// FAB item icon vertical padding.
|
|
74
|
+
/// @group floating-action-button
|
|
75
|
+
$kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
|
|
76
|
+
/// Width of the FAB item icon border.
|
|
77
|
+
/// @group floating-action-button
|
|
78
|
+
$kendo-fab-item-icon-border-width: 0 !default;
|
|
79
|
+
/// Border radius of the FAB item icon.
|
|
80
|
+
/// @group floating-action-button
|
|
81
|
+
$kendo-fab-item-icon-border-radius: 50% !default;
|
|
82
|
+
/// Width of the FAB item icon.
|
|
83
|
+
/// @group floating-action-button
|
|
84
|
+
$kendo-fab-item-icon-width: 20px !default;
|
|
85
|
+
/// Height of the FAB item icon.
|
|
86
|
+
/// @group floating-action-button
|
|
87
|
+
$kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
88
|
+
|
|
89
|
+
/// Theme colors map for the FAB.
|
|
90
|
+
/// @group floating-action-button
|
|
91
|
+
$kendo-fab-theme-colors: $theme-colors !default;
|
|
92
|
+
|
|
93
|
+
/// The base shadow of the FAB.
|
|
94
|
+
/// @group floating-action-button
|
|
95
|
+
$kendo-fab-shadow: 0 6px 10px rgba(0, 0, 0, .14), 0 1px 18px rgba(0, 0, 0, .12), 0 3px 5px rgba(0, 0, 0, .2) !default;
|
|
96
|
+
/// The disabled shadow of the FAB.
|
|
97
|
+
/// @group floating-action-button
|
|
98
|
+
$kendo-fab-disabled-shadow: 0 6px 10px try-tint( rgba(0, 0, 0, .14), .5 ), 0 1px 18px try-tint( rgba(0, 0, 0, .12), .5 ), 0 3px 5px try-tint( rgba(0, 0, 0, .2), .5 ) !default;
|
|
99
|
+
/// The active shadow of the FAB.
|
|
100
|
+
/// @group floating-action-button
|
|
101
|
+
$kendo-fab-active-shadow: null !default;
|
|
102
|
+
|
|
103
|
+
/// The base text color of the FAB item.
|
|
104
|
+
/// @group floating-action-button
|
|
105
|
+
$kendo-fab-item-text: $component-text !default;
|
|
106
|
+
/// The base background color of the FAB item.
|
|
107
|
+
/// @group floating-action-button
|
|
108
|
+
$kendo-fab-item-bg: $component-bg !default;
|
|
109
|
+
/// The base border color of the FAB item.
|
|
110
|
+
/// @group floating-action-button
|
|
111
|
+
$kendo-fab-item-border: $component-border !default;
|
|
112
|
+
|
|
113
|
+
/// The base text color of the FAB item icon.
|
|
114
|
+
/// @group floating-action-button
|
|
115
|
+
$kendo-fab-item-icon-text: $kendo-button-text !default;
|
|
116
|
+
/// The base background color of the FAB item icon.
|
|
117
|
+
/// @group floating-action-button
|
|
118
|
+
$kendo-fab-item-icon-bg: $kendo-button-bg !default;
|
|
119
|
+
/// The base border color of the FAB item icon.
|
|
120
|
+
/// @group floating-action-button
|
|
121
|
+
$kendo-fab-item-icon-border: $kendo-button-border !default;
|
|
122
|
+
|
|
123
|
+
/// The base shadow of the FAB item.
|
|
124
|
+
/// @group floating-action-button
|
|
125
|
+
$kendo-fab-item-shadow: $kendo-fab-shadow !default;
|
|
126
|
+
/// The disabled shadow of the FAB item.
|
|
127
|
+
/// @group floating-action-button
|
|
128
|
+
$kendo-fab-item-disabled-shadow: $kendo-fab-disabled-shadow !default;
|
|
129
|
+
/// The active shadow of the FAB item.
|
|
130
|
+
/// @group floating-action-button
|
|
131
|
+
$kendo-fab-item-active-shadow: $kendo-fab-active-shadow !default;
|
|
File without changes
|
package/scss/forms/_layout.scss
CHANGED
|
@@ -83,7 +83,8 @@
|
|
|
83
83
|
border: 0;
|
|
84
84
|
|
|
85
85
|
> * {
|
|
86
|
-
&:first-child
|
|
86
|
+
&:not(.k-hidden):first-child,
|
|
87
|
+
&.k-hidden + :not(.k-hidden) {
|
|
87
88
|
margin-top: 0;
|
|
88
89
|
}
|
|
89
90
|
}
|
|
@@ -112,7 +113,8 @@
|
|
|
112
113
|
|
|
113
114
|
> *,
|
|
114
115
|
.k-daterangepicker .k-textbox-container {
|
|
115
|
-
&:first-child
|
|
116
|
+
&:not(.k-hidden):first-child,
|
|
117
|
+
&.k-hidden + :not(.k-hidden) {
|
|
116
118
|
margin-top: 0;
|
|
117
119
|
}
|
|
118
120
|
}
|