Skip to content

Commit 707ec1c

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent b35360f commit 707ec1c

File tree

14 files changed

+93
-48
lines changed

14 files changed

+93
-48
lines changed

src/kendo.colorpicker.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ var __meta__ = { // jshint ignore:line
3535
NS = ".kendoColorTools",
3636
CLICK_NS = "click" + NS,
3737
KEYDOWN_NS = "keydown" + NS,
38+
DISABLED = "k-state-disabled",
3839

3940
browser = kendo.support.browser,
4041
isIE8 = browser.msie && browser.version < 9;
@@ -93,10 +94,9 @@ var __meta__ = { // jshint ignore:line
9394
if (arguments.length === 0) {
9495
enable = true;
9596
}
96-
$(".k-disabled-overlay", this.wrapper).remove();
97-
if (!enable) {
98-
this.wrapper.append("<div class='k-disabled-overlay'></div>");
99-
}
97+
98+
this.wrapper.toggleClass(DISABLED, !enable);
99+
100100
this._onEnable(enable);
101101
},
102102
_select: function(color, nohooks) {

src/kendo.core.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4513,12 +4513,8 @@ function pad(number, digits, end) {
45134513
var groups = Object.keys(fileTypeMap);
45144514
var type = "file";
45154515

4516-
if (extension === undefined) {
4517-
return "";
4518-
}
4519-
4520-
if (extension === "") {
4521-
return "folder";
4516+
if (extension === undefined || !extension.length) {
4517+
return type;
45224518
}
45234519

45244520
for (var i = 0; i < groups.length; i += 1) {

styles/web/common/gantt.less

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,19 +284,18 @@
284284
}
285285

286286
// Lines
287-
288-
.k-line-h,
289-
.k-line-v
287+
.k-gantt-line-h,
288+
.k-gantt-line-v
290289
{
291290
position: absolute;
292291
}
293292

294-
.k-line-h
293+
.k-gantt-line-h
295294
{
296295
height: 2px;
297296
}
298297

299-
.k-line-v
298+
.k-gantt-line-v
300299
{
301300
width: 2px;
302301
}
@@ -397,7 +396,7 @@
397396
}
398397

399398
.k-task-wrap:hover,
400-
.k-line.k-state-selected
399+
.k-gantt-line.k-state-selected
401400
{
402401
z-index: 3;
403402
}
@@ -624,7 +623,7 @@
624623
display: block;
625624
}
626625

627-
.k-dependency-hint
626+
.k-gantt-dependency-hint
628627
{
629628
z-index: 4;
630629
}

styles/web/common/inputs.less

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -756,17 +756,6 @@ span.k-numerictextbox {
756756
-webkit-appearance: none;
757757
}
758758

759-
.k-disabled-overlay {
760-
position: absolute;
761-
left: 0;
762-
top: 0;
763-
width: 100%;
764-
height: 100%;
765-
background-color: #fff;
766-
opacity: 0.5;
767-
filter: alpha(opacity=50);
768-
}
769-
770759
.k-rtl .k-multiselect-wrap {
771760
padding-right: 0;
772761
padding-left: (@grid-size + (@grid-size/4 + 2px));

styles/web/type-bootstrap.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,13 +1813,13 @@ div.k-filebrowser-dropzone em
18131813
border-color: @selected-border-color;
18141814
}
18151815

1816-
.k-line
1816+
.k-gantt-line
18171817
{
18181818
background-color: @widget-text-color;
18191819
color: @widget-text-color;
18201820
}
18211821

1822-
.k-state-selected.k-line
1822+
.k-state-selected.k-gantt-line
18231823
{
18241824
background-color: @selected-background-color;
18251825
color: @selected-background-color;

styles/web/type-default.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,13 +1871,13 @@ div.k-filebrowser-dropzone em
18711871
border-color: @selected-border-color;
18721872
}
18731873

1874-
.k-line
1874+
.k-gantt-line
18751875
{
18761876
background-color: @widget-text-color;
18771877
color: @widget-text-color;
18781878
}
18791879

1880-
.k-state-selected.k-line
1880+
.k-state-selected.k-gantt-line
18811881
{
18821882
background-color: @selected-background-color;
18831883
color: @selected-background-color;

styles/web/type-fiori.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,13 +1921,13 @@ div.k-filebrowser-dropzone em
19211921
border-color: @selected-border-color;
19221922
}
19231923

1924-
.k-line
1924+
.k-gantt-line
19251925
{
19261926
background-color: @widget-text-color;
19271927
color: @widget-text-color;
19281928
}
19291929

1930-
.k-state-selected.k-line
1930+
.k-state-selected.k-gantt-line
19311931
{
19321932
background-color: @selected-background-color;
19331933
color: @selected-background-color;

styles/web/type-flat.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,13 +1803,13 @@ div.k-filebrowser-dropzone em
18031803
border-color: @selected-border-color;
18041804
}
18051805

1806-
.k-line
1806+
.k-gantt-line
18071807
{
18081808
background-color: @widget-text-color;
18091809
color: @widget-text-color;
18101810
}
18111811

1812-
.k-state-selected.k-line
1812+
.k-state-selected.k-gantt-line
18131813
{
18141814
background-color: @selected-background-color;
18151815
color: @selected-background-color;

styles/web/type-highcontrast.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,13 +1821,13 @@ div.k-filebrowser-dropzone em
18211821
border-color: @selected-border-color;
18221822
}
18231823

1824-
.k-line
1824+
.k-gantt-line
18251825
{
18261826
background-color: @widget-text-color;
18271827
color: @widget-text-color;
18281828
}
18291829

1830-
.k-state-selected.k-line
1830+
.k-state-selected.k-gantt-line
18311831
{
18321832
background-color: @selected-background-color;
18331833
color: @selected-background-color;

styles/web/type-material.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,13 +1915,13 @@ div.k-filebrowser-dropzone em
19151915
border-color: @selected-border-color;
19161916
}
19171917

1918-
.k-line
1918+
.k-gantt-line
19191919
{
19201920
background-color: @widget-text-color;
19211921
color: @widget-text-color;
19221922
}
19231923

1924-
.k-state-selected.k-line
1924+
.k-state-selected.k-gantt-line
19251925
{
19261926
background-color: @selected-background-color;
19271927
color: @selected-background-color;
@@ -2882,11 +2882,11 @@ td.k-group-cell,
28822882
.k-gantt .k-treelist .k-alt.k-state-selected,
28832883
.k-gantt .k-treelist .k-alt.k-state-selected > td,
28842884
.k-listview > .k-state-selected,
2885-
.k-state-selected.k-line {
2885+
.k-state-selected.k-gantt-line {
28862886
background-color: @selected-background;
28872887
}
28882888

2889-
.k-state-selected.k-line
2889+
.k-state-selected.k-gantt-line
28902890
{
28912891
color: @selected-background;
28922892
}

0 commit comments

Comments
 (0)