Skip to content

Commit f88eb02

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent cd2f75f commit f88eb02

File tree

7 files changed

+71
-16
lines changed

7 files changed

+71
-16
lines changed

docs/controls/data-management/grid/columns/widths.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ For more information on avoiding the blank space after the last column of the Gr
4949

5050
### Removing Column and Header Misalignment
5151

52-
To remove the misalignment of the columns and headers when the Grid is resized in old Internet Explorer versions, provide at least one column without a specified width so that it can freely adjust.
52+
To remove the misalignment of the columns and headers when the Grid is resized, provide at least one column without a specified width so that it can freely adjust.
5353

5454
## See Also
5555

styles/web/common/base.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,13 @@ input[type="reset"].k-button-expand
219219
border: 0;
220220
}
221221

222+
.k-widget .k-icon {
223+
&.k-i-expand,
224+
&.k-i-collapse {
225+
cursor: pointer;
226+
}
227+
}
228+
222229
// Badges
223230
.k-badge {
224231
max-width: 100%;

styles/web/common/spreadsheet.less

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,24 @@
4343
padding: 1px 3px;
4444
background-clip: padding-box;
4545

46-
&.k-spreadsheet-has-comment:after {
46+
&.k-spreadsheet-has-comment::after {
4747
content: "";
4848
display: block;
4949
position: absolute;
50-
width: 4px;
51-
height: 4px;
52-
top: 0px;
53-
right: 0px;
54-
background: red;
50+
top: 0;
51+
right: 0;
52+
left: auto;
53+
border-width: 3px;
54+
border-style: solid;
5555
}
5656
}
5757

5858
.k-spreadsheet-cell-comment {
59-
position: "absolute";
59+
position: absolute;
6060
white-space: pre-wrap;
6161
text-align: left;
62-
background: #fe9;
63-
border: 1px solid #000;
62+
border-width: 1px;
63+
border-style: solid;
6464
}
6565
}
6666

@@ -274,11 +274,8 @@
274274
.k-dirty {
275275
position: absolute;
276276
top: 0;
277-
right: 0;
278-
left: unset;
279-
margin: -2px 0 0 -7px;
280-
border-width: 4px;
281-
border-color: #f00 #f00 transparent transparent;
277+
left: 0;
278+
right: unset;
282279
}
283280

284281
.k-single-selection {

styles/web/common/toolbar.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
.k-toolbar-resizable {
4343
white-space: nowrap;
4444
}
45+
.k-toolbar-resizable {
46+
flex-wrap: nowrap;
47+
}
4548

4649
.k-toolbar > .k-align-left {
4750
float: none;
@@ -60,6 +63,7 @@
6063
align-items: stretch;
6164
align-content: center;
6265
vertical-align: middle;
66+
flex: 0 0 auto;
6367
}
6468

6569

styles/web/kendo.rtl.less

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,3 +1136,21 @@
11361136
margin-left: 0;
11371137
}
11381138
}
1139+
1140+
// Spreadsheet
1141+
1142+
.k-rtl .k-spreadsheet {
1143+
1144+
.k-spreadsheet-cell {
1145+
1146+
.k-dirty {
1147+
margin: 0;
1148+
}
1149+
1150+
&.k-spreadsheet-has-comment::after {
1151+
left: 0;
1152+
right: auto;
1153+
}
1154+
}
1155+
}
1156+

styles/web/themes/spreadsheet.less

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,20 @@
147147
.k-single-selection.k-dim-auto-fill-handle::after {
148148
background-color: fadeout(@spreadsheet-selection-border, 50%);
149149
}
150+
151+
.k-spreadsheet-cell-comment {
152+
color: @tooltip-text-color;
153+
background-color: @tooltip-background-color;
154+
border-color: @tooltip-border-color;
155+
}
156+
157+
.k-spreadsheet-has-comment:after {
158+
border-color: @spreadsheet-selection-border @spreadsheet-selection-border transparent transparent;
159+
}
160+
161+
.k-dirty {
162+
border-color: @input-validation-error transparent transparent @input-validation-error;
163+
}
150164
}
151165

152166
.k-spreadsheet-format-cells .k-spreadsheet-preview {
@@ -300,4 +314,15 @@
300314
background-color: @selected-background;
301315
color: @selected-text-color;
302316
}
303-
}
317+
}
318+
319+
// RTL
320+
.k-rtl .k-spreadsheet {
321+
.k-spreadsheet-has-comment::after {
322+
border-color: @spreadsheet-selection-border transparent transparent @spreadsheet-selection-border;
323+
}
324+
325+
.k-dirty {
326+
border-color: @input-validation-error @input-validation-error transparent transparent;
327+
}
328+
}

styles/web/type-nova.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@
207207
@dialog-button-stretched-padding-x: 1em;
208208
@dialog-button-stretched-padding-y: @dialog-button-stretched-padding-x;
209209

210+
// Tooltip
211+
@tooltip-text-color: @normal-text-color;
212+
@tooltip-background-color: @background;
213+
@tooltip-border-color: darken(@background, 21%);
210214

211215
// ScrollView
212216
@scrollview-pagebutton-bg: @button-background-color;

0 commit comments

Comments
 (0)