@progress/kendo-theme-default 4.42.0 → 5.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +1770 -2399
- package/dist/all.scss +2180 -3833
- package/package.json +4 -4
- package/scss/_variables.scss +2 -0
- package/scss/action-buttons/_layout.scss +1 -0
- package/scss/adaptive/_layout.scss +0 -16
- package/scss/autocomplete/_layout.scss +1 -54
- package/scss/autocomplete/_theme.scss +2 -74
- package/scss/autocomplete/_variables.scss +12 -12
- package/scss/breadcrumb/_layout.scss +0 -5
- package/scss/button/_layout.scss +108 -116
- package/scss/button/_theme.scss +253 -264
- package/scss/button/_variables.scss +170 -130
- package/scss/button/index.md +3 -0
- package/scss/captcha/_layout.scss +0 -5
- package/scss/card/_layout.scss +4 -72
- package/scss/card/_theme.scss +2 -1
- package/scss/card/_variables.scss +1 -1
- package/scss/chat/_layout.scss +24 -20
- package/scss/chat/_variables.scss +8 -8
- package/scss/checkbox/_layout.scss +87 -91
- package/scss/checkbox/_theme.scss +34 -40
- package/scss/checkbox/_variables.scss +153 -56
- package/scss/colorgradient/_layout.scss +0 -4
- package/scss/colorpicker/_layout.scss +2 -130
- package/scss/colorpicker/_theme.scss +2 -64
- package/scss/colorpicker/_variables.scss +9 -9
- package/scss/combobox/_layout.scss +2 -83
- package/scss/combobox/_theme.scss +2 -123
- package/scss/combobox/_variables.scss +23 -23
- package/scss/common/_base.scss +1 -2
- package/scss/core/_normalize.scss +11 -0
- package/scss/core/mixins/_input-ripple.scss +1 -1
- package/scss/dataviz/_theme.scss +8 -8
- package/scss/dataviz/_variables.scss +6 -6
- package/scss/datetime/_layout.scss +25 -79
- package/scss/datetime/_variables.scss +27 -27
- package/scss/dropdowngrid/_layout.scss +4 -0
- package/scss/dropdowngrid/_theme.scss +3 -0
- package/scss/dropdownlist/_layout.scss +3 -110
- package/scss/dropdownlist/_theme.scss +3 -91
- package/scss/dropdownlist/_variables.scss +9 -9
- package/scss/dropdowntree/_layout.scss +2 -25
- package/scss/dropdowntree/_theme.scss +2 -1
- package/scss/editor/_layout.scss +94 -48
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +10 -2
- package/scss/fab/_variables.scss +3 -3
- package/scss/filter/_layout.scss +0 -4
- package/scss/floating-label/_layout.scss +0 -3
- package/scss/floating-label/_theme.scss +0 -2
- package/scss/floating-label/_variables.scss +4 -4
- package/scss/forms/_layout.scss +10 -29
- package/scss/gantt/_layout.scss +3 -3
- package/scss/grid/_layout.scss +20 -65
- package/scss/grid/_theme.scss +2 -2
- package/scss/grid/_variables.scss +0 -2
- package/scss/input/_layout.scss +104 -105
- package/scss/input/_theme.scss +74 -16
- package/scss/input/_variables.scss +66 -67
- package/scss/map/_layout.scss +0 -21
- package/scss/map/_theme.scss +5 -5
- package/scss/map/_variables.scss +1 -1
- package/scss/maskedtextbox/_layout.scss +2 -46
- package/scss/maskedtextbox/_theme.scss +2 -20
- package/scss/menu/_layout.scss +0 -1
- package/scss/multiselect/_layout.scss +15 -34
- package/scss/multiselect/_variables.scss +16 -16
- package/scss/no-flexbox.scss +0 -2
- package/scss/numerictextbox/_layout.scss +2 -104
- package/scss/numerictextbox/_theme.scss +2 -95
- package/scss/numerictextbox/_variables.scss +1 -32
- package/scss/pager/_layout.scss +7 -12
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_layout.scss +0 -16
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_layout.scss +28 -7
- package/scss/pivotgrid/_theme.scss +13 -13
- package/scss/popup/_layout.scss +0 -34
- package/scss/popup/_theme.scss +4 -4
- package/scss/popup/_variables.scss +1 -1
- package/scss/radio/_layout.scss +78 -63
- package/scss/radio/_theme.scss +23 -23
- package/scss/radio/_variables.scss +154 -51
- package/scss/scheduler/_layout.scss +9 -228
- package/scss/scheduler/_theme.scss +5 -86
- 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/slider/_layout.scss +0 -19
- package/scss/slider/_theme.scss +0 -4
- package/scss/slider/_variables.scss +10 -10
- package/scss/spreadsheet/_layout.scss +2 -38
- package/scss/spreadsheet/_theme.scss +13 -13
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_layout.scss +91 -92
- package/scss/switch/_theme.scss +91 -93
- package/scss/switch/_variables.scss +193 -83
- package/scss/taskboard/_layout.scss +0 -4
- package/scss/taskboard/_variables.scss +1 -1
- package/scss/textarea/_layout.scss +1 -91
- 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/_variables.scss +7 -7
- package/scss/toolbar/_layout.scss +2 -2
- package/scss/toolbar/_variables.scss +1 -1
- package/scss/treeview/_variables.scss +1 -1
- package/scss/upload/_layout.scss +2 -2
- package/scss/utils/_border.scss +5 -0
- package/scss/window/_layout.scss +1 -11
|
@@ -1,84 +1,194 @@
|
|
|
1
1
|
// Switch
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$switch-font-family:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
$switch-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
$switch-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
$switch-label-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
$switch-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
$switch-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
$switch-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
$switch-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
$switch-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
$switch-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
$switch-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
$switch-off-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
$switch-off-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
$switch-off-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
$switch-off-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
$switch-off-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
$switch-off-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
$switch-off-
|
|
84
|
-
|
|
2
|
+
|
|
3
|
+
/// Font family of the switch.
|
|
4
|
+
/// @group switch
|
|
5
|
+
$kendo-switch-font-family: null !default;
|
|
6
|
+
/// Line height of the switch.
|
|
7
|
+
/// @group switch
|
|
8
|
+
$kendo-switch-line-height: null !default;
|
|
9
|
+
|
|
10
|
+
/// Border width of the switch track.
|
|
11
|
+
/// @group switch
|
|
12
|
+
$kendo-switch-track-border-width: 1px !default;
|
|
13
|
+
|
|
14
|
+
/// Border width of the switch thumb.
|
|
15
|
+
/// @group switch
|
|
16
|
+
$kendo-switch-thumb-border-width: 1px !default;
|
|
17
|
+
|
|
18
|
+
/// Text transform of the switch label.
|
|
19
|
+
/// @group switch
|
|
20
|
+
$kendo-switch-label-text-transform: uppercase !default;
|
|
21
|
+
/// Display of the switch label.
|
|
22
|
+
/// @group switch
|
|
23
|
+
$kendo-switch-label-display: inline !default;
|
|
24
|
+
|
|
25
|
+
/// Map with the different switch sizes.
|
|
26
|
+
/// @group switch
|
|
27
|
+
$kendo-switch-sizes: (
|
|
28
|
+
sm: ( font-size: 8px, track-width: 40px, track-height: 20px, thumb-width: 20px, thumb-height: 20px, thumb-offset: 0px, label-offset: 5px ),
|
|
29
|
+
md: ( font-size: 10px, track-width: 60px, track-height: 30px, thumb-width: 30px, thumb-height: 30px, thumb-offset: 0px, label-offset: 8px ),
|
|
30
|
+
lg: ( font-size: 12px, track-width: 80px, track-height: 40px, thumb-width: 40px, thumb-height: 40px, thumb-offset: 0px, label-offset: 10px )
|
|
31
|
+
) !default;
|
|
32
|
+
|
|
33
|
+
/// The background of the track when the switch is not checked.
|
|
34
|
+
/// @group switch
|
|
35
|
+
$kendo-switch-off-track-bg: $component-bg !default;
|
|
36
|
+
/// The text color of the track when the switch is not checked.
|
|
37
|
+
/// @group switch
|
|
38
|
+
$kendo-switch-off-track-text: $component-text !default;
|
|
39
|
+
/// The border color of the track when the switch is not checked.
|
|
40
|
+
/// @group switch
|
|
41
|
+
$kendo-switch-off-track-border: try-shade( $kendo-switch-off-track-bg, 8% ) !default;
|
|
42
|
+
/// The background gradient of the track when the switch is not checked.
|
|
43
|
+
/// @group switch
|
|
44
|
+
$kendo-switch-off-track-gradient: null !default;
|
|
45
|
+
|
|
46
|
+
/// The background of the track when the hovered switch is not checked.
|
|
47
|
+
/// @group switch
|
|
48
|
+
$kendo-switch-off-track-hover-bg: null !default;
|
|
49
|
+
/// The text color of the track when the hovered switch is not checked.
|
|
50
|
+
/// @group switch
|
|
51
|
+
$kendo-switch-off-track-hover-text: null !default;
|
|
52
|
+
/// The border color of the track when the hovered switch is not checked.
|
|
53
|
+
/// @group switch
|
|
54
|
+
$kendo-switch-off-track-hover-border: null !default;
|
|
55
|
+
/// The background gradient of the track when the hovered switch is not checked.
|
|
56
|
+
/// @group switch
|
|
57
|
+
$kendo-switch-off-track-hover-gradient: null !default;
|
|
58
|
+
|
|
59
|
+
/// The background of the track when the focused switch is not checked.
|
|
60
|
+
/// @group switch
|
|
61
|
+
$kendo-switch-off-track-focus-bg: null !default;
|
|
62
|
+
/// The text color of the track when the focused switch is not checked.
|
|
63
|
+
/// @group switch
|
|
64
|
+
$kendo-switch-off-track-focus-text: null !default;
|
|
65
|
+
/// The border color of the track when the focused switch is not checked.
|
|
66
|
+
/// @group switch
|
|
67
|
+
$kendo-switch-off-track-focus-border: null !default;
|
|
68
|
+
/// The background gradient of the track when the focused switch is not checked.
|
|
69
|
+
/// @group switch
|
|
70
|
+
$kendo-switch-off-track-focus-gradient: null !default;
|
|
71
|
+
/// The ring around the track when the focused switch is not checked.
|
|
72
|
+
/// @group switch
|
|
73
|
+
$kendo-switch-off-track-focus-ring: 2px solid rgba( if( $dark-theme, $white, $black ) , .08 ) !default;
|
|
74
|
+
|
|
75
|
+
/// The background of the track when the disabled switch is not checked.
|
|
76
|
+
/// @group switch
|
|
77
|
+
$kendo-switch-off-track-disabled-bg: null !default;
|
|
78
|
+
/// The text color of the track when the disabled switch is not checked.
|
|
79
|
+
/// @group switch
|
|
80
|
+
$kendo-switch-off-track-disabled-text: null !default;
|
|
81
|
+
/// The border color of the track when the disabled switch is not checked.
|
|
82
|
+
/// @group switch
|
|
83
|
+
$kendo-switch-off-track-disabled-border: null !default;
|
|
84
|
+
/// The background gradient of the track when the disabled switch is not checked.
|
|
85
|
+
/// @group switch
|
|
86
|
+
$kendo-switch-off-track-disabled-gradient: null !default;
|
|
87
|
+
|
|
88
|
+
/// The background of the thumb when the switch is not checked.
|
|
89
|
+
/// @group switch
|
|
90
|
+
$kendo-switch-off-thumb-bg: $base-bg !default;
|
|
91
|
+
/// The text color of the thumb when the switch is not checked.
|
|
92
|
+
/// @group switch
|
|
93
|
+
$kendo-switch-off-thumb-text: $base-text !default;
|
|
94
|
+
/// The border color of the thumb when the switch is not checked.
|
|
95
|
+
/// @group switch
|
|
96
|
+
$kendo-switch-off-thumb-border: $base-border !default;
|
|
97
|
+
/// The background gradient of the thumb when the switch is not checked.
|
|
98
|
+
/// @group switch
|
|
99
|
+
$kendo-switch-off-thumb-gradient: null !default;
|
|
100
|
+
|
|
101
|
+
/// The background of the thumb when the hovered switch is not checked.
|
|
102
|
+
/// @group switch
|
|
103
|
+
$kendo-switch-off-thumb-hover-bg: null !default;
|
|
104
|
+
/// The text color of the thumb when the hovered switch is not checked.
|
|
105
|
+
/// @group switch
|
|
106
|
+
$kendo-switch-off-thumb-hover-text: null !default;
|
|
107
|
+
/// The border color of the thumb when the hovered switch is not checked.
|
|
108
|
+
/// @group switch
|
|
109
|
+
$kendo-switch-off-thumb-hover-border: null !default;
|
|
110
|
+
/// The background gradient of the thumb when the hovered switch is not checked.
|
|
111
|
+
/// @group switch
|
|
112
|
+
$kendo-switch-off-thumb-hover-gradient: null !default;
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
/// The background of the track when the switch is checked.
|
|
116
|
+
/// @group switch
|
|
117
|
+
$kendo-switch-on-track-bg: $primary !default;
|
|
118
|
+
/// The text color of the track when the switch is checked.
|
|
119
|
+
/// @group switch
|
|
120
|
+
$kendo-switch-on-track-text: contrast-wcag( $kendo-switch-on-track-bg ) !default;
|
|
121
|
+
/// The border color of the track when the switch is checked.
|
|
122
|
+
/// @group switch
|
|
123
|
+
$kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
|
|
124
|
+
/// The background gradient of the track when the switch is checked.
|
|
125
|
+
/// @group switch
|
|
126
|
+
$kendo-switch-on-track-gradient: null !default;
|
|
127
|
+
|
|
128
|
+
/// The background of the track when the hovered switch is checked.
|
|
129
|
+
/// @group switch
|
|
130
|
+
$kendo-switch-on-track-hover-bg: null !default;
|
|
131
|
+
/// The text color of the track when the hovered switch is checked.
|
|
132
|
+
/// @group switch
|
|
133
|
+
$kendo-switch-on-track-hover-text: null !default;
|
|
134
|
+
/// The border color of the track when the hovered switch is checked.
|
|
135
|
+
/// @group switch
|
|
136
|
+
$kendo-switch-on-track-hover-border: null !default;
|
|
137
|
+
/// The background gradient of the track when the hovered switch is checked.
|
|
138
|
+
/// @group switch
|
|
139
|
+
$kendo-switch-on-track-hover-gradient: null !default;
|
|
140
|
+
|
|
141
|
+
/// The background of the track when the focused switch is checked.
|
|
142
|
+
/// @group switch
|
|
143
|
+
$kendo-switch-on-track-focus-bg: null !default;
|
|
144
|
+
/// The text color of the track when the focused switch is checked.
|
|
145
|
+
/// @group switch
|
|
146
|
+
$kendo-switch-on-track-focus-text: null !default;
|
|
147
|
+
/// The border color of the track when the focused switch is checked.
|
|
148
|
+
/// @group switch
|
|
149
|
+
$kendo-switch-on-track-focus-border: null !default;
|
|
150
|
+
/// The background gradient of the track when the focused switch is checked.
|
|
151
|
+
/// @group switch
|
|
152
|
+
$kendo-switch-on-track-focus-gradient: null !default;
|
|
153
|
+
/// The ring around the track when the focused switch is checked.
|
|
154
|
+
/// @group switch
|
|
155
|
+
$kendo-switch-on-track-focus-ring: 2px solid rgba( $kendo-switch-on-track-border, .25 ) !default;
|
|
156
|
+
|
|
157
|
+
/// The background of the track when the disabled switch is checked.
|
|
158
|
+
/// @group switch
|
|
159
|
+
$kendo-switch-on-track-disabled-bg: null !default;
|
|
160
|
+
/// The text color of the track when the disabled switch is checked.
|
|
161
|
+
/// @group switch
|
|
162
|
+
$kendo-switch-on-track-disabled-text: null !default;
|
|
163
|
+
/// The border color of the track when the disabled switch is checked.
|
|
164
|
+
/// @group switch
|
|
165
|
+
$kendo-switch-on-track-disabled-border: null !default;
|
|
166
|
+
/// The background gradient of the track when the disabled switch is checked.
|
|
167
|
+
/// @group switch
|
|
168
|
+
$kendo-switch-on-track-disabled-gradient: null !default;
|
|
169
|
+
|
|
170
|
+
/// The background of the thumb when the switch is checked.
|
|
171
|
+
/// @group switch
|
|
172
|
+
$kendo-switch-on-thumb-bg: $base-bg !default;
|
|
173
|
+
/// The text color of the thumb when the switch is checked.
|
|
174
|
+
/// @group switch
|
|
175
|
+
$kendo-switch-on-thumb-text: $base-text !default;
|
|
176
|
+
/// The border color of the thumb when the switch is checked.
|
|
177
|
+
/// @group switch
|
|
178
|
+
$kendo-switch-on-thumb-border: $base-border !default;
|
|
179
|
+
/// The background gradient of the thumb when the switch is checked.
|
|
180
|
+
/// @group switch
|
|
181
|
+
$kendo-switch-on-thumb-gradient: null !default;
|
|
182
|
+
|
|
183
|
+
/// The background of the thumb when the hovered switch is checked.
|
|
184
|
+
/// @group switch
|
|
185
|
+
$kendo-switch-on-thumb-hover-bg: null !default;
|
|
186
|
+
/// The text color of the thumb when the hovered switch is checked.
|
|
187
|
+
/// @group switch
|
|
188
|
+
$kendo-switch-on-thumb-hover-text: null !default;
|
|
189
|
+
/// The border color of the thumb when the hovered switch is checked.
|
|
190
|
+
/// @group switch
|
|
191
|
+
$kendo-switch-on-thumb-hover-border: null !default;
|
|
192
|
+
/// The background gradient of the thumb when the hovered switch is checked.
|
|
193
|
+
/// @group switch
|
|
194
|
+
$kendo-switch-on-thumb-hover-gradient: null !default;
|
|
@@ -46,7 +46,7 @@ $taskboard-column-cards-padding-y: null !default;
|
|
|
46
46
|
$taskboard-column-cards-padding-x: null !default;
|
|
47
47
|
$taskboard-column-cards-gap: ( $taskboard-spacer / 2 ) !default;
|
|
48
48
|
|
|
49
|
-
$taskboard-column-new-calc-height: calc( #{$input-calc-height} + #{$taskboard-column-header-padding-y * 2} ) !default;
|
|
49
|
+
$taskboard-column-new-calc-height: calc( #{$kendo-input-calc-height} + #{$taskboard-column-header-padding-y * 2} ) !default;
|
|
50
50
|
|
|
51
51
|
$taskboard-pane-width: $taskboard-column-width !default;
|
|
52
52
|
$taskboard-pane-padding-y: null !default;
|
|
@@ -1,96 +1,6 @@
|
|
|
1
1
|
@include exports( "textarea/layout" ) {
|
|
2
2
|
|
|
3
3
|
// Textarea
|
|
4
|
-
.k-textarea {
|
|
5
|
-
@include border-radius( $textarea-border-radius );
|
|
6
|
-
margin: 0;
|
|
7
|
-
padding: 0;
|
|
8
|
-
width: $textarea-default-width;
|
|
9
|
-
border-width: $textarea-border-width;
|
|
10
|
-
border-style: solid;
|
|
11
|
-
outline: 0;
|
|
12
|
-
font-family: $textarea-font-family;
|
|
13
|
-
font-size: $textarea-font-size;
|
|
14
|
-
line-height: $textarea-line-height;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
// Targets https://github.com/telerik/kendo-react/issues/638.
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
background: none;
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
flex-wrap: nowrap;
|
|
21
|
-
vertical-align: middle;
|
|
22
|
-
position: relative;
|
|
23
|
-
-webkit-appearance: none;
|
|
4
|
+
.k-textarea {}
|
|
24
5
|
|
|
25
|
-
// Hide clear icon
|
|
26
|
-
&::-ms-clear { display: none; }
|
|
27
|
-
|
|
28
|
-
// Placeholder text
|
|
29
|
-
&::placeholder {
|
|
30
|
-
color: $input-placeholder-text;
|
|
31
|
-
opacity: $input-placeholder-opacity;
|
|
32
|
-
user-select: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
> .k-input {
|
|
36
|
-
padding: $textarea-padding-y $textarea-padding-x;
|
|
37
|
-
height: auto;
|
|
38
|
-
min-height: $textarea-calc-height;
|
|
39
|
-
overflow-y: auto;
|
|
40
|
-
resize: vertical;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Disabled state
|
|
44
|
-
&:disabled,
|
|
45
|
-
&[disabled],
|
|
46
|
-
&.k-state-disabled {
|
|
47
|
-
@include disabled( $disabled-styling );
|
|
48
|
-
|
|
49
|
-
// Disabled selection
|
|
50
|
-
&::selection {
|
|
51
|
-
@include fill (
|
|
52
|
-
$color: $input-text,
|
|
53
|
-
$bg: transparent
|
|
54
|
-
// $bg: rgba( contrast-wcag( $input-bg ), .1 )
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.k-textarea-suffix {
|
|
61
|
-
flex-shrink: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Textarea old rendering
|
|
65
|
-
textarea.k-textarea {
|
|
66
|
-
padding: $textarea-padding-y $textarea-padding-x;
|
|
67
|
-
min-height: $textarea-calc-height;
|
|
68
|
-
display: inline-block;
|
|
69
|
-
resize: both;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Floating label
|
|
73
|
-
.k-textbox-container,
|
|
74
|
-
.k-floating-label-container {
|
|
75
|
-
> .k-textarea {
|
|
76
|
-
flex: 1 1 auto;
|
|
77
|
-
width: 100%;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
@include exports("textarea/layout/IE") {
|
|
86
|
-
// TODO: Remove once we drop IE support
|
|
87
|
-
|
|
88
|
-
.k-ie {
|
|
89
|
-
.k-textarea {
|
|
90
|
-
:-ms-input-placeholder,
|
|
91
|
-
&:-ms-input-placeholder {
|
|
92
|
-
color: $input-placeholder-text;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
6
|
}
|
|
@@ -1,71 +1,6 @@
|
|
|
1
1
|
@include exports("textarea/theme") {
|
|
2
2
|
|
|
3
3
|
// Textarea
|
|
4
|
-
.k-textarea {
|
|
5
|
-
@include fill(
|
|
6
|
-
$textarea-text,
|
|
7
|
-
$textarea-bg,
|
|
8
|
-
$textarea-border
|
|
9
|
-
);
|
|
10
|
-
|
|
11
|
-
// Selection
|
|
12
|
-
&::selection,
|
|
13
|
-
.k-input::selection {
|
|
14
|
-
@include fill (
|
|
15
|
-
$color: $textarea-selected-text, // $primary-contrast,
|
|
16
|
-
$bg: $textarea-selected-bg // $primary
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Hovered
|
|
21
|
-
&:hover,
|
|
22
|
-
&.k-state-hover {
|
|
23
|
-
@include fill(
|
|
24
|
-
$textarea-hover-text,
|
|
25
|
-
$textarea-hover-bg,
|
|
26
|
-
$textarea-hover-border
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Focused
|
|
31
|
-
&:focus,
|
|
32
|
-
// &:focus-within,
|
|
33
|
-
&.k-state-focus,
|
|
34
|
-
&.k-state-focused {
|
|
35
|
-
@include fill(
|
|
36
|
-
$textarea-focus-text,
|
|
37
|
-
$textarea-focus-bg,
|
|
38
|
-
$textarea-focus-border
|
|
39
|
-
);
|
|
40
|
-
@include box-shadow( $textarea-focus-shadow );
|
|
41
|
-
}
|
|
42
|
-
&:focus-within {
|
|
43
|
-
@include fill(
|
|
44
|
-
$textarea-focus-text,
|
|
45
|
-
$textarea-focus-bg,
|
|
46
|
-
$textarea-focus-border
|
|
47
|
-
);
|
|
48
|
-
@include box-shadow( $textarea-focus-shadow );
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// Invalid
|
|
52
|
-
&.k-invalid,
|
|
53
|
-
&.k-state-invalid,
|
|
54
|
-
&.ng-invalid.ng-touched,
|
|
55
|
-
&.ng-invalid.ng-dirty {
|
|
56
|
-
border-color: $invalid-border;
|
|
57
|
-
|
|
58
|
-
&:focus,
|
|
59
|
-
// &:focus-within,
|
|
60
|
-
&.k-state-focus,
|
|
61
|
-
&.k-state-focused {
|
|
62
|
-
@include box-shadow( $textarea-invalid-focus-shadow );
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&:focus-within {
|
|
66
|
-
@include box-shadow( $textarea-invalid-focus-shadow );
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
4
|
+
.k-textarea {}
|
|
70
5
|
|
|
71
6
|
}
|
|
@@ -1,54 +1 @@
|
|
|
1
1
|
// Textarea
|
|
2
|
-
$textarea-default-width: 18em !default;
|
|
3
|
-
|
|
4
|
-
$textarea-border-width: $input-border-width !default;
|
|
5
|
-
$textarea-border-height: $input-border-height !default;
|
|
6
|
-
$textarea-border-radius: $input-border-radius !default;
|
|
7
|
-
$textarea-border-radius-sm: $input-border-radius-sm !default;
|
|
8
|
-
$textarea-border-radius-lg: $input-border-radius-lg !default;
|
|
9
|
-
|
|
10
|
-
$textarea-padding-x: $input-padding-x !default;
|
|
11
|
-
$textarea-padding-y: $input-padding-y !default;
|
|
12
|
-
$textarea-font-family: $input-font-family !default;
|
|
13
|
-
$textarea-font-size: $input-font-size !default;
|
|
14
|
-
$textarea-line-height: $input-line-height !default;
|
|
15
|
-
$textarea-line-height-em: $input-line-height-em !default;
|
|
16
|
-
|
|
17
|
-
$textarea-padding-x-sm: $input-padding-x-sm !default;
|
|
18
|
-
$textarea-padding-y-sm: $input-padding-y-sm !default;
|
|
19
|
-
$textarea-font-size-sm: $input-font-size-sm !default;
|
|
20
|
-
$textarea-line-height-sm: $input-line-height-sm !default;
|
|
21
|
-
|
|
22
|
-
$textarea-padding-x-lg: $input-padding-x-lg !default;
|
|
23
|
-
$textarea-padding-y-lg: $input-padding-y-lg !default;
|
|
24
|
-
$textarea-font-size-lg: $input-font-size-lg !default;
|
|
25
|
-
$textarea-line-height-lg: $input-line-height-lg !default;
|
|
26
|
-
|
|
27
|
-
$textarea-calc-height: $input-calc-height !default;
|
|
28
|
-
$textarea-calc-height-sm: $input-calc-height-sm !default;
|
|
29
|
-
$textarea-calc-height-lg: $input-calc-height-lg !default;
|
|
30
|
-
|
|
31
|
-
$textarea-floating-label-padding: null !default;
|
|
32
|
-
|
|
33
|
-
$textarea-bg: $input-bg !default;
|
|
34
|
-
$textarea-text: $input-text !default;
|
|
35
|
-
$textarea-border: $input-border !default;
|
|
36
|
-
$textarea-shadow: $input-shadow !default;
|
|
37
|
-
|
|
38
|
-
$textarea-hover-text: $input-hovered-text !default;
|
|
39
|
-
$textarea-hover-bg: $input-hovered-bg !default;
|
|
40
|
-
$textarea-hover-border: $input-hovered-border !default;
|
|
41
|
-
$textarea-hover-shadow: $input-hovered-shadow !default;
|
|
42
|
-
|
|
43
|
-
$textarea-focus-text: $input-focused-text !default;
|
|
44
|
-
$textarea-focus-bg: $input-focused-bg !default;
|
|
45
|
-
$textarea-focus-border: $input-focused-border !default;
|
|
46
|
-
$textarea-focus-shadow: $input-focused-shadow !default;
|
|
47
|
-
|
|
48
|
-
$textarea-placeholder-text: $input-placeholder-text !default;
|
|
49
|
-
$textarea-placeholder-opacity: $input-placeholder-opacity !default;
|
|
50
|
-
|
|
51
|
-
$textarea-selected-bg: $input-selected-bg !default;
|
|
52
|
-
$textarea-selected-text: $input-selected-text !default;
|
|
53
|
-
|
|
54
|
-
$textarea-invalid-focus-shadow: $invalid-shadow !default;
|
|
@@ -1,78 +1,6 @@
|
|
|
1
1
|
@include exports( "textbox/layout" ) {
|
|
2
2
|
|
|
3
3
|
// Textbox
|
|
4
|
-
.k-textbox {
|
|
5
|
-
@include border-radius( $input-border-radius );
|
|
6
|
-
margin: 0;
|
|
7
|
-
padding: 0;
|
|
8
|
-
width: $input-default-width;
|
|
9
|
-
height: $input-calc-height;
|
|
10
|
-
border-width: $input-border-width;
|
|
11
|
-
border-style: solid;
|
|
12
|
-
outline: 0;
|
|
13
|
-
font-family: $input-font-family;
|
|
14
|
-
font-size: $input-font-size;
|
|
15
|
-
line-height: $input-line-height;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
// Targets https://github.com/telerik/kendo-react/issues/638.
|
|
18
|
-
box-shadow: none;
|
|
19
|
-
background: none;
|
|
20
|
-
display: inline-flex;
|
|
21
|
-
flex-flow: row nowrap;
|
|
22
|
-
align-items: center;
|
|
23
|
-
vertical-align: middle;
|
|
24
|
-
position: relative;
|
|
25
|
-
-webkit-appearance: none;
|
|
26
|
-
|
|
27
|
-
// Hide clear icon
|
|
28
|
-
&::-ms-clear { display: none; }
|
|
29
|
-
|
|
30
|
-
// Placeholder text
|
|
31
|
-
&::placeholder {
|
|
32
|
-
color: $input-placeholder-text;
|
|
33
|
-
opacity: $input-placeholder-opacity;
|
|
34
|
-
user-select: none;
|
|
35
|
-
}
|
|
36
|
-
&:-ms-input-placeholder {
|
|
37
|
-
color: $input-placeholder-text;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.k-input {}
|
|
41
|
-
|
|
42
|
-
.k-button-clear {
|
|
43
|
-
width: $button-inner-calc-size;
|
|
44
|
-
height: $button-inner-calc-size;
|
|
45
|
-
border: 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.k-textbox-separator {
|
|
49
|
-
margin: 0;
|
|
50
|
-
width: 0;
|
|
51
|
-
height: $icon-size;
|
|
52
|
-
border-width: 0 0 0 1px;
|
|
53
|
-
border-style: solid;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// Disabled state
|
|
57
|
-
&:disabled,
|
|
58
|
-
&[disabled],
|
|
59
|
-
&.k-state-disabled {
|
|
60
|
-
@include disabled( $disabled-styling );
|
|
61
|
-
|
|
62
|
-
// Disabled selection
|
|
63
|
-
&::selection {
|
|
64
|
-
@include fill (
|
|
65
|
-
$color: $input-text,
|
|
66
|
-
$bg: transparent
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
// Textbox
|
|
74
|
-
input.k-textbox {
|
|
75
|
-
padding: $input-padding-y $input-padding-x;
|
|
76
|
-
}
|
|
4
|
+
.k-textbox {}
|
|
77
5
|
|
|
78
6
|
}
|