@progress/kendo-theme-default 5.0.0-next.4 → 5.0.2-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/README.md +5 -8
- package/dist/all.css +13661 -14454
- package/dist/all.scss +15431 -16146
- package/dist/default-dataviz-v4.scss +8 -0
- package/dist/default-main-dark.scss +5 -5
- package/dist/default-main.scss +5 -5
- package/lib/swatches/default-dataviz-v4.json +51 -0
- package/lib/swatches/default-main-dark.json +5 -5
- package/lib/swatches/default-main.json +5 -5
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/_variables.scss +2 -19
- package/scss/action-buttons/_layout.scss +18 -1
- package/scss/action-sheet/_layout.scss +6 -0
- package/scss/adaptive/_layout.scss +46 -98
- package/scss/adaptive/_theme.scss +0 -9
- package/scss/all.scss +1 -150
- 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 -54
- 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 -18
- package/scss/button/_index.scss +3 -1
- package/scss/button/_layout.scss +153 -231
- package/scss/button/_theme.scss +220 -236
- package/scss/button/_variables.scss +199 -127
- package/scss/button/index.md +3 -0
- 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 -5
- package/scss/card/_layout.scss +10 -72
- package/scss/card/_theme.scss +2 -1
- package/scss/card/_variables.scss +5 -5
- 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 +103 -158
- package/scss/checkbox/_theme.scss +37 -41
- package/scss/checkbox/_variables.scss +144 -56
- 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/_index.scss +11 -0
- package/scss/color-preview/_layout.scss +77 -0
- package/scss/color-preview/_theme.scss +17 -0
- package/scss/color-preview/_variables.scss +14 -0
- package/scss/coloreditor/_index.scss +15 -0
- package/scss/coloreditor/_layout.scss +75 -0
- package/scss/coloreditor/_theme.scss +19 -0
- package/scss/coloreditor/_variables.scss +27 -0
- package/scss/colorgradient/_index.scss +18 -0
- package/scss/colorgradient/_layout.scss +193 -0
- package/scss/colorgradient/_theme.scss +82 -0
- package/scss/colorgradient/_variables.scss +51 -0
- package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
- package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
- package/scss/colorpalette/_index.scss +12 -0
- package/scss/colorpalette/_layout.scss +56 -0
- package/scss/colorpalette/_theme.scss +25 -0
- package/scss/colorpalette/_variables.scss +10 -0
- package/scss/colorpicker/_index.scss +3 -6
- package/scss/colorpicker/_layout.scss +7 -466
- package/scss/colorpicker/_theme.scss +2 -187
- package/scss/colorpicker/_variables.scss +1 -40
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +3 -84
- package/scss/combobox/_theme.scss +3 -124
- package/scss/combobox/_variables.scss +1 -33
- package/scss/common/_base.scss +2 -2
- package/scss/common/_loading.scss +15 -13
- package/scss/core/functions/_colors.scss +4 -1
- package/scss/core/mixins/_index.scss +1 -0
- package/scss/core/mixins/_input-ripple.scss +1 -1
- package/scss/core/mixins/_module-system.scss +149 -0
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dataviz/_theme.scss +8 -8
- 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 -101
- package/scss/dropdownlist/_theme.scss +3 -91
- package/scss/dropdownlist/_variables.scss +9 -9
- package/scss/dropdowntree/_layout.scss +5 -15
- 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 +110 -91
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +10 -2
- 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 -56
- package/scss/fab/_theme.scss +56 -68
- package/scss/fab/_variables.scss +129 -71
- 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 -3
- package/scss/floating-label/_theme.scss +0 -2
- package/scss/floating-label/_variables.scss +4 -4
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +22 -113
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +9 -7
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +157 -195
- package/scss/grid/_theme.scss +16 -22
- package/scss/grid/_variables.scss +10 -12
- package/scss/icons/_layout.scss +7 -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 +294 -94
- package/scss/input/_theme.scss +111 -16
- package/scss/input/_variables.scss +116 -92
- 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 +16 -11
- package/scss/map/_theme.scss +5 -5
- package/scss/map/_variables.scss +1 -1
- package/scss/maskedtextbox/_layout.scss +3 -47
- package/scss/maskedtextbox/_theme.scss +3 -21
- 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 +5 -103
- package/scss/numerictextbox/_theme.scss +2 -95
- package/scss/numerictextbox/_variables.scss +0 -31
- 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 +13 -14
- package/scss/pager/_theme.scss +4 -4
- package/scss/pager/_variables.scss +7 -7
- 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 +20 -29
- 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 -283
- 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 +116 -143
- package/scss/radio/_theme.scss +25 -25
- package/scss/radio/_variables.scss +134 -52
- 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/scheduler/_theme.scss +1 -1
- package/scss/scrollview/_layout.scss +6 -1
- package/scss/scrollview/_variables.scss +4 -4
- package/scss/searchbox/_layout.scss +1 -18
- package/scss/searchbox/_theme.scss +1 -46
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/skeleton/_layout.scss +1 -1
- package/scss/slider/_layout.scss +67 -156
- package/scss/slider/_theme.scss +0 -10
- package/scss/slider/_variables.scss +10 -10
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +37 -62
- package/scss/spreadsheet/_theme.scss +19 -19
- package/scss/stepper/_layout.scss +6 -1
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_layout.scss +99 -83
- package/scss/switch/_theme.scss +91 -93
- package/scss/switch/_variables.scss +190 -83
- 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 +1 -0
- package/scss/tabstrip/_variables.scss +3 -3
- package/scss/taskboard/_layout.scss +8 -7
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_layout.scss +1 -89
- package/scss/textarea/_theme.scss +1 -66
- package/scss/textarea/_variables.scss +0 -53
- package/scss/textbox/_layout.scss +1 -73
- package/scss/textbox/_theme.scss +1 -70
- package/scss/textbox/_variables.scss +1 -2
- package/scss/timeline/_layout.scss +8 -4
- package/scss/timeline/_variables.scss +7 -7
- 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 +47 -5
- package/scss/toolbar/_theme.scss +41 -7
- package/scss/toolbar/_variables.scss +3 -1
- 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 +9 -5
- package/scss/utils/_flex.scss +11 -3
- package/scss/utils/_spacing.scss +24 -0
- 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 +3 -3
- package/scss/window/_variables.scss +1 -1
- package/scss/wizard/_layout.scss +4 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
- package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
- package/scss/datetime/_layout.scss +0 -528
- package/scss/datetime/_theme.scss +0 -297
- package/scss/datetime/_variables.scss +0 -53
- package/scss/no-flexbox.scss +0 -72
package/scss/fab/_theme.scss
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
@include exports( "fab/theme" ) {
|
|
2
|
-
// FAB
|
|
3
|
-
.k-fab {
|
|
4
|
-
@include box-shadow($fab-shadow);
|
|
5
|
-
}
|
|
6
2
|
|
|
7
3
|
// Normal state
|
|
8
|
-
@each $name, $color in $fab-theme-colors {
|
|
9
|
-
.k-fab-#{$name} {
|
|
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;
|
|
10
9
|
border-color: $color;
|
|
11
10
|
color: contrast-wcag( $color );
|
|
12
11
|
background-color: $color;
|
|
@@ -14,113 +13,102 @@
|
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
// Hover state
|
|
17
|
-
@each $name, $color in $fab-theme-colors {
|
|
18
|
-
.k-
|
|
19
|
-
.k-
|
|
20
|
-
.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 {
|
|
21
19
|
border-color: try-shade( $color, .5 );
|
|
22
20
|
background-color: try-shade( $color, .5 );
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
// Focus state
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
@each $name, $color in $kendo-fab-theme-colors {
|
|
26
|
+
.k-fab-solid-#{$name}.k-focus,
|
|
27
|
+
.k-fab-solid-#{$name}:focus {
|
|
28
|
+
outline-style: solid;
|
|
29
|
+
outline-width: 2px;
|
|
30
|
+
outline-color: rgba( $color, .3 );
|
|
31
|
+
}
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
// Active state
|
|
34
|
-
@each $name, $color in $fab-theme-colors {
|
|
35
|
-
.k-
|
|
36
|
-
.k-
|
|
37
|
-
.k-fab-#{$name}:active {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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);
|
|
40
|
+
border-color: try-shade( $color, 1.5);
|
|
41
|
+
background-color: try-shade( $color, 1.5);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
// Disabled state
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.k-state-disabled.k-fab-#{$name},
|
|
53
|
-
.k-fab-#{$name}:disabled {
|
|
54
|
-
background-color: tint( $color, 5 );
|
|
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);
|
|
50
|
+
background-color: try-tint( $color, 5 );
|
|
51
|
+
color: try-tint( contrast-wcag( $color ), 5 );
|
|
52
|
+
opacity: 1;
|
|
55
53
|
}
|
|
56
54
|
}
|
|
57
55
|
|
|
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);
|
|
64
|
+
|
|
66
65
|
}
|
|
67
66
|
.k-fab-item-icon {
|
|
68
67
|
@include fill(
|
|
69
|
-
$fab-item-icon-text,
|
|
70
|
-
$fab-item-icon-bg,
|
|
71
|
-
$fab-item-icon-border
|
|
68
|
+
$kendo-fab-item-icon-text,
|
|
69
|
+
$kendo-fab-item-icon-bg,
|
|
70
|
+
$kendo-fab-item-icon-border
|
|
72
71
|
);
|
|
73
|
-
@include box-shadow($fab-item-shadow);
|
|
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;
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
// Hover state
|
|
77
|
-
.k-fab-item.k-
|
|
78
|
-
.k-fab-item.k-state-hovered .k-fab-item-icon
|
|
78
|
+
.k-fab-item.k-hover .k-fab-item-icon,
|
|
79
79
|
.k-fab-item:hover .k-fab-item-icon {
|
|
80
|
-
border-color: try-shade( $fab-item-icon-border, .5 );
|
|
81
|
-
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 );
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
// Focus state
|
|
85
85
|
.k-fab-item:focus .k-fab-item-text,
|
|
86
86
|
.k-fab-item:focus .k-fab-item-icon,
|
|
87
|
-
.k-fab-item.k-
|
|
88
|
-
.k-fab-item.k-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
.k-fab-item.k-focus .k-fab-item-text,
|
|
88
|
+
.k-fab-item.k-focus .k-fab-item-icon {
|
|
89
|
+
outline-style: solid;
|
|
90
|
+
outline-width: 2px;
|
|
91
|
+
outline-color: rgba(0, 0, 0, .08);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
// Active state
|
|
95
|
-
.k-fab-item.k-
|
|
95
|
+
.k-fab-item.k-active .k-fab-item-icon,
|
|
96
96
|
.k-fab-item:active .k-fab-item-icon {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// Disabled state
|
|
103
|
-
.k-fab-item.k-
|
|
103
|
+
.k-fab-item.k-disabled,
|
|
104
104
|
.k-fab-item:disabled {
|
|
105
105
|
opacity: 1;
|
|
106
106
|
|
|
107
107
|
.k-fab-item-text,
|
|
108
108
|
.k-fab-item-icon {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Disabled + Focus state
|
|
115
|
-
.k-fab-item:focus,
|
|
116
|
-
.k-fab-item.k-state-focus,
|
|
117
|
-
.k-fab-item.k-state-focused {
|
|
118
|
-
&:disabled,
|
|
119
|
-
&.k-state-disabled {
|
|
120
|
-
.k-fab-item-text,
|
|
121
|
-
.k-fab-item-icon {
|
|
122
|
-
@include box-shadow($fab-item-disabled-focus-shadow);
|
|
123
|
-
}
|
|
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 );
|
|
124
112
|
}
|
|
125
113
|
}
|
|
126
114
|
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -1,73 +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: 0px !default;
|
|
5
|
-
$fab-border-radius: $border-radius * 2 !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
|
-
|
|
38
|
-
$fab-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
$fab-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
$fab-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
$fab-item-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
$fab-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
$
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
$fab-
|
|
73
|
-
|
|
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
|
}
|
|
@@ -2,16 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
// Floating label
|
|
5
|
-
.k-textbox-container,
|
|
6
5
|
.k-floating-label-container {
|
|
7
6
|
padding-top: $floating-label-height;
|
|
8
|
-
|
|
7
|
+
box-sizing: border-box;
|
|
9
8
|
display: inline-flex;
|
|
10
9
|
vertical-align: middle;
|
|
11
10
|
position: relative;
|
|
12
11
|
flex-direction: column;
|
|
13
12
|
justify-content: stretch;
|
|
14
13
|
|
|
14
|
+
*,
|
|
15
|
+
*::before,
|
|
16
|
+
*::after {
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
> .k-label {
|
|
16
21
|
max-width: 90%;
|
|
17
22
|
font-size: $floating-label-font-size;
|
|
@@ -28,7 +33,6 @@
|
|
|
28
33
|
pointer-events: none;
|
|
29
34
|
}
|
|
30
35
|
|
|
31
|
-
> .k-textbox,
|
|
32
36
|
> .k-widget {
|
|
33
37
|
flex: 1 1 auto;
|
|
34
38
|
width: auto;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Floating label
|
|
2
2
|
$floating-label-scale: 1 !default;
|
|
3
|
-
$floating-label-font-size: $input-font-size !default;
|
|
4
|
-
$floating-label-line-height: $input-line-height !default;
|
|
3
|
+
$floating-label-font-size: $kendo-input-font-size !default;
|
|
4
|
+
$floating-label-line-height: $kendo-input-line-height !default;
|
|
5
5
|
$floating-label-height: calc( #{$floating-label-line-height} * #{$floating-label-font-size} ) !default;
|
|
6
|
-
$floating-label-offset-x: calc( #{$input-padding-x} + #{$input-border-width} ) !default;
|
|
7
|
-
$floating-label-offset-y: calc( #{$floating-label-height} + #{$input-border-width} + #{$input-padding-y} ) !default;
|
|
6
|
+
$floating-label-offset-x: calc( #{$kendo-input-padding-x} + #{$kendo-input-border-width} ) !default;
|
|
7
|
+
$floating-label-offset-y: calc( #{$floating-label-height} + #{$kendo-input-border-width} + #{$kendo-input-padding-y} ) !default;
|
|
8
8
|
|
|
9
9
|
$floating-label-focus-scale: 1 !default;
|
|
10
10
|
$floating-label-focus-offset-x: 0 !default;
|
package/scss/forms/_index.scss
CHANGED