@progress/kendo-theme-classic 4.43.1-dev.5 → 4.43.1-dev.6
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 +1012 -390
- package/dist/all.scss +397 -416
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +54 -91
- package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +74 -11
- package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
- package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
- package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
- package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +8 -1
- package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +35 -143
- package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +5 -1
- package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +12 -18
- package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
- package/package.json +3 -3
- package/scss/button/_variables.scss +78 -15
package/dist/all.scss
CHANGED
|
@@ -2711,18 +2711,6 @@ $display4-letter-spacing: null !default;
|
|
|
2711
2711
|
// #region @import "~@progress/kendo-theme-default/scss/common/_loading.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/common/_loading.scss
|
|
2712
2712
|
@include exports( "common/loading" ) {
|
|
2713
2713
|
|
|
2714
|
-
// Loading indicator
|
|
2715
|
-
.k-loading {
|
|
2716
|
-
width: 64px;
|
|
2717
|
-
height: 64px;
|
|
2718
|
-
display: block;
|
|
2719
|
-
|
|
2720
|
-
.animate {
|
|
2721
|
-
animation: loading 2s infinite linear;
|
|
2722
|
-
}
|
|
2723
|
-
}
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
2714
|
// Loading mask
|
|
2727
2715
|
.k-loading-mask,
|
|
2728
2716
|
.k-loading-image,
|
|
@@ -2811,7 +2799,7 @@ $display4-letter-spacing: null !default;
|
|
|
2811
2799
|
content: "";
|
|
2812
2800
|
// See https://github.com/telerik/kendo-themes/issues/1925
|
|
2813
2801
|
border-width: 1px; // TODO: Remove once we drop IE support
|
|
2814
|
-
border-width:
|
|
2802
|
+
border-width: clamp( .015em, 1px, 1px ); // sass-lint:disable-line no-duplicate-properties
|
|
2815
2803
|
font-size: 4em;
|
|
2816
2804
|
}
|
|
2817
2805
|
}
|
|
@@ -7429,30 +7417,69 @@ $popup-shadow: 0 2px 4px 0 rgba(0, 0, 0, .03), 0 4px 5px 0 rgba(0, 0, 0, .04) !d
|
|
|
7429
7417
|
// #region @import "../button/_variables.scss"; -> packages/classic/scss/button/_variables.scss
|
|
7430
7418
|
// Button
|
|
7431
7419
|
|
|
7432
|
-
/// Width of border around
|
|
7420
|
+
/// Width of the border around the button.
|
|
7433
7421
|
/// @group button
|
|
7434
7422
|
$button-border-width: 1px !default;
|
|
7435
|
-
|
|
7423
|
+
|
|
7424
|
+
/// Border radius of the button.
|
|
7436
7425
|
/// @group button
|
|
7437
7426
|
$button-border-radius: $border-radius !default;
|
|
7438
7427
|
|
|
7439
|
-
/// Horizontal padding of
|
|
7428
|
+
/// Horizontal padding of the button.
|
|
7429
|
+
/// @group button
|
|
7430
|
+
$button-padding-x: map-get( $spacing, 2 ) !default;
|
|
7431
|
+
$button-padding-x-sm: null !default;
|
|
7432
|
+
$button-padding-x-md: null !default;
|
|
7433
|
+
$button-padding-x-lg: null !default;
|
|
7434
|
+
|
|
7435
|
+
/// Vertical padding of the button.
|
|
7440
7436
|
/// @group button
|
|
7441
|
-
$button-padding-
|
|
7442
|
-
|
|
7437
|
+
$button-padding-y: map-get( $spacing, 1 ) !default;
|
|
7438
|
+
$button-padding-y-sm: null !default;
|
|
7439
|
+
$button-padding-y-md: null !default;
|
|
7440
|
+
$button-padding-y-lg: null !default;
|
|
7441
|
+
|
|
7442
|
+
/// Font family of the button.
|
|
7443
7443
|
/// @group button
|
|
7444
|
-
$button-padding-y: $padding-y !default;
|
|
7445
7444
|
$button-font-family: $font-family !default;
|
|
7445
|
+
|
|
7446
|
+
/// Font size of the button.
|
|
7447
|
+
/// @group button
|
|
7446
7448
|
$button-font-size: $font-size !default;
|
|
7447
|
-
$button-
|
|
7449
|
+
$button-font-size-sm: null !default;
|
|
7450
|
+
$button-font-size-md: null !default;
|
|
7451
|
+
$button-font-size-lg: null !default;
|
|
7448
7452
|
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
$button-line-height
|
|
7453
|
+
/// Line height used along with $font-size.
|
|
7454
|
+
/// @group button
|
|
7455
|
+
$button-line-height: $line-height !default;
|
|
7456
|
+
$button-line-height-sm: null !default;
|
|
7457
|
+
$button-line-height-md: null !default;
|
|
7458
|
+
$button-line-height-lg: null !default;
|
|
7452
7459
|
|
|
7460
|
+
/// Calculated height of the button.
|
|
7461
|
+
/// @group button
|
|
7453
7462
|
$button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
|
|
7463
|
+
|
|
7464
|
+
/// Calculated inner height of the button. Without the border width.
|
|
7465
|
+
/// @group button
|
|
7454
7466
|
$button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
|
|
7455
7467
|
|
|
7468
|
+
/// Theme colors map for the button.
|
|
7469
|
+
/// @group button
|
|
7470
|
+
$button-theme-colors: (
|
|
7471
|
+
"primary": map-get( $theme-colors, primary ),
|
|
7472
|
+
"secondary": map-get( $theme-colors, secondary ),
|
|
7473
|
+
"tertiary": map-get( $theme-colors, tertiary ),
|
|
7474
|
+
"info": map-get( $theme-colors, info ),
|
|
7475
|
+
"success": map-get( $theme-colors, success ),
|
|
7476
|
+
"warning": map-get( $theme-colors, warning ),
|
|
7477
|
+
"error": map-get( $theme-colors, error ),
|
|
7478
|
+
"dark": map-get( $theme-colors, dark ),
|
|
7479
|
+
"light": map-get( $theme-colors, light ),
|
|
7480
|
+
"inverse": map-get( $theme-colors, inverse )
|
|
7481
|
+
) !default;
|
|
7482
|
+
|
|
7456
7483
|
/// The background of the buttons.
|
|
7457
7484
|
/// @group button
|
|
7458
7485
|
$button-bg: $base-bg !default;
|
|
@@ -7475,7 +7502,7 @@ $button-hovered-bg: try-shade( $button-bg, 1 ) !default;
|
|
|
7475
7502
|
$button-hovered-text: null !default;
|
|
7476
7503
|
/// The border color of hovered buttons.
|
|
7477
7504
|
/// @group button
|
|
7478
|
-
$button-hovered-border: try-shade( $button-
|
|
7505
|
+
$button-hovered-border: try-shade( $button-bg, 3 ) !default;
|
|
7479
7506
|
/// The background gradient of hovered buttons.
|
|
7480
7507
|
/// @group button
|
|
7481
7508
|
$button-hovered-gradient: null !default;
|
|
@@ -7489,7 +7516,7 @@ $button-active-bg: try-shade( $button-bg, 2 ) !default;
|
|
|
7489
7516
|
$button-active-text: null !default;
|
|
7490
7517
|
/// The border color of active buttons.
|
|
7491
7518
|
/// @group button
|
|
7492
|
-
$button-active-border: try-shade( $button-
|
|
7519
|
+
$button-active-border: try-shade( $button-bg, 4 ) !default;
|
|
7493
7520
|
/// The background gradient of active buttons.
|
|
7494
7521
|
/// @group button
|
|
7495
7522
|
$button-active-gradient: null !default;
|
|
@@ -7531,13 +7558,13 @@ $primary-button-shadow: null !default;
|
|
|
7531
7558
|
|
|
7532
7559
|
$primary-button-hovered-bg: try-shade( $primary-button-bg, 1 ) !default;
|
|
7533
7560
|
$primary-button-hovered-text: null !default;
|
|
7534
|
-
$primary-button-hovered-border: try-shade( $primary-button-
|
|
7561
|
+
$primary-button-hovered-border: try-shade( $primary-button-bg, 3 ) !default;
|
|
7535
7562
|
$primary-button-hovered-gradient: null !default;
|
|
7536
7563
|
$primary-button-hovered-shadow: null !default;
|
|
7537
7564
|
|
|
7538
7565
|
$primary-button-active-bg: try-shade( $primary-button-bg, 2 ) !default;
|
|
7539
7566
|
$primary-button-active-text: null !default;
|
|
7540
|
-
$primary-button-active-border: try-shade( $primary-button-
|
|
7567
|
+
$primary-button-active-border: try-shade( $primary-button-bg, 4 ) !default;
|
|
7541
7568
|
$primary-button-active-gradient: null !default;
|
|
7542
7569
|
$primary-button-active-shadow: null !default;
|
|
7543
7570
|
|
|
@@ -7549,7 +7576,31 @@ $primary-button-selected-shadow: null !default;
|
|
|
7549
7576
|
|
|
7550
7577
|
$primary-button-focused-shadow: 0 0 4px 0 rgba( $primary-button-border, .75 ) !default;
|
|
7551
7578
|
|
|
7552
|
-
$button-
|
|
7579
|
+
$solid-button-gradient: $base-gradient !default;
|
|
7580
|
+
$solid-button-shade-function: "try-shade";
|
|
7581
|
+
$solid-button-shade-text-amount: 0 !default;
|
|
7582
|
+
$solid-button-shade-bg-amount: 0 !default;
|
|
7583
|
+
$solid-button-shade-border-amount: 2 !default;
|
|
7584
|
+
$solid-button-hover-shade-text-amount: null !default;
|
|
7585
|
+
$solid-button-hover-shade-bg-amount: 1 !default;
|
|
7586
|
+
$solid-button-hover-shade-border-amount: 3 !default;
|
|
7587
|
+
$solid-button-active-shade-text-amount: null !default;
|
|
7588
|
+
$solid-button-active-shade-bg-amount: 2 !default;
|
|
7589
|
+
$solid-button-active-shade-border-amount: 4 !default;
|
|
7590
|
+
$solid-button-shadow: true !default;
|
|
7591
|
+
$solid-button-shadow-blur: 4px !default;
|
|
7592
|
+
$solid-button-shadow-spread: 0px !default;
|
|
7593
|
+
$solid-button-shadow-opacity: .75 !default;
|
|
7594
|
+
|
|
7595
|
+
$outline-button-shadow: true !default;
|
|
7596
|
+
$outline-button-shadow-blur: 4px !default;
|
|
7597
|
+
$outline-button-shadow-spread: 0px !default;
|
|
7598
|
+
$outline-button-shadow-opacity: .75 !default;
|
|
7599
|
+
|
|
7600
|
+
$link-button-shadow: true !default;
|
|
7601
|
+
$link-button-shadow-blur: 4px !default;
|
|
7602
|
+
$link-button-shadow-spread: 0px !default;
|
|
7603
|
+
$link-button-shadow-opacity: .75 !default;
|
|
7553
7604
|
|
|
7554
7605
|
$flat-button-hover-opacity: .08 !default;
|
|
7555
7606
|
$flat-button-focus-opacity: .12 !default;
|
|
@@ -11398,50 +11449,51 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11398
11449
|
-webkit-touch-callout: none;
|
|
11399
11450
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
11400
11451
|
|
|
11401
|
-
.k-button {
|
|
11402
|
-
@include border-radius( 0 );
|
|
11403
|
-
}
|
|
11404
|
-
.k-button ~ .k-button {
|
|
11452
|
+
> .k-button + .k-button {
|
|
11405
11453
|
margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
|
|
11406
11454
|
}
|
|
11407
11455
|
|
|
11408
|
-
.k-button:hover,
|
|
11409
|
-
.k-button.k-state-hover,
|
|
11410
|
-
.k-button:
|
|
11411
|
-
.k-button.k-state-
|
|
11412
|
-
.k-button
|
|
11413
|
-
.k-button
|
|
11414
|
-
.k-button.k-state-
|
|
11456
|
+
> .k-button:hover,
|
|
11457
|
+
> .k-button.k-state-hover,
|
|
11458
|
+
> .k-button:focus,
|
|
11459
|
+
> .k-button.k-state-focus,
|
|
11460
|
+
> .k-button:active,
|
|
11461
|
+
> .k-button.k-state-active,
|
|
11462
|
+
> .k-button.k-state-selected {
|
|
11415
11463
|
z-index: 2;
|
|
11416
11464
|
}
|
|
11417
11465
|
|
|
11418
|
-
.k-
|
|
11419
|
-
|
|
11420
|
-
|
|
11466
|
+
.k-button:not(:first-child):not(:last-child) {
|
|
11467
|
+
border-start-end-radius: 0;
|
|
11468
|
+
border-end-end-radius: 0;
|
|
11469
|
+
border-start-start-radius: 0;
|
|
11470
|
+
border-end-start-radius: 0;
|
|
11471
|
+
}
|
|
11472
|
+
> .k-button:first-child:not(:only-child) {
|
|
11473
|
+
border-start-end-radius: 0;
|
|
11474
|
+
border-end-end-radius: 0;
|
|
11421
11475
|
}
|
|
11422
|
-
.k-
|
|
11423
|
-
|
|
11424
|
-
|
|
11476
|
+
> .k-button:last-child:not(:only-child) {
|
|
11477
|
+
border-start-start-radius: 0;
|
|
11478
|
+
border-end-start-radius: 0;
|
|
11425
11479
|
}
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11480
|
+
|
|
11481
|
+
&:disabled,
|
|
11482
|
+
&[disabled],
|
|
11483
|
+
&.k-disabled,
|
|
11484
|
+
&.k-state-disabled {
|
|
11485
|
+
opacity: 1;
|
|
11486
|
+
filter: none;
|
|
11429
11487
|
}
|
|
11430
11488
|
|
|
11431
11489
|
}
|
|
11432
11490
|
|
|
11433
11491
|
.k-button-group-stretched {
|
|
11434
|
-
|
|
11492
|
+
width: 100%;
|
|
11435
11493
|
|
|
11436
|
-
|
|
11437
|
-
display: inline-block;
|
|
11494
|
+
> * {
|
|
11438
11495
|
flex: 1 0 0%;
|
|
11439
11496
|
overflow: hidden;
|
|
11440
|
-
text-overflow: ellipsis;
|
|
11441
|
-
|
|
11442
|
-
> .k-icon {
|
|
11443
|
-
vertical-align: text-bottom;
|
|
11444
|
-
}
|
|
11445
11497
|
}
|
|
11446
11498
|
}
|
|
11447
11499
|
|
|
@@ -11455,32 +11507,13 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11455
11507
|
flex-flow: row nowrap;
|
|
11456
11508
|
vertical-align: middle;
|
|
11457
11509
|
|
|
11458
|
-
.k-button {
|
|
11459
|
-
@include border-radius( 0 );
|
|
11460
|
-
}
|
|
11461
|
-
|
|
11462
|
-
// .k-button
|
|
11463
|
-
> .k-button:first-child {
|
|
11464
|
-
@include border-left-radius( $button-border-radius );
|
|
11465
|
-
}
|
|
11466
|
-
> .k-split-button-arrow,
|
|
11467
|
-
> .k-button:last-child {
|
|
11468
|
-
@include border-right-radius( $button-border-radius );
|
|
11469
|
-
margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
|
|
11510
|
+
.k-split-button-arrow {
|
|
11470
11511
|
padding: $button-padding-y;
|
|
11471
11512
|
width: auto;
|
|
11472
11513
|
flex: none;
|
|
11473
|
-
}
|
|
11474
11514
|
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
> .k-button:first-child {
|
|
11478
|
-
@include border-left-radius( 0 );
|
|
11479
|
-
@include border-right-radius( $button-border-radius );
|
|
11480
|
-
}
|
|
11481
|
-
> .k-button:last-child {
|
|
11482
|
-
@include border-right-radius( 0 );
|
|
11483
|
-
@include border-left-radius( $button-border-radius );
|
|
11515
|
+
.k-button-icon {
|
|
11516
|
+
min-width: 0;
|
|
11484
11517
|
}
|
|
11485
11518
|
}
|
|
11486
11519
|
}
|
|
@@ -11524,13 +11557,29 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11524
11557
|
.k-button-outline {
|
|
11525
11558
|
@include box-shadow( none );
|
|
11526
11559
|
color: inherit;
|
|
11527
|
-
background:
|
|
11560
|
+
background-color: transparent;
|
|
11561
|
+
background-image: none !important; // sass-lint:disable-line no-important
|
|
11528
11562
|
}
|
|
11529
11563
|
.k-button.k-outline {
|
|
11530
11564
|
@extend .k-button-outline;
|
|
11531
11565
|
}
|
|
11532
11566
|
|
|
11533
11567
|
|
|
11568
|
+
// Link button
|
|
11569
|
+
.k-button-link {
|
|
11570
|
+
@include box-shadow( none );
|
|
11571
|
+
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
11572
|
+
color: inherit;
|
|
11573
|
+
background-color: transparent !important; // sass-lint:disable-line no-important
|
|
11574
|
+
background-image: none !important; // sass-lint:disable-line no-important
|
|
11575
|
+
text-decoration: none;
|
|
11576
|
+
}
|
|
11577
|
+
.k-button-link:hover,
|
|
11578
|
+
.k-button-link.k-state-hover {
|
|
11579
|
+
text-decoration: underline;
|
|
11580
|
+
}
|
|
11581
|
+
|
|
11582
|
+
|
|
11534
11583
|
// Clear button
|
|
11535
11584
|
.k-button-clear {
|
|
11536
11585
|
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
@@ -11540,46 +11589,11 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11540
11589
|
}
|
|
11541
11590
|
|
|
11542
11591
|
|
|
11543
|
-
//
|
|
11544
|
-
.k-
|
|
11545
|
-
|
|
11546
|
-
|
|
11547
|
-
|
|
11548
|
-
|
|
11549
|
-
.k-button {
|
|
11550
|
-
@include border-radius( 0 );
|
|
11551
|
-
}
|
|
11552
|
-
|
|
11553
|
-
.k-group-start,
|
|
11554
|
-
.k-button:first-child {
|
|
11555
|
-
@include border-right-radius( $button-border-radius );
|
|
11556
|
-
}
|
|
11557
|
-
.k-group-end,
|
|
11558
|
-
.k-button:last-child {
|
|
11559
|
-
@include border-left-radius( $button-border-radius );
|
|
11560
|
-
}
|
|
11561
|
-
.k-group-start.k-group-end,
|
|
11562
|
-
.k-button:first-child:last-child {
|
|
11563
|
-
@include border-radius( $button-border-radius );
|
|
11564
|
-
}
|
|
11565
|
-
|
|
11566
|
-
}
|
|
11567
|
-
|
|
11568
|
-
// Split button
|
|
11569
|
-
.k-split-button {
|
|
11570
|
-
|
|
11571
|
-
.k-button {
|
|
11572
|
-
@include border-radius( 0 );
|
|
11573
|
-
}
|
|
11574
|
-
|
|
11575
|
-
// k-button
|
|
11576
|
-
> .k-button:first-child {
|
|
11577
|
-
@include border-right-radius( $button-border-radius );
|
|
11578
|
-
}
|
|
11579
|
-
> .k-split-button-arrow,
|
|
11580
|
-
> .k-button:last-child {
|
|
11581
|
-
@include border-left-radius( $button-border-radius );
|
|
11582
|
-
}
|
|
11592
|
+
// IE
|
|
11593
|
+
.k-ie .k-button-group,
|
|
11594
|
+
.k-ie .k-split-button {
|
|
11595
|
+
.k-button {
|
|
11596
|
+
@include border-radius( 0 );
|
|
11583
11597
|
}
|
|
11584
11598
|
}
|
|
11585
11599
|
|
|
@@ -11718,9 +11732,8 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11718
11732
|
// #region @import "~@progress/kendo-theme-default/scss/button/_theme.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/button/_theme.scss
|
|
11719
11733
|
@include exports( "button/theme" ) {
|
|
11720
11734
|
|
|
11721
|
-
//
|
|
11722
|
-
.k-button
|
|
11723
|
-
.k-button-secondary {
|
|
11735
|
+
// Solid button
|
|
11736
|
+
.k-button {
|
|
11724
11737
|
@include fill(
|
|
11725
11738
|
$button-text,
|
|
11726
11739
|
$button-bg,
|
|
@@ -11784,75 +11797,70 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11784
11797
|
}
|
|
11785
11798
|
|
|
11786
11799
|
}
|
|
11800
|
+
.k-button.k-primary {
|
|
11801
|
+
@extend .k-button-solid-primary !optional;
|
|
11802
|
+
}
|
|
11787
11803
|
|
|
11804
|
+
$_shade-fn: get-function( $solid-button-shade-function );
|
|
11788
11805
|
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
$primary-button-bg,
|
|
11794
|
-
$primary-button-border,
|
|
11795
|
-
$primary-button-gradient
|
|
11796
|
-
);
|
|
11797
|
-
@include box-shadow( $primary-button-shadow );
|
|
11806
|
+
@each $name, $color in $button-theme-colors {
|
|
11807
|
+
$_button-text: contrast-wcag( $color );
|
|
11808
|
+
$_button-bg: if( $solid-button-shade-bg-amount, call( $_shade-fn, $color, $solid-button-shade-bg-amount ), null );
|
|
11809
|
+
$_button-border: if( $solid-button-shade-border-amount, call( $_shade-fn, $color, $solid-button-shade-border-amount ), null );
|
|
11798
11810
|
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
@include fill(
|
|
11803
|
-
$primary-button-hovered-text,
|
|
11804
|
-
$primary-button-hovered-bg,
|
|
11805
|
-
$primary-button-hovered-border,
|
|
11806
|
-
$primary-button-hovered-gradient
|
|
11807
|
-
);
|
|
11808
|
-
@include box-shadow( $primary-button-hovered-shadow );
|
|
11809
|
-
}
|
|
11811
|
+
$_button-hover-text: null;
|
|
11812
|
+
$_button-hover-bg: if( $solid-button-hover-shade-bg-amount, call( $_shade-fn, $color, $solid-button-hover-shade-bg-amount ), null );
|
|
11813
|
+
$_button-hover-border: if( $solid-button-hover-shade-border-amount, call( $_shade-fn, $color, $solid-button-hover-shade-border-amount ), null );
|
|
11810
11814
|
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
|
|
11814
|
-
&.k-state-focused {
|
|
11815
|
-
@include box-shadow( $primary-button-focused-shadow );
|
|
11816
|
-
}
|
|
11815
|
+
$_button-active-text: null;
|
|
11816
|
+
$_button-active-bg: if( $solid-button-active-shade-bg-amount, call( $_shade-fn, $color, $solid-button-active-shade-bg-amount ), null );
|
|
11817
|
+
$_button-active-border: if( $solid-button-active-shade-border-amount, call( $_shade-fn, $color, $solid-button-active-shade-border-amount ), null );
|
|
11817
11818
|
|
|
11818
|
-
|
|
11819
|
-
&:active,
|
|
11820
|
-
&.k-state-active {
|
|
11819
|
+
.k-button-solid.k-button-solid-#{$name} {
|
|
11821
11820
|
@include fill(
|
|
11822
|
-
$
|
|
11823
|
-
$
|
|
11824
|
-
$
|
|
11825
|
-
$
|
|
11821
|
+
$_button-text,
|
|
11822
|
+
$_button-bg,
|
|
11823
|
+
$_button-border,
|
|
11824
|
+
$solid-button-gradient
|
|
11826
11825
|
);
|
|
11827
|
-
@include box-shadow( $primary-button-active-shadow );
|
|
11828
|
-
}
|
|
11829
11826
|
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
}
|
|
11827
|
+
// Hover state
|
|
11828
|
+
&:hover,
|
|
11829
|
+
&.k-state-hover {
|
|
11830
|
+
@include fill(
|
|
11831
|
+
$_button-hover-text,
|
|
11832
|
+
$_button-hover-bg,
|
|
11833
|
+
$_button-hover-border
|
|
11834
|
+
);
|
|
11835
|
+
}
|
|
11840
11836
|
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
$button-disabled-gradient
|
|
11849
|
-
);
|
|
11850
|
-
@include box-shadow( $button-disabled-shadow );
|
|
11851
|
-
}
|
|
11837
|
+
// Focus state
|
|
11838
|
+
&:focus,
|
|
11839
|
+
&.k-state-focus {
|
|
11840
|
+
@if ( $solid-button-shadow ) {
|
|
11841
|
+
box-shadow: 0 0 $solid-button-shadow-blur $solid-button-shadow-spread rgba( $_button-border, $solid-button-shadow-opacity );
|
|
11842
|
+
}
|
|
11843
|
+
}
|
|
11852
11844
|
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11845
|
+
// Active state
|
|
11846
|
+
&:active,
|
|
11847
|
+
&.k-state-active {
|
|
11848
|
+
@include fill(
|
|
11849
|
+
$_button-active-text,
|
|
11850
|
+
$_button-active-bg,
|
|
11851
|
+
$_button-active-border
|
|
11852
|
+
);
|
|
11853
|
+
}
|
|
11854
|
+
|
|
11855
|
+
// Selected
|
|
11856
|
+
&.k-state-selected {
|
|
11857
|
+
@include fill(
|
|
11858
|
+
$_button-active-text,
|
|
11859
|
+
$_button-active-bg,
|
|
11860
|
+
$_button-active-border
|
|
11861
|
+
);
|
|
11862
|
+
}
|
|
11863
|
+
}
|
|
11856
11864
|
}
|
|
11857
11865
|
|
|
11858
11866
|
|
|
@@ -11861,18 +11869,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11861
11869
|
|
|
11862
11870
|
|
|
11863
11871
|
// Button group
|
|
11864
|
-
.k-button-group {
|
|
11865
|
-
|
|
11866
|
-
.k-button:focus,
|
|
11867
|
-
.k-button.k-state-focus,
|
|
11868
|
-
.k-button.k-state-focused,
|
|
11869
|
-
.k-button-outline:focus,
|
|
11870
|
-
.k-button-outline.k-state-focus,
|
|
11871
|
-
.k-button-outline.k-state-focused {
|
|
11872
|
-
@include box-shadow( $button-group-focus-shadow );
|
|
11873
|
-
}
|
|
11874
|
-
|
|
11875
|
-
}
|
|
11872
|
+
.k-button-group {}
|
|
11876
11873
|
|
|
11877
11874
|
|
|
11878
11875
|
// Split button
|
|
@@ -11894,62 +11891,96 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11894
11891
|
@include box-shadow( none );
|
|
11895
11892
|
border-color: currentColor;
|
|
11896
11893
|
color: $button-text;
|
|
11897
|
-
background:
|
|
11894
|
+
background-color: transparent;
|
|
11898
11895
|
|
|
11899
11896
|
// Hover state
|
|
11900
11897
|
&:hover,
|
|
11901
11898
|
&.k-state-hover {
|
|
11902
|
-
@include fill(
|
|
11899
|
+
@include fill(
|
|
11900
|
+
contrast-wcag( $button-text ),
|
|
11901
|
+
$button-text,
|
|
11902
|
+
$button-text
|
|
11903
|
+
);
|
|
11903
11904
|
}
|
|
11904
11905
|
|
|
11905
11906
|
// Focused state
|
|
11906
11907
|
&:focus,
|
|
11907
11908
|
&.k-state-focus,
|
|
11908
11909
|
&.k-state-focused {
|
|
11909
|
-
|
|
11910
|
+
@if ($outline-button-shadow) {
|
|
11911
|
+
box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $button-text, $outline-button-shadow-opacity );
|
|
11912
|
+
}
|
|
11910
11913
|
}
|
|
11911
11914
|
|
|
11912
11915
|
// Active state
|
|
11913
11916
|
&:active,
|
|
11914
11917
|
&.k-state-active {
|
|
11915
|
-
@include fill(
|
|
11918
|
+
@include fill(
|
|
11919
|
+
contrast-wcag( $button-text ),
|
|
11920
|
+
$button-text,
|
|
11921
|
+
$button-text
|
|
11922
|
+
);
|
|
11916
11923
|
}
|
|
11917
11924
|
|
|
11918
11925
|
// Selected state
|
|
11919
11926
|
&.k-state-selected {
|
|
11920
|
-
@include fill(
|
|
11927
|
+
@include fill(
|
|
11928
|
+
contrast-wcag( $button-text ),
|
|
11929
|
+
$button-text,
|
|
11930
|
+
$button-text
|
|
11931
|
+
);
|
|
11921
11932
|
}
|
|
11922
11933
|
}
|
|
11923
11934
|
.k-button-outline.k-primary {
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
background: none;
|
|
11927
|
-
box-shadow: none;
|
|
11935
|
+
@extend .k-button-outline-primary !optional;
|
|
11936
|
+
}
|
|
11928
11937
|
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11938
|
+
@each $name, $color in $button-theme-colors {
|
|
11939
|
+
.k-button-outline.k-button-outline-#{$name} {
|
|
11940
|
+
@include box-shadow( none );
|
|
11941
|
+
border-color: currentColor;
|
|
11942
|
+
color: $color;
|
|
11943
|
+
background-color: transparent;
|
|
11934
11944
|
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11945
|
+
// Hover state
|
|
11946
|
+
&:hover,
|
|
11947
|
+
&.k-state-hover {
|
|
11948
|
+
@include fill(
|
|
11949
|
+
contrast-wcag( $color ),
|
|
11950
|
+
$color,
|
|
11951
|
+
$color
|
|
11952
|
+
);
|
|
11953
|
+
}
|
|
11941
11954
|
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11955
|
+
// Focused state
|
|
11956
|
+
&:focus,
|
|
11957
|
+
&.k-state-focus,
|
|
11958
|
+
&.k-state-focused {
|
|
11959
|
+
@if ($outline-button-shadow) {
|
|
11960
|
+
box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $color, $outline-button-shadow-opacity );
|
|
11961
|
+
}
|
|
11962
|
+
}
|
|
11948
11963
|
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11964
|
+
// Active state
|
|
11965
|
+
&:active,
|
|
11966
|
+
&.k-state-active {
|
|
11967
|
+
@include fill(
|
|
11968
|
+
contrast-wcag( $color ),
|
|
11969
|
+
$color,
|
|
11970
|
+
$color
|
|
11971
|
+
);
|
|
11972
|
+
box-shadow: none;
|
|
11973
|
+
}
|
|
11974
|
+
|
|
11975
|
+
// Selected state
|
|
11976
|
+
&.k-state-selected {
|
|
11977
|
+
@include fill(
|
|
11978
|
+
contrast-wcag( $color ),
|
|
11979
|
+
$color,
|
|
11980
|
+
$color
|
|
11981
|
+
);
|
|
11982
|
+
box-shadow: none;
|
|
11983
|
+
}
|
|
11953
11984
|
}
|
|
11954
11985
|
}
|
|
11955
11986
|
|
|
@@ -11972,17 +12003,65 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11972
12003
|
&.k-state-focus {
|
|
11973
12004
|
color: inherit;
|
|
11974
12005
|
}
|
|
12006
|
+
|
|
12007
|
+
// Disabled state
|
|
12008
|
+
&:disabled,
|
|
12009
|
+
&.k-state-disabled {
|
|
12010
|
+
color: $button-disabled-text;
|
|
12011
|
+
}
|
|
11975
12012
|
}
|
|
11976
12013
|
.k-button-flat.k-primary {
|
|
12014
|
+
@extend .k-button-flat-primary !optional;
|
|
12015
|
+
}
|
|
11977
12016
|
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
12017
|
+
@each $name, $color in $button-theme-colors {
|
|
12018
|
+
.k-button-flat.k-button-flat-#{$name} {
|
|
12019
|
+
|
|
12020
|
+
&,
|
|
12021
|
+
&:hover,
|
|
12022
|
+
&.k-state-hover,
|
|
12023
|
+
&:active,
|
|
12024
|
+
&.k-state-active,
|
|
12025
|
+
&:focus,
|
|
12026
|
+
&.k-state-focus {
|
|
12027
|
+
color: $color;
|
|
12028
|
+
}
|
|
12029
|
+
|
|
12030
|
+
// Disabled state
|
|
12031
|
+
&:disabled,
|
|
12032
|
+
&.k-state-disabled {
|
|
12033
|
+
color: $button-disabled-text;
|
|
12034
|
+
}
|
|
12035
|
+
}
|
|
12036
|
+
}
|
|
12037
|
+
|
|
12038
|
+
}
|
|
12039
|
+
|
|
12040
|
+
|
|
12041
|
+
|
|
12042
|
+
|
|
12043
|
+
@include exports( "link-button/theme" ) {
|
|
12044
|
+
|
|
12045
|
+
@each $name, $color in map-merge( $button-theme-colors, ( "base": $base-text ) ) {
|
|
12046
|
+
.k-button-link.k-button-link-#{$name} {
|
|
12047
|
+
@include box-shadow( none );
|
|
12048
|
+
color: $color;
|
|
12049
|
+
|
|
12050
|
+
&:hover,
|
|
12051
|
+
&.k-state-hover {
|
|
12052
|
+
color: try-shade( $color, 2 );
|
|
12053
|
+
}
|
|
12054
|
+
&:focus,
|
|
12055
|
+
&.k-state-focus {
|
|
12056
|
+
@if ($link-button-shadow) {
|
|
12057
|
+
box-shadow: 0 0 $link-button-shadow-blur $link-button-shadow-spread rgba( $color, $link-button-shadow-opacity );
|
|
12058
|
+
}
|
|
12059
|
+
}
|
|
12060
|
+
&:active,
|
|
12061
|
+
&.k-state-active,
|
|
12062
|
+
&.k-state-selected {
|
|
12063
|
+
color: try-shade( $color, 2 );
|
|
12064
|
+
}
|
|
11986
12065
|
}
|
|
11987
12066
|
}
|
|
11988
12067
|
|
|
@@ -12277,6 +12356,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
12277
12356
|
.k-toolbar {
|
|
12278
12357
|
padding: 0;
|
|
12279
12358
|
border-width: 0;
|
|
12359
|
+
flex-shrink: 1;
|
|
12280
12360
|
color: inherit;
|
|
12281
12361
|
background: none;
|
|
12282
12362
|
}
|
|
@@ -13649,7 +13729,7 @@ $textarea-invalid-focus-shadow: $invalid-shadow !default;
|
|
|
13649
13729
|
// Targets https://github.com/telerik/kendo-react/issues/638.
|
|
13650
13730
|
box-shadow: none;
|
|
13651
13731
|
background: none;
|
|
13652
|
-
display:
|
|
13732
|
+
display: flex;
|
|
13653
13733
|
flex-wrap: nowrap;
|
|
13654
13734
|
vertical-align: middle;
|
|
13655
13735
|
position: relative;
|
|
@@ -13941,9 +14021,18 @@ $listbox-drop-hint-width: 1px !default;
|
|
|
13941
14021
|
|
|
13942
14022
|
.k-list-scroller {
|
|
13943
14023
|
width: 100%;
|
|
14024
|
+
height: inherit;
|
|
13944
14025
|
border-width: $listbox-border-width;
|
|
13945
14026
|
border-style: solid;
|
|
13946
14027
|
box-sizing: border-box;
|
|
14028
|
+
|
|
14029
|
+
.k-list-scroller {
|
|
14030
|
+
border-width: 0;
|
|
14031
|
+
}
|
|
14032
|
+
|
|
14033
|
+
.k-list {
|
|
14034
|
+
height: inherit;
|
|
14035
|
+
}
|
|
13947
14036
|
}
|
|
13948
14037
|
|
|
13949
14038
|
.k-drop-hint {
|
|
@@ -14889,42 +14978,11 @@ $slider-disabled-opacity: null !default;
|
|
|
14889
14978
|
line-height: $slider-line-height;
|
|
14890
14979
|
background: none;
|
|
14891
14980
|
display: inline-flex;
|
|
14892
|
-
align-items:
|
|
14981
|
+
align-items: center;
|
|
14893
14982
|
position: relative;
|
|
14894
14983
|
-webkit-touch-callout: none;
|
|
14895
14984
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
14896
14985
|
|
|
14897
|
-
.k-button {
|
|
14898
|
-
height: $slider-button-size;
|
|
14899
|
-
line-height: $slider-button-size;
|
|
14900
|
-
margin: 0;
|
|
14901
|
-
min-width: 0;
|
|
14902
|
-
outline: 0;
|
|
14903
|
-
padding: 0;
|
|
14904
|
-
position: absolute;
|
|
14905
|
-
width: $slider-button-size;
|
|
14906
|
-
box-sizing: content-box;
|
|
14907
|
-
|
|
14908
|
-
.k-icon,
|
|
14909
|
-
.k-button-icon {
|
|
14910
|
-
vertical-align: baseline;
|
|
14911
|
-
line-height: $slider-button-size;
|
|
14912
|
-
height: 100%;
|
|
14913
|
-
}
|
|
14914
|
-
}
|
|
14915
|
-
|
|
14916
|
-
.k-button-increase {
|
|
14917
|
-
position: absolute;
|
|
14918
|
-
right: 0;
|
|
14919
|
-
top: 0;
|
|
14920
|
-
}
|
|
14921
|
-
|
|
14922
|
-
.k-button-decrease {
|
|
14923
|
-
position: absolute;
|
|
14924
|
-
left: 0;
|
|
14925
|
-
top: 0;
|
|
14926
|
-
}
|
|
14927
|
-
|
|
14928
14986
|
.k-label {
|
|
14929
14987
|
width: auto;
|
|
14930
14988
|
font-size: .92em;
|
|
@@ -14964,28 +15022,18 @@ $slider-disabled-opacity: null !default;
|
|
|
14964
15022
|
left: auto;
|
|
14965
15023
|
right: 0;
|
|
14966
15024
|
}
|
|
14967
|
-
|
|
14968
|
-
.k-button-increase {
|
|
14969
|
-
left: 0;
|
|
14970
|
-
right: auto;
|
|
14971
|
-
}
|
|
14972
|
-
|
|
14973
|
-
.k-button-decrease {
|
|
14974
|
-
right: 0;
|
|
14975
|
-
left: auto;
|
|
14976
|
-
}
|
|
14977
15025
|
}
|
|
14978
15026
|
}
|
|
14979
15027
|
|
|
14980
15028
|
|
|
14981
15029
|
// New rendering
|
|
14982
15030
|
.k-slider {
|
|
15031
|
+
width: min-content;
|
|
15032
|
+
height: min-content;
|
|
14983
15033
|
gap: calc( #{$slider-draghandle-size} / 2 );
|
|
14984
15034
|
|
|
14985
15035
|
> .k-button {
|
|
14986
|
-
|
|
14987
|
-
flex-shrink: 0;
|
|
14988
|
-
align-self: center;
|
|
15036
|
+
flex: none;
|
|
14989
15037
|
}
|
|
14990
15038
|
> .k-slider-track-wrap {
|
|
14991
15039
|
flex: 1 1 auto;
|
|
@@ -15002,8 +15050,7 @@ $slider-disabled-opacity: null !default;
|
|
|
15002
15050
|
display: flex;
|
|
15003
15051
|
flex-flow: inherit;
|
|
15004
15052
|
justify-content: space-between;
|
|
15005
|
-
|
|
15006
|
-
&::after { display: none; }
|
|
15053
|
+
user-select: none;
|
|
15007
15054
|
}
|
|
15008
15055
|
.k-tick {
|
|
15009
15056
|
flex: 0 0 1px;
|
|
@@ -15016,6 +15063,7 @@ $slider-disabled-opacity: null !default;
|
|
|
15016
15063
|
|
|
15017
15064
|
&-horizontal {
|
|
15018
15065
|
> .k-slider-track-wrap {
|
|
15066
|
+
height: 26px;
|
|
15019
15067
|
|
|
15020
15068
|
.k-slider-track {
|
|
15021
15069
|
width: 100%;
|
|
@@ -15068,6 +15116,7 @@ $slider-disabled-opacity: null !default;
|
|
|
15068
15116
|
|
|
15069
15117
|
&-vertical {
|
|
15070
15118
|
> .k-slider-track-wrap {
|
|
15119
|
+
width: 26px;
|
|
15071
15120
|
|
|
15072
15121
|
.k-slider-track {
|
|
15073
15122
|
height: 100%;
|
|
@@ -15100,14 +15149,8 @@ $slider-disabled-opacity: null !default;
|
|
|
15100
15149
|
// Slider vertical
|
|
15101
15150
|
.k-slider-vertical {
|
|
15102
15151
|
height: $slider-size;
|
|
15103
|
-
width: $slider-alt-size;
|
|
15104
15152
|
flex-flow: column-reverse nowrap;
|
|
15105
15153
|
|
|
15106
|
-
.k-button-decrease {
|
|
15107
|
-
bottom: 0;
|
|
15108
|
-
top: auto;
|
|
15109
|
-
}
|
|
15110
|
-
|
|
15111
15154
|
.k-tick {
|
|
15112
15155
|
text-align: right;
|
|
15113
15156
|
margin-left: 2px;
|
|
@@ -15119,32 +15162,32 @@ $slider-disabled-opacity: null !default;
|
|
|
15119
15162
|
|
|
15120
15163
|
// ticks
|
|
15121
15164
|
|
|
15122
|
-
.k-tick { background-position: -
|
|
15123
|
-
.k-slider-topleft .k-tick { background-position: -
|
|
15124
|
-
.k-slider-bottomright .k-tick { background-position: -
|
|
15165
|
+
.k-tick { background-position: -94px center; }
|
|
15166
|
+
.k-slider-topleft .k-tick { background-position: -124px center; }
|
|
15167
|
+
.k-slider-bottomright .k-tick { background-position: -154px center; }
|
|
15125
15168
|
|
|
15126
15169
|
.k-tick-large {
|
|
15127
15170
|
display: flex;
|
|
15128
15171
|
align-items: center;
|
|
15129
|
-
background-position: -
|
|
15172
|
+
background-position: -4px center;
|
|
15130
15173
|
}
|
|
15131
15174
|
|
|
15132
|
-
.k-slider-topleft .k-tick-large { background-position: -
|
|
15133
|
-
.k-slider-bottomright .k-tick-large { background-position: -
|
|
15175
|
+
.k-slider-topleft .k-tick-large { background-position: -34px center; }
|
|
15176
|
+
.k-slider-bottomright .k-tick-large { background-position: -64px center; }
|
|
15134
15177
|
|
|
15135
|
-
.k-first { background-position: -
|
|
15136
|
-
.k-tick-large.k-first { background-position: -
|
|
15137
|
-
.k-slider-topleft .k-first { background-position: -
|
|
15138
|
-
.k-slider-topleft .k-tick-large.k-first { background-position: -
|
|
15139
|
-
.k-slider-bottomright .k-first { background-position: -
|
|
15140
|
-
.k-slider-bottomright .k-tick-large.k-first { background-position: -
|
|
15178
|
+
.k-first { background-position: -94px 100%; }
|
|
15179
|
+
.k-tick-large.k-first { background-position: -4px 100%; }
|
|
15180
|
+
.k-slider-topleft .k-first { background-position: -124px 100%; }
|
|
15181
|
+
.k-slider-topleft .k-tick-large.k-first { background-position: -34px 100%; }
|
|
15182
|
+
.k-slider-bottomright .k-first { background-position: -154px 100%; }
|
|
15183
|
+
.k-slider-bottomright .k-tick-large.k-first { background-position: -64px 100%; }
|
|
15141
15184
|
|
|
15142
|
-
.k-last { background-position: -
|
|
15143
|
-
.k-tick-large.k-last { background-position: -
|
|
15144
|
-
.k-slider-topleft .k-last { background-position: -
|
|
15145
|
-
.k-slider-topleft .k-tick-large.k-last { background-position: -
|
|
15146
|
-
.k-slider-bottomright .k-last { background-position: -
|
|
15147
|
-
.k-slider-bottomright .k-tick-large.k-last { background-position: -
|
|
15185
|
+
.k-last { background-position: -94px 0; }
|
|
15186
|
+
.k-tick-large.k-last { background-position: -4px 0; }
|
|
15187
|
+
.k-slider-topleft .k-last { background-position: -124px 0; }
|
|
15188
|
+
.k-slider-topleft .k-tick-large.k-last { background-position: -34px 0; }
|
|
15189
|
+
.k-slider-bottomright .k-last { background-position: -154px 0; }
|
|
15190
|
+
.k-slider-bottomright .k-tick-large.k-last { background-position: -64px 0; }
|
|
15148
15191
|
|
|
15149
15192
|
// labels
|
|
15150
15193
|
|
|
@@ -15182,17 +15225,9 @@ $slider-disabled-opacity: null !default;
|
|
|
15182
15225
|
|
|
15183
15226
|
// Slider horizontal
|
|
15184
15227
|
.k-slider-horizontal {
|
|
15185
|
-
height: $slider-alt-size;
|
|
15186
15228
|
width: $slider-size;
|
|
15187
15229
|
flex-flow: row nowrap;
|
|
15188
15230
|
|
|
15189
|
-
// ticks
|
|
15190
|
-
.k-tick {
|
|
15191
|
-
float: left;
|
|
15192
|
-
height: 100%;
|
|
15193
|
-
text-align: center;
|
|
15194
|
-
}
|
|
15195
|
-
|
|
15196
15231
|
.k-tick { background-position: center -92px; }
|
|
15197
15232
|
.k-slider-topleft .k-tick { background-position: center -122px; }
|
|
15198
15233
|
.k-slider-bottomright .k-tick { background-position: center -152px; }
|
|
@@ -15238,9 +15273,6 @@ $slider-disabled-opacity: null !default;
|
|
|
15238
15273
|
right: 0;
|
|
15239
15274
|
left: auto;
|
|
15240
15275
|
}
|
|
15241
|
-
.k-slider-buttons .k-slider-track {
|
|
15242
|
-
right: $slider-button-spacing;
|
|
15243
|
-
}
|
|
15244
15276
|
|
|
15245
15277
|
.k-button .k-i-arrow-e,
|
|
15246
15278
|
.k-button .k-i-arrow-w {
|
|
@@ -15249,11 +15281,6 @@ $slider-disabled-opacity: null !default;
|
|
|
15249
15281
|
}
|
|
15250
15282
|
}
|
|
15251
15283
|
|
|
15252
|
-
.k-slider-wrap {
|
|
15253
|
-
height: 100%;
|
|
15254
|
-
width: 100%;
|
|
15255
|
-
}
|
|
15256
|
-
|
|
15257
15284
|
.k-slider-track,
|
|
15258
15285
|
.k-slider-selection {
|
|
15259
15286
|
margin: 0;
|
|
@@ -15275,16 +15302,6 @@ $slider-disabled-opacity: null !default;
|
|
|
15275
15302
|
}
|
|
15276
15303
|
}
|
|
15277
15304
|
|
|
15278
|
-
.k-slider-buttons .k-slider-track {
|
|
15279
|
-
.k-slider-horizontal & {
|
|
15280
|
-
left: $slider-button-spacing;
|
|
15281
|
-
}
|
|
15282
|
-
|
|
15283
|
-
.k-slider-vertical & {
|
|
15284
|
-
bottom: $slider-button-spacing;
|
|
15285
|
-
}
|
|
15286
|
-
}
|
|
15287
|
-
|
|
15288
15305
|
|
|
15289
15306
|
.k-draghandle {
|
|
15290
15307
|
background-color: transparent;
|
|
@@ -15295,30 +15312,10 @@ $slider-disabled-opacity: null !default;
|
|
|
15295
15312
|
position: absolute;
|
|
15296
15313
|
text-align: center;
|
|
15297
15314
|
text-decoration: none;
|
|
15298
|
-
box-sizing:
|
|
15315
|
+
box-sizing: border-box;
|
|
15299
15316
|
width: $slider-draghandle-size;
|
|
15300
15317
|
height: $slider-draghandle-size;
|
|
15301
15318
|
|
|
15302
|
-
.k-slider-horizontal & {
|
|
15303
|
-
top: 50%;
|
|
15304
|
-
transform: translateY(-50%);
|
|
15305
|
-
|
|
15306
|
-
&:active,
|
|
15307
|
-
&.k-pressed {
|
|
15308
|
-
transform: translateY(-50%) scale($slider-draghandle-active-scale);
|
|
15309
|
-
}
|
|
15310
|
-
}
|
|
15311
|
-
|
|
15312
|
-
.k-slider-vertical & {
|
|
15313
|
-
left: 50%;
|
|
15314
|
-
transform: translateX(-50%);
|
|
15315
|
-
|
|
15316
|
-
&:active,
|
|
15317
|
-
&.k-pressed {
|
|
15318
|
-
transform: translateX(-50%) scale($slider-draghandle-active-scale);
|
|
15319
|
-
}
|
|
15320
|
-
}
|
|
15321
|
-
|
|
15322
15319
|
.k-slider-transitions.k-slider-horizontal & {
|
|
15323
15320
|
transition: left $slider-transition-speed $slider-transition-function, background-color $slider-transition-speed $slider-transition-function, transform $slider-draghandle-transition-speed $slider-draghandle-transition-function;
|
|
15324
15321
|
}
|
|
@@ -15347,34 +15344,18 @@ $slider-disabled-opacity: null !default;
|
|
|
15347
15344
|
}
|
|
15348
15345
|
|
|
15349
15346
|
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
.k-slider-
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
.k-slider-horizontal & {
|
|
15358
|
-
height: 100%;
|
|
15359
|
-
padding: 2px 0;
|
|
15360
|
-
box-sizing: border-box;
|
|
15361
|
-
}
|
|
15362
|
-
|
|
15363
|
-
.k-slider-vertical & {
|
|
15364
|
-
padding-top: 1px;
|
|
15365
|
-
}
|
|
15366
|
-
|
|
15367
|
-
.k-slider-vertical .k-slider-buttons & {
|
|
15368
|
-
margin: 0;
|
|
15369
|
-
padding-top: $slider-button-spacing;
|
|
15347
|
+
// Slider readonly
|
|
15348
|
+
.k-slider.k-readonly {
|
|
15349
|
+
.k-button,
|
|
15350
|
+
.k-slider-track,
|
|
15351
|
+
.k-tick,
|
|
15352
|
+
.k-draghandle {
|
|
15353
|
+
pointer-events: none;
|
|
15370
15354
|
}
|
|
15371
15355
|
}
|
|
15372
|
-
.k-slider-items::after {
|
|
15373
|
-
content: "";
|
|
15374
|
-
display: block;
|
|
15375
|
-
clear: both;
|
|
15376
|
-
}
|
|
15377
15356
|
|
|
15357
|
+
|
|
15358
|
+
// Slider tooltip
|
|
15378
15359
|
.k-slider-tooltip {
|
|
15379
15360
|
.k-callout-n,
|
|
15380
15361
|
.k-callout-s {
|
|
@@ -15460,12 +15441,6 @@ $slider-disabled-opacity: null !default;
|
|
|
15460
15441
|
&.k-state-disabled {
|
|
15461
15442
|
opacity: $slider-disabled-opacity;
|
|
15462
15443
|
}
|
|
15463
|
-
|
|
15464
|
-
.k-slider-wrap {
|
|
15465
|
-
&:focus {
|
|
15466
|
-
outline: none;
|
|
15467
|
-
}
|
|
15468
|
-
}
|
|
15469
15444
|
}
|
|
15470
15445
|
|
|
15471
15446
|
.k-slider-horizontal .k-tick {
|
|
@@ -17501,10 +17476,6 @@ $colorgradient-contrast-spacer: ( $colorgradient-spacer / 1.5 ) !default;
|
|
|
17501
17476
|
z-index: 1;
|
|
17502
17477
|
}
|
|
17503
17478
|
|
|
17504
|
-
.k-slider-wrap > .k-slider-track {
|
|
17505
|
-
height: $colorgradient-slider-vertical-size;
|
|
17506
|
-
}
|
|
17507
|
-
|
|
17508
17479
|
.k-slider-selection {
|
|
17509
17480
|
display: none;
|
|
17510
17481
|
}
|
|
@@ -19660,8 +19631,8 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
|
|
|
19660
19631
|
|
|
19661
19632
|
// Token
|
|
19662
19633
|
.k-button {
|
|
19663
|
-
min-height: calc( #{$form-line-height-em} + #{$button-padding-y
|
|
19664
|
-
padding: ($button-padding-y
|
|
19634
|
+
min-height: calc( #{$form-line-height-em} + #{$button-padding-y /2} + 2px );
|
|
19635
|
+
padding: ($button-padding-y / 4) ($button-padding-x / 2);
|
|
19665
19636
|
margin: $padding-y-sm 0 0 $padding-y-sm;
|
|
19666
19637
|
cursor: default;
|
|
19667
19638
|
display: inline-flex;
|
|
@@ -20089,6 +20060,16 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|
|
|
20089
20060
|
}
|
|
20090
20061
|
|
|
20091
20062
|
|
|
20063
|
+
// Treeview filter
|
|
20064
|
+
.k-treeview-filter {
|
|
20065
|
+
padding: map-get( $spacing, 1 );
|
|
20066
|
+
box-sizing: border-box;
|
|
20067
|
+
display: block;
|
|
20068
|
+
position: relative;
|
|
20069
|
+
flex: none;
|
|
20070
|
+
}
|
|
20071
|
+
|
|
20072
|
+
|
|
20092
20073
|
// Treeview group
|
|
20093
20074
|
.k-treeview-group,
|
|
20094
20075
|
.k-treeview .k-group {
|
|
@@ -20149,11 +20130,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|
|
|
20149
20130
|
.k-treeview .k-i-collapse {
|
|
20150
20131
|
margin-left: -$treeview-indent;
|
|
20151
20132
|
cursor: pointer;
|
|
20152
|
-
|
|
20153
|
-
+ .k-checkbox-wrap,
|
|
20154
|
-
+ .k-checkbox-wrapper {
|
|
20155
|
-
margin-left: $icon-spacing;
|
|
20156
|
-
}
|
|
20157
20133
|
}
|
|
20158
20134
|
|
|
20159
20135
|
|
|
@@ -20166,6 +20142,7 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|
|
|
20166
20142
|
// Checkbox
|
|
20167
20143
|
.k-treeview .k-checkbox-wrap,
|
|
20168
20144
|
.k-treeview .k-checkbox-wrapper {
|
|
20145
|
+
margin-left: $icon-spacing;
|
|
20169
20146
|
margin-right: $icon-spacing;
|
|
20170
20147
|
align-self: center;
|
|
20171
20148
|
}
|
|
@@ -20229,11 +20206,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|
|
|
20229
20206
|
.k-treeview-toggle {
|
|
20230
20207
|
margin-left: 0;
|
|
20231
20208
|
margin-right: -$treeview-indent;
|
|
20232
|
-
|
|
20233
|
-
+ .k-checkbox-wrap,
|
|
20234
|
-
+ .k-checkbox-wrapper {
|
|
20235
|
-
margin-right: $icon-spacing;
|
|
20236
|
-
}
|
|
20237
20209
|
}
|
|
20238
20210
|
|
|
20239
20211
|
// Loading
|
|
@@ -20242,13 +20214,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|
|
|
20242
20214
|
margin-left: $icon-spacing;
|
|
20243
20215
|
}
|
|
20244
20216
|
|
|
20245
|
-
// Checkbox
|
|
20246
|
-
.k-checkbox-wrap,
|
|
20247
|
-
.k-checkbox-wrapper {
|
|
20248
|
-
margin-right: 0;
|
|
20249
|
-
margin-left: $icon-spacing;
|
|
20250
|
-
}
|
|
20251
|
-
|
|
20252
20217
|
// Treeview leaf
|
|
20253
20218
|
.k-treeview-leaf,
|
|
20254
20219
|
.k-in {
|
|
@@ -20259,8 +20224,8 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|
|
|
20259
20224
|
margin-left: $icon-spacing;
|
|
20260
20225
|
}
|
|
20261
20226
|
}
|
|
20262
|
-
|
|
20263
20227
|
}
|
|
20228
|
+
|
|
20264
20229
|
}
|
|
20265
20230
|
|
|
20266
20231
|
// #endregion
|
|
@@ -23641,10 +23606,10 @@ $actionsheet-item-disabled-shadow: null !default;
|
|
|
23641
23606
|
margin-top: -($window-inner-padding-y / 2);
|
|
23642
23607
|
}
|
|
23643
23608
|
.k-window-content:first-child {
|
|
23644
|
-
padding-top:
|
|
23609
|
+
padding-top: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
|
|
23645
23610
|
}
|
|
23646
23611
|
.k-window-content:last-child {
|
|
23647
|
-
padding-bottom:
|
|
23612
|
+
padding-bottom: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
|
|
23648
23613
|
}
|
|
23649
23614
|
|
|
23650
23615
|
.k-window-iframecontent {
|
|
@@ -27082,7 +27047,7 @@ $tabstrip-content-border-focused: $component-text !default;
|
|
|
27082
27047
|
color: inherit;
|
|
27083
27048
|
background-color: transparent;
|
|
27084
27049
|
display: flex;
|
|
27085
|
-
flex-
|
|
27050
|
+
flex-flow: column nowrap;
|
|
27086
27051
|
-webkit-touch-callout: none;
|
|
27087
27052
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
27088
27053
|
|
|
@@ -27175,6 +27140,9 @@ $tabstrip-content-border-focused: $component-text !default;
|
|
|
27175
27140
|
left: 0;
|
|
27176
27141
|
transition: width .2s linear;
|
|
27177
27142
|
|
|
27143
|
+
// TODO: a better name
|
|
27144
|
+
display: none;
|
|
27145
|
+
|
|
27178
27146
|
&.k-complete {
|
|
27179
27147
|
width: 100%;
|
|
27180
27148
|
border-top-width: 0;
|
|
@@ -27188,6 +27156,7 @@ $tabstrip-content-border-focused: $component-text !default;
|
|
|
27188
27156
|
|
|
27189
27157
|
> .k-tabstrip-items {
|
|
27190
27158
|
flex: 1 1 auto;
|
|
27159
|
+
flex-wrap: nowrap;
|
|
27191
27160
|
white-space: nowrap;
|
|
27192
27161
|
overflow: hidden;
|
|
27193
27162
|
}
|
|
@@ -30909,7 +30878,7 @@ $adaptive-scheduler-subtle-text: $subtle-text !default;
|
|
|
30909
30878
|
padding: $grid-column-menu-popup-padding-y $grid-column-menu-popup-padding-x;
|
|
30910
30879
|
}
|
|
30911
30880
|
.k-popup > & {
|
|
30912
|
-
width: 100%;
|
|
30881
|
+
max-width: 100%;
|
|
30913
30882
|
}
|
|
30914
30883
|
|
|
30915
30884
|
.k-actions {
|
|
@@ -31208,12 +31177,6 @@ $adaptive-scheduler-subtle-text: $subtle-text !default;
|
|
|
31208
31177
|
@include fill( $bg: $grid-sticky-selected-alt-bg );
|
|
31209
31178
|
}
|
|
31210
31179
|
|
|
31211
|
-
// Hovered state
|
|
31212
|
-
.k-state-hover td,
|
|
31213
|
-
tr:hover td {
|
|
31214
|
-
@include fill( $bg: $grid-sticky-hovered-bg );
|
|
31215
|
-
}
|
|
31216
|
-
|
|
31217
31180
|
// Selected hover
|
|
31218
31181
|
.k-state-selected:hover td,
|
|
31219
31182
|
.k-state-selected.k-state-hover td {
|
|
@@ -31930,6 +31893,7 @@ $spreadsheet-drawing-anchor-bg: rgba( $selected-bg, .25 ) !default;
|
|
|
31930
31893
|
margin: 0;
|
|
31931
31894
|
}
|
|
31932
31895
|
.k-spreadsheet-tabstrip .k-loading {
|
|
31896
|
+
// TODO: better name
|
|
31933
31897
|
display: none;
|
|
31934
31898
|
}
|
|
31935
31899
|
.k-spreadsheet-tabstrip .k-content,
|
|
@@ -34294,9 +34258,13 @@ $treelist-footer-row-border-width: 1px !default;
|
|
|
34294
34258
|
padding: .4em .6em;
|
|
34295
34259
|
line-height: 1.6em;
|
|
34296
34260
|
|
|
34261
|
+
// TODO: see what this does and use a better name
|
|
34297
34262
|
.k-loading {
|
|
34298
34263
|
vertical-align: baseline;
|
|
34299
34264
|
margin-right: 5px;
|
|
34265
|
+
|
|
34266
|
+
// TODO
|
|
34267
|
+
display: none;
|
|
34300
34268
|
}
|
|
34301
34269
|
}
|
|
34302
34270
|
|
|
@@ -40362,10 +40330,16 @@ $chat-quick-reply-hover-border: $primary !default;
|
|
|
40362
40330
|
|
|
40363
40331
|
.k-scroll-button {
|
|
40364
40332
|
height: 100%;
|
|
40333
|
+
aspect-ratio: auto;
|
|
40365
40334
|
position: absolute;
|
|
40366
40335
|
z-index: 2;
|
|
40367
40336
|
top: 50%;
|
|
40368
40337
|
transform: translateY(-50%);
|
|
40338
|
+
|
|
40339
|
+
.k-button-icon {
|
|
40340
|
+
min-width: auto;
|
|
40341
|
+
min-height: auto;
|
|
40342
|
+
}
|
|
40369
40343
|
}
|
|
40370
40344
|
.k-scroll-button-left {
|
|
40371
40345
|
left: 0;
|
|
@@ -40668,6 +40642,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
|
|
|
40668
40642
|
padding: 0 (14px / 2);
|
|
40669
40643
|
align-items: center;
|
|
40670
40644
|
}
|
|
40645
|
+
.k-mediaplayer-volume {
|
|
40646
|
+
width: 100px;
|
|
40647
|
+
}
|
|
40671
40648
|
|
|
40672
40649
|
|
|
40673
40650
|
// Seekbar
|
|
@@ -40675,8 +40652,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
|
|
|
40675
40652
|
width: 100%;
|
|
40676
40653
|
position: absolute;
|
|
40677
40654
|
z-index: 3;
|
|
40678
|
-
top:
|
|
40655
|
+
top: 0;
|
|
40679
40656
|
left: 0;
|
|
40657
|
+
transform: translateY( -50% );
|
|
40680
40658
|
}
|
|
40681
40659
|
.k-mediaplayer-seekbar .k-slider-track {
|
|
40682
40660
|
// sass-lint:disable no-important
|
|
@@ -40684,6 +40662,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
|
|
|
40684
40662
|
// sass-lint:enable no-important
|
|
40685
40663
|
border-radius: 0;
|
|
40686
40664
|
}
|
|
40665
|
+
.k-mediaplayer-seekbar .k-slider-selection {
|
|
40666
|
+
border-radius: 0;
|
|
40667
|
+
}
|
|
40687
40668
|
|
|
40688
40669
|
.k-mediaplayer-fullscreen {
|
|
40689
40670
|
z-index: 10000;
|