@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
package/scss/editor/_layout.scss
CHANGED
|
@@ -68,6 +68,89 @@
|
|
|
68
68
|
overflow: auto;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
// Resizable images
|
|
72
|
+
.k-editor-resize-handles-wrapper {
|
|
73
|
+
position: absolute;
|
|
74
|
+
visibility: hidden;
|
|
75
|
+
}
|
|
76
|
+
.k-editor-resize-handle {
|
|
77
|
+
width: $editor-resize-handle-size;
|
|
78
|
+
height: $editor-resize-handle-size;
|
|
79
|
+
border-width: $editor-resize-handle-border-width;
|
|
80
|
+
border-style: solid;
|
|
81
|
+
position: absolute;
|
|
82
|
+
visibility: visible;
|
|
83
|
+
z-index: 100;
|
|
84
|
+
|
|
85
|
+
&.northwest {
|
|
86
|
+
top: 0;
|
|
87
|
+
left: 0;
|
|
88
|
+
transform: translate(-50%, -50%);
|
|
89
|
+
cursor: nw-resize;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.north {
|
|
93
|
+
top: 0;
|
|
94
|
+
left: 50%;
|
|
95
|
+
transform: translate(-50%, -50%);
|
|
96
|
+
cursor: n-resize;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.northeast {
|
|
100
|
+
top: 0;
|
|
101
|
+
right: 0;
|
|
102
|
+
transform: translate(50%, -50%);
|
|
103
|
+
cursor: ne-resize;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.southwest {
|
|
107
|
+
left: 0;
|
|
108
|
+
bottom: 0;
|
|
109
|
+
transform: translate(-50%, 50%);
|
|
110
|
+
cursor: sw-resize;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.south {
|
|
114
|
+
bottom: 0;
|
|
115
|
+
left: 50%;
|
|
116
|
+
transform: translate(-50%, 50%);
|
|
117
|
+
cursor: s-resize;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.southeast {
|
|
121
|
+
right: 0;
|
|
122
|
+
bottom: 0;
|
|
123
|
+
transform: translate(50%, 50%);
|
|
124
|
+
cursor: se-resize;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&.west {
|
|
128
|
+
top: 50%;
|
|
129
|
+
left: 0;
|
|
130
|
+
transform: translate(-50%, -50%);
|
|
131
|
+
cursor: w-resize;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.east {
|
|
135
|
+
top: 50%;
|
|
136
|
+
right: 0;
|
|
137
|
+
transform: translate(50%, -50%);
|
|
138
|
+
cursor: e-resize;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
.ProseMirror-selectednode { // sass-lint:disable-line class-name-format
|
|
142
|
+
outline-width: $editor-selectednode-outline-width;
|
|
143
|
+
outline-style: solid;
|
|
144
|
+
}
|
|
145
|
+
.ProseMirror-hideselection { // sass-lint:disable-line class-name-format
|
|
146
|
+
caret-color: transparent;
|
|
147
|
+
|
|
148
|
+
*::selection,
|
|
149
|
+
*::-moz-selection {
|
|
150
|
+
background: transparent;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
71
154
|
// Toolbar
|
|
72
155
|
.k-editor > .k-toolbar {
|
|
73
156
|
border-width: 0 0 $toolbar-border-width 0;
|
|
@@ -88,9 +171,9 @@
|
|
|
88
171
|
|
|
89
172
|
// Tool
|
|
90
173
|
.k-tool {
|
|
91
|
-
padding: $button-padding-y;
|
|
92
|
-
width: $button-calc-size;
|
|
93
|
-
height: $button-calc-size;
|
|
174
|
+
padding: $kendo-button-padding-y;
|
|
175
|
+
width: $kendo-button-calc-size;
|
|
176
|
+
height: $kendo-button-calc-size;
|
|
94
177
|
}
|
|
95
178
|
.k-tool-text {
|
|
96
179
|
display: none;
|
|
@@ -141,6 +224,7 @@
|
|
|
141
224
|
padding: $padding-x;
|
|
142
225
|
width: 100%;
|
|
143
226
|
height: 100%;
|
|
227
|
+
position: relative;
|
|
144
228
|
box-sizing: border-box;
|
|
145
229
|
outline: none;
|
|
146
230
|
white-space: pre-wrap;
|
|
@@ -165,7 +249,7 @@
|
|
|
165
249
|
|
|
166
250
|
// Editable area
|
|
167
251
|
.k-editable-area {
|
|
168
|
-
padding: $input-padding-y;
|
|
252
|
+
padding: $kendo-input-padding-y;
|
|
169
253
|
width: 100%;
|
|
170
254
|
height: 100%;
|
|
171
255
|
border-width: 0;
|
|
@@ -182,7 +266,7 @@
|
|
|
182
266
|
}
|
|
183
267
|
|
|
184
268
|
.k-resizable & {
|
|
185
|
-
padding: $input-padding-y $input-padding-y 16px;
|
|
269
|
+
padding: $kendo-input-padding-y $kendo-input-padding-y 16px;
|
|
186
270
|
}
|
|
187
271
|
}
|
|
188
272
|
|
|
@@ -239,16 +323,6 @@
|
|
|
239
323
|
}
|
|
240
324
|
}
|
|
241
325
|
|
|
242
|
-
.k-editor-widget .k-colorpicker {}
|
|
243
|
-
|
|
244
|
-
.k-rtl .k-editor .k-editor-widget .k-dropdown-wrap {
|
|
245
|
-
padding-left: 0;
|
|
246
|
-
|
|
247
|
-
.k-select {
|
|
248
|
-
border-width: 0;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
326
|
// Find and replace dialog
|
|
253
327
|
.k-editor-find-replace {
|
|
254
328
|
.k-content {
|
|
@@ -303,7 +377,7 @@
|
|
|
303
377
|
|
|
304
378
|
.k-edit-label {
|
|
305
379
|
width: 30%;
|
|
306
|
-
padding: calc( #{$padding-y} + #{$input-border-width} ) 0;
|
|
380
|
+
padding: calc( #{$padding-y} + #{$kendo-input-border-width} ) 0;
|
|
307
381
|
}
|
|
308
382
|
|
|
309
383
|
.k-edit-field {
|
|
@@ -468,8 +542,8 @@
|
|
|
468
542
|
|
|
469
543
|
.k-breadcrumbs-wrap {
|
|
470
544
|
position: absolute;
|
|
471
|
-
left: $input-padding-x;
|
|
472
|
-
top: $input-padding-y;
|
|
545
|
+
left: $kendo-input-padding-x;
|
|
546
|
+
top: $kendo-input-padding-y;
|
|
473
547
|
|
|
474
548
|
.k-icon {
|
|
475
549
|
position: static;
|
|
@@ -507,37 +581,9 @@
|
|
|
507
581
|
}
|
|
508
582
|
}
|
|
509
583
|
|
|
510
|
-
// Generic widgets
|
|
511
|
-
.k-numerictextbox {
|
|
512
|
-
width: 10em;
|
|
513
|
-
|
|
514
|
-
& + .k-dropdown {
|
|
515
|
-
width: 4em;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
& + .k-colorpicker,
|
|
519
|
-
& + .k-dropdown {
|
|
520
|
-
margin-left: $padding-x-sm;
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
.k-colorpicker {
|
|
525
|
-
vertical-align: middle;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
584
|
.k-edit-field > .k-checkbox {
|
|
529
585
|
position: relative; // fix scrolling
|
|
530
586
|
}
|
|
531
|
-
|
|
532
|
-
// Align
|
|
533
|
-
.k-dropdown.k-align {
|
|
534
|
-
width: auto;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
// Summary textarea
|
|
538
|
-
.k-textbox.k-editor-accessibility-summary {
|
|
539
|
-
height: auto;
|
|
540
|
-
}
|
|
541
587
|
}
|
|
542
588
|
|
|
543
589
|
|
|
@@ -548,8 +594,8 @@
|
|
|
548
594
|
flex-flow: row wrap;
|
|
549
595
|
}
|
|
550
596
|
.k-list .k-item {
|
|
551
|
-
padding: $button-padding-y;
|
|
552
|
-
height: $button-calc-size;
|
|
597
|
+
padding: $kendo-button-padding-y;
|
|
598
|
+
height: $kendo-button-calc-size;
|
|
553
599
|
box-sizing: border-box;
|
|
554
600
|
justify-content: center;
|
|
555
601
|
flex: 1 0 33%;
|
package/scss/editor/_theme.scss
CHANGED
|
@@ -52,6 +52,15 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
// Resizable images
|
|
56
|
+
.k-editor-resize-handle {
|
|
57
|
+
background-color: $editor-resize-handle-bg;
|
|
58
|
+
border-color: $editor-resize-handle-border;
|
|
59
|
+
}
|
|
60
|
+
.ProseMirror-selectednode { // sass-lint:disable-line class-name-format
|
|
61
|
+
outline-color: $editor-selectednode-outline-color;
|
|
62
|
+
}
|
|
63
|
+
|
|
55
64
|
|
|
56
65
|
// Insert table
|
|
57
66
|
.k-ct-popup {
|
|
@@ -4,8 +4,8 @@ $editor-font-family: $font-family !default;
|
|
|
4
4
|
$editor-font-size: $font-size !default;
|
|
5
5
|
$editor-line-height: $line-height !default;
|
|
6
6
|
|
|
7
|
-
$editor-placeholder-text: $input-placeholder-text !default;
|
|
8
|
-
$editor-placeholder-opacity: $input-placeholder-opacity !default;
|
|
7
|
+
$editor-placeholder-text: $kendo-input-placeholder-text !default;
|
|
8
|
+
$editor-placeholder-opacity: $kendo-input-placeholder-opacity !default;
|
|
9
9
|
|
|
10
10
|
$editor-selected-text: $primary-contrast !default;
|
|
11
11
|
$editor-selected-bg: $primary !default;
|
|
@@ -13,3 +13,11 @@ $editor-selected-bg: $primary !default;
|
|
|
13
13
|
$editor-highlighted-bg: mix($primary, #ffffff, 20%) !default;
|
|
14
14
|
|
|
15
15
|
$editor-export-tool-icon-margin-x: .25em !default;
|
|
16
|
+
|
|
17
|
+
$editor-resize-handle-size: 5px !default;
|
|
18
|
+
$editor-resize-handle-border-width: 1px !default;
|
|
19
|
+
$editor-resize-handle-border: #000000 !default;
|
|
20
|
+
$editor-resize-handle-bg: #ffffff !default;
|
|
21
|
+
|
|
22
|
+
$editor-selectednode-outline-width: 2px !default;
|
|
23
|
+
$editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex-length
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -53,9 +53,9 @@ $fab-item-text: $component-text !default;
|
|
|
53
53
|
$fab-item-bg: $component-bg !default;
|
|
54
54
|
$fab-item-border: $component-border !default;
|
|
55
55
|
|
|
56
|
-
$fab-item-icon-text: $button-text !default;
|
|
57
|
-
$fab-item-icon-bg: $button-bg !default;
|
|
58
|
-
$fab-item-icon-border: $button-border !default;
|
|
56
|
+
$fab-item-icon-text: $kendo-button-text !default;
|
|
57
|
+
$fab-item-icon-bg: $kendo-button-bg !default;
|
|
58
|
+
$fab-item-icon-border: $kendo-button-border !default;
|
|
59
59
|
|
|
60
60
|
$fab-item-shadow: $fab-shadow !default;
|
|
61
61
|
$fab-item-disabled-shadow: $fab-disabled-shadow !default;
|
package/scss/filter/_layout.scss
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
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
|
-
width: $input-default-width;
|
|
9
7
|
display: inline-flex;
|
|
10
8
|
vertical-align: middle;
|
|
11
9
|
position: relative;
|
|
@@ -28,7 +26,6 @@
|
|
|
28
26
|
pointer-events: none;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
|
-
> .k-textbox,
|
|
32
29
|
> .k-widget {
|
|
33
30
|
flex: 1 1 auto;
|
|
34
31
|
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/_layout.scss
CHANGED
|
@@ -106,16 +106,12 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.k-form-field,
|
|
109
|
-
.k-form-buttons
|
|
110
|
-
.k-daterangepicker .k-textbox-container {
|
|
109
|
+
.k-form-buttons {
|
|
111
110
|
margin-top: $form-field-margin-top;
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
>
|
|
115
|
-
|
|
116
|
-
&:first-child {
|
|
117
|
-
margin-top: 0;
|
|
118
|
-
}
|
|
113
|
+
> &:first-child {
|
|
114
|
+
margin-top: 0;
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
|
|
@@ -144,28 +140,17 @@
|
|
|
144
140
|
margin: 0 $padding-x;
|
|
145
141
|
}
|
|
146
142
|
|
|
147
|
-
|
|
148
|
-
.k-textarea,
|
|
149
|
-
.k-autocomplete,
|
|
150
|
-
.k-combobox,
|
|
151
|
-
.k-dropdown,
|
|
143
|
+
|
|
152
144
|
.k-multiselect,
|
|
153
145
|
.k-dateinput,
|
|
154
146
|
.k-datepicker,
|
|
155
147
|
.k-datetimepicker,
|
|
156
148
|
.k-daterangepicker-wrap,
|
|
157
149
|
.k-timepicker,
|
|
158
|
-
.k-numerictextbox,
|
|
159
|
-
.k-maskedtextbox,
|
|
160
|
-
.k-textbox-container,
|
|
161
150
|
.k-floating-label-container {
|
|
162
|
-
display: flex;
|
|
151
|
+
display: inline-flex;
|
|
163
152
|
width: 100%;
|
|
164
153
|
}
|
|
165
|
-
|
|
166
|
-
.k-editor .k-dropdown {
|
|
167
|
-
width: $input-default-width;
|
|
168
|
-
}
|
|
169
154
|
}
|
|
170
155
|
|
|
171
156
|
// Form Buttons Container
|
|
@@ -220,6 +205,7 @@
|
|
|
220
205
|
margin-right: $horizontal-form-label-margin-x;
|
|
221
206
|
padding-top: $horizontal-form-label-padding-top;
|
|
222
207
|
width: $horizontal-form-label-width;
|
|
208
|
+
text-align: end;
|
|
223
209
|
flex-direction: column;
|
|
224
210
|
align-items: $horizontal-form-label-align;
|
|
225
211
|
justify-content: flex-start;
|
|
@@ -319,7 +305,7 @@
|
|
|
319
305
|
width: $inline-form-element-width;
|
|
320
306
|
text-align: right;
|
|
321
307
|
line-height: $line-height;
|
|
322
|
-
padding: calc( #{$padding-y} + #{$input-border-width} ) 0;
|
|
308
|
+
padding: calc( #{$padding-y} + #{$kendo-input-border-width} ) 0;
|
|
323
309
|
padding-right: $padding-x-lg;
|
|
324
310
|
align-self: center;
|
|
325
311
|
}
|
|
@@ -406,7 +392,7 @@
|
|
|
406
392
|
|
|
407
393
|
.k-edit-label {
|
|
408
394
|
margin: 0 0 $spacer-y 0;
|
|
409
|
-
padding: calc( #{$input-padding-y} + #{$input-border-width} ) 0;
|
|
395
|
+
padding: calc( #{$kendo-input-padding-y} + #{$kendo-input-border-width} ) 0;
|
|
410
396
|
width: 30%;
|
|
411
397
|
line-height: $form-line-height;
|
|
412
398
|
text-align: right;
|
|
@@ -421,21 +407,16 @@
|
|
|
421
407
|
position: relative;
|
|
422
408
|
|
|
423
409
|
&.k-no-editor {
|
|
424
|
-
padding: calc( #{$input-padding-y} + #{$input-border-width} ) 0;
|
|
410
|
+
padding: calc( #{$kendo-input-padding-y} + #{$kendo-input-border-width} ) 0;
|
|
425
411
|
}
|
|
426
412
|
}
|
|
427
413
|
|
|
428
414
|
.k-edit-field {
|
|
429
415
|
|
|
430
|
-
> .k-widget
|
|
431
|
-
> .k-textbox,
|
|
432
|
-
> .k-textarea {
|
|
416
|
+
> .k-widget {
|
|
433
417
|
width: 100%;
|
|
434
418
|
box-sizing: border-box;
|
|
435
419
|
}
|
|
436
|
-
> .k-colorpicker {
|
|
437
|
-
width: auto;
|
|
438
|
-
}
|
|
439
420
|
|
|
440
421
|
input[type="radio"]:not(.k-radio),
|
|
441
422
|
input[type="checkbox"]:not(.k-checkbox) {
|
package/scss/gantt/_layout.scss
CHANGED
|
@@ -218,9 +218,9 @@
|
|
|
218
218
|
}
|
|
219
219
|
.k-gantt-pdf,
|
|
220
220
|
.k-gantt-create {
|
|
221
|
-
padding: $button-padding-y;
|
|
222
|
-
width: $button-calc-size;
|
|
223
|
-
height: $button-calc-size;
|
|
221
|
+
padding: $kendo-button-padding-y;
|
|
222
|
+
width: $kendo-button-calc-size;
|
|
223
|
+
height: $kendo-button-calc-size;
|
|
224
224
|
|
|
225
225
|
.k-button-icon {}
|
|
226
226
|
.k-button-text {
|
package/scss/grid/_layout.scss
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
@include exports("grid/layout") {
|
|
2
2
|
|
|
3
|
-
$filter-rows-span-size: calc( #{$line-height-em} + #{$input-padding-y * 2} + #{$input-border-width * 2}) !default;
|
|
3
|
+
$filter-rows-span-size: calc( #{$line-height-em} + #{$kendo-input-padding-y * 2} + #{$kendo-input-border-width * 2}) !default;
|
|
4
4
|
|
|
5
5
|
$grid-group-dropclue-size: 6px;
|
|
6
6
|
$grid-group-dropclue-line-size: $grid-group-dropclue-size / 3;
|
|
7
|
-
$grid-group-dropclue-height: $button-calc-size !default;
|
|
7
|
+
$grid-group-dropclue-height: $kendo-button-calc-size !default;
|
|
8
8
|
$grid-group-dropclue-top: 3px !default;
|
|
9
9
|
|
|
10
10
|
$grid-row-inner-height: calc( #{$line-height-em} + #{$table-cell-padding-y * 2} );
|
|
11
11
|
// $grid-row-half-inner-height: calc( #{$line-height-em / 2} + #{$table-cell-padding-y} );
|
|
12
12
|
|
|
13
13
|
// be cautious when changing the next line; see https://github.com/MoOx/reduce-css-calc/issues/38
|
|
14
|
-
$grid-command-cell-padding-y: calc( #{$table-cell-padding-y} - (#{$button-calc-size} - #{$line-height-em}) / 2 ) !default;
|
|
14
|
+
$grid-command-cell-padding-y: calc( #{$table-cell-padding-y} - (#{$kendo-button-calc-size} - #{$line-height-em}) / 2 ) !default;
|
|
15
15
|
|
|
16
16
|
$grid-form-component-vertical-align: middle !default;
|
|
17
17
|
$grid-hierarchy-col-width: ($icon-size * 2) !default;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
$grid-sorted-icon-spacing: calc( #{$padding-x} - 1px ) !default;
|
|
28
28
|
|
|
29
29
|
// helper variables
|
|
30
|
-
$grid-filterable-icon-spacing: calc( #{$button-calc-size} + #{$grid-header-menu-icon-spacing} );
|
|
30
|
+
$grid-filterable-icon-spacing: calc( #{$kendo-button-calc-size} + #{$grid-header-menu-icon-spacing} );
|
|
31
31
|
|
|
32
32
|
.k-grid {
|
|
33
33
|
border-width: $grid-border-width;
|
|
@@ -416,12 +416,6 @@
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
|
|
419
|
-
// Grid search
|
|
420
|
-
.k-grid-search {
|
|
421
|
-
width: $grid-search-width;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
|
|
425
419
|
// Grouping header
|
|
426
420
|
.k-grouping-header {
|
|
427
421
|
padding: $grid-grouping-header-padding-y $grid-grouping-header-padding-x;
|
|
@@ -435,7 +429,7 @@
|
|
|
435
429
|
|
|
436
430
|
&::before {
|
|
437
431
|
content: "";
|
|
438
|
-
height: $button-calc-size;
|
|
432
|
+
height: $kendo-button-calc-size;
|
|
439
433
|
display: inline-block;
|
|
440
434
|
vertical-align: middle;
|
|
441
435
|
}
|
|
@@ -468,7 +462,7 @@
|
|
|
468
462
|
.k-group-indicator {
|
|
469
463
|
@include border-radius( $grid-group-indicator-border-radius );
|
|
470
464
|
margin: 0;
|
|
471
|
-
padding: $button-padding-y $button-padding-x;
|
|
465
|
+
padding: $kendo-button-padding-y $kendo-button-padding-x;
|
|
472
466
|
border-width: 1px;
|
|
473
467
|
border-style: solid;
|
|
474
468
|
display: inline-flex;
|
|
@@ -639,7 +633,7 @@
|
|
|
639
633
|
padding-right: $grid-filterable-icon-spacing;
|
|
640
634
|
|
|
641
635
|
.k-ie & {
|
|
642
|
-
padding-right: calc( #{ $button-calc-size } + #{ $grid-header-menu-icon-spacing });
|
|
636
|
+
padding-right: calc( #{ $kendo-button-calc-size } + #{ $grid-header-menu-icon-spacing });
|
|
643
637
|
}
|
|
644
638
|
}
|
|
645
639
|
|
|
@@ -649,9 +643,9 @@
|
|
|
649
643
|
|
|
650
644
|
.k-grid-filter,
|
|
651
645
|
.k-header-column-menu {
|
|
652
|
-
padding: $button-padding-y;
|
|
653
|
-
width: $button-calc-size;
|
|
654
|
-
height: $button-calc-size;
|
|
646
|
+
padding: $kendo-button-padding-y;
|
|
647
|
+
width: $kendo-button-calc-size;
|
|
648
|
+
height: $kendo-button-calc-size;
|
|
655
649
|
box-sizing: border-box;
|
|
656
650
|
outline: 0;
|
|
657
651
|
line-height: $form-line-height;
|
|
@@ -661,15 +655,15 @@
|
|
|
661
655
|
justify-content: center;
|
|
662
656
|
position: absolute;
|
|
663
657
|
right: $grid-header-menu-icon-spacing;
|
|
664
|
-
bottom: calc( #{ $grid-header-padding-y } + #{ $line-height-em / 2 } - #{ $button-inner-calc-size / 2 } );
|
|
658
|
+
bottom: calc( #{ $grid-header-padding-y } + #{ $line-height-em / 2 } - #{ $kendo-button-inner-calc-size / 2 } );
|
|
665
659
|
z-index: 1;
|
|
666
660
|
|
|
667
661
|
.k-ie & {
|
|
668
662
|
position: static;
|
|
669
663
|
float: right;
|
|
670
|
-
margin-top: calc( (#{ $button-calc-size } - #{ $form-line-height * 1em}) / -2);
|
|
671
|
-
margin-bottom: calc( (#{ $button-calc-size } - #{ $form-line-height * 1em}) / -2);
|
|
672
|
-
margin-right: calc( -1 * #{ $button-calc-size });
|
|
664
|
+
margin-top: calc( (#{ $kendo-button-calc-size } - #{ $form-line-height * 1em}) / -2);
|
|
665
|
+
margin-bottom: calc( (#{ $kendo-button-calc-size } - #{ $form-line-height * 1em}) / -2);
|
|
666
|
+
margin-right: calc( -1 * #{ $kendo-button-calc-size });
|
|
673
667
|
}
|
|
674
668
|
|
|
675
669
|
&:hover {
|
|
@@ -781,30 +775,10 @@
|
|
|
781
775
|
width: 100%;
|
|
782
776
|
}
|
|
783
777
|
|
|
784
|
-
> span {
|
|
785
|
-
.k-button {
|
|
786
|
-
visibility: visible;
|
|
787
|
-
pointer-events: all;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
.k-button,
|
|
791
|
-
.k-dropdown-operator {
|
|
792
|
-
margin-left: $grid-cell-padding-y / 2;
|
|
793
|
-
|
|
794
|
-
.k-ie & {
|
|
795
|
-
min-width: $button-inner-calc-size;
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.k-widget {
|
|
800
|
-
width: auto;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
|
|
804
778
|
.k-filtercell-operator {
|
|
805
779
|
> .k-button.k-clear-button-visible {
|
|
806
780
|
visibility: visible;
|
|
807
|
-
height: $button-calc-size;
|
|
781
|
+
height: $kendo-button-calc-size;
|
|
808
782
|
}
|
|
809
783
|
|
|
810
784
|
> .k-button:not(.k-clear-button-visible) {
|
|
@@ -817,17 +791,6 @@
|
|
|
817
791
|
margin-left: $grid-cell-padding-y / 2;
|
|
818
792
|
}
|
|
819
793
|
|
|
820
|
-
.k-widget:not(.k-dropdown-operator),
|
|
821
|
-
.k-filtercell-wrapper > .k-textbox {
|
|
822
|
-
display: flex;
|
|
823
|
-
flex: 1 1 auto;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
.k-filtercell-wrapper > .k-textbox {
|
|
827
|
-
width: 100%;
|
|
828
|
-
min-width: 0;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
794
|
}
|
|
832
795
|
|
|
833
796
|
// Grid content
|
|
@@ -874,7 +837,6 @@
|
|
|
874
837
|
|
|
875
838
|
> input:not([type="checkbox"]):not([type="radio"]),
|
|
876
839
|
> select,
|
|
877
|
-
> .k-textbox,
|
|
878
840
|
> .k-widget:not(.k-switch) {
|
|
879
841
|
width: 100%;
|
|
880
842
|
vertical-align: $grid-form-component-vertical-align;
|
|
@@ -1122,12 +1084,12 @@
|
|
|
1122
1084
|
}
|
|
1123
1085
|
|
|
1124
1086
|
.k-header > .k-cell-inner {
|
|
1125
|
-
margin: (-1 * $grid-header-padding-y) calc(-1 * calc( #{$button-calc-size} - #{$grid-cell-padding-x})) (-1 * $grid-header-padding-y) (-1 * $grid-cell-padding-x);
|
|
1087
|
+
margin: (-1 * $grid-header-padding-y) calc(-1 * calc( #{$kendo-button-calc-size} - #{$grid-cell-padding-x})) (-1 * $grid-header-padding-y) (-1 * $grid-cell-padding-x);
|
|
1126
1088
|
}
|
|
1127
1089
|
|
|
1128
1090
|
.k-filterable {
|
|
1129
1091
|
> .k-cell-inner {
|
|
1130
|
-
margin: (-1 * $grid-header-padding-y) calc(-1 * #{$button-calc-size}) (-1 * $grid-header-padding-y) (-1 * $grid-cell-padding-x);
|
|
1092
|
+
margin: (-1 * $grid-header-padding-y) calc(-1 * #{$kendo-button-calc-size}) (-1 * $grid-header-padding-y) (-1 * $grid-cell-padding-x);
|
|
1131
1093
|
|
|
1132
1094
|
.k-link {
|
|
1133
1095
|
padding-right: 0;
|
|
@@ -1307,9 +1269,7 @@
|
|
|
1307
1269
|
}
|
|
1308
1270
|
|
|
1309
1271
|
.k-widget,
|
|
1310
|
-
.k-radio-list
|
|
1311
|
-
.k-textbox,
|
|
1312
|
-
.k-searchbox {
|
|
1272
|
+
.k-radio-list {
|
|
1313
1273
|
margin: $grid-filter-menu-item-spacing-y $grid-filter-menu-item-spacing-x 0;
|
|
1314
1274
|
width: calc( 100% - ( 2 * #{$grid-filter-menu-item-spacing-x} ) );
|
|
1315
1275
|
box-sizing: border-box;
|
|
@@ -1324,11 +1284,6 @@
|
|
|
1324
1284
|
width: auto;
|
|
1325
1285
|
display: inline-flex;
|
|
1326
1286
|
}
|
|
1327
|
-
|
|
1328
|
-
.k-switch {
|
|
1329
|
-
width: $switch-size;
|
|
1330
|
-
display: inline-flex;
|
|
1331
|
-
}
|
|
1332
1287
|
}
|
|
1333
1288
|
|
|
1334
1289
|
.k-multicheck-wrap {
|
|
@@ -1466,7 +1421,7 @@
|
|
|
1466
1421
|
|
|
1467
1422
|
.k-header > .k-cell-inner {
|
|
1468
1423
|
margin-right: (-1 * $grid-cell-padding-x);
|
|
1469
|
-
margin-left: calc(-1 * calc( #{$button-calc-size} - #{$grid-cell-padding-x}));
|
|
1424
|
+
margin-left: calc(-1 * calc( #{$kendo-button-calc-size} - #{$grid-cell-padding-x}));
|
|
1470
1425
|
|
|
1471
1426
|
.k-sort-order {
|
|
1472
1427
|
margin-right: $grid-sorting-index-spacing-x;
|
|
@@ -1477,7 +1432,7 @@
|
|
|
1477
1432
|
.k-filterable {
|
|
1478
1433
|
> .k-cell-inner {
|
|
1479
1434
|
margin-right: (-1 * $grid-cell-padding-x);
|
|
1480
|
-
margin-left: calc(-1 * #{$button-calc-size});
|
|
1435
|
+
margin-left: calc(-1 * #{$kendo-button-calc-size});
|
|
1481
1436
|
|
|
1482
1437
|
.k-link {
|
|
1483
1438
|
padding-right: $grid-header-padding-x;
|
package/scss/grid/_theme.scss
CHANGED
|
@@ -188,8 +188,8 @@
|
|
|
188
188
|
.k-header-column-menu,
|
|
189
189
|
.k-hierarchy-cell .k-icon {
|
|
190
190
|
&:hover {
|
|
191
|
-
color: $button-
|
|
192
|
-
background-color: $button-
|
|
191
|
+
color: $kendo-button-hover-text;
|
|
192
|
+
background-color: $kendo-button-hover-bg;
|
|
193
193
|
}
|
|
194
194
|
&:focus,
|
|
195
195
|
&.k-state-focus,
|
|
@@ -116,8 +116,6 @@ $grid-edit-cell-padding-y: 3px !default;
|
|
|
116
116
|
|
|
117
117
|
$grid-command-cell-button-spacing: map-get( $spacing, 2 ) !default;
|
|
118
118
|
|
|
119
|
-
$grid-search-width: $input-default-width !default;
|
|
120
|
-
|
|
121
119
|
$grid-sticky-bg: $component-bg !default;
|
|
122
120
|
$grid-sticky-text: $grid-text !default;
|
|
123
121
|
$grid-sticky-border: rgba( black, .3 ) !default;
|