@progress/kendo-theme-classic 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 +10 -17
- package/dist/all.css +13159 -13920
- package/dist/all.scss +16096 -16723
- package/package.json +3 -3
- package/scss/_variables.scss +2 -19
- package/scss/all.scss +1 -150
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_variables.scss +0 -24
- package/scss/avatar/_variables.scss +18 -8
- package/scss/button/_index.scss +3 -2
- package/scss/button/_variables.scss +199 -127
- package/scss/calendar/_index.scss +1 -0
- package/scss/card/_variables.scss +5 -5
- package/scss/chat/_variables.scss +3 -18
- package/scss/checkbox/_index.scss +2 -0
- package/scss/checkbox/_variables.scss +144 -56
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_variables.scss +142 -191
- package/scss/color-preview/_index.scss +11 -0
- package/scss/color-preview/_layout.scss +1 -0
- package/scss/color-preview/_theme.scss +1 -0
- package/scss/color-preview/_variables.scss +14 -0
- package/scss/coloreditor/_index.scss +15 -0
- package/scss/coloreditor/_layout.scss +1 -0
- package/scss/coloreditor/_theme.scss +1 -0
- package/scss/coloreditor/_variables.scss +27 -0
- package/scss/colorgradient/_index.scss +19 -0
- package/scss/colorgradient/_layout.scss +1 -0
- package/scss/colorgradient/_theme.scss +1 -0
- package/scss/colorgradient/_variables.scss +52 -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 +1 -0
- package/scss/colorpalette/_theme.scss +1 -0
- package/scss/colorpalette/_variables.scss +10 -0
- package/scss/colorpicker/_index.scss +3 -6
- package/scss/colorpicker/_variables.scss +1 -40
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_variables.scss +1 -33
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dateinput/_index.scss +11 -0
- package/scss/dateinput/_layout.scss +1 -0
- package/scss/dateinput/_theme.scss +1 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +13 -0
- package/scss/datepicker/_layout.scss +1 -0
- package/scss/datepicker/_theme.scss +1 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/{datetime → daterangepicker}/_index.scss +1 -2
- package/scss/daterangepicker/_layout.scss +1 -0
- package/scss/daterangepicker/_theme.scss +1 -0
- package/scss/daterangepicker/_variables.scss +2 -0
- package/scss/datetimepicker/_index.scss +17 -0
- package/scss/datetimepicker/_layout.scss +1 -0
- package/scss/datetimepicker/_theme.scss +1 -0
- package/scss/datetimepicker/_variables.scss +2 -0
- package/scss/drawer/_index.scss +1 -0
- package/scss/drawer/_variables.scss +1 -1
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/dropdownlist/_variables.scss +12 -12
- package/scss/dropdowntree/_variables.scss +2 -4
- package/scss/editor/_variables.scss +10 -2
- package/scss/expansion-panel/_index.scss +3 -0
- package/scss/expansion-panel/_variables.scss +2 -2
- package/scss/fab/_variables.scss +129 -72
- package/scss/fab/index.md +0 -0
- package/scss/filter/_index.scss +1 -1
- package/scss/floating-label/_variables.scss +4 -4
- package/scss/forms/_index.scss +1 -1
- package/scss/gantt/_index.scss +1 -1
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_variables.scss +10 -12
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +157 -0
- package/scss/input/_index.scss +1 -1
- package/scss/input/_variables.scss +116 -92
- package/scss/list/_index.scss +12 -0
- package/scss/list/_layout.scss +1 -0
- package/scss/list/_theme.scss +1 -0
- package/scss/list/_variables.scss +248 -0
- package/scss/listbox/_index.scss +2 -0
- package/scss/listbox/_variables.scss +1 -1
- package/scss/map/_variables.scss +1 -1
- package/scss/menu/_index.scss +2 -0
- package/scss/menu/_variables.scss +123 -34
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_variables.scss +0 -36
- package/scss/numerictextbox/_variables.scss +0 -31
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_index.scss +1 -0
- package/scss/pager/_variables.scss +7 -7
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_variables.scss +7 -2
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_variables.scss +1 -4
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +2 -0
- package/scss/radio/_variables.scss +134 -52
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scrollview/_variables.scss +4 -4
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/slider/_variables.scss +10 -10
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_variables.scss +190 -83
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +1 -0
- package/scss/table/_theme.scss +1 -0
- package/scss/table/_variables.scss +141 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_variables.scss +3 -3
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_variables.scss +0 -53
- package/scss/textbox/_variables.scss +1 -2
- package/scss/timeline/_variables.scss +7 -7
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +1 -0
- package/scss/timepicker/_theme.scss +1 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +1 -0
- package/scss/timeselector/_theme.scss +1 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_index.scss +1 -0
- package/scss/toolbar/_variables.scss +6 -4
- package/scss/treeview/_variables.scss +125 -46
- package/scss/typography/_variables.scss +3 -3
- package/scss/utils/_border.scss +9 -0
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +1 -0
- package/scss/virtual-scroller/_theme.scss +1 -0
- package/scss/virtual-scroller/_variables.scss +1 -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 -1
- package/scss/datetime/_theme.scss +0 -1
- package/scss/datetime/_variables.scss +0 -53
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-classic",
|
|
3
3
|
"description": "Sass port of less based themes for Kendo UI theme",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.2-dev.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"postpublish": "echo 'no postpublish for classic theme'"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@progress/kendo-theme-default": "^5.0.
|
|
52
|
+
"@progress/kendo-theme-default": "^5.0.2-dev.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "aa428c88a51a5b5462ad9d55a3e5c94646d1b386"
|
|
55
55
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -10,6 +10,8 @@ $enable-flex-classes: true !default;
|
|
|
10
10
|
$enable-grid-classes: true !default;
|
|
11
11
|
|
|
12
12
|
$use-calc-badge-size: true !default;
|
|
13
|
+
$use-input-button-width: false !default;
|
|
14
|
+
$use-input-spinner-width: false !default;
|
|
13
15
|
$use-picker-select-width: false !default;
|
|
14
16
|
|
|
15
17
|
|
|
@@ -351,25 +353,6 @@ $node-selected-border: $node-selected-bg !default;
|
|
|
351
353
|
$node-selected-gradient: null !default;
|
|
352
354
|
|
|
353
355
|
|
|
354
|
-
// List
|
|
355
|
-
$list-item-padding-x: $padding-x !default;
|
|
356
|
-
$list-item-padding-y: $padding-y !default;
|
|
357
|
-
|
|
358
|
-
$list-item-bg: null !default;
|
|
359
|
-
$list-item-text: null !default;
|
|
360
|
-
|
|
361
|
-
$list-item-hovered-bg: $hovered-bg !default;
|
|
362
|
-
$list-item-hovered-text: $hovered-text !default;
|
|
363
|
-
|
|
364
|
-
$list-item-selected-bg: $selected-bg !default;
|
|
365
|
-
$list-item-selected-text: $selected-text !default;
|
|
366
|
-
|
|
367
|
-
$list-item-focused-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12) !default;
|
|
368
|
-
|
|
369
|
-
$list-container-shadow: 0 5px 10px 0 rgba(0, 0, 0, .06) !default;
|
|
370
|
-
$list-container-no-data-text: rgba( $component-text, .5 ) !default;
|
|
371
|
-
|
|
372
|
-
|
|
373
356
|
// Loading
|
|
374
357
|
|
|
375
358
|
|
package/scss/all.scss
CHANGED
|
@@ -1,150 +1 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "core/mixins/_index.scss";
|
|
3
|
-
@import "_variables.scss";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Core
|
|
7
|
-
// @import "core/_index.scss";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
// Dependencies
|
|
11
|
-
@import "common/_index.scss";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
// Generic content
|
|
15
|
-
@import "styling/_index.scss";
|
|
16
|
-
@import "utils/_index.scss";
|
|
17
|
-
@import "icons/_index.scss";
|
|
18
|
-
@import "typography/_index.scss";
|
|
19
|
-
@import "avatar/_index.scss";
|
|
20
|
-
@import "badge/_index.scss";
|
|
21
|
-
@import "loader/_index.scss";
|
|
22
|
-
@import "chip/_index.scss";
|
|
23
|
-
@import "cursor/_index.scss";
|
|
24
|
-
// @import "list/_index.scss";
|
|
25
|
-
@import "forms/_index.scss";
|
|
26
|
-
@import "listgroup/_index.scss";
|
|
27
|
-
@import "adaptive/_index.scss";
|
|
28
|
-
// @import "loading/_index.scss";
|
|
29
|
-
@import "progressbar/_index.scss";
|
|
30
|
-
@import "ripple/_index.scss";
|
|
31
|
-
// @import "table/_index.scss";
|
|
32
|
-
@import "messagebox/_index.scss";
|
|
33
|
-
@import "overlay/_index.scss";
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
// Basic forms
|
|
37
|
-
@import "button/_index.scss";
|
|
38
|
-
@import "action-buttons/_index.scss";
|
|
39
|
-
@import "input/_index.scss";
|
|
40
|
-
@import "floating-label/_index.scss";
|
|
41
|
-
@import "textbox/_index.scss";
|
|
42
|
-
@import "textarea/_index.scss";
|
|
43
|
-
@import "checkbox/_index.scss";
|
|
44
|
-
@import "radio/_index.scss";
|
|
45
|
-
@import "validator/_index.scss";
|
|
46
|
-
@import "fab/_index.scss";
|
|
47
|
-
@import "captcha/_index.scss";
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
// Inputs
|
|
51
|
-
@import "autocomplete/_index.scss";
|
|
52
|
-
@import "colorpicker/_index.scss";
|
|
53
|
-
@import "combobox/_index.scss";
|
|
54
|
-
@import "datetime/_index.scss";
|
|
55
|
-
@import "dropdowngrid/_index.scss";
|
|
56
|
-
@import "dropdownlist/_index.scss";
|
|
57
|
-
@import "dropdowntree/_index.scss";
|
|
58
|
-
@import "maskedtextbox/_index.scss";
|
|
59
|
-
@import "multiselect/_index.scss";
|
|
60
|
-
@import "numerictextbox/_index.scss";
|
|
61
|
-
@import "searchbox/_index.scss";
|
|
62
|
-
@import "upload/_index.scss";
|
|
63
|
-
@import "dropzone/_index.scss";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
// Other forms
|
|
67
|
-
@import "listbox/_index.scss";
|
|
68
|
-
@import "slider/_index.scss";
|
|
69
|
-
@import "switch/_index.scss";
|
|
70
|
-
@import "rating/_index.scss";
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
// Date time
|
|
74
|
-
@import "calendar/_index.scss";
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
// Command interfaces
|
|
78
|
-
@import "appbar/_index.scss";
|
|
79
|
-
@import "menu/_index.scss";
|
|
80
|
-
@import "toolbar/_index.scss";
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
// Popups and modals
|
|
84
|
-
@import "dialog/_index.scss";
|
|
85
|
-
@import "drawer/_index.scss";
|
|
86
|
-
@import "notification/_index.scss";
|
|
87
|
-
@import "popup/_index.scss";
|
|
88
|
-
@import "responsivepanel/_index.scss";
|
|
89
|
-
@import "tooltip/_index.scss";
|
|
90
|
-
@import "window/_index.scss";
|
|
91
|
-
@import "action-sheet/_index.scss";
|
|
92
|
-
@import "popover/_index.scss";
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
// Navigation
|
|
96
|
-
@import "breadcrumb/_index.scss";
|
|
97
|
-
@import "pager/_index.scss";
|
|
98
|
-
@import "panelbar/_index.scss";
|
|
99
|
-
@import "stepper/_index.scss";
|
|
100
|
-
@import "wizard/_index.scss";
|
|
101
|
-
@import "tabstrip/_index.scss";
|
|
102
|
-
@import "treeview/_index.scss";
|
|
103
|
-
@import "expansion-panel/_index.scss";
|
|
104
|
-
@import "bottom-navigation/_index.scss";
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
// Layout & containers
|
|
108
|
-
@import "card/_index.scss";
|
|
109
|
-
@import "splitter/_index.scss";
|
|
110
|
-
@import "tilelayout/_index.scss";
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
// Data management
|
|
114
|
-
@import "grid/_index.scss";
|
|
115
|
-
@import "listview/_index.scss";
|
|
116
|
-
@import "spreadsheet/_index.scss";
|
|
117
|
-
@import "pivotgrid/_index.scss";
|
|
118
|
-
@import "treelist/_index.scss";
|
|
119
|
-
@import "filter/_index.scss";
|
|
120
|
-
@import "filemanager/_index.scss";
|
|
121
|
-
@import "taskboard/_index.scss";
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
// Editor
|
|
125
|
-
@import "editor/_index.scss";
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
// Image Editor
|
|
129
|
-
@import "imageeditor/_index.scss";
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
// Scheduling
|
|
133
|
-
@import "gantt/_index.scss";
|
|
134
|
-
@import "scheduler/_index.scss";
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
// Misc
|
|
138
|
-
@import "chat/_index.scss";
|
|
139
|
-
@import "mediaplayer/_index.scss";
|
|
140
|
-
@import "timeline/_index.scss";
|
|
141
|
-
@import "pdf-viewer/_index.scss";
|
|
142
|
-
@import "scroller/_index.scss";
|
|
143
|
-
@import "scrollview/_index.scss";
|
|
144
|
-
@import "skeleton/_index.scss";
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
// Dataviz
|
|
148
|
-
@import "dataviz/_index.scss";
|
|
149
|
-
@import "map/_index.scss";
|
|
150
|
-
@import "orgchart/_index.scss";
|
|
1
|
+
@import "index.scss";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
$appbar-margin-y: null !default;
|
|
3
3
|
$appbar-margin-x: null !default;
|
|
4
4
|
$appbar-padding-y: map-get( $spacing, 2 ) !default;
|
|
5
|
-
$appbar-padding-x: map-get( $spacing,
|
|
5
|
+
$appbar-padding-x: map-get( $spacing, 2 ) !default;
|
|
6
6
|
$appbar-border-width: 0px !default;
|
|
7
7
|
|
|
8
8
|
$appbar-zindex: 1000 !default;
|
|
@@ -1,25 +1 @@
|
|
|
1
1
|
// Autocomplete
|
|
2
|
-
$autocomplete-bg: $input-bg !default;
|
|
3
|
-
$autocomplete-text: $input-text !default;
|
|
4
|
-
$autocomplete-border: $input-border !default;
|
|
5
|
-
$autocomplete-shadow: $input-shadow !default;
|
|
6
|
-
|
|
7
|
-
$autocomplete-hovered-bg: $input-hovered-bg !default;
|
|
8
|
-
$autocomplete-hovered-text: $input-hovered-text !default;
|
|
9
|
-
$autocomplete-hovered-border: $input-hovered-border !default;
|
|
10
|
-
$autocomplete-hovered-shadow: $input-hovered-shadow !default;
|
|
11
|
-
|
|
12
|
-
$autocomplete-focused-bg: $input-focused-bg !default;
|
|
13
|
-
$autocomplete-focused-text: $input-focused-text !default;
|
|
14
|
-
$autocomplete-focused-border: $input-focused-border !default;
|
|
15
|
-
$autocomplete-focused-shadow: $input-focused-shadow !default;
|
|
16
|
-
|
|
17
|
-
$autocomplete-disabled-bg: null !default;
|
|
18
|
-
$autocomplete-disabled-text: null !default;
|
|
19
|
-
$autocomplete-disabled-border: null !default;
|
|
20
|
-
$autocomplete-disabled-shadow: null !default;
|
|
21
|
-
|
|
22
|
-
$autocomplete-invalid-bg: null !default;
|
|
23
|
-
$autocomplete-invalid-text: null !default;
|
|
24
|
-
$autocomplete-invalid-border: $invalid-border !default;
|
|
25
|
-
$autocomplete-invalid-shadow: $invalid-shadow !default;
|
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
// Avatar
|
|
2
|
-
$avatar-border-width: 1px !default;
|
|
3
|
-
$avatar-border-radius: map-get( $spacing, 1 ) !default;
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$avatar-
|
|
3
|
+
/// Border width of the avatar.
|
|
4
|
+
/// @group avatar
|
|
5
|
+
$kendo-avatar-border-width: 1px !default;
|
|
8
6
|
|
|
7
|
+
/// Font family of the avatar.
|
|
8
|
+
/// @group avatar
|
|
9
|
+
$kendo-avatar-font-family: $font-family !default;
|
|
10
|
+
/// Font size of the avatar.
|
|
11
|
+
/// @group avatar
|
|
12
|
+
$kendo-avatar-font-size: $font-size !default;
|
|
13
|
+
/// Line height of the avatar.
|
|
14
|
+
/// @group avatar
|
|
15
|
+
$kendo-avatar-line-height: $line-height !default;
|
|
9
16
|
|
|
10
|
-
|
|
17
|
+
/// The sizes of the avatar.
|
|
18
|
+
/// @group avatar
|
|
19
|
+
$kendo-avatar-sizes: (
|
|
11
20
|
sm: map-get( $spacing, 4 ),
|
|
12
21
|
md: map-get( $spacing, 8 ),
|
|
13
22
|
lg: map-get( $spacing, 16 )
|
|
14
23
|
) !default;
|
|
15
24
|
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
/// Theme colors map of the avatar.
|
|
26
|
+
/// @group avatar
|
|
27
|
+
$kendo-avatar-theme-colors: $theme-colors !default;
|
package/scss/button/_index.scss
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
// Dependencies
|
|
5
|
-
@import "../common/_index.scss";
|
|
6
5
|
@import "../badge/_index.scss";
|
|
7
6
|
@import "../icons/_index.scss";
|
|
8
|
-
|
|
7
|
+
@import "../popup/_index.scss";
|
|
8
|
+
@import "../list/_index.scss";
|
|
9
|
+
@import "../typography/_variables.scss";
|
|
9
10
|
|
|
10
11
|
// Component
|
|
11
12
|
@import "_variables.scss";
|
|
@@ -1,132 +1,204 @@
|
|
|
1
1
|
// Button
|
|
2
2
|
|
|
3
|
-
/// Width of border around
|
|
4
|
-
/// @group
|
|
5
|
-
$button-border-width: 1px !default;
|
|
6
|
-
|
|
7
|
-
///
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
///
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$button-padding-
|
|
16
|
-
$button-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
$button-padding-
|
|
21
|
-
$button-padding-y-sm: $
|
|
22
|
-
$button-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
///
|
|
31
|
-
|
|
32
|
-
$button-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
///
|
|
37
|
-
/// @group
|
|
38
|
-
$button-
|
|
39
|
-
$button-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
///
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
///
|
|
48
|
-
/// @group
|
|
49
|
-
$button-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
$button-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
///
|
|
56
|
-
|
|
57
|
-
$
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/// The
|
|
62
|
-
/// @group
|
|
63
|
-
$button-
|
|
64
|
-
/// The
|
|
65
|
-
/// @group
|
|
66
|
-
$button-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
///
|
|
71
|
-
|
|
3
|
+
/// Width of the border around the button.
|
|
4
|
+
/// @group button
|
|
5
|
+
$kendo-button-border-width: 1px !default;
|
|
6
|
+
|
|
7
|
+
/// Border radius of the button.
|
|
8
|
+
/// @group button
|
|
9
|
+
$kendo-button-border-radius: null !default;
|
|
10
|
+
|
|
11
|
+
/// Horizontal padding of the button.
|
|
12
|
+
/// @group button
|
|
13
|
+
$kendo-button-padding-x: map-get( $spacing, 2 ) !default;
|
|
14
|
+
$kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
|
|
15
|
+
$kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
|
|
16
|
+
$kendo-button-padding-x-lg: map-get( $spacing, 2 ) !default;
|
|
17
|
+
|
|
18
|
+
/// Vertical padding of the button.
|
|
19
|
+
/// @group button
|
|
20
|
+
$kendo-button-padding-y: map-get( $spacing, 1 ) !default;
|
|
21
|
+
$kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
|
|
22
|
+
$kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
|
|
23
|
+
$kendo-button-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
|
|
24
|
+
|
|
25
|
+
/// Font family of the button.
|
|
26
|
+
/// @group button
|
|
27
|
+
$kendo-button-font-family: $font-family !default;
|
|
28
|
+
|
|
29
|
+
/// Font sizes of the button.
|
|
30
|
+
/// @group button
|
|
31
|
+
$kendo-button-font-size: $font-size-md !default;
|
|
32
|
+
$kendo-button-font-size-sm: $font-size-md !default;
|
|
33
|
+
$kendo-button-font-size-md: $font-size-md !default;
|
|
34
|
+
$kendo-button-font-size-lg: $font-size-md !default;
|
|
35
|
+
|
|
36
|
+
/// Line heights used along with $font-size.
|
|
37
|
+
/// @group button
|
|
38
|
+
$kendo-button-line-height: $line-height-md !default;
|
|
39
|
+
$kendo-button-line-height-sm: $line-height-md !default;
|
|
40
|
+
$kendo-button-line-height-md: $line-height-md !default;
|
|
41
|
+
$kendo-button-line-height-lg: $line-height-md !default;
|
|
42
|
+
|
|
43
|
+
/// Calculated height of the button.
|
|
44
|
+
/// @group button
|
|
45
|
+
$kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
|
|
46
|
+
|
|
47
|
+
/// Calculated inner height of the button. Without the border width.
|
|
48
|
+
/// @group button
|
|
49
|
+
$kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
|
|
50
|
+
|
|
51
|
+
$kendo-button-arrow-padding-x: $kendo-button-padding-y !default;
|
|
52
|
+
$kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
|
|
53
|
+
|
|
54
|
+
/// Theme colors map for the button.
|
|
55
|
+
/// @group button
|
|
56
|
+
$kendo-button-theme-colors: map-merge(
|
|
57
|
+
$theme-colors,
|
|
58
|
+
( "base": $base-bg )
|
|
59
|
+
) !default;
|
|
60
|
+
|
|
61
|
+
/// The base background of the button.
|
|
62
|
+
/// @group button
|
|
63
|
+
$kendo-button-bg: $base-bg !default;
|
|
64
|
+
/// The base text color of the button.
|
|
65
|
+
/// @group button
|
|
66
|
+
$kendo-button-text: $base-text !default;
|
|
67
|
+
/// The base border color of the button.
|
|
68
|
+
/// @group button
|
|
69
|
+
$kendo-button-border: try-shade( $kendo-button-bg, 2 ) !default;
|
|
70
|
+
/// The base background gradient of the button.
|
|
71
|
+
/// @group button
|
|
72
|
+
$kendo-button-gradient: $base-gradient !default;
|
|
73
|
+
/// The base shadow of the button.
|
|
74
|
+
/// @group button
|
|
75
|
+
$kendo-button-shadow: null !default;
|
|
76
|
+
|
|
77
|
+
/// The base background of hovered button.
|
|
78
|
+
/// @group button
|
|
79
|
+
$kendo-button-hover-bg: try-shade( $kendo-button-bg, 1 ) !default;
|
|
80
|
+
/// The base text color of hovered button.
|
|
81
|
+
/// @group button
|
|
82
|
+
$kendo-button-hover-text: null !default;
|
|
83
|
+
/// The base border color of hovered button.
|
|
84
|
+
/// @group button
|
|
85
|
+
$kendo-button-hover-border: try-shade( $kendo-button-bg, 3 ) !default;
|
|
86
|
+
/// The base background gradient of hovered button.
|
|
87
|
+
/// @group button
|
|
88
|
+
$kendo-button-hover-gradient: null !default;
|
|
89
|
+
/// The base shadow of hovered button.
|
|
90
|
+
/// @group button
|
|
91
|
+
$kendo-button-hover-shadow: null !default;
|
|
92
|
+
|
|
93
|
+
/// The base background color of active button.
|
|
94
|
+
/// @group button
|
|
95
|
+
$kendo-button-active-bg: try-shade( $kendo-button-bg, 2 ) !default;
|
|
96
|
+
/// The base text color of active button.
|
|
97
|
+
/// @group button
|
|
98
|
+
$kendo-button-active-text: null !default;
|
|
99
|
+
/// The base border color of active button.
|
|
100
|
+
/// @group button
|
|
101
|
+
$kendo-button-active-border: try-shade( $kendo-button-bg, 4 ) !default;
|
|
102
|
+
/// The base background gradient of active button.
|
|
103
|
+
/// @group button
|
|
104
|
+
$kendo-button-active-gradient: null !default;
|
|
105
|
+
/// The base shadow of active button.
|
|
106
|
+
/// @group button
|
|
107
|
+
$kendo-button-active-shadow: null !default;
|
|
108
|
+
|
|
109
|
+
/// The base background color of selected button.
|
|
110
|
+
/// @group button
|
|
111
|
+
$kendo-button-selected-bg: $primary !default;
|
|
72
112
|
/// The text color of selected buttons.
|
|
73
|
-
/// @group
|
|
74
|
-
$button-selected-text: $button-
|
|
113
|
+
/// @group button
|
|
114
|
+
$kendo-button-selected-text: contrast-wcag( $kendo-button-selected-bg ) !default;
|
|
75
115
|
/// The border color of selected buttons.
|
|
76
|
-
/// @group
|
|
77
|
-
$button-selected-border: $button-
|
|
116
|
+
/// @group button
|
|
117
|
+
$kendo-button-selected-border: $kendo-button-selected-bg !default;
|
|
78
118
|
/// The background gradient of selected buttons.
|
|
79
|
-
/// @group
|
|
80
|
-
$button-selected-gradient:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
$button-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
$button-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
$
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
$
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
$
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
$
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
$
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
$
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
$
|
|
119
|
-
$
|
|
120
|
-
|
|
121
|
-
$
|
|
122
|
-
|
|
123
|
-
$button-
|
|
124
|
-
|
|
125
|
-
$
|
|
126
|
-
$
|
|
127
|
-
$
|
|
128
|
-
$
|
|
129
|
-
|
|
130
|
-
$
|
|
131
|
-
$
|
|
132
|
-
$
|
|
119
|
+
/// @group button
|
|
120
|
+
$kendo-button-selected-gradient: $kendo-button-active-gradient !default;
|
|
121
|
+
/// The base shadow of selected button.
|
|
122
|
+
/// @group button
|
|
123
|
+
$kendo-button-selected-shadow: $kendo-button-active-shadow !default;
|
|
124
|
+
|
|
125
|
+
/// The base background of focused button.
|
|
126
|
+
/// @group button
|
|
127
|
+
$kendo-button-focus-bg: null !default;
|
|
128
|
+
/// The base text color of focused button.
|
|
129
|
+
/// @group button
|
|
130
|
+
$kendo-button-focus-text: null !default;
|
|
131
|
+
/// The base border color of focused button.
|
|
132
|
+
/// @group button
|
|
133
|
+
$kendo-button-focus-border: null !default;
|
|
134
|
+
/// The base background gradient of focused button.
|
|
135
|
+
/// @group button
|
|
136
|
+
$kendo-button-focus-gradient: null !default;
|
|
137
|
+
/// The base shadow of focused button.
|
|
138
|
+
/// @group button
|
|
139
|
+
$kendo-button-focus-shadow: 0 0 4px 0 rgba( $kendo-button-border, .75 ) !default;
|
|
140
|
+
|
|
141
|
+
/// The base background of disabled button.
|
|
142
|
+
/// @group button
|
|
143
|
+
$kendo-button-disabled-bg: null !default;
|
|
144
|
+
/// The base text color of disabled button.
|
|
145
|
+
/// @group button
|
|
146
|
+
$kendo-button-disabled-text: null !default;
|
|
147
|
+
/// The base border color of disabled buttons.
|
|
148
|
+
/// @group button
|
|
149
|
+
$kendo-button-disabled-border: null !default;
|
|
150
|
+
/// The base background gradient of disabled button.
|
|
151
|
+
/// @group button
|
|
152
|
+
$kendo-button-disabled-gradient: null !default;
|
|
153
|
+
/// The base shadow of disabled button.
|
|
154
|
+
/// @group button
|
|
155
|
+
$kendo-button-disabled-shadow: null !default;
|
|
156
|
+
|
|
157
|
+
// Solid button
|
|
158
|
+
$kendo-solid-button-gradient: $base-gradient !default;
|
|
159
|
+
$kendo-solid-button-shade-function: "try-shade";
|
|
160
|
+
$kendo-solid-button-shade-text-amount: 0 !default;
|
|
161
|
+
$kendo-solid-button-shade-bg-amount: 0 !default;
|
|
162
|
+
$kendo-solid-button-shade-border-amount: 2 !default;
|
|
163
|
+
$kendo-solid-button-hover-shade-text-amount: null !default;
|
|
164
|
+
$kendo-solid-button-hover-shade-bg-amount: 1 !default;
|
|
165
|
+
$kendo-solid-button-hover-shade-border-amount: 3 !default;
|
|
166
|
+
$kendo-solid-button-active-shade-text-amount: null !default;
|
|
167
|
+
$kendo-solid-button-active-shade-bg-amount: 2 !default;
|
|
168
|
+
$kendo-solid-button-active-shade-border-amount: 4 !default;
|
|
169
|
+
$kendo-solid-button-shadow: true !default;
|
|
170
|
+
$kendo-solid-button-shadow-blur: 4px !default;
|
|
171
|
+
$kendo-solid-button-shadow-spread: 0px !default;
|
|
172
|
+
$kendo-solid-button-shadow-opacity: .75 !default;
|
|
173
|
+
|
|
174
|
+
// Outline button
|
|
175
|
+
$kendo-outline-button-shadow: true !default;
|
|
176
|
+
$kendo-outline-button-shadow-blur: 4px !default;
|
|
177
|
+
$kendo-outline-button-shadow-spread: 0px !default;
|
|
178
|
+
$kendo-outline-button-shadow-opacity: .75 !default;
|
|
179
|
+
|
|
180
|
+
// Link button
|
|
181
|
+
$kendo-link-button-shadow: true !default;
|
|
182
|
+
$kendo-link-button-shadow-blur: 4px !default;
|
|
183
|
+
$kendo-link-button-shadow-spread: 0px !default;
|
|
184
|
+
$kendo-link-button-shadow-opacity: .75 !default;
|
|
185
|
+
|
|
186
|
+
// Clear button
|
|
187
|
+
$kendo-clear-button-focus-opacity: .1 !default;
|
|
188
|
+
|
|
189
|
+
/// The overlay opacity of hovered flat button. Used to create background for the flat button.
|
|
190
|
+
/// @group button
|
|
191
|
+
$kendo-flat-button-hover-opacity: .08 !default;
|
|
192
|
+
/// The overlay opacity of focused flat button. Used to create background for the flat button.
|
|
193
|
+
/// @group button
|
|
194
|
+
$kendo-flat-button-focus-opacity: .12 !default;
|
|
195
|
+
/// The overlay opacity of active flat button. Used to create background for the flat button.
|
|
196
|
+
/// @group button
|
|
197
|
+
$kendo-flat-button-active-opacity: .16 !default;
|
|
198
|
+
/// The overlay opacity of selected flat button. Used to create background for the flat button.
|
|
199
|
+
/// @group button
|
|
200
|
+
$kendo-flat-button-selected-opacity: .2 !default;
|
|
201
|
+
|
|
202
|
+
/// The color transition of the flat button.
|
|
203
|
+
/// @group button
|
|
204
|
+
$kendo-button-transition: color .2s ease-in-out !default;
|