@progress/kendo-theme-default 6.7.1-dev.1 → 6.8.0-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/dist/all.css +142 -154
- package/dist/all.scss +256 -223
- package/dist/meta/sassdoc-data.json +60 -6
- package/dist/meta/sassdoc-raw-data.json +28 -3
- package/dist/meta/variables.json +200 -0
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +4 -4
- package/scss/spreadsheet/_layout.scss +115 -115
- package/scss/spreadsheet/_theme.scss +61 -106
- package/scss/spreadsheet/_variables.scss +66 -2
- package/scss/toolbar/_layout.scss +10 -0
- package/scss/toolbar/_variables.scss +4 -0
|
@@ -28,98 +28,41 @@
|
|
|
28
28
|
top: 100%;
|
|
29
29
|
transform: translateY( -100% );
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
// Header
|
|
37
|
-
.k-spreadsheet .k-tabstrip-wrapper {
|
|
38
|
-
border-width: 0 0 1px;
|
|
39
|
-
border-style: solid;
|
|
40
|
-
border-color: inherit;
|
|
41
|
-
position: relative;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
// Quick access toolbar
|
|
46
|
-
.k-spreadsheet-quick-access-toolbar {
|
|
47
|
-
padding: $kendo-toolbar-md-padding-y;
|
|
48
|
-
display: inline-flex;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
position: absolute;
|
|
51
|
-
z-index: 2;
|
|
52
|
-
top: 0;
|
|
53
|
-
left: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
// Tabstrip
|
|
58
|
-
.k-spreadsheet-tabstrip {
|
|
59
|
-
padding-top: $kendo-toolbar-md-padding-y;
|
|
60
|
-
position: relative;
|
|
61
|
-
z-index: 1;
|
|
62
|
-
}
|
|
63
|
-
.k-spreadsheet-tabstrip .k-tabstrip-items-wrapper {
|
|
64
|
-
margin: 0;
|
|
65
|
-
}
|
|
66
|
-
.k-spreadsheet-tabstrip .k-loading {
|
|
67
|
-
// TODO: better name
|
|
68
|
-
display: none;
|
|
69
|
-
}
|
|
70
|
-
.k-spreadsheet-tabstrip .k-content,
|
|
71
|
-
.k-spreadsheet-tabstrip .k-tabstrip-content {
|
|
72
|
-
@include border-radius( 0 );
|
|
73
|
-
padding: 0;
|
|
74
|
-
border-width: 0;
|
|
75
|
-
overflow: hidden;
|
|
76
31
|
}
|
|
77
32
|
|
|
78
|
-
|
|
79
33
|
// Toolbar
|
|
80
34
|
.k-spreadsheet-toolbar {
|
|
81
35
|
border-width: 0;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// Tools
|
|
85
|
-
[data-tool="backgroundColor"],
|
|
86
|
-
[data-tool="textColor"],
|
|
87
|
-
[data-tool="borders"],
|
|
88
|
-
[data-tool="alignment"],
|
|
89
|
-
[data-tool="merge"],
|
|
90
|
-
[data-tool="freeze"] {
|
|
91
|
-
width: auto;
|
|
92
|
-
min-width: calc( #{$kendo-form-line-height} * 1em );
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.k-color-picker {
|
|
96
|
-
width: min-content;
|
|
97
|
-
}
|
|
98
36
|
}
|
|
99
37
|
|
|
100
|
-
|
|
101
38
|
// Action bar
|
|
102
39
|
.k-spreadsheet-action-bar {
|
|
103
|
-
border-width: 0 0
|
|
40
|
+
border-width: 0 0 $kendo-spreadsheet-action-bar-border-width;
|
|
104
41
|
border-style: solid;
|
|
105
42
|
border-color: inherit;
|
|
106
|
-
|
|
107
|
-
|
|
43
|
+
padding-block: $kendo-spreadsheet-action-bar-padding-y;
|
|
44
|
+
padding-inline: $kendo-spreadsheet-action-bar-padding-x;
|
|
45
|
+
font-size: $kendo-spreadsheet-action-bar-font-size;
|
|
46
|
+
font-family: $kendo-spreadsheet-action-bar-font-family;
|
|
108
47
|
position: relative;
|
|
109
48
|
display: flex;
|
|
110
49
|
flex-direction: row;
|
|
50
|
+
gap: $kendo-spreadsheet-action-bar-spacing;
|
|
111
51
|
}
|
|
52
|
+
// Todo check
|
|
112
53
|
.k-spreadsheet-name-editor {
|
|
113
54
|
width: 10em;
|
|
114
55
|
}
|
|
115
56
|
.k-spreadsheet-formula-bar {
|
|
57
|
+
min-width: 0px;
|
|
116
58
|
border-color: inherit;
|
|
117
59
|
display: flex;
|
|
118
60
|
flex-direction: row;
|
|
119
61
|
align-items: center;
|
|
120
62
|
flex: 1;
|
|
121
|
-
gap: $kendo-
|
|
63
|
+
gap: $kendo-spreadsheet-formula-bar-gap;
|
|
122
64
|
|
|
65
|
+
// move to legacy selector
|
|
123
66
|
> .k-icon,
|
|
124
67
|
> .k-svg-icon {
|
|
125
68
|
padding-block: 0;
|
|
@@ -131,6 +74,7 @@
|
|
|
131
74
|
flex-shrink: 0;
|
|
132
75
|
}
|
|
133
76
|
|
|
77
|
+
// add k-hidden from component
|
|
134
78
|
.k-tooltip,
|
|
135
79
|
.k-group-header,
|
|
136
80
|
.k-list-scroller {
|
|
@@ -138,9 +82,13 @@
|
|
|
138
82
|
}
|
|
139
83
|
|
|
140
84
|
.k-spreadsheet-formula-input {
|
|
141
|
-
padding-block: $kendo-input-padding-y;
|
|
142
|
-
padding-inline: $kendo-input-padding-x;
|
|
143
|
-
line-height: $kendo-input-line-height;
|
|
85
|
+
padding-block: $kendo-spreadsheet-formula-input-padding-y;
|
|
86
|
+
padding-inline: $kendo-spreadsheet-formula-input-padding-x;
|
|
87
|
+
line-height: $kendo-spreadsheet-formula-input-line-height;
|
|
88
|
+
display: inline-block;
|
|
89
|
+
white-space: nowrap;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
text-overflow: ellipsis;
|
|
144
92
|
|
|
145
93
|
&.k-spreadsheet-array-formula {
|
|
146
94
|
&::before {
|
|
@@ -191,27 +139,36 @@
|
|
|
191
139
|
|
|
192
140
|
// Cell editor
|
|
193
141
|
.k-spreadsheet-cell-editor {
|
|
194
|
-
padding-block:
|
|
195
|
-
padding-inline:
|
|
196
|
-
line-height:
|
|
142
|
+
padding-block: $kendo-spreadsheet-cell-editor-padding-y;
|
|
143
|
+
padding-inline: $kendo-spreadsheet-cell-editor-padding-x;
|
|
144
|
+
line-height: $kendo-spreadsheet-cell-editor-line-height;
|
|
197
145
|
display: none;
|
|
198
146
|
overflow: hidden;
|
|
199
147
|
position: absolute;
|
|
200
|
-
z-index:
|
|
148
|
+
z-index: 100;
|
|
201
149
|
}
|
|
202
150
|
|
|
203
151
|
|
|
204
152
|
// Sheets bar
|
|
205
153
|
.k-spreadsheet-sheets-bar {
|
|
206
|
-
padding
|
|
207
|
-
|
|
154
|
+
padding-block-end: $kendo-spreadsheet-sheets-bar-padding-y;
|
|
155
|
+
padding-inline: $kendo-spreadsheet-sheets-bar-padding-x;
|
|
156
|
+
border-width: $kendo-spreadsheet-sheets-bar-border-width 0 0;
|
|
208
157
|
border-style: solid;
|
|
209
158
|
border-color: inherit;
|
|
210
159
|
display: flex;
|
|
211
160
|
flex-direction: row;
|
|
212
|
-
align-items:
|
|
161
|
+
align-items: center;
|
|
213
162
|
position: relative;
|
|
214
163
|
}
|
|
164
|
+
|
|
165
|
+
.k-spreadsheet-sheets {
|
|
166
|
+
flex: 1 1 auto;
|
|
167
|
+
}
|
|
168
|
+
.k-spreadsheet-sheets .k-tabstrip-items-wrapper {
|
|
169
|
+
border-width: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
215
172
|
.k-spreadsheet-sheets-bar-add {
|
|
216
173
|
align-self: center;
|
|
217
174
|
|
|
@@ -221,6 +178,7 @@
|
|
|
221
178
|
background: none;
|
|
222
179
|
}
|
|
223
180
|
}
|
|
181
|
+
|
|
224
182
|
.k-spreadsheet-sheets-items {
|
|
225
183
|
flex: 1;
|
|
226
184
|
overflow: hidden;
|
|
@@ -253,8 +211,8 @@
|
|
|
253
211
|
.k-spreadsheet-view {
|
|
254
212
|
height: auto !important; // stylelint-disable-line declaration-no-important
|
|
255
213
|
border-color: inherit;
|
|
256
|
-
font-size:
|
|
257
|
-
font-family:
|
|
214
|
+
font-size: $kendo-spreadsheet-view-font-size;
|
|
215
|
+
font-family: $kendo-spreadsheet-view-font-family;
|
|
258
216
|
flex: 1;
|
|
259
217
|
position: relative;
|
|
260
218
|
overflow: hidden;
|
|
@@ -266,8 +224,8 @@
|
|
|
266
224
|
}
|
|
267
225
|
|
|
268
226
|
.k-spreadsheet-fixed-container {
|
|
269
|
-
width: 100
|
|
270
|
-
height: 100
|
|
227
|
+
width: calc( 100% - var(--kendo-scrollbar-width, #{$kendo-scrollbar-width}) );
|
|
228
|
+
height: calc( 100% - var(--kendo-scrollbar-width, #{$kendo-scrollbar-width}) );
|
|
271
229
|
border-color: inherit;
|
|
272
230
|
box-sizing: border-box;
|
|
273
231
|
user-select: none;
|
|
@@ -275,6 +233,8 @@
|
|
|
275
233
|
z-index: 2;
|
|
276
234
|
overflow: hidden;
|
|
277
235
|
}
|
|
236
|
+
|
|
237
|
+
// todo check if used - probably not
|
|
278
238
|
.k-spreadsheet-overflow {
|
|
279
239
|
position: absolute;
|
|
280
240
|
top: 0;
|
|
@@ -284,6 +244,7 @@
|
|
|
284
244
|
overflow: hidden;
|
|
285
245
|
border-color: inherit;
|
|
286
246
|
}
|
|
247
|
+
|
|
287
248
|
.k-spreadsheet-pane {
|
|
288
249
|
padding: 0 1px 0 0;
|
|
289
250
|
border-width: 2px 0 0 2px;
|
|
@@ -298,6 +259,7 @@
|
|
|
298
259
|
}
|
|
299
260
|
|
|
300
261
|
}
|
|
262
|
+
|
|
301
263
|
.k-spreadsheet-top-corner {
|
|
302
264
|
border-width: 0 1px 1px 0;
|
|
303
265
|
border-style: solid;
|
|
@@ -321,6 +283,7 @@
|
|
|
321
283
|
border-bottom-color: inherit;
|
|
322
284
|
}
|
|
323
285
|
}
|
|
286
|
+
|
|
324
287
|
.k-spreadsheet-scroller {
|
|
325
288
|
width: 100%;
|
|
326
289
|
height: 100%;
|
|
@@ -421,14 +384,15 @@
|
|
|
421
384
|
|
|
422
385
|
// Cells
|
|
423
386
|
.k-spreadsheet-cell {
|
|
424
|
-
padding:
|
|
387
|
+
padding-block: $kendo-spreadsheet-cell-padding-y;
|
|
388
|
+
padding-inline: $kendo-spreadsheet-cell-padding-x;
|
|
425
389
|
box-sizing: border-box;
|
|
426
390
|
position: absolute;
|
|
427
391
|
line-height: normal;
|
|
428
392
|
white-space: pre;
|
|
429
393
|
overflow: hidden;
|
|
430
394
|
}
|
|
431
|
-
.k-spreadsheet-merged-cells-
|
|
395
|
+
.k-spreadsheet-merged-cells-wrapper {
|
|
432
396
|
position: relative;
|
|
433
397
|
}
|
|
434
398
|
|
|
@@ -448,8 +412,8 @@
|
|
|
448
412
|
position: absolute;
|
|
449
413
|
}
|
|
450
414
|
.k-spreadsheet .k-spreadsheet-selection-highlight {
|
|
451
|
-
border-width:
|
|
452
|
-
border-style:
|
|
415
|
+
border-width: 2px;
|
|
416
|
+
border-style: dashed;
|
|
453
417
|
box-sizing: border-box;
|
|
454
418
|
position: absolute;
|
|
455
419
|
}
|
|
@@ -494,7 +458,7 @@
|
|
|
494
458
|
position: absolute;
|
|
495
459
|
bottom: 0;
|
|
496
460
|
right: 0;
|
|
497
|
-
z-index:
|
|
461
|
+
z-index: 300;
|
|
498
462
|
cursor: crosshair;
|
|
499
463
|
}
|
|
500
464
|
|
|
@@ -533,35 +497,34 @@
|
|
|
533
497
|
display: block;
|
|
534
498
|
position: absolute;
|
|
535
499
|
top: 0;
|
|
536
|
-
|
|
537
|
-
|
|
500
|
+
inset-inline-end: 0;
|
|
501
|
+
inset-inline-start: auto;
|
|
538
502
|
border-width: 3px;
|
|
539
503
|
border-style: solid;
|
|
540
504
|
}
|
|
541
505
|
|
|
506
|
+
|
|
542
507
|
// Validation
|
|
543
|
-
.k-dirty {
|
|
544
|
-
|
|
545
|
-
|
|
508
|
+
.k-spreadsheet-cell .k-dirty {
|
|
509
|
+
inset-inline-start: 0;
|
|
510
|
+
inset-inline-end: auto;
|
|
546
511
|
}
|
|
547
512
|
|
|
548
513
|
|
|
549
|
-
// Spreadsheet filter
|
|
550
|
-
$kendo-filter-menu-padding-left: calc( #{$kendo-icon-size} + #{2 * $kendo-padding-md-y} );
|
|
551
|
-
|
|
552
514
|
// Filter button
|
|
553
515
|
.k-spreadsheet .k-filter-wrapper {
|
|
554
516
|
position: relative;
|
|
555
517
|
z-index: 50;
|
|
556
518
|
}
|
|
557
519
|
.k-spreadsheet .k-filter-range {
|
|
558
|
-
border-width:
|
|
520
|
+
border-width: 2px;
|
|
559
521
|
border-style: solid;
|
|
560
522
|
position: absolute;
|
|
561
523
|
box-sizing: border-box;
|
|
562
524
|
}
|
|
563
525
|
.k-spreadsheet-filter {
|
|
564
526
|
@include border-radius( $kendo-border-radius );
|
|
527
|
+
padding: $kendo-padding-y;
|
|
565
528
|
line-height: 1;
|
|
566
529
|
position: absolute;
|
|
567
530
|
cursor: pointer;
|
|
@@ -586,7 +549,7 @@
|
|
|
586
549
|
color: inherit;
|
|
587
550
|
}
|
|
588
551
|
.k-link {
|
|
589
|
-
padding-left: $kendo-
|
|
552
|
+
padding-left: calc( #{$kendo-icon-size} + #{2 * $kendo-padding-md-y} );
|
|
590
553
|
}
|
|
591
554
|
.k-icon,
|
|
592
555
|
.k-svg-icon {
|
|
@@ -654,8 +617,6 @@
|
|
|
654
617
|
}
|
|
655
618
|
}
|
|
656
619
|
|
|
657
|
-
|
|
658
|
-
|
|
659
620
|
// Spreadsheet toolbar
|
|
660
621
|
.k-spreadsheet-popup {
|
|
661
622
|
padding: 0;
|
|
@@ -682,13 +643,6 @@
|
|
|
682
643
|
}
|
|
683
644
|
}
|
|
684
645
|
|
|
685
|
-
.k-spreadsheet-format-popup {
|
|
686
|
-
.k-item { justify-content: space-between; }
|
|
687
|
-
.k-spreadsheet-sample { order: 1; }
|
|
688
|
-
}
|
|
689
|
-
.k-spreadsheet-sample {
|
|
690
|
-
opacity: .7;
|
|
691
|
-
}
|
|
692
646
|
|
|
693
647
|
.k-spreadsheet-clipboard,
|
|
694
648
|
.k-spreadsheet-clipboard-paste {
|
|
@@ -774,7 +728,7 @@
|
|
|
774
728
|
height: auto;
|
|
775
729
|
}
|
|
776
730
|
|
|
777
|
-
// Insert image dialog
|
|
731
|
+
// Insert image dialog - Delete after new rendering adoption R3 23
|
|
778
732
|
.k-spreadsheet-insert-image-dialog {
|
|
779
733
|
@include border-radius( $kendo-spreadsheet-insert-image-dialog-preview-border-radius );
|
|
780
734
|
border-style: $kendo-spreadsheet-insert-image-dialog-border-style;
|
|
@@ -878,21 +832,67 @@
|
|
|
878
832
|
}
|
|
879
833
|
|
|
880
834
|
|
|
835
|
+
// Legacy styles
|
|
836
|
+
.k-spreadsheet-legacy {
|
|
837
|
+
.k-spreadsheet,
|
|
838
|
+
.k-spreadsheet-action-bar,
|
|
839
|
+
.k-spreadsheet-view {
|
|
840
|
+
font-size: 12px;
|
|
841
|
+
}
|
|
881
842
|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
843
|
+
.k-spreadsheet-cell {
|
|
844
|
+
padding: 1px;
|
|
845
|
+
}
|
|
885
846
|
|
|
886
|
-
.k-
|
|
887
|
-
|
|
888
|
-
left: auto;
|
|
847
|
+
.k-spreadsheet-filter {
|
|
848
|
+
padding: 0px;
|
|
889
849
|
}
|
|
890
850
|
|
|
891
|
-
.k-
|
|
892
|
-
|
|
893
|
-
right: auto;
|
|
851
|
+
.k-filter-range {
|
|
852
|
+
border-width: 1px;
|
|
894
853
|
}
|
|
895
854
|
|
|
855
|
+
.k-spreadsheet .k-spreadsheet-selection-highlight {
|
|
856
|
+
border-width: 1px;
|
|
857
|
+
border-style: solid;
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
// Tabstrip
|
|
862
|
+
.k-spreadsheet .k-tabstrip-wrapper {
|
|
863
|
+
border-width: 0 0 1px;
|
|
864
|
+
border-style: solid;
|
|
865
|
+
border-color: inherit;
|
|
866
|
+
position: relative;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.k-spreadsheet-quick-access-toolbar {
|
|
870
|
+
padding: $kendo-toolbar-md-padding-y;
|
|
871
|
+
display: inline-flex;
|
|
872
|
+
flex-direction: row;
|
|
873
|
+
position: absolute;
|
|
874
|
+
z-index: 2;
|
|
875
|
+
top: 0;
|
|
876
|
+
left: 0;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.k-spreadsheet-tabstrip {
|
|
880
|
+
padding-top: $kendo-toolbar-md-padding-y;
|
|
881
|
+
position: relative;
|
|
882
|
+
z-index: 1;
|
|
883
|
+
}
|
|
884
|
+
.k-spreadsheet-tabstrip .k-tabstrip-items-wrapper {
|
|
885
|
+
margin: 0;
|
|
886
|
+
}
|
|
887
|
+
.k-spreadsheet-tabstrip .k-loading {
|
|
888
|
+
display: none;
|
|
889
|
+
}
|
|
890
|
+
.k-spreadsheet-tabstrip .k-content,
|
|
891
|
+
.k-spreadsheet-tabstrip .k-tabstrip-content {
|
|
892
|
+
@include border-radius( 0 );
|
|
893
|
+
padding: 0;
|
|
894
|
+
border-width: 0;
|
|
895
|
+
overflow: hidden;
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
}
|
|
@@ -9,114 +9,104 @@
|
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
// Header
|
|
14
|
-
.k-spreadsheet
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
.k-spreadsheet-header {
|
|
14
|
+
@include fill(
|
|
15
|
+
$kendo-spreadsheet-header-text,
|
|
16
|
+
$kendo-spreadsheet-header-bg,
|
|
17
|
+
$kendo-spreadsheet-header-border,
|
|
18
|
+
$kendo-spreadsheet-header-gradient
|
|
19
|
+
);
|
|
20
|
+
}
|
|
20
21
|
|
|
21
|
-
// Row /
|
|
22
|
+
// Row / Column Headers
|
|
22
23
|
.k-spreadsheet-top-corner,
|
|
23
24
|
.k-spreadsheet-row-header,
|
|
24
25
|
.k-spreadsheet-column-header {
|
|
25
26
|
@include fill(
|
|
26
|
-
$kendo-
|
|
27
|
-
$kendo-
|
|
28
|
-
$kendo-
|
|
29
|
-
$kendo-
|
|
27
|
+
$kendo-spreadsheet-table-header-text,
|
|
28
|
+
$kendo-spreadsheet-table-header-bg,
|
|
29
|
+
$kendo-spreadsheet-table-header-border,
|
|
30
|
+
$kendo-spreadsheet-table-header-gradient
|
|
30
31
|
);
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
// Formula bar
|
|
35
|
-
.k-spreadsheet-formula-list {}
|
|
36
|
-
.k-syntax-ref { color: #ff8822; }
|
|
37
|
-
.k-syntax-num { color: #0099ff; }
|
|
38
|
-
.k-syntax-str { color: #38b714; }
|
|
39
|
-
.k-syntax-error { color: red; }
|
|
40
|
-
.k-syntax-bool { color: #a9169c; }
|
|
41
|
-
.k-syntax-paren-match { background-color: #caf200; }
|
|
42
|
-
|
|
43
|
-
|
|
44
34
|
// Cell editor
|
|
45
35
|
.k-spreadsheet-cell-editor {
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
@include fill(
|
|
37
|
+
$kendo-spreadsheet-cell-editor-text,
|
|
38
|
+
$kendo-spreadsheet-cell-editor-bg,
|
|
39
|
+
$kendo-spreadsheet-cell-editor-border
|
|
40
|
+
)
|
|
48
41
|
}
|
|
49
42
|
|
|
50
|
-
|
|
51
43
|
// Cells
|
|
52
44
|
.k-spreadsheet-merged-cell {
|
|
53
|
-
|
|
45
|
+
@include fill( $bg: $kendo-spreadsheet-bg );
|
|
54
46
|
}
|
|
55
47
|
.k-spreadsheet-disabled-mask {
|
|
56
|
-
|
|
48
|
+
@include fill( $bg: $kendo-spreadsheet-bg );
|
|
57
49
|
}
|
|
58
50
|
|
|
59
51
|
// Selection
|
|
60
52
|
.k-spreadsheet .k-selection-full,
|
|
61
53
|
.k-spreadsheet .k-selection-partial {
|
|
62
|
-
|
|
63
|
-
background-color: rgba( $kendo-selected-bg, .25 );
|
|
54
|
+
@include fill( $bg: $kendo-spreadsheet-partial-selection-bg );
|
|
64
55
|
}
|
|
65
56
|
.k-spreadsheet-selection {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
@include fill(
|
|
58
|
+
$kendo-spreadsheet-selection-text,
|
|
59
|
+
$kendo-spreadsheet-selection-bg,
|
|
60
|
+
$kendo-spreadsheet-selection-border
|
|
61
|
+
);
|
|
62
|
+
@include box-shadow( $kendo-spreadsheet-selection-shadow );
|
|
63
|
+
}
|
|
64
|
+
.k-spreadsheet-selection-highlight {
|
|
65
|
+
@include fill( $border: $kendo-spreadsheet-selection-border );
|
|
69
66
|
}
|
|
70
67
|
.k-spreadsheet .k-single-selection::after {
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
@include fill(
|
|
69
|
+
$kendo-spreadsheet-single-selection-text,
|
|
70
|
+
$kendo-spreadsheet-single-selection-bg,
|
|
71
|
+
$kendo-spreadsheet-single-selection-border
|
|
72
|
+
)
|
|
73
73
|
}
|
|
74
74
|
.k-spreadsheet-active-cell {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
&.k-right {
|
|
79
|
-
box-shadow: inset 0 0 0 1px $kendo-selected-bg, inset -1px 0 0 1px $kendo-selected-bg;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&.k-bottom {
|
|
83
|
-
box-shadow: inset 0 0 0 1px $kendo-selected-bg, inset 0 -1px 0 1px $kendo-selected-bg;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.k-bottom.k-right {
|
|
87
|
-
box-shadow: inset 0 0 0 1px $kendo-selected-bg, inset -1px -1px 0 1px $kendo-selected-bg;
|
|
88
|
-
}
|
|
75
|
+
@include fill ( $bg: $kendo-spreadsheet-active-cell-bg );
|
|
76
|
+
@include box-shadow( $kendo-spreadsheet-active-cell-shadow );
|
|
89
77
|
}
|
|
90
78
|
|
|
91
79
|
.k-spreadsheet .k-auto-fill {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
80
|
+
@include fill(
|
|
81
|
+
$kendo-spreadsheet-auto-fill-text,
|
|
82
|
+
$kendo-spreadsheet-auto-fill-bg,
|
|
83
|
+
$kendo-spreadsheet-auto-fill-border
|
|
84
|
+
);
|
|
85
|
+
@include box-shadow( $kendo-spreadsheet-auto-fill-shadow );
|
|
95
86
|
}
|
|
96
87
|
.k-spreadsheet .k-auto-fill-punch {
|
|
97
|
-
|
|
88
|
+
@include fill( $bg: $kendo-spreadsheet-auto-fill-punch-bg );
|
|
98
89
|
}
|
|
99
90
|
|
|
100
|
-
|
|
101
91
|
// Resize handle
|
|
102
92
|
.k-spreadsheet .k-resize-handle,
|
|
103
93
|
.k-spreadsheet .k-resize-hint-handle,
|
|
104
94
|
.k-spreadsheet .k-resize-hint-marker {
|
|
105
|
-
|
|
95
|
+
@include fill( $bg: $kendo-spreadsheet-resize-handle-bg );
|
|
106
96
|
}
|
|
107
97
|
|
|
108
98
|
// Comments
|
|
109
99
|
.k-spreadsheet-has-comment::after {
|
|
110
|
-
border-color: $kendo-
|
|
100
|
+
border-block-color: $kendo-spreadsheet-cell-comment-border transparent;
|
|
101
|
+
border-inline-color: transparent $kendo-spreadsheet-cell-comment-border;
|
|
111
102
|
}
|
|
112
103
|
|
|
113
104
|
// Validation
|
|
114
|
-
.k-dirty {
|
|
115
|
-
border-color: $kendo-
|
|
105
|
+
.k-spreadsheet-cell .k-dirty {
|
|
106
|
+
border-block-color: $kendo-spreadsheet-cell-dirty-border transparent;
|
|
107
|
+
border-inline-color: $kendo-spreadsheet-cell-dirty-border transparent;
|
|
116
108
|
}
|
|
117
109
|
|
|
118
|
-
|
|
119
|
-
|
|
120
110
|
// Filter button
|
|
121
111
|
.k-spreadsheet .k-filter-range {
|
|
122
112
|
border-color: $kendo-color-primary;
|
|
@@ -149,10 +139,8 @@
|
|
|
149
139
|
}
|
|
150
140
|
}
|
|
151
141
|
|
|
152
|
-
|
|
153
|
-
// Filter menu
|
|
142
|
+
// Filter menu legacy - delete after new rendering adoption R3 23
|
|
154
143
|
.k-spreadsheet-filter-menu {
|
|
155
|
-
|
|
156
144
|
> .k-menu,
|
|
157
145
|
> .k-menu:not(.k-context-menu) {
|
|
158
146
|
|
|
@@ -174,32 +162,7 @@
|
|
|
174
162
|
}
|
|
175
163
|
}
|
|
176
164
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
.k-spreadsheet-popup {
|
|
180
|
-
|
|
181
|
-
// Buttons
|
|
182
|
-
.k-button {}
|
|
183
|
-
|
|
184
|
-
.k-button:hover,
|
|
185
|
-
.k-button.k-hover {
|
|
186
|
-
@include fill(
|
|
187
|
-
$kendo-list-item-hover-text,
|
|
188
|
-
$kendo-list-item-hover-bg
|
|
189
|
-
);
|
|
190
|
-
}
|
|
191
|
-
.k-button:active,
|
|
192
|
-
.k-button.k-active,
|
|
193
|
-
.k-button.k-selected {
|
|
194
|
-
@include fill(
|
|
195
|
-
$kendo-list-item-selected-text,
|
|
196
|
-
$kendo-list-item-selected-bg
|
|
197
|
-
);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
165
|
+
// Delete after new rendering adoption R3 23
|
|
203
166
|
.k-spreadsheet-insert-image-dialog {
|
|
204
167
|
border-color: $kendo-spreadsheet-insert-image-dialog-preview-border;
|
|
205
168
|
|
|
@@ -216,6 +179,7 @@
|
|
|
216
179
|
}
|
|
217
180
|
}
|
|
218
181
|
|
|
182
|
+
// Drawing
|
|
219
183
|
.k-spreadsheet-drawing {
|
|
220
184
|
&.k-spreadsheet-active-drawing {
|
|
221
185
|
outline-color: $kendo-spreadsheet-drawing-handle-outline-color;
|
|
@@ -231,26 +195,17 @@
|
|
|
231
195
|
background: $kendo-spreadsheet-drawing-anchor-bg;
|
|
232
196
|
}
|
|
233
197
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
.k-
|
|
237
|
-
.k-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.k-dirty {
|
|
245
|
-
border-color: $kendo-color-error $kendo-color-error transparent transparent;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
}
|
|
198
|
+
// Formula bar
|
|
199
|
+
.k-spreadsheet-formula-list {}
|
|
200
|
+
.k-syntax-ref { color: #ff8822; }
|
|
201
|
+
.k-syntax-num { color: #0099ff; }
|
|
202
|
+
.k-syntax-str { color: #38b714; }
|
|
203
|
+
.k-syntax-error { color: red; }
|
|
204
|
+
.k-syntax-bool { color: #a9169c; }
|
|
205
|
+
.k-syntax-paren-match { background-color: #caf200; }
|
|
249
206
|
|
|
250
207
|
}
|
|
251
208
|
|
|
252
|
-
|
|
253
|
-
|
|
254
209
|
@mixin kendo-spreadsheet--theme() {
|
|
255
210
|
@include kendo-spreadsheet--theme-base();
|
|
256
211
|
}
|