@progress/kendo-theme-classic 4.43.1-dev.3 → 4.43.1-dev.4
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 +512 -536
- package/dist/all.scss +855 -905
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/appbar/_layout.scss +13 -0
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +1 -7
- package/modules/@progress/kendo-theme-default/scss/checkbox/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/checkbox/_layout.scss +2 -1
- package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +49 -7
- package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +0 -14
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +5 -1
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +22 -29
- package/modules/@progress/kendo-theme-default/scss/combobox/_theme.scss +59 -99
- package/modules/@progress/kendo-theme-default/scss/combobox/_variables.scss +1 -32
- package/modules/@progress/kendo-theme-default/scss/dropdowngrid/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +37 -55
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_theme.scss +33 -75
- package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +9 -16
- package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +0 -4
- package/modules/@progress/kendo-theme-default/scss/grid/_variables.scss +6 -6
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +4 -8
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/input/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/list/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +15 -3
- package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +4 -7
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +17 -31
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_theme.scss +44 -14
- package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +5 -0
- package/modules/@progress/kendo-theme-default/scss/radio/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/radio/_layout.scss +2 -1
- package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +4 -8
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +15 -0
- package/package.json +3 -3
- package/scss/checkbox/_index.scss +1 -0
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/combobox/_variables.scss +1 -32
- package/scss/fab/index.md +0 -0
- package/scss/grid/_variables.scss +6 -6
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/input/_variables.scss +1 -1
- package/scss/list/_index.scss +1 -0
- package/scss/list/_variables.scss +4 -0
- package/scss/radio/_index.scss +1 -0
|
@@ -2,70 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
// Dropdown list
|
|
4
4
|
.k-dropdown {
|
|
5
|
+
@include border-radius( $input-border-radius );
|
|
5
6
|
width: $input-default-width;
|
|
6
|
-
border-width:
|
|
7
|
-
|
|
8
|
-
background: none;
|
|
7
|
+
border-width: $input-border-width;
|
|
8
|
+
border-style: solid;
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
+
outline: 0;
|
|
10
11
|
font-family: $input-font-family;
|
|
11
12
|
font-size: $input-font-size;
|
|
12
13
|
line-height: $input-line-height;
|
|
13
|
-
text-align:
|
|
14
|
+
text-align: start;
|
|
14
15
|
white-space: nowrap;
|
|
15
16
|
display: inline-flex;
|
|
17
|
+
flex-flow: row nowrap;
|
|
16
18
|
vertical-align: middle;
|
|
17
19
|
position: relative;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
18
22
|
-webkit-touch-callout: none;
|
|
19
23
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
20
24
|
|
|
21
|
-
.k-dropdown-wrap {
|
|
22
|
-
@include border-radius( $input-border-radius );
|
|
23
|
-
padding: 0;
|
|
24
|
-
width: 100%;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-flow: row nowrap;
|
|
27
|
-
border-width: 1px;
|
|
28
|
-
border-style: solid;
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
position: relative;
|
|
31
|
-
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
outline: 0;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
|
|
36
25
|
|
|
37
|
-
|
|
38
|
-
|
|
26
|
+
// Input
|
|
27
|
+
.k-input {}
|
|
39
28
|
|
|
40
29
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
border-width: 0;
|
|
46
|
-
border-inline-start-width: $picker-select-border-width;
|
|
47
|
-
border-color: transparent;
|
|
48
|
-
box-sizing: border-box;
|
|
49
|
-
border-style: solid;
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
flex: 0 0 auto;
|
|
54
|
-
text-align: center;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
}
|
|
30
|
+
// Loading icon
|
|
31
|
+
.k-i-loading {
|
|
32
|
+
width: $input-icon-width;
|
|
33
|
+
height: $input-icon-height;
|
|
57
34
|
}
|
|
58
35
|
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
// RTL
|
|
63
36
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
37
|
+
// Select
|
|
38
|
+
.k-select {
|
|
39
|
+
padding: $picker-select-padding-y $picker-select-padding-x;
|
|
40
|
+
width: if( $use-picker-select-width, $spinner-width, null );
|
|
41
|
+
border-width: 0;
|
|
42
|
+
border-inline-start-width: $picker-select-border-width;
|
|
43
|
+
border-style: solid;
|
|
44
|
+
border-color: transparent;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
outline: 0;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-flow: row nowrap;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
flex: 0 0 auto;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
69
54
|
}
|
|
70
55
|
|
|
71
56
|
|
|
@@ -74,16 +59,13 @@
|
|
|
74
59
|
.k-dropdown-operator {
|
|
75
60
|
width: auto;
|
|
76
61
|
|
|
77
|
-
.k-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
height: $button-inner-calc-size;
|
|
84
|
-
}
|
|
62
|
+
.k-input {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
.k-select {
|
|
66
|
+
width: $button-inner-calc-size;
|
|
67
|
+
height: $button-inner-calc-size;
|
|
85
68
|
}
|
|
86
|
-
|
|
87
69
|
}
|
|
88
70
|
|
|
89
71
|
|
|
@@ -1,78 +1,7 @@
|
|
|
1
1
|
@include exports( "dropdownlist/theme" ) {
|
|
2
2
|
|
|
3
|
+
// Dropdown list
|
|
3
4
|
.k-dropdown {
|
|
4
|
-
|
|
5
|
-
.k-dropdown-wrap {
|
|
6
|
-
@include fill(
|
|
7
|
-
$dropdownlist-text,
|
|
8
|
-
$dropdownlist-bg,
|
|
9
|
-
$dropdownlist-border,
|
|
10
|
-
$dropdownlist-gradient
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
// Hover state
|
|
14
|
-
&:hover,
|
|
15
|
-
&.k-state-hover {
|
|
16
|
-
@include fill(
|
|
17
|
-
$dropdownlist-hovered-text,
|
|
18
|
-
$dropdownlist-hovered-bg,
|
|
19
|
-
$dropdownlist-hovered-border,
|
|
20
|
-
$dropdownlist-hovered-gradient
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.k-state-active {}
|
|
25
|
-
|
|
26
|
-
// Focused state
|
|
27
|
-
&.k-state-focused {
|
|
28
|
-
@include fill(
|
|
29
|
-
$dropdownlist-focused-text,
|
|
30
|
-
$dropdownlist-focused-bg,
|
|
31
|
-
$dropdownlist-focused-border,
|
|
32
|
-
$dropdownlist-focused-gradient
|
|
33
|
-
);
|
|
34
|
-
@include box-shadow($dropdownlist-focused-shadow);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// Invalid state
|
|
38
|
-
&.k-invalid,
|
|
39
|
-
&.k-invalid:hover,
|
|
40
|
-
&.k-state-invalid {
|
|
41
|
-
border-color: $invalid-border;
|
|
42
|
-
|
|
43
|
-
.k-input-validation-icon {
|
|
44
|
-
color: $invalid-text;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&:focus,
|
|
48
|
-
&.k-state-focused {
|
|
49
|
-
@include box-shadow($invalid-shadow);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Invalid
|
|
55
|
-
&.k-state-invalid,
|
|
56
|
-
&.ng-invalid.ng-touched,
|
|
57
|
-
&.ng-invalid.ng-dirty {
|
|
58
|
-
> .k-dropdown-wrap {
|
|
59
|
-
border-color: $invalid-border;
|
|
60
|
-
|
|
61
|
-
.k-input-validation-icon {
|
|
62
|
-
color: $invalid-text;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&:focus,
|
|
66
|
-
&.k-state-focused {
|
|
67
|
-
@include box-shadow($invalid-shadow);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// Native select
|
|
75
|
-
select.k-dropdown {
|
|
76
5
|
@include fill(
|
|
77
6
|
$dropdownlist-text,
|
|
78
7
|
$dropdownlist-bg,
|
|
@@ -81,7 +10,8 @@
|
|
|
81
10
|
);
|
|
82
11
|
|
|
83
12
|
// Hover state
|
|
84
|
-
&:hover
|
|
13
|
+
&:hover,
|
|
14
|
+
&.k-state-hover {
|
|
85
15
|
@include fill(
|
|
86
16
|
$dropdownlist-hovered-text,
|
|
87
17
|
$dropdownlist-hovered-bg,
|
|
@@ -90,8 +20,18 @@
|
|
|
90
20
|
);
|
|
91
21
|
}
|
|
92
22
|
|
|
93
|
-
//
|
|
94
|
-
&:focus
|
|
23
|
+
// Focus state
|
|
24
|
+
&:focus,
|
|
25
|
+
&.k-state-focus {
|
|
26
|
+
@include fill(
|
|
27
|
+
$dropdownlist-focused-text,
|
|
28
|
+
$dropdownlist-focused-bg,
|
|
29
|
+
$dropdownlist-focused-border,
|
|
30
|
+
$dropdownlist-focused-gradient
|
|
31
|
+
);
|
|
32
|
+
@include box-shadow($dropdownlist-focused-shadow);
|
|
33
|
+
}
|
|
34
|
+
&:focus-within {
|
|
95
35
|
@include fill(
|
|
96
36
|
$dropdownlist-focused-text,
|
|
97
37
|
$dropdownlist-focused-bg,
|
|
@@ -100,6 +40,24 @@
|
|
|
100
40
|
);
|
|
101
41
|
@include box-shadow($dropdownlist-focused-shadow);
|
|
102
42
|
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
// Invalid state
|
|
46
|
+
&.k-invalid,
|
|
47
|
+
&.ng-invalid,
|
|
48
|
+
&.k-state-invalid {
|
|
49
|
+
border-color: $invalid-border;
|
|
50
|
+
|
|
51
|
+
.k-input-validation-icon {
|
|
52
|
+
color: $invalid-text;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:focus-within,
|
|
56
|
+
&.k-state-focus {
|
|
57
|
+
@include box-shadow($invalid-shadow);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
103
61
|
}
|
|
104
62
|
|
|
105
63
|
}
|
|
@@ -153,6 +153,7 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// Toolbar
|
|
156
|
+
.k-editor-toolbar,
|
|
156
157
|
.k-editor > .k-toolbar {
|
|
157
158
|
border-width: 0 0 $toolbar-border-width 0;
|
|
158
159
|
flex-shrink: 0;
|
|
@@ -180,13 +181,14 @@
|
|
|
180
181
|
top: 0;
|
|
181
182
|
right: 0;
|
|
182
183
|
visibility: hidden;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
184
|
+
|
|
185
|
+
.k-overflow-anchor {
|
|
186
|
+
border-width: 0;
|
|
187
|
+
padding: $toolbar-padding-y;
|
|
188
|
+
width: $toolbar-inner-calc-size;
|
|
189
|
+
height: $toolbar-inner-calc-size;
|
|
190
|
+
position: relative;
|
|
191
|
+
}
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
.k-editor-export {
|
|
@@ -304,15 +306,6 @@
|
|
|
304
306
|
}
|
|
305
307
|
}
|
|
306
308
|
|
|
307
|
-
.k-editor-widget .k-colorpicker {}
|
|
308
|
-
|
|
309
|
-
.k-rtl .k-editor .k-editor-widget .k-dropdown-wrap {
|
|
310
|
-
padding-left: 0;
|
|
311
|
-
|
|
312
|
-
.k-select {
|
|
313
|
-
border-width: 0;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
309
|
|
|
317
310
|
// Find and replace dialog
|
|
318
311
|
.k-editor-find-replace {
|
|
@@ -144,14 +144,14 @@ $grid-filter-menu-check-all-border-bottom-width: 1px !default;
|
|
|
144
144
|
$grid-filter-menu-item-spacing-x: map-get( $spacing, 2 ) !default;
|
|
145
145
|
$grid-filter-menu-item-spacing-y: $grid-filter-menu-item-spacing-x !default;
|
|
146
146
|
|
|
147
|
-
$grid-column-menu-popup-padding-x:
|
|
148
|
-
$grid-column-menu-popup-padding-y:
|
|
147
|
+
$grid-column-menu-popup-padding-x: null !default;
|
|
148
|
+
$grid-column-menu-popup-padding-y: null !default;
|
|
149
149
|
|
|
150
|
-
$grid-column-menu-item-padding-x: $padding-x !default;
|
|
151
|
-
$grid-column-menu-item-padding-y: $padding-y !default;
|
|
150
|
+
$grid-column-menu-item-padding-x: $menu-popup-item-padding-x !default;
|
|
151
|
+
$grid-column-menu-item-padding-y: $menu-popup-item-padding-y !default;
|
|
152
152
|
|
|
153
|
-
$grid-column-menu-list-item-padding-x: $padding-x !default;
|
|
154
|
-
$grid-column-menu-list-item-padding-y: $padding-y
|
|
153
|
+
$grid-column-menu-list-item-padding-x: $list-item-padding-x !default;
|
|
154
|
+
$grid-column-menu-list-item-padding-y: $list-item-padding-y !default;
|
|
155
155
|
|
|
156
156
|
$grid-column-menu-items-wrap-padding-x: 0 !default;
|
|
157
157
|
$grid-column-menu-items-wrap-padding-y: $padding-y-lg !default;
|
|
@@ -50,16 +50,16 @@
|
|
|
50
50
|
|
|
51
51
|
// Action Pane
|
|
52
52
|
.k-imageeditor-action-pane {
|
|
53
|
+
padding: $imageeditor-action-pane-padding-y $imageeditor-action-pane-padding-x;
|
|
54
|
+
width: $imageeditor-action-pane-width;
|
|
53
55
|
border-width: 0;
|
|
54
56
|
border-left-width: $imageeditor-content-border-width;
|
|
55
57
|
border-style: solid;
|
|
56
58
|
border-color: inherit;
|
|
57
|
-
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
flex: none;
|
|
58
61
|
overflow-y: auto;
|
|
59
62
|
}
|
|
60
|
-
.k-imageeditor-action-pane > .k-form {
|
|
61
|
-
padding: $imageeditor-action-pane-padding-y $imageeditor-action-pane-padding-x;
|
|
62
|
-
}
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
// Crop Tool
|
|
@@ -149,10 +149,6 @@
|
|
|
149
149
|
flex-direction: row;
|
|
150
150
|
align-self: flex-start;
|
|
151
151
|
}
|
|
152
|
-
|
|
153
|
-
.k-imageeditor-action-pane {
|
|
154
|
-
flex: 0 0 auto;
|
|
155
|
-
}
|
|
156
152
|
}
|
|
157
153
|
|
|
158
154
|
}
|
|
@@ -13,6 +13,7 @@ $imageeditor-content-border-width: 1px !default;
|
|
|
13
13
|
|
|
14
14
|
$imageeditor-action-pane-padding-y: map-get( $spacing, 8 ) !default;
|
|
15
15
|
$imageeditor-action-pane-padding-x: map-get( $spacing, 4 ) !default;
|
|
16
|
+
$imageeditor-action-pane-width: if( $imageeditor-content-border-width == null, 240px, calc(240px + #{$imageeditor-content-border-width}) );
|
|
16
17
|
|
|
17
18
|
$imageeditor-crop-border-width: 1px !default;
|
|
18
19
|
$imageeditor-crop-border-style: dashed !default;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
@include exports( "list/layout" ) {
|
|
2
2
|
|
|
3
|
+
.k-list,
|
|
4
|
+
.k-list-container {
|
|
5
|
+
font-size: $list-font-size;
|
|
6
|
+
line-height: $list-line-height;
|
|
7
|
+
}
|
|
8
|
+
|
|
3
9
|
// Layout
|
|
4
10
|
.k-list-scroller {
|
|
5
11
|
position: relative;
|
|
@@ -14,7 +20,7 @@
|
|
|
14
20
|
|
|
15
21
|
.k-list__group-header { // sass-lint:disable-line class-name-format
|
|
16
22
|
padding: $list-item-padding-y $list-item-padding-x;
|
|
17
|
-
min-height: $line-height-em;
|
|
23
|
+
min-height: $list-line-height-em;
|
|
18
24
|
border-bottom-width: 1px;
|
|
19
25
|
border-bottom-style: solid;
|
|
20
26
|
font-size: $font-size;
|
|
@@ -56,8 +62,8 @@
|
|
|
56
62
|
|
|
57
63
|
.k-list__item { // sass-lint:disable-line class-name-format
|
|
58
64
|
padding: $list-item-padding-y $list-item-padding-x;
|
|
59
|
-
min-height: $line-height-em;
|
|
60
|
-
line-height: $line-height
|
|
65
|
+
min-height: $list-line-height-em;
|
|
66
|
+
line-height: $list-line-height;
|
|
61
67
|
white-space: normal;
|
|
62
68
|
display: flex;
|
|
63
69
|
align-items: center;
|
|
@@ -70,6 +76,12 @@
|
|
|
70
76
|
transition-timing-function: ease;
|
|
71
77
|
outline: none;
|
|
72
78
|
|
|
79
|
+
.k-checkbox {
|
|
80
|
+
margin-top: calc( ( #{$list-line-height-em} - #{$checkbox-size} ) / 2 );
|
|
81
|
+
font-size: inherit;
|
|
82
|
+
align-self: flex-start;
|
|
83
|
+
}
|
|
84
|
+
|
|
73
85
|
&.k-first::before {
|
|
74
86
|
content: "";
|
|
75
87
|
display: block;
|
|
@@ -73,35 +73,32 @@
|
|
|
73
73
|
|
|
74
74
|
// Buttons
|
|
75
75
|
.k-button {
|
|
76
|
-
margin: 0;
|
|
77
76
|
padding: 0;
|
|
78
77
|
width: auto;
|
|
79
78
|
height: auto;
|
|
80
|
-
border-radius: 100%;
|
|
81
79
|
line-height: 1;
|
|
82
80
|
box-shadow: none;
|
|
83
81
|
position: absolute;
|
|
84
|
-
|
|
85
|
-
&:not(:hover) {
|
|
86
|
-
border-color: transparent;
|
|
87
|
-
background: none;
|
|
88
|
-
}
|
|
89
82
|
}
|
|
83
|
+
.k-navigator-n,
|
|
90
84
|
.k-navigator-up {
|
|
91
85
|
transform: translateX(-50%);
|
|
92
86
|
top: $map-navigator-padding;
|
|
93
87
|
left: 50%;
|
|
94
88
|
}
|
|
89
|
+
.k-navigator-e,
|
|
95
90
|
.k-navigator-right {
|
|
96
91
|
transform: translateY(-50%);
|
|
97
92
|
right: $map-navigator-padding;
|
|
98
93
|
top: 50%;
|
|
99
94
|
}
|
|
95
|
+
.k-navigator-s,
|
|
100
96
|
.k-navigator-down {
|
|
101
97
|
transform: translateX(-50%);
|
|
102
98
|
bottom: $map-navigator-padding;
|
|
103
99
|
left: 50%;
|
|
104
100
|
}
|
|
101
|
+
.k-navigator-w,
|
|
105
102
|
.k-navigator-left {
|
|
106
103
|
transform: translateY(-50%);
|
|
107
104
|
left: $map-navigator-padding;
|
|
@@ -1,51 +1,37 @@
|
|
|
1
|
-
@include exports("maskedtextbox/layout") {
|
|
1
|
+
@include exports( "maskedtextbox/layout" ) {
|
|
2
2
|
|
|
3
3
|
// Masked textbox
|
|
4
4
|
.k-maskedtextbox {
|
|
5
|
+
@include border-radius( $input-border-radius );
|
|
5
6
|
width: $input-default-width;
|
|
7
|
+
border-width: $input-border-width;
|
|
8
|
+
border-style: solid;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
outline: 0;
|
|
6
11
|
font-family: $input-font-family;
|
|
7
12
|
font-size: $input-font-size;
|
|
8
13
|
line-height: $input-line-height;
|
|
9
|
-
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
outline: 0;
|
|
12
|
-
background: none;
|
|
13
|
-
text-align: left;
|
|
14
|
+
text-align: start;
|
|
14
15
|
white-space: nowrap;
|
|
15
16
|
display: inline-flex;
|
|
17
|
+
flex-flow: row nowrap;
|
|
16
18
|
vertical-align: middle;
|
|
17
19
|
position: relative;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
18
22
|
-webkit-touch-callout: none;
|
|
19
23
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
20
24
|
|
|
21
|
-
> .k-textbox {
|
|
22
|
-
flex: 1 0 0%;
|
|
23
|
-
min-width: 0;
|
|
24
|
-
|
|
25
|
-
&.k-state-invalid {
|
|
26
|
-
transition: none;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
25
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
top: 50%;
|
|
33
|
-
transform: translateY(-50%);
|
|
34
|
-
right: $padding-x;
|
|
35
|
-
}
|
|
26
|
+
// Input
|
|
27
|
+
.k-input {}
|
|
36
28
|
|
|
37
|
-
&[dir="rtl"],
|
|
38
|
-
.k-rtl & {
|
|
39
|
-
text-align: right;
|
|
40
29
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
::-ms-clear {
|
|
48
|
-
display: none;
|
|
30
|
+
// Loading icon
|
|
31
|
+
.k-i-loading {
|
|
32
|
+
width: $input-icon-width;
|
|
33
|
+
height: $input-icon-height;
|
|
49
34
|
}
|
|
50
35
|
}
|
|
36
|
+
|
|
51
37
|
}
|
|
@@ -1,28 +1,58 @@
|
|
|
1
|
-
@include exports("maskedtextbox/theme") {
|
|
1
|
+
@include exports( "maskedtextbox/theme" ) {
|
|
2
2
|
|
|
3
|
+
// Masked textbox
|
|
3
4
|
.k-maskedtextbox {
|
|
5
|
+
@include fill(
|
|
6
|
+
$input-text,
|
|
7
|
+
$input-bg,
|
|
8
|
+
$input-border
|
|
9
|
+
);
|
|
4
10
|
|
|
5
|
-
|
|
6
|
-
|
|
11
|
+
// Hover state
|
|
12
|
+
&:hover,
|
|
13
|
+
&.k-state-hover {
|
|
14
|
+
@include fill(
|
|
15
|
+
$input-hovered-text,
|
|
16
|
+
$input-hovered-bg,
|
|
17
|
+
$input-hovered-border
|
|
18
|
+
);
|
|
7
19
|
}
|
|
8
20
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
&.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
// Focus state
|
|
22
|
+
&:focus,
|
|
23
|
+
&.k-state-focus {
|
|
24
|
+
@include fill(
|
|
25
|
+
$input-focused-text,
|
|
26
|
+
$input-focused-bg,
|
|
27
|
+
$input-focused-border
|
|
28
|
+
);
|
|
29
|
+
@include box-shadow( $input-focused-shadow );
|
|
30
|
+
}
|
|
31
|
+
&:focus-within {
|
|
32
|
+
@include fill(
|
|
33
|
+
$input-focused-text,
|
|
34
|
+
$input-focused-bg,
|
|
35
|
+
$input-focused-border
|
|
36
|
+
);
|
|
37
|
+
@include box-shadow( $input-focused-shadow );
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
// Invalid state
|
|
42
|
+
&.k-invalid,
|
|
43
|
+
&.ng-invalid,
|
|
44
|
+
&.k-state-invalid {
|
|
45
|
+
border-color: $invalid-border;
|
|
15
46
|
|
|
16
47
|
.k-input-validation-icon {
|
|
17
48
|
color: $invalid-text;
|
|
18
49
|
}
|
|
19
50
|
|
|
20
|
-
&:focus,
|
|
21
|
-
&.k-state-
|
|
22
|
-
|
|
23
|
-
@include box-shadow($invalid-shadow);
|
|
24
|
-
}
|
|
51
|
+
&:focus-within,
|
|
52
|
+
&.k-state-focus {
|
|
53
|
+
@include box-shadow($invalid-shadow);
|
|
25
54
|
}
|
|
26
55
|
}
|
|
27
56
|
}
|
|
57
|
+
|
|
28
58
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
background-repeat: no-repeat;
|
|
17
17
|
background-size: contain;
|
|
18
18
|
display: inline-block;
|
|
19
|
+
flex: none;
|
|
19
20
|
vertical-align: middle;
|
|
20
21
|
position: relative;
|
|
21
22
|
cursor: pointer;
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
|
|
102
103
|
// Hide empty label
|
|
103
104
|
&:empty {
|
|
104
|
-
display: none;
|
|
105
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
.k-ripple {
|