@progress/kendo-theme-default 5.0.0-next.5 → 5.1.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/README.md +5 -8
- package/dist/all.css +9992 -12002
- package/dist/all.scss +14980 -15406
- package/dist/default-blue.scss +2 -2
- package/dist/default-dataviz-v4.scss +8 -0
- package/dist/default-green.scss +2 -2
- package/dist/default-main-dark.scss +7 -7
- package/dist/default-main.scss +7 -7
- package/dist/default-nordic.scss +2 -2
- package/dist/default-orange.scss +2 -2
- package/dist/default-purple.scss +2 -2
- package/dist/default-turquoise.scss +2 -2
- package/dist/default-urban.scss +2 -2
- package/lib/swatches/default-blue.json +2 -2
- package/lib/swatches/default-dataviz-v4.json +51 -0
- package/lib/swatches/default-green.json +2 -2
- package/lib/swatches/default-main-dark.json +7 -7
- package/lib/swatches/default-main.json +7 -7
- package/lib/swatches/default-nordic.json +2 -2
- package/lib/swatches/default-orange.json +2 -2
- package/lib/swatches/default-purple.json +2 -2
- package/lib/swatches/default-turquoise.json +2 -2
- package/lib/swatches/default-urban.json +2 -2
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/_variables.scss +2 -19
- package/scss/action-buttons/_layout.scss +9 -0
- package/scss/action-sheet/_layout.scss +6 -0
- package/scss/adaptive/_layout.scss +50 -86
- package/scss/adaptive/_theme.scss +0 -9
- package/scss/all.scss +1 -154
- package/scss/appbar/_layout.scss +28 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_layout.scss +1 -53
- package/scss/autocomplete/_theme.scss +3 -75
- package/scss/autocomplete/_variables.scss +0 -24
- package/scss/avatar/_layout.scss +19 -17
- package/scss/avatar/_theme.scss +4 -4
- package/scss/avatar/_variables.scss +18 -8
- package/scss/avatar/index.md +0 -0
- package/scss/badge/_layout.scss +6 -0
- package/scss/bottom-navigation/_layout.scss +6 -0
- package/scss/breadcrumb/_layout.scss +6 -13
- package/scss/button/_index.scss +2 -0
- package/scss/button/_layout.scss +99 -169
- package/scss/button/_theme.scss +196 -201
- package/scss/button/_variables.scss +60 -28
- package/scss/calendar/_index.scss +1 -0
- package/scss/calendar/_layout.scss +2 -14
- package/scss/calendar/_theme.scss +1 -19
- package/scss/captcha/_layout.scss +6 -0
- package/scss/card/_layout.scss +10 -53
- package/scss/card/_theme.scss +2 -1
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_layout.scss +35 -32
- package/scss/chat/_theme.scss +0 -31
- package/scss/chat/_variables.scss +3 -18
- package/scss/checkbox/_index.scss +2 -0
- package/scss/checkbox/_layout.scss +112 -163
- package/scss/checkbox/_theme.scss +6 -4
- package/scss/checkbox/_variables.scss +65 -74
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_layout.scss +127 -127
- package/scss/chip/_theme.scss +90 -387
- package/scss/chip/_variables.scss +142 -191
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_layout.scss +51 -8
- package/scss/color-preview/_theme.scss +1 -15
- package/scss/color-preview/_variables.scss +1 -0
- package/scss/coloreditor/_layout.scss +11 -1
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/colorgradient/_layout.scss +13 -4
- package/scss/colorpalette/_layout.scss +6 -0
- package/scss/colorpicker/_index.scss +1 -2
- package/scss/colorpicker/_layout.scss +7 -130
- package/scss/colorpicker/_theme.scss +2 -64
- package/scss/colorpicker/_variables.scss +1 -22
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +3 -83
- package/scss/combobox/_theme.scss +3 -124
- package/scss/combobox/_variables.scss +1 -33
- package/scss/common/_base.scss +1 -0
- package/scss/common/_loading.scss +15 -13
- package/scss/core/_normalize.scss +0 -11
- package/scss/core/functions/_colors.scss +4 -1
- package/scss/core/mixins/_index.scss +1 -0
- package/scss/core/mixins/_module-system.scss +149 -0
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dataviz/_variables.scss +6 -6
- package/scss/dateinput/_index.scss +11 -0
- package/scss/dateinput/_layout.scss +6 -0
- package/scss/dateinput/_theme.scss +6 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +13 -0
- package/scss/datepicker/_layout.scss +6 -0
- package/scss/datepicker/_theme.scss +6 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/{datetime → daterangepicker}/_index.scss +1 -2
- package/scss/daterangepicker/_layout.scss +43 -0
- package/scss/daterangepicker/_theme.scss +3 -0
- package/scss/daterangepicker/_variables.scss +2 -0
- package/scss/datetimepicker/_index.scss +17 -0
- package/scss/datetimepicker/_layout.scss +56 -0
- package/scss/datetimepicker/_theme.scss +6 -0
- package/scss/datetimepicker/_variables.scss +2 -0
- package/scss/drawer/_index.scss +1 -0
- package/scss/drawer/_layout.scss +6 -0
- package/scss/drawer/_variables.scss +1 -1
- package/scss/dropdowngrid/_layout.scss +9 -4
- package/scss/dropdowngrid/_theme.scss +9 -2
- package/scss/dropdowngrid/index.md +0 -0
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/dropdownlist/_layout.scss +20 -100
- package/scss/dropdownlist/_theme.scss +3 -91
- package/scss/dropdowntree/_layout.scss +5 -14
- package/scss/dropdowntree/_theme.scss +2 -1
- package/scss/dropdowntree/_variables.scss +2 -4
- package/scss/dropzone/_layout.scss +0 -16
- package/scss/editor/_layout.scss +105 -72
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +8 -0
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/expansion-panel/_layout.scss +6 -1
- package/scss/expansion-panel/_variables.scss +2 -2
- package/scss/fab/_layout.scss +30 -58
- package/scss/fab/_theme.scss +43 -48
- package/scss/fab/_variables.scss +129 -72
- package/scss/fab/index.md +0 -0
- package/scss/filemanager/_theme.scss +1 -1
- package/scss/filter/_index.scss +1 -1
- package/scss/filter/_layout.scss +20 -6
- package/scss/filter/_theme.scss +3 -1
- package/scss/floating-label/_layout.scss +7 -0
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +20 -97
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +6 -4
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +144 -162
- package/scss/grid/_theme.scss +14 -20
- package/scss/grid/_variables.scss +10 -10
- package/scss/icons/_layout.scss +6 -1
- package/scss/icons/font/WebComponentsIcons.scss +1 -1
- package/scss/icons/font/WebComponentsIcons.ttf +0 -0
- package/scss/imageeditor/_layout.scss +10 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +157 -0
- package/scss/input/_index.scss +1 -1
- package/scss/input/_layout.scss +249 -27
- package/scss/input/_theme.scss +82 -2
- package/scss/input/_variables.scss +80 -58
- package/scss/list/_index.scss +12 -0
- package/scss/list/_layout.scss +241 -0
- package/scss/list/_theme.scss +91 -0
- package/scss/list/_variables.scss +248 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +2 -0
- package/scss/listbox/_layout.scss +10 -0
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listview/_layout.scss +2 -9
- package/scss/map/_layout.scss +24 -0
- package/scss/maskedtextbox/_layout.scss +1 -1
- package/scss/maskedtextbox/_theme.scss +1 -1
- package/scss/mediaplayer/_layout.scss +19 -1
- package/scss/menu/_index.scss +2 -0
- package/scss/menu/_layout.scss +134 -74
- package/scss/menu/_theme.scss +33 -25
- package/scss/menu/_variables.scss +124 -35
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_layout.scss +3 -199
- package/scss/multiselect/_theme.scss +3 -139
- package/scss/multiselect/_variables.scss +0 -36
- package/scss/notification/_layout.scss +6 -22
- package/scss/numerictextbox/_layout.scss +6 -2
- package/scss/numerictextbox/_theme.scss +1 -1
- package/scss/numerictextbox/_variables.scss +1 -1
- package/scss/orgchart/_layout.scss +6 -0
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_index.scss +1 -0
- package/scss/pager/_layout.scss +10 -11
- package/scss/pager/_theme.scss +4 -4
- package/scss/pager/_variables.scss +6 -6
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_layout.scss +6 -54
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +6 -2
- package/scss/pdf-viewer/_layout.scss +23 -16
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +77 -108
- package/scss/pivotgrid/_theme.scss +39 -73
- package/scss/pivotgrid/_variables.scss +1 -4
- package/scss/popover/_layout.scss +6 -1
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +6 -248
- package/scss/popup/_theme.scss +2 -159
- package/scss/popup/_variables.scss +2 -7
- package/scss/progressbar/_layout.scss +6 -0
- package/scss/radio/_index.scss +2 -0
- package/scss/radio/_layout.scss +123 -165
- package/scss/radio/_theme.scss +4 -4
- package/scss/radio/_variables.scss +70 -91
- package/scss/radio/index.md +0 -0
- package/scss/rating/_layout.scss +6 -9
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scheduler/_layout.scss +32 -13
- package/scss/scrollview/_layout.scss +6 -1
- package/scss/skeleton/_layout.scss +1 -1
- package/scss/slider/_layout.scss +67 -137
- package/scss/slider/_theme.scss +0 -6
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +35 -36
- package/scss/spreadsheet/_theme.scss +6 -6
- package/scss/stepper/_layout.scss +6 -1
- package/scss/switch/_layout.scss +64 -53
- package/scss/switch/_theme.scss +73 -75
- package/scss/switch/_variables.scss +107 -169
- package/scss/switch/index.md +0 -0
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +275 -0
- package/scss/table/_theme.scss +82 -0
- package/scss/table/_variables.scss +141 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_layout.scss +37 -5
- package/scss/tabstrip/_theme.scss +3 -0
- package/scss/tabstrip/_variables.scss +3 -3
- package/scss/taskboard/_layout.scss +8 -3
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_layout.scss +3 -1
- package/scss/timeline/_layout.scss +8 -4
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +6 -0
- package/scss/timepicker/_theme.scss +6 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +208 -0
- package/scss/timeselector/_theme.scss +70 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_index.scss +1 -0
- package/scss/toolbar/_layout.scss +45 -3
- package/scss/toolbar/_theme.scss +41 -7
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/tooltip/_layout.scss +6 -1
- package/scss/treelist/_layout.scss +4 -0
- package/scss/treeview/_layout.scss +135 -122
- package/scss/treeview/_theme.scss +51 -42
- package/scss/treeview/_variables.scss +125 -46
- package/scss/typography/_variables.scss +3 -3
- package/scss/upload/_layout.scss +6 -81
- package/scss/utils/_border.scss +1 -2
- package/scss/utils/_flex.scss +11 -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/_layout.scss +13 -2
- package/scss/window/_variables.scss +1 -1
- package/scss/wizard/_layout.scss +4 -0
- package/scss/datetime/_layout.scss +0 -525
- package/scss/datetime/_theme.scss +0 -297
- package/scss/datetime/_variables.scss +0 -53
- package/scss/no-flexbox.scss +0 -71
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;
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
outline: none;
|
|
25
25
|
|
|
26
|
+
*,
|
|
27
|
+
*::before,
|
|
28
|
+
*::after {
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
}
|
|
31
|
+
|
|
26
32
|
&:focus {
|
|
27
33
|
outline: none;
|
|
28
34
|
}
|
|
@@ -30,73 +36,39 @@
|
|
|
30
36
|
|
|
31
37
|
// FAB Icon
|
|
32
38
|
.k-fab-icon {
|
|
33
|
-
width: $fab-icon-width;
|
|
34
|
-
height: $fab-icon-height;
|
|
39
|
+
width: $kendo-fab-icon-width;
|
|
40
|
+
height: $kendo-fab-icon-height;
|
|
35
41
|
|
|
36
42
|
&:not(:only-child) {
|
|
37
|
-
margin-right: $fab-icon-spacing;
|
|
38
|
-
margin-left: -$fab-icon-spacing;
|
|
43
|
+
margin-right: $kendo-fab-icon-spacing;
|
|
44
|
+
margin-left: -$kendo-fab-icon-spacing;
|
|
39
45
|
}
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
|
|
43
49
|
// Sizes
|
|
44
50
|
.k-fab-sm {
|
|
45
|
-
padding: $fab-padding-y-sm $fab-padding-x-sm;
|
|
51
|
+
padding: $kendo-fab-padding-y-sm $kendo-fab-padding-x-sm;
|
|
46
52
|
}
|
|
47
53
|
.k-fab-md {
|
|
48
|
-
padding: $fab-padding-y $fab-padding-x;
|
|
54
|
+
padding: $kendo-fab-padding-y $kendo-fab-padding-x;
|
|
49
55
|
}
|
|
50
56
|
.k-fab-lg {
|
|
51
|
-
padding: $fab-padding-y-lg $fab-padding-x-lg;
|
|
57
|
+
padding: $kendo-fab-padding-y-lg $kendo-fab-padding-x-lg;
|
|
52
58
|
}
|
|
53
59
|
|
|
54
|
-
|
|
55
60
|
// Shapes
|
|
56
|
-
.k-fab-
|
|
57
|
-
border-radius: 0;
|
|
61
|
+
.k-fab-rectangle { }
|
|
58
62
|
|
|
59
|
-
|
|
60
|
-
|
|
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%;
|
|
74
|
-
|
|
75
|
-
&.k-fab-sm {
|
|
76
|
-
width: $fab-size-sm;
|
|
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 );
|
|
63
|
+
.k-fab-square {
|
|
64
|
+
aspect-ratio: 1;
|
|
93
65
|
}
|
|
94
66
|
|
|
95
67
|
|
|
96
68
|
// Items
|
|
97
69
|
.k-fab-items {
|
|
98
70
|
margin: 0;
|
|
99
|
-
padding: $fab-items-padding-y $fab-items-padding-x;
|
|
71
|
+
padding: $kendo-fab-items-padding-y $kendo-fab-items-padding-x;
|
|
100
72
|
display: flex;
|
|
101
73
|
}
|
|
102
74
|
|
|
@@ -141,19 +113,19 @@
|
|
|
141
113
|
}
|
|
142
114
|
|
|
143
115
|
.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;
|
|
116
|
+
padding: $kendo-fab-item-text-padding-y $kendo-fab-item-text-padding-x;
|
|
117
|
+
border-width: $kendo-fab-item-text-border-width;
|
|
118
|
+
border-radius: $kendo-fab-item-text-border-radius;
|
|
119
|
+
font-size: $kendo-fab-item-text-font-size;
|
|
120
|
+
line-height: $kendo-fab-item-text-line-height;
|
|
149
121
|
}
|
|
150
122
|
|
|
151
123
|
.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;
|
|
124
|
+
width: $kendo-fab-item-icon-width;
|
|
125
|
+
height: $kendo-fab-item-icon-height;
|
|
126
|
+
padding: $kendo-fab-item-icon-padding-y $kendo-fab-item-icon-padding-x;
|
|
127
|
+
border-width: $kendo-fab-item-icon-border-width;
|
|
128
|
+
border-radius: $kendo-fab-item-icon-border-radius;
|
|
157
129
|
box-sizing: content-box;
|
|
158
130
|
outline: none;
|
|
159
131
|
}
|
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/filter/_index.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@import "../button/_index.scss";
|
|
7
7
|
@import "../input/_index.scss";
|
|
8
8
|
@import "../checkbox/_index.scss";
|
|
9
|
-
@import "../
|
|
9
|
+
@import "../datetimepicker/_index.scss";
|
|
10
10
|
@import "../dropdownlist/_index.scss";
|
|
11
11
|
@import "../numerictextbox/_index.scss";
|
|
12
12
|
@import "../toolbar/_index.scss";
|
package/scss/filter/_layout.scss
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
@include exports("filter/layout") {
|
|
2
|
+
|
|
2
3
|
.k-filter {
|
|
4
|
+
box-sizing: border-box;
|
|
3
5
|
border-width: 0;
|
|
4
6
|
display: inline-block;
|
|
5
7
|
background-color: transparent;
|
|
6
8
|
|
|
9
|
+
*,
|
|
10
|
+
*::before,
|
|
11
|
+
*::after {
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
}
|
|
14
|
+
|
|
7
15
|
ul {
|
|
8
16
|
padding: 0;
|
|
9
17
|
|
|
@@ -39,10 +47,9 @@
|
|
|
39
47
|
.k-toolbar {
|
|
40
48
|
border-style: solid;
|
|
41
49
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
50
|
+
}
|
|
51
|
+
.k-filter-operator .k-dropdown-list {
|
|
52
|
+
width: $filter-operator-dropdown-width;
|
|
46
53
|
}
|
|
47
54
|
|
|
48
55
|
.k-filter-item {
|
|
@@ -58,7 +65,9 @@
|
|
|
58
65
|
}
|
|
59
66
|
}
|
|
60
67
|
|
|
61
|
-
|
|
68
|
+
// The second selector targets the Angular rendering
|
|
69
|
+
.k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after,
|
|
70
|
+
.k-filter-lines .k-filter-item:last-child > * > .k-filter-toolbar::after {
|
|
62
71
|
content: "";
|
|
63
72
|
position: absolute;
|
|
64
73
|
width: $filter-line-size;
|
|
@@ -67,9 +76,12 @@
|
|
|
67
76
|
left: -$filter-padding-x;
|
|
68
77
|
}
|
|
69
78
|
|
|
79
|
+
// The forth and fifth selectors targets the Angular rendering
|
|
70
80
|
.k-filter-group-main::before,
|
|
71
81
|
.k-filter-group-main > .k-filter-toolbar::before,
|
|
72
82
|
.k-filter-group-main > .k-filter-toolbar::after,
|
|
83
|
+
.k-filter-group-main > * > .k-filter-toolbar::before,
|
|
84
|
+
.k-filter-group-main > * > .k-filter-toolbar::after,
|
|
73
85
|
.k-filter-lines .k-filter-item:last-child::before {
|
|
74
86
|
display: none;
|
|
75
87
|
}
|
|
@@ -99,7 +111,9 @@
|
|
|
99
111
|
}
|
|
100
112
|
}
|
|
101
113
|
|
|
102
|
-
|
|
114
|
+
// The second selector targets the Angular rendering
|
|
115
|
+
.k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after,
|
|
116
|
+
.k-filter-lines .k-filter-item:last-child > * > .k-filter-toolbar::after {
|
|
103
117
|
left: auto;
|
|
104
118
|
right: -$filter-padding-x;
|
|
105
119
|
}
|
package/scss/filter/_theme.scss
CHANGED
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
color: $filter-preview-operator-text;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
// The last selector targets the Angular rendering
|
|
14
15
|
.k-filter-item::before,
|
|
15
16
|
.k-filter-toolbar::before,
|
|
16
|
-
.k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after
|
|
17
|
+
.k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after,
|
|
18
|
+
.k-filter-lines .k-filter-item:last-child > * > .k-filter-toolbar::after {
|
|
17
19
|
background-color: $component-border;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -4,12 +4,19 @@
|
|
|
4
4
|
// Floating label
|
|
5
5
|
.k-floating-label-container {
|
|
6
6
|
padding-top: $floating-label-height;
|
|
7
|
+
box-sizing: border-box;
|
|
7
8
|
display: inline-flex;
|
|
8
9
|
vertical-align: middle;
|
|
9
10
|
position: relative;
|
|
10
11
|
flex-direction: column;
|
|
11
12
|
justify-content: stretch;
|
|
12
13
|
|
|
14
|
+
*,
|
|
15
|
+
*::before,
|
|
16
|
+
*::after {
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
> .k-label {
|
|
14
21
|
max-width: 90%;
|
|
15
22
|
font-size: $floating-label-font-size;
|
package/scss/forms/_index.scss
CHANGED