@progress/kendo-theme-default 4.43.1-dev.5 → 4.44.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.
Files changed (78) hide show
  1. package/dist/all.css +2131 -1183
  2. package/dist/all.scss +1801 -1408
  3. package/package.json +2 -2
  4. package/scss/action-buttons/_layout.scss +7 -0
  5. package/scss/action-sheet/_layout.scss +6 -0
  6. package/scss/appbar/_layout.scss +6 -1
  7. package/scss/autocomplete/_layout.scss +6 -0
  8. package/scss/avatar/_layout.scss +6 -0
  9. package/scss/badge/_layout.scss +6 -0
  10. package/scss/bottom-navigation/_layout.scss +6 -0
  11. package/scss/breadcrumb/_layout.scss +6 -0
  12. package/scss/button/_layout.scss +80 -92
  13. package/scss/button/_theme.scss +177 -112
  14. package/scss/button/_variables.scss +80 -14
  15. package/scss/captcha/_layout.scss +6 -0
  16. package/scss/card/_layout.scss +6 -0
  17. package/scss/chat/_layout.scss +9 -2
  18. package/scss/chip/_layout.scss +6 -0
  19. package/scss/color-preview/_layout.scss +6 -0
  20. package/scss/coloreditor/_layout.scss +6 -0
  21. package/scss/colorgradient/_layout.scss +6 -4
  22. package/scss/colorpalette/_layout.scss +6 -0
  23. package/scss/colorpicker/_layout.scss +6 -3
  24. package/scss/combobox/_layout.scss +6 -1
  25. package/scss/common/_loading.scss +15 -13
  26. package/scss/dateinput/_layout.scss +7 -1
  27. package/scss/datepicker/_layout.scss +6 -0
  28. package/scss/daterangepicker/_layout.scss +6 -0
  29. package/scss/datetimepicker/_layout.scss +6 -2
  30. package/scss/drawer/_layout.scss +6 -0
  31. package/scss/dropdownlist/_layout.scss +6 -1
  32. package/scss/expansion-panel/_layout.scss +6 -1
  33. package/scss/fab/_layout.scss +6 -0
  34. package/scss/filter/_layout.scss +8 -0
  35. package/scss/floating-label/_layout.scss +7 -0
  36. package/scss/grid/_layout.scss +4 -3
  37. package/scss/grid/_theme.scss +2 -8
  38. package/scss/imageeditor/_layout.scss +6 -0
  39. package/scss/list/_layout.scss +10 -28
  40. package/scss/list/_theme.scss +4 -4
  41. package/scss/listbox/_layout.scss +9 -0
  42. package/scss/map/_layout.scss +7 -0
  43. package/scss/maskedtextbox/_layout.scss +6 -0
  44. package/scss/mediaplayer/_layout.scss +14 -1
  45. package/scss/multiselect/_layout.scss +8 -2
  46. package/scss/notification/_layout.scss +6 -0
  47. package/scss/numerictextbox/_layout.scss +6 -2
  48. package/scss/orgchart/_layout.scss +6 -0
  49. package/scss/pager/_layout.scss +6 -2
  50. package/scss/panelbar/_layout.scss +6 -0
  51. package/scss/pivotgrid/_layout.scss +55 -83
  52. package/scss/pivotgrid/_theme.scss +39 -73
  53. package/scss/popover/_layout.scss +6 -0
  54. package/scss/progressbar/_layout.scss +6 -0
  55. package/scss/rating/_layout.scss +6 -1
  56. package/scss/scheduler/_layout.scss +6 -0
  57. package/scss/searchbox/_layout.scss +6 -0
  58. package/scss/slider/_layout.scss +71 -144
  59. package/scss/slider/_theme.scss +0 -6
  60. package/scss/spreadsheet/_layout.scss +1 -0
  61. package/scss/stepper/_layout.scss +6 -1
  62. package/scss/switch/_layout.scss +14 -9
  63. package/scss/switch/_variables.scss +127 -33
  64. package/scss/tabstrip/_layout.scss +26 -4
  65. package/scss/taskboard/_layout.scss +6 -2
  66. package/scss/textarea/_layout.scss +6 -0
  67. package/scss/textbox/_layout.scss +6 -0
  68. package/scss/timeline/_layout.scss +8 -4
  69. package/scss/timepicker/_layout.scss +6 -1
  70. package/scss/timeselector/_layout.scss +1 -0
  71. package/scss/toolbar/_index.scss +1 -0
  72. package/scss/toolbar/_layout.scss +1 -0
  73. package/scss/tooltip/_layout.scss +6 -1
  74. package/scss/treelist/_layout.scss +4 -0
  75. package/scss/treeview/_layout.scss +17 -18
  76. package/scss/upload/_layout.scss +6 -1
  77. package/scss/window/_layout.scss +2 -2
  78. package/scss/wizard/_layout.scss +4 -0
package/dist/all.scss CHANGED
@@ -2727,27 +2727,24 @@ $display4-letter-spacing: null !default;
2727
2727
  // #region @import "_loading.scss"; -> packages/default/scss/common/_loading.scss
2728
2728
  @include exports( "common/loading" ) {
2729
2729
 
2730
- // Loading indicator
2731
- .k-loading {
2732
- width: 64px;
2733
- height: 64px;
2734
- display: block;
2735
-
2736
- .animate {
2737
- animation: loading 2s infinite linear;
2738
- }
2739
- }
2740
-
2741
-
2742
2730
  // Loading mask
2743
2731
  .k-loading-mask,
2744
2732
  .k-loading-image,
2745
2733
  .k-loading-color {
2746
2734
  width: 100%;
2747
2735
  height: 100%;
2736
+ box-sizing: border-box;
2748
2737
  position: absolute;
2749
2738
  top: 0;
2750
2739
  left: 0;
2740
+
2741
+ *,
2742
+ *::before,
2743
+ *::after,
2744
+ &::before,
2745
+ &::after {
2746
+ box-sizing: border-box;
2747
+ }
2751
2748
  }
2752
2749
 
2753
2750
  .k-loading-mask {
@@ -2778,6 +2775,11 @@ $display4-letter-spacing: null !default;
2778
2775
  background-color: transparent;
2779
2776
  box-sizing: border-box;
2780
2777
  color: currentColor;
2778
+
2779
+ &::before,
2780
+ &::after {
2781
+ box-sizing: border-box;
2782
+ }
2781
2783
  }
2782
2784
 
2783
2785
  .k-i-loading::before,
@@ -2827,7 +2829,7 @@ $display4-letter-spacing: null !default;
2827
2829
  content: "";
2828
2830
  // See https://github.com/telerik/kendo-themes/issues/1925
2829
2831
  border-width: 1px; // TODO: Remove once we drop IE support
2830
- border-width: #{"max( 1px, .015em )"}; // sass-lint:disable-line no-duplicate-properties
2832
+ border-width: clamp( .015em, 1px, 1px ); // sass-lint:disable-line no-duplicate-properties
2831
2833
  font-size: 4em;
2832
2834
  }
2833
2835
  }
@@ -6555,7 +6557,7 @@ $checkbox-ripple-opacity: .25 !default;
6555
6557
  display: flex;
6556
6558
  align-items: center;
6557
6559
  align-content: center;
6558
- gap: map-get( $spacing, 1 );
6560
+ gap: $icon-spacing;
6559
6561
  cursor: default;
6560
6562
  position: relative;
6561
6563
  transition-property: color, background-color, outline-color, box-shadow;
@@ -6609,21 +6611,6 @@ $checkbox-ripple-opacity: .25 !default;
6609
6611
  }
6610
6612
  }
6611
6613
 
6612
- .k-dropdown-button .k-popup {
6613
- .k-item {
6614
- cursor: pointer;
6615
- }
6616
- }
6617
-
6618
- // SplitButton
6619
- // TODO: Wait for final design + revise
6620
- .k-split-button,
6621
- .k-dropdown-button {
6622
- .k-list .k-item:focus {
6623
- outline: none;
6624
- }
6625
- }
6626
-
6627
6614
  .k-virtual-content {
6628
6615
  overflow-y: scroll;
6629
6616
  -webkit-overflow-scrolling: touch;
@@ -6646,18 +6633,15 @@ $checkbox-ripple-opacity: .25 !default;
6646
6633
 
6647
6634
 
6648
6635
  // No data
6649
- .k-list-container {
6650
- .k-no-data {
6651
- min-height: 138px;
6652
- width: 100%;
6653
- display: flex;
6654
- align-items: center;
6655
- justify-content: center;
6656
- text-transform: uppercase;
6657
- font-weight: lighter;
6658
- text-align: center;
6659
- white-space: normal;
6660
- }
6636
+ .k-no-data {
6637
+ min-height: 140px;
6638
+ box-sizing: border-box;
6639
+ display: flex;
6640
+ align-items: center;
6641
+ justify-content: center;
6642
+ font-weight: lighter;
6643
+ text-align: center;
6644
+ white-space: normal;
6661
6645
  }
6662
6646
 
6663
6647
 
@@ -6766,12 +6750,12 @@ $checkbox-ripple-opacity: .25 !default;
6766
6750
  background: transparent;
6767
6751
  }
6768
6752
 
6753
+ }
6769
6754
 
6770
- // No data
6771
- .k-no-data {
6772
- color: $list-no-data-text;
6773
- }
6774
6755
 
6756
+ // No data
6757
+ .k-no-data {
6758
+ color: $list-no-data-text;
6775
6759
  }
6776
6760
 
6777
6761
  }
@@ -7314,30 +7298,72 @@ $popup-shadow: 0 2px 4px 0 rgba(0, 0, 0, .03), 0 4px 5px 0 rgba(0, 0, 0, .04) !d
7314
7298
  // #region @import "../button/_variables.scss"; -> packages/default/scss/button/_variables.scss
7315
7299
  // Button
7316
7300
 
7317
- /// Width of border around buttons
7301
+ /// Width of the border around the button.
7318
7302
  /// @group button
7319
7303
  $button-border-width: 1px !default;
7320
- /// Border radius of buttons
7304
+
7305
+ /// Border radius of the button.
7321
7306
  /// @group button
7322
7307
  $button-border-radius: $border-radius !default;
7323
7308
 
7324
- /// Horizontal padding of buttons
7309
+ /// Horizontal padding of the button.
7325
7310
  /// @group button
7326
- $button-padding-x: $padding-x !default;
7327
- /// Vertical padding of buttons
7311
+ $button-padding-x: map-get( $spacing, 2 ) !default;
7312
+ $button-padding-x-sm: null !default;
7313
+ $button-padding-x-md: null !default;
7314
+ $button-padding-x-lg: null !default;
7315
+
7316
+ /// Vertical padding of the button.
7317
+ /// @group button
7318
+ $button-padding-y: map-get( $spacing, 1 ) !default;
7319
+ $button-padding-y-sm: null !default;
7320
+ $button-padding-y-md: null !default;
7321
+ $button-padding-y-lg: null !default;
7322
+
7323
+ /// Font family of the button.
7328
7324
  /// @group button
7329
- $button-padding-y: $padding-y !default;
7330
7325
  $button-font-family: $font-family !default;
7326
+
7327
+ /// Font size of the button.
7328
+ /// @group button
7331
7329
  $button-font-size: $font-size !default;
7332
- $button-line-height: $line-height !default;
7330
+ $button-font-size-sm: null !default;
7331
+ $button-font-size-md: null !default;
7332
+ $button-font-size-lg: null !default;
7333
7333
 
7334
- $button-padding-x-sm: $button-padding-x / 2 !default;
7335
- $button-padding-y-sm: $button-padding-y / 2 !default;
7336
- $button-line-height-sm: $line-height-sm !default;
7334
+ /// Line height used along with $font-size.
7335
+ /// @group button
7336
+ $button-line-height: $line-height !default;
7337
+ $button-line-height-sm: null !default;
7338
+ $button-line-height-md: null !default;
7339
+ $button-line-height-lg: null !default;
7337
7340
 
7341
+ /// Calculated height of the button.
7342
+ /// @group button
7338
7343
  $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
7344
+
7345
+ /// Calculated inner height of the button. Without the border width.
7346
+ /// @group button
7339
7347
  $button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
7340
7348
 
7349
+ $button-arrow-padding-x: $button-padding-y !default;
7350
+ $button-arrow-padding-y: $button-padding-y !default;
7351
+
7352
+ /// Theme colors map for the button.
7353
+ /// @group button
7354
+ $button-theme-colors: (
7355
+ "primary": map-get( $theme-colors, primary ),
7356
+ "secondary": map-get( $theme-colors, secondary ),
7357
+ "tertiary": map-get( $theme-colors, tertiary ),
7358
+ "info": map-get( $theme-colors, info ),
7359
+ "success": map-get( $theme-colors, success ),
7360
+ "warning": map-get( $theme-colors, warning ),
7361
+ "error": map-get( $theme-colors, error ),
7362
+ "dark": map-get( $theme-colors, dark ),
7363
+ "light": map-get( $theme-colors, light ),
7364
+ "inverse": map-get( $theme-colors, inverse )
7365
+ ) !default;
7366
+
7341
7367
  /// The background of the buttons.
7342
7368
  /// @group button
7343
7369
  $button-bg: #f5f5f5 !default;
@@ -7382,13 +7408,13 @@ $button-active-shadow: null !default;
7382
7408
 
7383
7409
  /// The background color of selected buttons.
7384
7410
  /// @group button
7385
- $button-selected-bg: $button-active-bg !default;
7411
+ $button-selected-bg: $primary !default;
7386
7412
  /// The text color of selected buttons.
7387
7413
  /// @group button
7388
- $button-selected-text: $button-active-text !default;
7414
+ $button-selected-text: contrast-wcag( $button-selected-bg ) !default;
7389
7415
  /// The border color of selected buttons.
7390
7416
  /// @group button
7391
- $button-selected-border: $button-active-border !default;
7417
+ $button-selected-border: $button-selected-bg !default;
7392
7418
  /// The background gradient of selected buttons.
7393
7419
  /// @group button
7394
7420
  $button-selected-gradient: null !default;
@@ -7434,7 +7460,31 @@ $primary-button-selected-shadow: null !default;
7434
7460
 
7435
7461
  $primary-button-focused-shadow: 0 0 0 2px rgba( $primary-button-border, .3 ) !default;
7436
7462
 
7437
- $button-group-focus-shadow: inset 0 0 0 2px rgba( $button-border, opacity( $button-border ) * 2 ) !default;
7463
+ $solid-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
7464
+ $solid-button-shade-function: "try-shade";
7465
+ $solid-button-shade-text-amount: 0 !default;
7466
+ $solid-button-shade-bg-amount: 0 !default;
7467
+ $solid-button-shade-border-amount: 0 !default;
7468
+ $solid-button-hover-shade-text-amount: null !default;
7469
+ $solid-button-hover-shade-bg-amount: .5 !default;
7470
+ $solid-button-hover-shade-border-amount: .5 !default;
7471
+ $solid-button-active-shade-text-amount: null !default;
7472
+ $solid-button-active-shade-bg-amount: 1.5 !default;
7473
+ $solid-button-active-shade-border-amount: 1.5 !default;
7474
+ $solid-button-shadow: true !default;
7475
+ $solid-button-shadow-blur: 0px !default;
7476
+ $solid-button-shadow-spread: 2px !default;
7477
+ $solid-button-shadow-opacity: .3 !default;
7478
+
7479
+ $outline-button-shadow: true !default;
7480
+ $outline-button-shadow-blur: 0px !default;
7481
+ $outline-button-shadow-spread: 2px !default;
7482
+ $outline-button-shadow-opacity: .3 !default;
7483
+
7484
+ $link-button-shadow: true !default;
7485
+ $link-button-shadow-blur: 0px !default;
7486
+ $link-button-shadow-spread: 2px !default;
7487
+ $link-button-shadow-opacity: .3 !default;
7438
7488
 
7439
7489
  $flat-button-hover-opacity: .04 !default;
7440
7490
  $flat-button-focus-opacity: null !default;
@@ -7847,12 +7897,19 @@ $floating-label-focus-text: null !default;
7847
7897
  .k-floating-label-container {
7848
7898
  padding-top: $floating-label-height;
7849
7899
  width: $input-default-width;
7900
+ box-sizing: border-box;
7850
7901
  display: inline-flex;
7851
7902
  vertical-align: middle;
7852
7903
  position: relative;
7853
7904
  flex-direction: column;
7854
7905
  justify-content: stretch;
7855
7906
 
7907
+ *,
7908
+ *::before,
7909
+ *::after {
7910
+ box-sizing: border-box;
7911
+ }
7912
+
7856
7913
  > .k-label {
7857
7914
  max-width: 90%;
7858
7915
  font-size: $floating-label-font-size;
@@ -8016,6 +8073,12 @@ $floating-label-focus-text: null !default;
8016
8073
  -webkit-touch-callout: none;
8017
8074
  -webkit-tap-highlight-color: $rgba-transparent;
8018
8075
 
8076
+ *,
8077
+ *::before,
8078
+ *::after {
8079
+ box-sizing: border-box;
8080
+ }
8081
+
8019
8082
 
8020
8083
  // Input
8021
8084
  .k-input {}
@@ -8035,7 +8098,6 @@ $floating-label-focus-text: null !default;
8035
8098
  border-width: 0;
8036
8099
  border-inline-start-width: $picker-select-border-width;
8037
8100
  border-style: solid;
8038
- box-sizing: border-box;
8039
8101
  outline: 0;
8040
8102
  display: flex;
8041
8103
  flex-flow: row nowrap;
@@ -9014,6 +9076,12 @@ $avatar-theme-colors: $theme-colors !default;
9014
9076
  justify-content: center;
9015
9077
  vertical-align: middle;
9016
9078
  overflow: hidden;
9079
+
9080
+ *,
9081
+ *::before,
9082
+ *::after {
9083
+ box-sizing: border-box;
9084
+ }
9017
9085
  }
9018
9086
 
9019
9087
 
@@ -9182,6 +9250,12 @@ $badge-dot-size-lg: 12px !default;
9182
9250
  vertical-align: middle;
9183
9251
  overflow: hidden;
9184
9252
  text-overflow: ellipsis;
9253
+
9254
+ *,
9255
+ *::before,
9256
+ *::after {
9257
+ box-sizing: border-box;
9258
+ }
9185
9259
  }
9186
9260
  .k-badge > * {
9187
9261
  color: inherit;
@@ -9611,6 +9685,12 @@ $chip-error-focus-shadow: 0 0 0 2px rgba( $error, .16 ) !default;
9611
9685
  cursor: pointer;
9612
9686
  user-select: none;
9613
9687
 
9688
+ *,
9689
+ *::before,
9690
+ *::after {
9691
+ box-sizing: border-box;
9692
+ }
9693
+
9614
9694
  .k-selected-icon-wrapper {
9615
9695
  display: none !important; // sass-lint:disable-line no-important
9616
9696
  }
@@ -10197,6 +10277,12 @@ $color-preview-transparent-color-image: url("data:image/png;base64,iVBORw0KGgoAA
10197
10277
  flex-wrap: nowrap;
10198
10278
  position: relative;
10199
10279
  overflow: hidden;
10280
+
10281
+ *,
10282
+ *::before,
10283
+ *::after {
10284
+ box-sizing: border-box;
10285
+ }
10200
10286
  }
10201
10287
 
10202
10288
 
@@ -11108,6 +11194,12 @@ $tooltip-error-border: $tooltip-error-bg !default;
11108
11194
  -webkit-appearance: none;
11109
11195
  position: relative;
11110
11196
 
11197
+ *,
11198
+ *::before,
11199
+ *::after {
11200
+ box-sizing: border-box;
11201
+ }
11202
+
11111
11203
  &:disabled,
11112
11204
  &.k-state-disabled {
11113
11205
  @include disabled( $disabled-styling );
@@ -11148,6 +11240,21 @@ $tooltip-error-border: $tooltip-error-bg !default;
11148
11240
  .k-button .k-button-text {}
11149
11241
 
11150
11242
 
11243
+ // Button arrow
11244
+ .k-button-arrow {
11245
+ padding-left: $button-arrow-padding-x;
11246
+ padding-right: $button-arrow-padding-x;
11247
+ flex: none;
11248
+ display: inline-flex;
11249
+ align-items: center;
11250
+ justify-content: center;
11251
+ }
11252
+ .k-button > .k-button-arrow {
11253
+ margin-inline-start: -$button-arrow-padding-x;
11254
+ margin-inline-end: -$button-padding-x;
11255
+ }
11256
+
11257
+
11151
11258
  // Text button
11152
11259
  .k-text-button {
11153
11260
 
@@ -11175,6 +11282,10 @@ $tooltip-error-border: $tooltip-error-bg !default;
11175
11282
  min-height: calc( #{$button-font-size} * #{$button-line-height} );
11176
11283
  }
11177
11284
  }
11285
+ .k-icon-button > .k-button-arrow {
11286
+ margin-inline-start: 0;
11287
+ margin-inline-end: -$button-padding-y;
11288
+ }
11178
11289
  // TODO: REMOVE
11179
11290
  .k-button.k-button-icon {
11180
11291
  padding: $button-padding-y;
@@ -11214,50 +11325,51 @@ $tooltip-error-border: $tooltip-error-bg !default;
11214
11325
  -webkit-touch-callout: none;
11215
11326
  -webkit-tap-highlight-color: $rgba-transparent;
11216
11327
 
11217
- .k-button {
11218
- @include border-radius( 0 );
11219
- }
11220
- .k-button ~ .k-button {
11328
+ > .k-button + .k-button {
11221
11329
  margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
11222
11330
  }
11223
11331
 
11224
- .k-button:hover,
11225
- .k-button.k-state-hover,
11226
- .k-button:active,
11227
- .k-button.k-state-active,
11228
- .k-button.k-state-selected,
11229
- .k-button:focus,
11230
- .k-button.k-state-focus {
11332
+ > .k-button:hover,
11333
+ > .k-button.k-state-hover,
11334
+ > .k-button:focus,
11335
+ > .k-button.k-state-focus,
11336
+ > .k-button:active,
11337
+ > .k-button.k-state-active,
11338
+ > .k-button.k-state-selected {
11231
11339
  z-index: 2;
11232
11340
  }
11233
11341
 
11234
- .k-group-start,
11235
- .k-button:first-child {
11236
- @include border-left-radius( $button-border-radius );
11342
+ .k-button:not(:first-child):not(:last-child) {
11343
+ border-start-end-radius: 0;
11344
+ border-end-end-radius: 0;
11345
+ border-start-start-radius: 0;
11346
+ border-end-start-radius: 0;
11237
11347
  }
11238
- .k-group-end,
11239
- .k-button:last-child {
11240
- @include border-right-radius( $button-border-radius );
11348
+ > .k-button:first-child:not(:only-child) {
11349
+ border-start-end-radius: 0;
11350
+ border-end-end-radius: 0;
11241
11351
  }
11242
- .k-group-start.k-group-end,
11243
- .k-button:first-child:last-child {
11244
- @include border-radius( $button-border-radius );
11352
+ > .k-button:last-child:not(:only-child) {
11353
+ border-start-start-radius: 0;
11354
+ border-end-start-radius: 0;
11355
+ }
11356
+
11357
+ &:disabled,
11358
+ &[disabled],
11359
+ &.k-disabled,
11360
+ &.k-state-disabled {
11361
+ opacity: 1;
11362
+ filter: none;
11245
11363
  }
11246
11364
 
11247
11365
  }
11248
11366
 
11249
11367
  .k-button-group-stretched {
11250
- display: flex;
11368
+ width: 100%;
11251
11369
 
11252
- .k-button {
11253
- display: inline-block;
11370
+ > * {
11254
11371
  flex: 1 0 0%;
11255
11372
  overflow: hidden;
11256
- text-overflow: ellipsis;
11257
-
11258
- > .k-icon {
11259
- vertical-align: text-bottom;
11260
- }
11261
11373
  }
11262
11374
  }
11263
11375
 
@@ -11271,32 +11383,13 @@ $tooltip-error-border: $tooltip-error-bg !default;
11271
11383
  flex-flow: row nowrap;
11272
11384
  vertical-align: middle;
11273
11385
 
11274
- .k-button {
11275
- @include border-radius( 0 );
11276
- }
11277
-
11278
- // .k-button
11279
- > .k-button:first-child {
11280
- @include border-left-radius( $button-border-radius );
11281
- }
11282
- > .k-split-button-arrow,
11283
- > .k-button:last-child {
11284
- @include border-right-radius( $button-border-radius );
11285
- margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
11286
- padding: $button-padding-y;
11386
+ .k-split-button-arrow {
11387
+ padding: $button-arrow-padding-y $button-arrow-padding-x;
11287
11388
  width: auto;
11288
11389
  flex: none;
11289
- }
11290
11390
 
11291
- &[dir="rtl"] {
11292
- // k-button
11293
- > .k-button:first-child {
11294
- @include border-left-radius( 0 );
11295
- @include border-right-radius( $button-border-radius );
11296
- }
11297
- > .k-button:last-child {
11298
- @include border-right-radius( 0 );
11299
- @include border-left-radius( $button-border-radius );
11391
+ .k-button-icon {
11392
+ min-width: 0;
11300
11393
  }
11301
11394
  }
11302
11395
  }
@@ -11340,13 +11433,29 @@ $tooltip-error-border: $tooltip-error-bg !default;
11340
11433
  .k-button-outline {
11341
11434
  @include box-shadow( none );
11342
11435
  color: inherit;
11343
- background: none;
11436
+ background-color: transparent;
11437
+ background-image: none !important; // sass-lint:disable-line no-important
11344
11438
  }
11345
11439
  .k-button.k-outline {
11346
11440
  @extend .k-button-outline;
11347
11441
  }
11348
11442
 
11349
11443
 
11444
+ // Link button
11445
+ .k-button-link {
11446
+ @include box-shadow( none );
11447
+ border-color: transparent !important; // sass-lint:disable-line no-important
11448
+ color: inherit;
11449
+ background-color: transparent !important; // sass-lint:disable-line no-important
11450
+ background-image: none !important; // sass-lint:disable-line no-important
11451
+ text-decoration: none;
11452
+ }
11453
+ .k-button-link:hover,
11454
+ .k-button-link.k-state-hover {
11455
+ text-decoration: underline;
11456
+ }
11457
+
11458
+
11350
11459
  // Clear button
11351
11460
  .k-button-clear {
11352
11461
  border-color: transparent !important; // sass-lint:disable-line no-important
@@ -11356,46 +11465,11 @@ $tooltip-error-border: $tooltip-error-bg !default;
11356
11465
  }
11357
11466
 
11358
11467
 
11359
- // RTL
11360
- .k-rtl {
11361
-
11362
- // Button group
11363
- .k-button-group {
11364
-
11365
- .k-button {
11366
- @include border-radius( 0 );
11367
- }
11368
-
11369
- .k-group-start,
11370
- .k-button:first-child {
11371
- @include border-right-radius( $button-border-radius );
11372
- }
11373
- .k-group-end,
11374
- .k-button:last-child {
11375
- @include border-left-radius( $button-border-radius );
11376
- }
11377
- .k-group-start.k-group-end,
11378
- .k-button:first-child:last-child {
11379
- @include border-radius( $button-border-radius );
11380
- }
11381
-
11382
- }
11383
-
11384
- // Split button
11385
- .k-split-button {
11386
-
11387
- .k-button {
11388
- @include border-radius( 0 );
11389
- }
11390
-
11391
- // k-button
11392
- > .k-button:first-child {
11393
- @include border-right-radius( $button-border-radius );
11394
- }
11395
- > .k-split-button-arrow,
11396
- > .k-button:last-child {
11397
- @include border-left-radius( $button-border-radius );
11398
- }
11468
+ // IE
11469
+ .k-ie .k-button-group,
11470
+ .k-ie .k-split-button {
11471
+ .k-button {
11472
+ @include border-radius( 0 );
11399
11473
  }
11400
11474
  }
11401
11475
 
@@ -11531,9 +11605,8 @@ $tooltip-error-border: $tooltip-error-bg !default;
11531
11605
  // #region @import "_theme.scss"; -> packages/default/scss/button/_theme.scss
11532
11606
  @include exports( "button/theme" ) {
11533
11607
 
11534
- // Default button
11535
- .k-button,
11536
- .k-button-secondary {
11608
+ // Solid button
11609
+ .k-button {
11537
11610
  @include fill(
11538
11611
  $button-text,
11539
11612
  $button-bg,
@@ -11597,75 +11670,70 @@ $tooltip-error-border: $tooltip-error-bg !default;
11597
11670
  }
11598
11671
 
11599
11672
  }
11673
+ .k-button.k-primary {
11674
+ @extend .k-button-solid-primary !optional;
11675
+ }
11600
11676
 
11677
+ $_shade-fn: get-function( $solid-button-shade-function );
11601
11678
 
11602
- // Primary button
11603
- .k-button-primary {
11604
- @include fill(
11605
- $primary-button-text,
11606
- $primary-button-bg,
11607
- $primary-button-border,
11608
- $primary-button-gradient
11609
- );
11610
- @include box-shadow( $primary-button-shadow );
11679
+ @each $name, $color in $button-theme-colors {
11680
+ $_button-text: contrast-wcag( $color );
11681
+ $_button-bg: if( $solid-button-shade-bg-amount, call( $_shade-fn, $color, $solid-button-shade-bg-amount ), null );
11682
+ $_button-border: if( $solid-button-shade-border-amount, call( $_shade-fn, $color, $solid-button-shade-border-amount ), null );
11611
11683
 
11612
- // Hovoer state
11613
- &:hover,
11614
- &.k-state-hover {
11615
- @include fill(
11616
- $primary-button-hovered-text,
11617
- $primary-button-hovered-bg,
11618
- $primary-button-hovered-border,
11619
- $primary-button-hovered-gradient
11620
- );
11621
- @include box-shadow( $primary-button-hovered-shadow );
11622
- }
11684
+ $_button-hover-text: null;
11685
+ $_button-hover-bg: if( $solid-button-hover-shade-bg-amount, call( $_shade-fn, $color, $solid-button-hover-shade-bg-amount ), null );
11686
+ $_button-hover-border: if( $solid-button-hover-shade-border-amount, call( $_shade-fn, $color, $solid-button-hover-shade-border-amount ), null );
11623
11687
 
11624
- // Focused state
11625
- &:focus,
11626
- &.k-state-focus,
11627
- &.k-state-focused {
11628
- @include box-shadow( $primary-button-focused-shadow );
11629
- }
11688
+ $_button-active-text: null;
11689
+ $_button-active-bg: if( $solid-button-active-shade-bg-amount, call( $_shade-fn, $color, $solid-button-active-shade-bg-amount ), null );
11690
+ $_button-active-border: if( $solid-button-active-shade-border-amount, call( $_shade-fn, $color, $solid-button-active-shade-border-amount ), null );
11630
11691
 
11631
- // Active state
11632
- &:active,
11633
- &.k-state-active {
11692
+ .k-button-solid.k-button-solid-#{$name} {
11634
11693
  @include fill(
11635
- $primary-button-active-text,
11636
- $primary-button-active-bg,
11637
- $primary-button-active-border,
11638
- $primary-button-active-gradient
11694
+ $_button-text,
11695
+ $_button-bg,
11696
+ $_button-border,
11697
+ $solid-button-gradient
11639
11698
  );
11640
- @include box-shadow( $primary-button-active-shadow );
11641
- }
11642
11699
 
11643
- // Selected state
11644
- &.k-state-selected {
11645
- @include fill(
11646
- $primary-button-selected-text,
11647
- $primary-button-selected-bg,
11648
- $primary-button-selected-border,
11649
- $primary-button-selected-gradient
11650
- );
11651
- @include box-shadow( $primary-button-selected-shadow );
11652
- }
11700
+ // Hover state
11701
+ &:hover,
11702
+ &.k-state-hover {
11703
+ @include fill(
11704
+ $_button-hover-text,
11705
+ $_button-hover-bg,
11706
+ $_button-hover-border
11707
+ );
11708
+ }
11653
11709
 
11654
- // Disabled state
11655
- &:disabled,
11656
- &.k-state-disabled {
11657
- @include fill(
11658
- $button-disabled-text,
11659
- $button-disabled-bg,
11660
- $button-disabled-border,
11661
- $button-disabled-gradient
11662
- );
11663
- @include box-shadow( $button-disabled-shadow );
11664
- }
11710
+ // Focus state
11711
+ &:focus,
11712
+ &.k-state-focus {
11713
+ @if ( $solid-button-shadow ) {
11714
+ box-shadow: 0 0 $solid-button-shadow-blur $solid-button-shadow-spread rgba( $_button-border, $solid-button-shadow-opacity );
11715
+ }
11716
+ }
11665
11717
 
11666
- }
11667
- .k-button.k-primary {
11668
- @extend .k-button-primary;
11718
+ // Active state
11719
+ &:active,
11720
+ &.k-state-active {
11721
+ @include fill(
11722
+ $_button-active-text,
11723
+ $_button-active-bg,
11724
+ $_button-active-border
11725
+ );
11726
+ }
11727
+
11728
+ // Selected
11729
+ &.k-state-selected {
11730
+ @include fill(
11731
+ $_button-active-text,
11732
+ $_button-active-bg,
11733
+ $_button-active-border
11734
+ );
11735
+ }
11736
+ }
11669
11737
  }
11670
11738
 
11671
11739
 
@@ -11674,18 +11742,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
11674
11742
 
11675
11743
 
11676
11744
  // Button group
11677
- .k-button-group {
11678
-
11679
- .k-button:focus,
11680
- .k-button.k-state-focus,
11681
- .k-button.k-state-focused,
11682
- .k-button-outline:focus,
11683
- .k-button-outline.k-state-focus,
11684
- .k-button-outline.k-state-focused {
11685
- @include box-shadow( $button-group-focus-shadow );
11686
- }
11687
-
11688
- }
11745
+ .k-button-group {}
11689
11746
 
11690
11747
 
11691
11748
  // Split button
@@ -11707,62 +11764,96 @@ $tooltip-error-border: $tooltip-error-bg !default;
11707
11764
  @include box-shadow( none );
11708
11765
  border-color: currentColor;
11709
11766
  color: $button-text;
11710
- background: none;
11767
+ background-color: transparent;
11711
11768
 
11712
11769
  // Hover state
11713
11770
  &:hover,
11714
11771
  &.k-state-hover {
11715
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
11772
+ @include fill(
11773
+ contrast-wcag( $button-text ),
11774
+ $button-text,
11775
+ $button-text
11776
+ );
11716
11777
  }
11717
11778
 
11718
11779
  // Focused state
11719
11780
  &:focus,
11720
11781
  &.k-state-focus,
11721
11782
  &.k-state-focused {
11722
- box-shadow: $button-focused-shadow;
11783
+ @if ($outline-button-shadow) {
11784
+ box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $button-text, $outline-button-shadow-opacity );
11785
+ }
11723
11786
  }
11724
11787
 
11725
11788
  // Active state
11726
11789
  &:active,
11727
11790
  &.k-state-active {
11728
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
11791
+ @include fill(
11792
+ contrast-wcag( $button-text ),
11793
+ $button-text,
11794
+ $button-text
11795
+ );
11729
11796
  }
11730
11797
 
11731
11798
  // Selected state
11732
11799
  &.k-state-selected {
11733
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
11800
+ @include fill(
11801
+ contrast-wcag( $button-text ),
11802
+ $button-text,
11803
+ $button-text
11804
+ );
11734
11805
  }
11735
11806
  }
11736
11807
  .k-button-outline.k-primary {
11737
- border-color: currentColor;
11738
- color: $primary-button-bg;
11739
- background: none;
11740
- box-shadow: none;
11808
+ @extend .k-button-outline-primary !optional;
11809
+ }
11741
11810
 
11742
- // Hover state
11743
- &:hover,
11744
- &.k-state-hover {
11745
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
11746
- }
11811
+ @each $name, $color in $button-theme-colors {
11812
+ .k-button-outline.k-button-outline-#{$name} {
11813
+ @include box-shadow( none );
11814
+ border-color: currentColor;
11815
+ color: $color;
11816
+ background-color: transparent;
11747
11817
 
11748
- // Focused state
11749
- &:focus,
11750
- &.k-state-focus,
11751
- &.k-state-focused {
11752
- box-shadow: $primary-button-focused-shadow;
11753
- }
11818
+ // Hover state
11819
+ &:hover,
11820
+ &.k-state-hover {
11821
+ @include fill(
11822
+ contrast-wcag( $color ),
11823
+ $color,
11824
+ $color
11825
+ );
11826
+ }
11754
11827
 
11755
- // Actove state
11756
- &:active,
11757
- &.k-state-active {
11758
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
11759
- box-shadow: none;
11760
- }
11828
+ // Focused state
11829
+ &:focus,
11830
+ &.k-state-focus,
11831
+ &.k-state-focused {
11832
+ @if ($outline-button-shadow) {
11833
+ box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $color, $outline-button-shadow-opacity );
11834
+ }
11835
+ }
11761
11836
 
11762
- // Selected state
11763
- &.k-state-selected {
11764
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
11765
- box-shadow: none;
11837
+ // Active state
11838
+ &:active,
11839
+ &.k-state-active {
11840
+ @include fill(
11841
+ contrast-wcag( $color ),
11842
+ $color,
11843
+ $color
11844
+ );
11845
+ box-shadow: none;
11846
+ }
11847
+
11848
+ // Selected state
11849
+ &.k-state-selected {
11850
+ @include fill(
11851
+ contrast-wcag( $color ),
11852
+ $color,
11853
+ $color
11854
+ );
11855
+ box-shadow: none;
11856
+ }
11766
11857
  }
11767
11858
  }
11768
11859
 
@@ -11785,17 +11876,65 @@ $tooltip-error-border: $tooltip-error-bg !default;
11785
11876
  &.k-state-focus {
11786
11877
  color: inherit;
11787
11878
  }
11879
+
11880
+ // Disabled state
11881
+ &:disabled,
11882
+ &.k-state-disabled {
11883
+ color: $button-disabled-text;
11884
+ }
11788
11885
  }
11789
11886
  .k-button-flat.k-primary {
11887
+ @extend .k-button-flat-primary !optional;
11888
+ }
11790
11889
 
11791
- &,
11792
- &:hover,
11793
- &.k-state-hover,
11794
- &:active,
11795
- &.k-state-active,
11796
- &:focus,
11797
- &.k-state-focus {
11798
- color: $primary;
11890
+ @each $name, $color in $button-theme-colors {
11891
+ .k-button-flat.k-button-flat-#{$name} {
11892
+
11893
+ &,
11894
+ &:hover,
11895
+ &.k-state-hover,
11896
+ &:active,
11897
+ &.k-state-active,
11898
+ &:focus,
11899
+ &.k-state-focus {
11900
+ color: $color;
11901
+ }
11902
+
11903
+ // Disabled state
11904
+ &:disabled,
11905
+ &.k-state-disabled {
11906
+ color: $button-disabled-text;
11907
+ }
11908
+ }
11909
+ }
11910
+
11911
+ }
11912
+
11913
+
11914
+
11915
+
11916
+ @include exports( "link-button/theme" ) {
11917
+
11918
+ @each $name, $color in map-merge( $button-theme-colors, ( "base": $base-text ) ) {
11919
+ .k-button-link.k-button-link-#{$name} {
11920
+ @include box-shadow( none );
11921
+ color: $color;
11922
+
11923
+ &:hover,
11924
+ &.k-state-hover {
11925
+ color: try-shade( $color, 2 );
11926
+ }
11927
+ &:focus,
11928
+ &.k-state-focus {
11929
+ @if ($link-button-shadow) {
11930
+ box-shadow: 0 0 $link-button-shadow-blur $link-button-shadow-spread rgba( $color, $link-button-shadow-opacity );
11931
+ }
11932
+ }
11933
+ &:active,
11934
+ &.k-state-active,
11935
+ &.k-state-selected {
11936
+ color: try-shade( $color, 2 );
11937
+ }
11799
11938
  }
11800
11939
  }
11801
11940
 
@@ -11840,6 +11979,498 @@ $tooltip-error-border: $tooltip-error-bg !default;
11840
11979
  // #endregion
11841
11980
  // #region @import "../popup/_index.scss"; -> packages/default/scss/popup/_index.scss
11842
11981
  // File already imported_once. Skipping output.
11982
+ // #endregion
11983
+ // #region @import "../menu/_index.scss"; -> packages/default/scss/menu/_index.scss
11984
+ // #region @import "../core/_index.scss"; -> packages/default/scss/core/_index.scss
11985
+ // File already imported_once. Skipping output.
11986
+ // #endregion
11987
+
11988
+
11989
+ // Dependencies
11990
+ // #region @import "../common/_index.scss"; -> packages/default/scss/common/_index.scss
11991
+ // File already imported_once. Skipping output.
11992
+ // #endregion
11993
+ // #region @import "../popup/_index.scss"; -> packages/default/scss/popup/_index.scss
11994
+ // File already imported_once. Skipping output.
11995
+ // #endregion
11996
+ // #region @import "../icons/_index.scss"; -> packages/default/scss/icons/_index.scss
11997
+ // File already imported_once. Skipping output.
11998
+ // #endregion
11999
+ // #region @import "../list/_index.scss"; -> packages/default/scss/list/_index.scss
12000
+ // File already imported_once. Skipping output.
12001
+ // #endregion
12002
+
12003
+
12004
+ // Component
12005
+ // #region @import "_variables.scss"; -> packages/default/scss/menu/_variables.scss
12006
+ // File already imported_once. Skipping output.
12007
+ // #endregion
12008
+ // #region @import "_layout.scss"; -> packages/default/scss/menu/_layout.scss
12009
+ @include exports("menu/layout") {
12010
+
12011
+ // Base
12012
+ .k-menu {
12013
+ border-width: $menu-border-width;
12014
+ border-style: solid;
12015
+ box-sizing: border-box;
12016
+ outline: 0;
12017
+ font-family: $menu-font-family;
12018
+ font-size: $menu-font-size;
12019
+ line-height: $menu-line-height;
12020
+ display: flex;
12021
+ flex-wrap: wrap;
12022
+ align-items: stretch;
12023
+ position: relative;
12024
+ cursor: default;
12025
+ -webkit-touch-callout: none;
12026
+ -webkit-tap-highlight-color: $rgba-transparent;
12027
+ }
12028
+
12029
+
12030
+ // Menu item
12031
+ .k-menu-item {
12032
+ box-sizing: border-box;
12033
+ border-width: 0;
12034
+ outline: 0;
12035
+ display: flex;
12036
+ flex-flow: column nowrap;
12037
+ flex: none;
12038
+ position: relative;
12039
+ user-select: none;
12040
+ }
12041
+
12042
+
12043
+ // Menu link
12044
+ .k-menu-link {
12045
+ padding: $menu-item-padding-y $menu-item-padding-x;
12046
+ outline: 0;
12047
+ color: inherit;
12048
+ display: flex;
12049
+ flex-flow: row nowrap;
12050
+ flex: 1 1 auto;
12051
+ align-items: center;
12052
+ position: relative;
12053
+ white-space: nowrap;
12054
+ cursor: pointer;
12055
+
12056
+ > .k-icon:not(.k-menu-expand-arrow),
12057
+ > .k-image,
12058
+ > .k-sprite {
12059
+ margin-right: $menu-item-icon-spacing;
12060
+ }
12061
+ }
12062
+
12063
+
12064
+ // Menu item text
12065
+ .k-menu-link-text {
12066
+ flex: 1 1 auto;
12067
+ overflow: hidden;
12068
+ text-overflow: ellipsis;
12069
+ }
12070
+
12071
+
12072
+ // Expand arrow
12073
+ .k-menu-expand-arrow {
12074
+ margin-left: $icon-spacing;
12075
+ margin-right: -$icon-spacing;
12076
+ display: inline-flex;
12077
+ flex-flow: row wrap;
12078
+ align-items: center;
12079
+ flex: none;
12080
+ position: relative;
12081
+ }
12082
+ .k-menu-expand-arrow.k-i-arrow-60-left,
12083
+ .k-menu-expand-arrow.k-i-arrow-60-right {
12084
+ margin: 0;
12085
+ position: absolute;
12086
+ top: 50%;
12087
+ transform: translateY(-50%);
12088
+ }
12089
+ .k-menu-expand-arrow.k-i-arrow-60-right {
12090
+ right: $icon-spacing;
12091
+ }
12092
+ .k-menu-expand-arrow.k-i-arrow-60-left {
12093
+ left: $icon-spacing;
12094
+ }
12095
+
12096
+
12097
+ // Orientation -- horizontal
12098
+ .k-menu-horizontal {
12099
+ flex-direction: row;
12100
+
12101
+ > .k-menu-item + .k-menu-item {
12102
+ margin-left: $menu-item-spacing;
12103
+ }
12104
+
12105
+ > .k-separator {
12106
+ margin: 0 $menu-separator-spacing;
12107
+ width: 0;
12108
+ height: auto;
12109
+ border-width: 0 0 0 1px;
12110
+ border-style: solid;
12111
+ }
12112
+ }
12113
+
12114
+
12115
+ // Orientation -- vertical
12116
+ .k-menu-vertical {
12117
+ flex-direction: column;
12118
+
12119
+ > .k-menu-item + .k-menu-item {
12120
+ margin-top: $menu-item-spacing;
12121
+ }
12122
+
12123
+ > .k-menu-item > .k-menu-link {
12124
+ padding: $menu-popup-item-padding-y $menu-popup-item-padding-x;
12125
+ padding-right: $menu-popup-item-padding-end;
12126
+
12127
+ .k-menu-expand-arrow {
12128
+ margin: 0;
12129
+ position: absolute;
12130
+ top: 50%;
12131
+ transform: translateY(-50%);
12132
+ right: $icon-spacing;
12133
+ }
12134
+ }
12135
+
12136
+ > .k-separator {
12137
+ margin: $menu-separator-spacing 0;
12138
+ height: 0;
12139
+ border-width: 1px 0 0;
12140
+ border-style: solid;
12141
+ border-color: $panel-border;
12142
+ display: block;
12143
+ }
12144
+ }
12145
+
12146
+
12147
+ // Menu popup
12148
+ .k-menu-popup {
12149
+ border-width: $menu-popup-border-width;
12150
+ border-style: solid;
12151
+ overflow: auto;
12152
+ max-height: 80vh;
12153
+ }
12154
+
12155
+
12156
+ // Sub menu
12157
+ .k-menu-group {
12158
+ margin: 0;
12159
+ padding: 0;
12160
+ // padding: $menu-popup-padding-y $menu-popup-padding-x;
12161
+ font-size: $menu-popup-font-size;
12162
+ line-height: $menu-popup-line-height;
12163
+ list-style: none;
12164
+ display: none;
12165
+ position: absolute;
12166
+
12167
+ .k-menu-popup & {
12168
+ position: relative;
12169
+ display: flex;
12170
+ flex-direction: column;
12171
+ }
12172
+
12173
+ // jquery popup overrides those
12174
+ .k-menu-item {
12175
+ font-size: $menu-popup-font-size;
12176
+ line-height: $menu-popup-line-height;
12177
+ }
12178
+
12179
+ .k-menu-item + .k-menu-item {
12180
+ margin-top: $menu-popup-item-spacing;
12181
+ }
12182
+
12183
+ .k-menu-link {
12184
+ padding: $menu-popup-item-padding-y $menu-popup-item-padding-x;
12185
+ padding-right: $menu-popup-item-padding-end;
12186
+
12187
+ .k-menu-expand-arrow {
12188
+ margin: 0;
12189
+ position: absolute;
12190
+ top: 50%;
12191
+ transform: translateY(-50%);
12192
+ right: $icon-spacing;
12193
+ }
12194
+ }
12195
+
12196
+ .k-separator {
12197
+ margin: $menu-separator-spacing 0;
12198
+ height: 0;
12199
+ border-width: 1px 0 0;
12200
+ border-style: solid;
12201
+ border-color: $component-border;
12202
+ display: block;
12203
+ }
12204
+ }
12205
+
12206
+
12207
+ // Context menu
12208
+ .k-popups-wrapper {
12209
+ position: relative;
12210
+ border: 0;
12211
+ margin: 0;
12212
+ padding: 0;
12213
+ }
12214
+ .k-context-menu {
12215
+ margin: 0;
12216
+ padding: 0;
12217
+ // padding: $menu-popup-padding-y $menu-popup-padding-x;
12218
+ border-width: $menu-popup-border-width;
12219
+ border-style: solid;
12220
+ }
12221
+ .k-animation-container .k-context-menu.k-menu-horizontal {
12222
+ // kendo-jquery adds `display: block` via js and we need to override it.
12223
+ display: flex !important; // sass-lint:disable-line no-important
12224
+ flex-wrap: nowrap;
12225
+ }
12226
+ .k-context-menu-popup {
12227
+ z-index: 12000;
12228
+
12229
+ .k-context-menu {
12230
+ border-width: 0;
12231
+ }
12232
+ }
12233
+ .k-popup .k-context-menu,
12234
+ .k-context-menu-popup .k-context-menu {
12235
+ border-width: 0;
12236
+ }
12237
+
12238
+
12239
+ // Scrolling
12240
+ .k-menu-scroll-wrapper {
12241
+ margin: 0;
12242
+ padding: 0;
12243
+ border: 0;
12244
+ position: relative;
12245
+
12246
+ .k-menu {
12247
+ overflow: hidden;
12248
+ flex-wrap: nowrap;
12249
+ }
12250
+ }
12251
+ .k-menu-scroll-button {
12252
+ @include border-radius( 0 );
12253
+ padding: 0;
12254
+ border-width: 0;
12255
+ border-color: inherit;
12256
+ color: inherit;
12257
+ background: inherit;
12258
+ position: absolute;
12259
+
12260
+ &.k-scroll-left {
12261
+ top: 0;
12262
+ left: 0;
12263
+ height: 100%;
12264
+ width: 16px;
12265
+ border-right-width: 1px;
12266
+ }
12267
+ &.k-scroll-right {
12268
+ top: 0;
12269
+ right: 0;
12270
+ height: 100%;
12271
+ width: 16px;
12272
+ border-left-width: 1px;
12273
+ }
12274
+ &.k-scroll-up {
12275
+ top: 0;
12276
+ left: 0;
12277
+ width: 100%;
12278
+ height: 16px;
12279
+ border-bottom-width: 1px;
12280
+ }
12281
+ &.k-scroll-down {
12282
+ bottom: 0;
12283
+ left: 0;
12284
+ width: 100%;
12285
+ height: 16px;
12286
+ border-top-width: 1px;
12287
+ }
12288
+ }
12289
+
12290
+
12291
+ // RTL
12292
+ .k-rtl,
12293
+ [dir="rtl"] {
12294
+
12295
+ .k-menu-link {
12296
+ > .k-icon:not(.k-menu-expand-arrow),
12297
+ > .k-image,
12298
+ > .k-sprite {
12299
+ margin-left: $menu-item-icon-spacing;
12300
+ margin-right: 0;
12301
+ }
12302
+ }
12303
+
12304
+ .k-menu-expand-arrow.k-i-arrow-60-down {
12305
+ margin-left: -$icon-spacing;
12306
+ margin-right: $icon-spacing;
12307
+ }
12308
+
12309
+
12310
+ // Orientation -- horizontal
12311
+ .k-menu-horizontal {
12312
+
12313
+ > .k-menu-item + .k-menu-item {
12314
+ margin-right: $menu-item-spacing;
12315
+ margin-left: 0;
12316
+ }
12317
+ }
12318
+
12319
+
12320
+ // Orientation -- vertical
12321
+ .k-menu-vertical {
12322
+
12323
+ > .k-menu-item > .k-menu-link {
12324
+ padding-right: $menu-popup-item-padding-x;
12325
+ padding-left: $menu-popup-item-padding-end;
12326
+
12327
+ .k-menu-expand-arrow {
12328
+ right: auto;
12329
+ left: $icon-spacing;
12330
+ }
12331
+ }
12332
+ }
12333
+
12334
+
12335
+ // Sub menu
12336
+ .k-menu-group {
12337
+
12338
+ .k-menu-link {
12339
+ padding-right: $menu-popup-item-padding-x;
12340
+ padding-left: $menu-popup-item-padding-end;
12341
+
12342
+ .k-menu-expand-arrow {
12343
+ right: auto;
12344
+ left: $icon-spacing;
12345
+ }
12346
+ }
12347
+
12348
+ }
12349
+
12350
+ }
12351
+
12352
+ }
12353
+
12354
+ // #endregion
12355
+ // #region @import "_theme.scss"; -> packages/default/scss/menu/_theme.scss
12356
+ @include exports("menu/theme") {
12357
+
12358
+ .k-menu:not(.k-context-menu) {
12359
+ @include fill(
12360
+ $menu-text,
12361
+ $menu-bg,
12362
+ $menu-border,
12363
+ $menu-gradient
12364
+ );
12365
+
12366
+ > .k-item {
12367
+ @include fill(
12368
+ $menu-item-text,
12369
+ $menu-item-bg,
12370
+ $menu-item-border,
12371
+ $menu-item-gradient
12372
+ );
12373
+
12374
+ &:hover,
12375
+ &.k-state-hover {
12376
+ @include fill(
12377
+ $menu-item-hover-text,
12378
+ $menu-item-hover-bg,
12379
+ $menu-item-hover-border,
12380
+ $menu-item-hover-gradient
12381
+ );
12382
+ }
12383
+
12384
+ > .k-state-active,
12385
+ &.k-state-selected {
12386
+ @include fill(
12387
+ $menu-item-expanded-text,
12388
+ $menu-item-expanded-bg,
12389
+ $menu-item-expanded-border,
12390
+ $menu-item-expanded-gradient
12391
+ );
12392
+ }
12393
+
12394
+ &:focus,
12395
+ &.k-state-focus,
12396
+ &.k-state-focused {
12397
+ @include box-shadow( $menu-item-focus-shadow );
12398
+ }
12399
+ }
12400
+ }
12401
+
12402
+ .k-menu-group,
12403
+ .k-menu.k-context-menu {
12404
+ @include fill(
12405
+ $menu-popup-text,
12406
+ $menu-popup-bg,
12407
+ $menu-popup-border,
12408
+ $menu-popup-gradient
12409
+ );
12410
+
12411
+ .k-item {
12412
+ @include fill(
12413
+ $menu-popup-item-text,
12414
+ $menu-popup-item-bg,
12415
+ $menu-popup-item-border,
12416
+ $menu-popup-item-gradient
12417
+ );
12418
+
12419
+ &:hover,
12420
+ &.k-state-hover {
12421
+ @include fill(
12422
+ $menu-popup-item-hover-text,
12423
+ $menu-popup-item-hover-bg,
12424
+ $menu-popup-item-hover-border,
12425
+ $menu-popup-item-hover-gradient
12426
+ );
12427
+ }
12428
+
12429
+ > .k-state-active,
12430
+ &.k-state-selected {
12431
+ @include fill(
12432
+ $menu-popup-item-expanded-text,
12433
+ $menu-popup-item-expanded-bg,
12434
+ $menu-popup-item-expanded-border,
12435
+ $menu-popup-item-expanded-gradient
12436
+ );
12437
+ }
12438
+
12439
+ &:focus,
12440
+ &.k-state-focus,
12441
+ &.k-state-focused {
12442
+ @include box-shadow( $menu-popup-item-focus-shadow );
12443
+ }
12444
+ }
12445
+ }
12446
+
12447
+
12448
+ // Scrolling
12449
+ .k-menu-scroll-button {
12450
+ @include fill(
12451
+ $menu-scroll-button-text,
12452
+ $menu-scroll-button-bg,
12453
+ $menu-scroll-button-border,
12454
+ $menu-scroll-button-gradient
12455
+ );
12456
+
12457
+ &:hover {
12458
+ @include fill(
12459
+ $menu-scroll-button-hover-text,
12460
+ $menu-scroll-button-hover-bg,
12461
+ $menu-scroll-button-hover-border,
12462
+ $menu-scroll-button-hover-gradient
12463
+ );
12464
+
12465
+ &::before {
12466
+ opacity: 0;
12467
+ }
12468
+ }
12469
+ }
12470
+ }
12471
+
12472
+ // #endregion
12473
+
11843
12474
  // #endregion
11844
12475
  // #region @import "../icons/_index.scss"; -> packages/default/scss/icons/_index.scss
11845
12476
  // File already imported_once. Skipping output.
@@ -12087,6 +12718,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
12087
12718
  .k-toolbar {
12088
12719
  padding: 0;
12089
12720
  border-width: 0;
12721
+ flex-shrink: 1;
12090
12722
  color: inherit;
12091
12723
  background: none;
12092
12724
  }
@@ -12222,6 +12854,7 @@ $actions-gradient: null !default;
12222
12854
 
12223
12855
  .k-actions {
12224
12856
  padding: $actions-padding-y $actions-padding-x;
12857
+ box-sizing: border-box;
12225
12858
  border-width: $actions-border-width 0 0 0;
12226
12859
  border-style: solid;
12227
12860
  border-color: inherit;
@@ -12233,6 +12866,12 @@ $actions-gradient: null !default;
12233
12866
  overflow: hidden;
12234
12867
  // TODO: remove
12235
12868
  clear: both;
12869
+
12870
+ *,
12871
+ *::before,
12872
+ *::after {
12873
+ box-sizing: border-box;
12874
+ }
12236
12875
  }
12237
12876
 
12238
12877
 
@@ -12921,6 +13560,12 @@ $fieldset-legend-border: null !default;
12921
13560
  z-index: 12000;
12922
13561
  -webkit-touch-callout: none;
12923
13562
  -webkit-tap-highlight-color: $rgba-transparent;
13563
+
13564
+ *,
13565
+ *::before,
13566
+ *::after {
13567
+ box-sizing: border-box;
13568
+ }
12924
13569
  }
12925
13570
 
12926
13571
  .k-tooltip-icon {
@@ -12959,7 +13604,6 @@ $fieldset-legend-border: null !default;
12959
13604
  border-width: $tooltip-callout-size;
12960
13605
  border-style: solid;
12961
13606
  border-color: transparent;
12962
- box-sizing: border-box;
12963
13607
  position: absolute;
12964
13608
  pointer-events: none;
12965
13609
  }
@@ -13191,6 +13835,12 @@ $textbox-line-height: $input-line-height !default;
13191
13835
  position: relative;
13192
13836
  -webkit-appearance: none;
13193
13837
 
13838
+ *,
13839
+ *::before,
13840
+ *::after {
13841
+ box-sizing: border-box;
13842
+ }
13843
+
13194
13844
  // Hide clear icon
13195
13845
  &::-ms-clear { display: none; }
13196
13846
 
@@ -13429,6 +14079,12 @@ $textarea-invalid-focus-shadow: $invalid-shadow !default;
13429
14079
  position: relative;
13430
14080
  -webkit-appearance: none;
13431
14081
 
14082
+ *,
14083
+ *::before,
14084
+ *::after {
14085
+ box-sizing: border-box;
14086
+ }
14087
+
13432
14088
  // Hide clear icon
13433
14089
  &::-ms-clear { display: none; }
13434
14090
 
@@ -13709,9 +14365,18 @@ $listbox-drop-hint-width: 1px !default;
13709
14365
 
13710
14366
  .k-list-scroller {
13711
14367
  width: 100%;
14368
+ height: inherit;
13712
14369
  border-width: $listbox-border-width;
13713
14370
  border-style: solid;
13714
14371
  box-sizing: border-box;
14372
+
14373
+ .k-list-scroller {
14374
+ border-width: 0;
14375
+ }
14376
+
14377
+ .k-list {
14378
+ height: inherit;
14379
+ }
13715
14380
  }
13716
14381
 
13717
14382
  .k-drop-hint {
@@ -13839,6 +14504,12 @@ $progressbar-chunk-border: $body-bg !default;
13839
14504
  -webkit-touch-callout: none;
13840
14505
  -webkit-tap-highlight-color: $rgba-transparent;
13841
14506
 
14507
+ *,
14508
+ *::before,
14509
+ *::after {
14510
+ box-sizing: border-box;
14511
+ }
14512
+
13842
14513
 
13843
14514
  // Selection
13844
14515
  > .k-state-selected {
@@ -14642,40 +15313,15 @@ $slider-disabled-opacity: null !default;
14642
15313
  line-height: $slider-line-height;
14643
15314
  background: none;
14644
15315
  display: inline-flex;
14645
- align-items: stretch;
15316
+ align-items: center;
14646
15317
  position: relative;
14647
15318
  -webkit-touch-callout: none;
14648
15319
  -webkit-tap-highlight-color: $rgba-transparent;
14649
15320
 
14650
- .k-button {
14651
- height: $slider-button-size;
14652
- line-height: $slider-button-size;
14653
- margin: 0;
14654
- min-width: 0;
14655
- outline: 0;
14656
- padding: 0;
14657
- position: absolute;
14658
- width: $slider-button-size;
14659
- box-sizing: content-box;
14660
-
14661
- .k-icon,
14662
- .k-button-icon {
14663
- vertical-align: baseline;
14664
- line-height: $slider-button-size;
14665
- height: 100%;
14666
- }
14667
- }
14668
-
14669
- .k-button-increase {
14670
- position: absolute;
14671
- right: 0;
14672
- top: 0;
14673
- }
14674
-
14675
- .k-button-decrease {
14676
- position: absolute;
14677
- left: 0;
14678
- top: 0;
15321
+ *,
15322
+ *::before,
15323
+ *::after {
15324
+ box-sizing: border-box;
14679
15325
  }
14680
15326
 
14681
15327
  .k-label {
@@ -14717,30 +15363,32 @@ $slider-disabled-opacity: null !default;
14717
15363
  left: auto;
14718
15364
  right: 0;
14719
15365
  }
15366
+ }
15367
+ }
14720
15368
 
14721
- .k-button-increase {
14722
- left: 0;
14723
- right: auto;
14724
- }
14725
15369
 
14726
- .k-button-decrease {
14727
- right: 0;
14728
- left: auto;
14729
- }
14730
- }
15370
+ // Slider wrap
15371
+ .k-slider-wrap {
15372
+ width: 100%;
15373
+ height: 100%;
15374
+ display: flex;
15375
+ flex-flow: inherit;
15376
+ align-items: inherit;
15377
+ gap: inherit;
15378
+ position: relative;
14731
15379
  }
14732
15380
 
14733
15381
 
14734
15382
  // New rendering
14735
15383
  .k-slider {
15384
+ width: min-content;
15385
+ height: min-content;
14736
15386
  gap: calc( #{$slider-draghandle-size} / 2 );
14737
15387
 
14738
- > .k-button {
14739
- position: relative;
14740
- flex-shrink: 0;
14741
- align-self: center;
15388
+ .k-button {
15389
+ flex: none;
14742
15390
  }
14743
- > .k-slider-track-wrap {
15391
+ .k-slider-track-wrap {
14744
15392
  flex: 1 1 auto;
14745
15393
  display: flex;
14746
15394
  flex-flow: inherit;
@@ -14748,6 +15396,9 @@ $slider-disabled-opacity: null !default;
14748
15396
  touch-action: none;
14749
15397
 
14750
15398
  .k-slider-items {
15399
+ margin: 0;
15400
+ padding: 0;
15401
+ list-style: none;
14751
15402
  // For some reason, Safari does not understand `flex-basis: 100%`
14752
15403
  // See telerik/kendo-themes#2197
14753
15404
  // flex-basis: 100%;
@@ -14755,8 +15406,7 @@ $slider-disabled-opacity: null !default;
14755
15406
  display: flex;
14756
15407
  flex-flow: inherit;
14757
15408
  justify-content: space-between;
14758
-
14759
- &::after { display: none; }
15409
+ user-select: none;
14760
15410
  }
14761
15411
  .k-tick {
14762
15412
  flex: 0 0 1px;
@@ -14768,7 +15418,8 @@ $slider-disabled-opacity: null !default;
14768
15418
  }
14769
15419
 
14770
15420
  &-horizontal {
14771
- > .k-slider-track-wrap {
15421
+ .k-slider-track-wrap {
15422
+ height: 26px;
14772
15423
 
14773
15424
  .k-slider-track {
14774
15425
  width: 100%;
@@ -14820,7 +15471,8 @@ $slider-disabled-opacity: null !default;
14820
15471
  }
14821
15472
 
14822
15473
  &-vertical {
14823
- > .k-slider-track-wrap {
15474
+ .k-slider-track-wrap {
15475
+ width: 26px;
14824
15476
 
14825
15477
  .k-slider-track {
14826
15478
  height: 100%;
@@ -14853,14 +15505,8 @@ $slider-disabled-opacity: null !default;
14853
15505
  // Slider vertical
14854
15506
  .k-slider-vertical {
14855
15507
  height: $slider-size;
14856
- width: $slider-alt-size;
14857
15508
  flex-flow: column-reverse nowrap;
14858
15509
 
14859
- .k-button-decrease {
14860
- bottom: 0;
14861
- top: auto;
14862
- }
14863
-
14864
15510
  .k-tick {
14865
15511
  text-align: right;
14866
15512
  margin-left: 2px;
@@ -14872,32 +15518,32 @@ $slider-disabled-opacity: null !default;
14872
15518
 
14873
15519
  // ticks
14874
15520
 
14875
- .k-tick { background-position: -92px center; }
14876
- .k-slider-topleft .k-tick { background-position: -122px center; }
14877
- .k-slider-bottomright .k-tick { background-position: -152px center; }
15521
+ .k-tick { background-position: -94px center; }
15522
+ .k-slider-topleft .k-tick { background-position: -124px center; }
15523
+ .k-slider-bottomright .k-tick { background-position: -154px center; }
14878
15524
 
14879
15525
  .k-tick-large {
14880
15526
  display: flex;
14881
15527
  align-items: center;
14882
- background-position: -2px center;
15528
+ background-position: -4px center;
14883
15529
  }
14884
15530
 
14885
- .k-slider-topleft .k-tick-large { background-position: -32px center; }
14886
- .k-slider-bottomright .k-tick-large { background-position: -62px center; }
15531
+ .k-slider-topleft .k-tick-large { background-position: -34px center; }
15532
+ .k-slider-bottomright .k-tick-large { background-position: -64px center; }
14887
15533
 
14888
- .k-first { background-position: -92px 100%; }
14889
- .k-tick-large.k-first { background-position: -2px 100%; }
14890
- .k-slider-topleft .k-first { background-position: -122px 100%; }
14891
- .k-slider-topleft .k-tick-large.k-first { background-position: -32px 100%; }
14892
- .k-slider-bottomright .k-first { background-position: -152px 100%; }
14893
- .k-slider-bottomright .k-tick-large.k-first { background-position: -62px 100%; }
15534
+ .k-first { background-position: -94px 100%; }
15535
+ .k-tick-large.k-first { background-position: -4px 100%; }
15536
+ .k-slider-topleft .k-first { background-position: -124px 100%; }
15537
+ .k-slider-topleft .k-tick-large.k-first { background-position: -34px 100%; }
15538
+ .k-slider-bottomright .k-first { background-position: -154px 100%; }
15539
+ .k-slider-bottomright .k-tick-large.k-first { background-position: -64px 100%; }
14894
15540
 
14895
- .k-last { background-position: -92px 0; }
14896
- .k-tick-large.k-last { background-position: -2px 0; }
14897
- .k-slider-topleft .k-last { background-position: -122px 0; }
14898
- .k-slider-topleft .k-tick-large.k-last { background-position: -32px 0; }
14899
- .k-slider-bottomright .k-last { background-position: -152px 0; }
14900
- .k-slider-bottomright .k-tick-large.k-last { background-position: -62px 0; }
15541
+ .k-last { background-position: -94px 0; }
15542
+ .k-tick-large.k-last { background-position: -4px 0; }
15543
+ .k-slider-topleft .k-last { background-position: -124px 0; }
15544
+ .k-slider-topleft .k-tick-large.k-last { background-position: -34px 0; }
15545
+ .k-slider-bottomright .k-last { background-position: -154px 0; }
15546
+ .k-slider-bottomright .k-tick-large.k-last { background-position: -64px 0; }
14901
15547
 
14902
15548
  // labels
14903
15549
 
@@ -14935,17 +15581,9 @@ $slider-disabled-opacity: null !default;
14935
15581
 
14936
15582
  // Slider horizontal
14937
15583
  .k-slider-horizontal {
14938
- height: $slider-alt-size;
14939
15584
  width: $slider-size;
14940
15585
  flex-flow: row nowrap;
14941
15586
 
14942
- // ticks
14943
- .k-tick {
14944
- float: left;
14945
- height: 100%;
14946
- text-align: center;
14947
- }
14948
-
14949
15587
  .k-tick { background-position: center -92px; }
14950
15588
  .k-slider-topleft .k-tick { background-position: center -122px; }
14951
15589
  .k-slider-bottomright .k-tick { background-position: center -152px; }
@@ -14991,9 +15629,6 @@ $slider-disabled-opacity: null !default;
14991
15629
  right: 0;
14992
15630
  left: auto;
14993
15631
  }
14994
- .k-slider-buttons .k-slider-track {
14995
- right: $slider-button-spacing;
14996
- }
14997
15632
 
14998
15633
  .k-button .k-i-arrow-e,
14999
15634
  .k-button .k-i-arrow-w {
@@ -15002,11 +15637,6 @@ $slider-disabled-opacity: null !default;
15002
15637
  }
15003
15638
  }
15004
15639
 
15005
- .k-slider-wrap {
15006
- height: 100%;
15007
- width: 100%;
15008
- }
15009
-
15010
15640
  .k-slider-track,
15011
15641
  .k-slider-selection {
15012
15642
  margin: 0;
@@ -15028,16 +15658,6 @@ $slider-disabled-opacity: null !default;
15028
15658
  }
15029
15659
  }
15030
15660
 
15031
- .k-slider-buttons .k-slider-track {
15032
- .k-slider-horizontal & {
15033
- left: $slider-button-spacing;
15034
- }
15035
-
15036
- .k-slider-vertical & {
15037
- bottom: $slider-button-spacing;
15038
- }
15039
- }
15040
-
15041
15661
 
15042
15662
  .k-draghandle {
15043
15663
  background-color: transparent;
@@ -15048,30 +15668,9 @@ $slider-disabled-opacity: null !default;
15048
15668
  position: absolute;
15049
15669
  text-align: center;
15050
15670
  text-decoration: none;
15051
- box-sizing: content-box;
15052
15671
  width: $slider-draghandle-size;
15053
15672
  height: $slider-draghandle-size;
15054
15673
 
15055
- .k-slider-horizontal & {
15056
- top: 50%;
15057
- transform: translateY(-50%);
15058
-
15059
- &:active,
15060
- &.k-pressed {
15061
- transform: translateY(-50%) scale($slider-draghandle-active-scale);
15062
- }
15063
- }
15064
-
15065
- .k-slider-vertical & {
15066
- left: 50%;
15067
- transform: translateX(-50%);
15068
-
15069
- &:active,
15070
- &.k-pressed {
15071
- transform: translateX(-50%) scale($slider-draghandle-active-scale);
15072
- }
15073
- }
15074
-
15075
15674
  .k-slider-transitions.k-slider-horizontal & {
15076
15675
  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;
15077
15676
  }
@@ -15100,34 +15699,18 @@ $slider-disabled-opacity: null !default;
15100
15699
  }
15101
15700
 
15102
15701
 
15103
- .k-slider-items {
15104
- user-select: none;
15105
-
15106
- .k-slider-buttons & {
15107
- margin-left: $slider-button-spacing;
15108
- }
15109
-
15110
- .k-slider-horizontal & {
15111
- height: 100%;
15112
- padding: 2px 0;
15113
- box-sizing: border-box;
15114
- }
15115
-
15116
- .k-slider-vertical & {
15117
- padding-top: 1px;
15118
- }
15119
-
15120
- .k-slider-vertical .k-slider-buttons & {
15121
- margin: 0;
15122
- padding-top: $slider-button-spacing;
15702
+ // Slider readonly
15703
+ .k-slider.k-readonly {
15704
+ .k-button,
15705
+ .k-slider-track,
15706
+ .k-tick,
15707
+ .k-draghandle {
15708
+ pointer-events: none;
15123
15709
  }
15124
15710
  }
15125
- .k-slider-items::after {
15126
- content: "";
15127
- display: block;
15128
- clear: both;
15129
- }
15130
15711
 
15712
+
15713
+ // Slider tooltip
15131
15714
  .k-slider-tooltip {
15132
15715
  .k-callout-n,
15133
15716
  .k-callout-s {
@@ -15139,6 +15722,21 @@ $slider-disabled-opacity: null !default;
15139
15722
  margin-top: -$tooltip-callout-size / 2;
15140
15723
  }
15141
15724
  }
15725
+
15726
+
15727
+ // Angular specific
15728
+ .k-slider kendo-resize-sensor {
15729
+ position: absolute;
15730
+ }
15731
+ .k-slider-horizontal .k-slider-wrap:not(.k-slider-buttons) {
15732
+ padding-left: calc( #{$slider-draghandle-size} / 2 );
15733
+ padding-right: calc( #{$slider-draghandle-size} / 2 );
15734
+ }
15735
+ .k-slider-vertical .k-slider-wrap:not(.k-slider-buttons) {
15736
+ padding-top: calc( #{$slider-draghandle-size} / 2 );
15737
+ padding-bottom: calc( #{$slider-draghandle-size} / 2 );
15738
+ }
15739
+
15142
15740
  }
15143
15741
 
15144
15742
  // #endregion
@@ -15210,12 +15808,6 @@ $slider-disabled-opacity: null !default;
15210
15808
  &.k-state-disabled {
15211
15809
  opacity: $slider-disabled-opacity;
15212
15810
  }
15213
-
15214
- .k-slider-wrap {
15215
- &:focus {
15216
- outline: none;
15217
- }
15218
- }
15219
15811
  }
15220
15812
 
15221
15813
  .k-slider-horizontal .k-tick {
@@ -16286,6 +16878,7 @@ $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
16286
16878
  flex: 1;
16287
16879
  position: relative;
16288
16880
  z-index: 1;
16881
+ outline: 0;
16289
16882
  overflow: hidden;
16290
16883
 
16291
16884
  &::before,
@@ -16494,6 +17087,12 @@ $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
16494
17087
  -webkit-touch-callout: none;
16495
17088
  -webkit-tap-highlight-color: $rgba-transparent;
16496
17089
 
17090
+ *,
17091
+ *::before,
17092
+ *::after {
17093
+ box-sizing: border-box;
17094
+ }
17095
+
16497
17096
 
16498
17097
  // Input
16499
17098
  .k-input {}
@@ -16640,6 +17239,12 @@ $captcha-validation-message-font-style: italic !default;
16640
17239
  display: flex;
16641
17240
  flex-flow: column nowrap;
16642
17241
  gap: $captcha-gap;
17242
+
17243
+ *,
17244
+ *::before,
17245
+ *::after {
17246
+ box-sizing: border-box;
17247
+ }
16643
17248
  }
16644
17249
 
16645
17250
  // Image
@@ -16752,6 +17357,12 @@ $colorpalette-tile-selected-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0
16752
17357
  position: relative;
16753
17358
  -webkit-touch-callout: none;
16754
17359
  -webkit-tap-highlight-color: $rgba-transparent;
17360
+
17361
+ *,
17362
+ *::before,
17363
+ *::after {
17364
+ box-sizing: border-box;
17365
+ }
16755
17366
  }
16756
17367
 
16757
17368
  // Table
@@ -16899,6 +17510,12 @@ $colorpalette-tile-selected-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0
16899
17510
  -webkit-touch-callout: none;
16900
17511
  -webkit-tap-highlight-color: $rgba-transparent;
16901
17512
 
17513
+ *,
17514
+ *::before,
17515
+ *::after {
17516
+ box-sizing: border-box;
17517
+ }
17518
+
16902
17519
 
16903
17520
  // Input
16904
17521
  .k-input {
@@ -16913,7 +17530,6 @@ $colorpalette-tile-selected-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0
16913
17530
  border-width: 0;
16914
17531
  border-inline-start-width: $picker-select-border-width;
16915
17532
  border-style: solid;
16916
- box-sizing: border-box;
16917
17533
  outline: 0;
16918
17534
  display: flex;
16919
17535
  flex-direction: column;
@@ -16927,7 +17543,6 @@ $colorpalette-tile-selected-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0
16927
17543
  .k-link {
16928
17544
  padding: 0 $picker-select-padding-x;
16929
17545
  min-width: $spinner-min-width;
16930
- box-sizing: border-box;
16931
17546
  flex: 1 1 auto;
16932
17547
  display: block;
16933
17548
  overflow: hidden;
@@ -17124,6 +17739,12 @@ $colorgradient-contrast-spacer: ( $colorgradient-spacer / 1.5 ) !default;
17124
17739
  gap: $colorgradient-gap;
17125
17740
  -webkit-touch-callout: none;
17126
17741
  -webkit-tap-highlight-color: $rgba-transparent;
17742
+
17743
+ *,
17744
+ *::before,
17745
+ *::after {
17746
+ box-sizing: border-box;
17747
+ }
17127
17748
  }
17128
17749
 
17129
17750
  // Canvas
@@ -17210,10 +17831,6 @@ $colorgradient-contrast-spacer: ( $colorgradient-spacer / 1.5 ) !default;
17210
17831
  z-index: 1;
17211
17832
  }
17212
17833
 
17213
- .k-slider-wrap > .k-slider-track {
17214
- height: $colorgradient-slider-vertical-size;
17215
- }
17216
-
17217
17834
  .k-slider-selection {
17218
17835
  display: none;
17219
17836
  }
@@ -17460,6 +18077,12 @@ $coloreditor-views-gap: $coloreditor-spacer !default;
17460
18077
  display: inline-flex;
17461
18078
  flex-direction: column;
17462
18079
  align-items: stretch;
18080
+
18081
+ *,
18082
+ *::before,
18083
+ *::after {
18084
+ box-sizing: border-box;
18085
+ }
17463
18086
  }
17464
18087
 
17465
18088
  // Header
@@ -17618,13 +18241,18 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
17618
18241
  -webkit-touch-callout: none;
17619
18242
  -webkit-tap-highlight-color: $rgba-transparent;
17620
18243
 
18244
+ *,
18245
+ *::before,
18246
+ *::after {
18247
+ box-sizing: border-box;
18248
+ }
18249
+
17621
18250
  .k-selected-color {
17622
18251
  margin: $button-padding-y;
17623
18252
  width: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
17624
18253
  height: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
17625
18254
  border-width: 1px;
17626
18255
  border-style: solid;
17627
- box-sizing: border-box;
17628
18256
  background-clip: content-box;
17629
18257
  line-height: 0;
17630
18258
  position: relative;
@@ -17644,7 +18272,6 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
17644
18272
  border-width: 0;
17645
18273
  border-style: solid;
17646
18274
  border-color: inherit;
17647
- box-sizing: border-box;
17648
18275
  font-size: inherit;
17649
18276
  text-align: center;
17650
18277
  flex-direction: column;
@@ -17680,7 +18307,6 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
17680
18307
  border-inline-start-width: $picker-select-border-width;
17681
18308
  border-style: solid;
17682
18309
  border-color: transparent;
17683
- box-sizing: border-box;
17684
18310
  display: flex;
17685
18311
  align-items: center;
17686
18312
  justify-content: center;
@@ -17818,6 +18444,12 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
17818
18444
  -webkit-touch-callout: none;
17819
18445
  -webkit-tap-highlight-color: $rgba-transparent;
17820
18446
 
18447
+ *,
18448
+ *::before,
18449
+ *::after {
18450
+ box-sizing: border-box;
18451
+ }
18452
+
17821
18453
 
17822
18454
  // Input
17823
18455
  .k-input {}
@@ -17842,7 +18474,7 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
17842
18474
  }
17843
18475
  .k-link {
17844
18476
  padding: 0 $picker-select-padding-x;
17845
- min-width: $icon-size;
18477
+ min-width: $spinner-min-width;
17846
18478
  flex: 1 1 auto;
17847
18479
  display: block;
17848
18480
  overflow: hidden;
@@ -18016,6 +18648,12 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
18016
18648
  -webkit-touch-callout: none;
18017
18649
  -webkit-tap-highlight-color: $rgba-transparent;
18018
18650
 
18651
+ *,
18652
+ *::before,
18653
+ *::after {
18654
+ box-sizing: border-box;
18655
+ }
18656
+
18019
18657
 
18020
18658
  // Input
18021
18659
  .k-input {}
@@ -18188,6 +18826,12 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
18188
18826
  -webkit-touch-callout: none;
18189
18827
  -webkit-tap-highlight-color: $rgba-transparent;
18190
18828
 
18829
+ *,
18830
+ *::before,
18831
+ *::after {
18832
+ box-sizing: border-box;
18833
+ }
18834
+
18191
18835
 
18192
18836
  // Input
18193
18837
  .k-input {}
@@ -18200,7 +18844,6 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
18200
18844
  border-width: 0;
18201
18845
  border-inline-start-width: $picker-select-border-width;
18202
18846
  border-style: solid;
18203
- box-sizing: border-box;
18204
18847
  outline: 0;
18205
18848
  display: flex;
18206
18849
  flex-flow: row nowrap;
@@ -18367,6 +19010,12 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18367
19010
  -webkit-touch-callout: none;
18368
19011
  -webkit-tap-highlight-color: $rgba-transparent;
18369
19012
 
19013
+ *,
19014
+ *::before,
19015
+ *::after {
19016
+ box-sizing: border-box;
19017
+ }
19018
+
18370
19019
 
18371
19020
  // Input
18372
19021
  .k-input {}
@@ -18377,7 +19026,6 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18377
19026
  border-width: 0;
18378
19027
  border-inline-start-width: $picker-select-border-width;
18379
19028
  border-style: solid;
18380
- box-sizing: border-box;
18381
19029
  outline: 0;
18382
19030
  display: flex;
18383
19031
  align-items: stretch;
@@ -18396,7 +19044,6 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18396
19044
  display: flex;
18397
19045
  align-items: center;
18398
19046
  justify-content: center;
18399
- box-sizing: border-box;
18400
19047
  }
18401
19048
  }
18402
19049
 
@@ -18583,6 +19230,12 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18583
19230
  flex-flow: row nowrap;
18584
19231
  align-items: flex-start;
18585
19232
  gap: map-get( $spacing, 2 );
19233
+
19234
+ *,
19235
+ *::before,
19236
+ *::after {
19237
+ box-sizing: border-box;
19238
+ }
18586
19239
  }
18587
19240
 
18588
19241
 
@@ -19017,6 +19670,12 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
19017
19670
  -webkit-touch-callout: none;
19018
19671
  -webkit-tap-highlight-color: $rgba-transparent;
19019
19672
 
19673
+ *,
19674
+ *::before,
19675
+ *::after {
19676
+ box-sizing: border-box;
19677
+ }
19678
+
19020
19679
 
19021
19680
  // Input
19022
19681
  .k-input {}
@@ -19037,7 +19696,6 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
19037
19696
  border-inline-start-width: $picker-select-border-width;
19038
19697
  border-style: solid;
19039
19698
  border-color: transparent;
19040
- box-sizing: border-box;
19041
19699
  outline: 0;
19042
19700
  display: flex;
19043
19701
  flex-flow: row nowrap;
@@ -19264,6 +19922,12 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
19264
19922
  -webkit-touch-callout: none;
19265
19923
  -webkit-tap-highlight-color: $rgba-transparent;
19266
19924
 
19925
+ *,
19926
+ *::before,
19927
+ *::after {
19928
+ box-sizing: border-box;
19929
+ }
19930
+
19267
19931
  .k-loading-hidden {
19268
19932
  visibility: hidden;
19269
19933
  }
@@ -19309,8 +19973,8 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
19309
19973
 
19310
19974
  // Token
19311
19975
  .k-button {
19312
- min-height: calc( #{$form-line-height-em} + #{$button-padding-y-sm} + 2px );
19313
- padding: ($button-padding-y-sm / 2) ($button-padding-x / 2);
19976
+ min-height: calc( #{$form-line-height-em} + #{$button-padding-y /2} + 2px );
19977
+ padding: ($button-padding-y / 4) ($button-padding-x / 2);
19314
19978
  margin: $padding-y-sm 0 0 $padding-y-sm;
19315
19979
  cursor: default;
19316
19980
  display: inline-flex;
@@ -19729,6 +20393,21 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
19729
20393
  white-space: nowrap;
19730
20394
  -webkit-touch-callout: none;
19731
20395
  -webkit-tap-highlight-color: $rgba-transparent;
20396
+
20397
+ *,
20398
+ *::before,
20399
+ *::after {
20400
+ box-sizing: border-box;
20401
+ }
20402
+ }
20403
+
20404
+
20405
+ // Treeview filter
20406
+ .k-treeview-filter {
20407
+ padding: map-get( $spacing, 2 );
20408
+ display: block;
20409
+ position: relative;
20410
+ flex: none;
19732
20411
  }
19733
20412
 
19734
20413
 
@@ -19792,11 +20471,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
19792
20471
  .k-treeview .k-i-collapse {
19793
20472
  margin-left: -$treeview-indent;
19794
20473
  cursor: pointer;
19795
-
19796
- + .k-checkbox-wrap,
19797
- + .k-checkbox-wrapper {
19798
- margin-left: $icon-spacing;
19799
- }
19800
20474
  }
19801
20475
 
19802
20476
 
@@ -19809,6 +20483,7 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
19809
20483
  // Checkbox
19810
20484
  .k-treeview .k-checkbox-wrap,
19811
20485
  .k-treeview .k-checkbox-wrapper {
20486
+ margin-left: $icon-spacing;
19812
20487
  margin-right: $icon-spacing;
19813
20488
  align-self: center;
19814
20489
  }
@@ -19872,11 +20547,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
19872
20547
  .k-treeview-toggle {
19873
20548
  margin-left: 0;
19874
20549
  margin-right: -$treeview-indent;
19875
-
19876
- + .k-checkbox-wrap,
19877
- + .k-checkbox-wrapper {
19878
- margin-right: $icon-spacing;
19879
- }
19880
20550
  }
19881
20551
 
19882
20552
  // Loading
@@ -19885,13 +20555,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
19885
20555
  margin-left: $icon-spacing;
19886
20556
  }
19887
20557
 
19888
- // Checkbox
19889
- .k-checkbox-wrap,
19890
- .k-checkbox-wrapper {
19891
- margin-right: 0;
19892
- margin-left: $icon-spacing;
19893
- }
19894
-
19895
20558
  // Treeview leaf
19896
20559
  .k-treeview-leaf,
19897
20560
  .k-in {
@@ -19902,8 +20565,8 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
19902
20565
  margin-left: $icon-spacing;
19903
20566
  }
19904
20567
  }
19905
-
19906
20568
  }
20569
+
19907
20570
  }
19908
20571
 
19909
20572
  // #endregion
@@ -20089,6 +20752,12 @@ $dropdowntree-filter-spacer: $dropdowntree-popup-spacer-y !default;
20089
20752
  -webkit-touch-callout: none;
20090
20753
  -webkit-tap-highlight-color: $rgba-transparent;
20091
20754
 
20755
+ *,
20756
+ *::before,
20757
+ *::after {
20758
+ box-sizing: border-box;
20759
+ }
20760
+
20092
20761
 
20093
20762
  // Input
20094
20763
  .k-input {}
@@ -20232,6 +20901,12 @@ $rating-icon-focused-selected-shadow: 0 2px 4px rgba( $black, .1) !default;
20232
20901
  -webkit-touch-callout: none;
20233
20902
  -webkit-tap-highlight-color: $rgba-transparent;
20234
20903
 
20904
+ *,
20905
+ *::before,
20906
+ *::after {
20907
+ box-sizing: border-box;
20908
+ }
20909
+
20235
20910
  &.k-state-readonly {
20236
20911
  pointer-events: none;
20237
20912
  }
@@ -20240,7 +20915,6 @@ $rating-icon-focused-selected-shadow: 0 2px 4px rgba( $black, .1) !default;
20240
20915
  .k-rating-container {
20241
20916
  flex: 0 1 auto;
20242
20917
  position: relative;
20243
- box-sizing: border-box;
20244
20918
  margin: 0 $rating-container-margin-x;
20245
20919
 
20246
20920
  .k-rating-item {
@@ -20396,6 +21070,12 @@ $rating-icon-focused-selected-shadow: 0 2px 4px rgba( $black, .1) !default;
20396
21070
  -webkit-touch-callout: none;
20397
21071
  -webkit-tap-highlight-color: $rgba-transparent;
20398
21072
 
21073
+ *,
21074
+ *::before,
21075
+ *::after {
21076
+ box-sizing: border-box;
21077
+ }
21078
+
20399
21079
  // Input
20400
21080
  > .k-input {
20401
21081
  padding: $input-padding-y $input-padding-x;
@@ -20499,17 +21179,22 @@ $rating-icon-focused-selected-shadow: 0 2px 4px rgba( $black, .1) !default;
20499
21179
  $switch-size: 60px !default;
20500
21180
  $switch-border-radius: 9999px !default;
20501
21181
 
21182
+ /// Font family of the switch.
21183
+ /// @group switch
20502
21184
  $switch-font-family: $font-family !default;
20503
21185
  $switch-font-size: $font-size-xs !default;
20504
- $switch-line-height: $line-height !default;
20505
21186
 
20506
21187
  $switch-track-size: null !default;
21188
+ /// Border width of the switch track.
21189
+ /// @group switch
20507
21190
  $switch-container-border-width: null !default;
20508
21191
  $switch-container-padding-x: 0px !default;
20509
21192
  $switch-container-padding-y: 0px !default;
20510
21193
 
20511
21194
  $switch-handle-size: 30px !default;
20512
21195
  $switch-handle-border-radius: 9999px !default;
21196
+ /// Border width of the switch thumb.
21197
+ /// @group switch
20513
21198
  $switch-handle-border-width: 1px !default;
20514
21199
  $switch-thumb-start-x: 0px !default;
20515
21200
  // TODO: Remove width property from jQuery and Blazor, and do not use 100% for thumb X calc
@@ -20517,69 +21202,158 @@ $switch-thumb-end-x: calc( 100% - #{$switch-handle-size} ) !default;
20517
21202
 
20518
21203
  $switch-label-offset: 8px !default;
20519
21204
  $switch-label-width: calc( 100% - (#{$switch-handle-size} + #{$switch-label-offset} + #{$switch-container-padding-x} ) ) !default;
21205
+ /// Text transform of the switch label.
21206
+ /// @group switch
20520
21207
  $switch-label-text-transform: uppercase !default;
21208
+ /// Display of the switch label.
21209
+ /// @group switch
20521
21210
  $switch-label-display: inline !default;
20522
21211
 
20523
21212
  $switch-container-shadow: inset 0 0 0 1px $base-border !default;
20524
21213
  $switch-container-hovered-shadow: inset 0 0 0 1px $hovered-border !default;
20525
21214
  $switch-container-focused-shadow: inset 0 0 0 3px rgba( black, .06) !default;
20526
21215
 
20527
- $switch-on-bg: $primary !default;
20528
- $switch-on-text: contrast-wcag( $switch-on-bg ) !default;
20529
- $switch-on-border: null !default;
20530
- $switch-on-gradient: null !default;
20531
- $switch-on-shadow: null !default;
20532
-
20533
- $switch-on-hovered-bg: shade( $switch-on-bg ) !default;
20534
- $switch-on-hovered-text: $switch-on-text !default;
20535
- $switch-on-hovered-border: null !default;
20536
- $switch-on-hovered-gradient: null !default;
20537
-
20538
- $switch-on-focused-bg: null !default;
20539
- $switch-on-focused-text: null !default;
20540
- $switch-on-focused-border: null !default;
20541
- $switch-on-focused-gradient: null !default;
20542
- $switch-on-focused-shadow: null !default;
20543
-
20544
- $switch-on-handle-bg: darken( white, 5 ) !default;
20545
- $switch-on-handle-text: $switch-on-text !default;
20546
- $switch-on-handle-border: $base-border !default;
20547
- $switch-on-handle-gradient: null !default;
20548
- $switch-on-handle-shadow: null !default;
20549
-
20550
- $switch-on-handle-hovered-bg: darken( white, 7 ) !default;
20551
- $switch-on-handle-hovered-text: $switch-on-text !default;
20552
- $switch-on-handle-hovered-border: $hovered-border !default;
20553
- $switch-on-handle-hovered-gradient: null !default;
20554
-
21216
+ /// The background of the track when the switch is not checked.
21217
+ /// @group switch
20555
21218
  $switch-off-bg: $component-bg !default;
21219
+ /// The text color of the track when the switch is not checked.
21220
+ /// @group switch
20556
21221
  $switch-off-text: $component-text !default;
21222
+ /// The border color of the track when the switch is not checked.
21223
+ /// @group switch
20557
21224
  $switch-off-border: null !default;
21225
+ /// The background gradient of the track when the switch is not checked.
21226
+ /// @group switch
20558
21227
  $switch-off-gradient: null !default;
20559
21228
  $switch-off-shadow: null !default;
20560
21229
 
21230
+ /// The background of the track when the hovered switch is not checked.
21231
+ /// @group switch
20561
21232
  $switch-off-hovered-bg: $switch-off-bg !default;
21233
+ /// The text color of the track when the hovered switch is not checked.
21234
+ /// @group switch
20562
21235
  $switch-off-hovered-text: $switch-off-text !default;
21236
+ /// The border color of the track when the hovered switch is not checked.
21237
+ /// @group switch
20563
21238
  $switch-off-hovered-border: null !default;
21239
+ /// The background gradient of the track when the hovered switch is not checked.
21240
+ /// @group switch
20564
21241
  $switch-off-hovered-gradient: null !default;
20565
21242
 
21243
+ /// The background of the track when the focused switch is not checked.
21244
+ /// @group switch
20566
21245
  $switch-off-focused-bg: null !default;
21246
+ /// The text color of the track when the focused switch is not checked.
21247
+ /// @group switch
20567
21248
  $switch-off-focused-text: null !default;
21249
+ /// The border color of the track when the focused switch is not checked.
21250
+ /// @group switch
20568
21251
  $switch-off-focused-border: null !default;
21252
+ /// The background gradient of the track when the focused switch is not checked.
21253
+ /// @group switch
20569
21254
  $switch-off-focused-gradient: null !default;
21255
+ /// The ring around the track when the focused switch is not checked.
21256
+ /// @group switch
20570
21257
  $switch-off-focused-shadow: null !default;
20571
21258
 
20572
- $switch-off-handle-bg: $switch-on-handle-bg !default;
21259
+ /// The background of the thumb when the switch is not checked.
21260
+ /// @group switch
21261
+ $switch-off-handle-bg: darken( white, 5 ) !default;
21262
+ /// The text color of the thumb when the switch is not checked.
21263
+ /// @group switch
20573
21264
  $switch-off-handle-text: $switch-off-text !default;
20574
- $switch-off-handle-border: $switch-on-handle-border !default;
21265
+ /// The border color of the thumb when the switch is not checked.
21266
+ /// @group switch
21267
+ $switch-off-handle-border: $base-border !default;
21268
+ /// The background gradient of the thumb when the switch is not checked.
21269
+ /// @group switch
20575
21270
  $switch-off-handle-gradient: null !default;
20576
21271
  $switch-off-handle-shadow: null !default;
20577
21272
 
20578
- $switch-off-handle-hovered-bg: $switch-on-handle-hovered-bg !default;
21273
+ /// The background of the thumb when the hovered switch is not checked.
21274
+ /// @group switch
21275
+ $switch-off-handle-hovered-bg: darken( white, 7 ) !default;
21276
+ /// The text color of the thumb when the hovered switch is not checked.
21277
+ /// @group switch
20579
21278
  $switch-off-handle-hovered-text: $switch-off-text !default;
20580
- $switch-off-handle-hovered-border: $switch-on-handle-hovered-border !default;
21279
+ /// The border color of the thumb when the hovered switch is not checked.
21280
+ /// @group switch
21281
+ $switch-off-handle-hovered-border: $hovered-border !default;
21282
+ /// The background gradient of the thumb when the hovered switch is not checked.
21283
+ /// @group switch
20581
21284
  $switch-off-handle-hovered-gradient: null !default;
20582
21285
 
21286
+
21287
+ /// The background of the track when the switch is checked.
21288
+ /// @group switch
21289
+ $switch-on-bg: $primary !default;
21290
+ /// The text color of the track when the switch is checked.
21291
+ /// @group switch
21292
+ $switch-on-text: contrast-wcag( $switch-on-bg ) !default;
21293
+ /// The border color of the track when the switch is checked.
21294
+ /// @group switch
21295
+ $switch-on-border: null !default;
21296
+ /// The background gradient of the track when the switch is checked.
21297
+ /// @group switch
21298
+ $switch-on-gradient: null !default;
21299
+ $switch-on-shadow: null !default;
21300
+
21301
+ /// The background of the track wen the hovered switch is checked.
21302
+ /// @group switch
21303
+ $switch-on-hovered-bg: shade( $switch-on-bg ) !default;
21304
+ /// The text color of the track wen the hovered switch is checked.
21305
+ /// @group switch
21306
+ $switch-on-hovered-text: $switch-on-text !default;
21307
+ /// The border color of the track wen the hovered switch is checked.
21308
+ /// @group switch
21309
+ $switch-on-hovered-border: null !default;
21310
+ /// The background gradient of the track wen the hovered switch is checked.
21311
+ /// @group switch
21312
+ $switch-on-hovered-gradient: null !default;
21313
+
21314
+ /// The background of the track wen the focused switch is checked.
21315
+ /// @group switch
21316
+ $switch-on-focused-bg: null !default;
21317
+ /// The text color of the track wen the focused switch is checked.
21318
+ /// @group switch
21319
+ $switch-on-focused-text: null !default;
21320
+ /// The border color of the track wen the focused switch is checked.
21321
+ /// @group switch
21322
+ $switch-on-focused-border: null !default;
21323
+ /// The background gradient of the track wen the focused switch is checked.
21324
+ /// @group switch
21325
+ $switch-on-focused-gradient: null !default;
21326
+ /// The ring around the track wen the focused switch is checked.
21327
+ /// @group switch
21328
+ $switch-on-focused-shadow: null !default;
21329
+
21330
+ /// The background of the thumb when the switch is checked.
21331
+ /// @group switch
21332
+ $switch-on-handle-bg: $switch-off-handle-bg !default;
21333
+ /// The text color of the thumb when the switch is checked.
21334
+ /// @group switch
21335
+ $switch-on-handle-text: $switch-on-text !default;
21336
+ /// The border color of the thumb when the switch is checked.
21337
+ /// @group switch
21338
+ $switch-on-handle-border: $switch-off-handle-border !default;
21339
+ /// The background gradient of the thumb when the switch is checked.
21340
+ /// @group switch
21341
+ $switch-on-handle-gradient: null !default;
21342
+ $switch-on-handle-shadow: null !default;
21343
+
21344
+ /// The background of the thumb when the hovered switch is checked.
21345
+ /// @group switch
21346
+ $switch-on-handle-hovered-bg: $switch-off-handle-hovered-bg !default;
21347
+ /// The text color of the thumb when the hovered switch is checked.
21348
+ /// @group switch
21349
+ $switch-on-handle-hovered-text: $switch-on-text !default;
21350
+ /// The border color of the thumb when the hovered switch is checked.
21351
+ /// @group switch
21352
+ $switch-on-handle-hovered-border: $switch-off-handle-hovered-border !default;
21353
+ /// The background gradient of the thumb when the hovered switch is checked.
21354
+ /// @group switch
21355
+ $switch-on-handle-hovered-gradient: null !default;
21356
+
20583
21357
  // #endregion
20584
21358
  // #region @import "_layout.scss"; -> packages/default/scss/switch/_layout.scss
20585
21359
  @include exports("switch/layout") {
@@ -20593,14 +21367,20 @@ $switch-off-handle-hovered-gradient: null !default;
20593
21367
  display: inline-flex;
20594
21368
  align-items: center;
20595
21369
  vertical-align: middle;
20596
- font-family: $font-family;
20597
- font-size: $font-size-xs;
20598
- line-height: $line-height;
21370
+ font-family: $switch-font-family;
21371
+ font-size: $switch-font-size;
21372
+ line-height: 1;
20599
21373
  user-select: none;
20600
21374
  text-align: left;
20601
21375
  -webkit-touch-callout: none;
20602
21376
  -webkit-tap-highlight-color: $rgba-transparent;
20603
21377
 
21378
+ *,
21379
+ *::before,
21380
+ *::after {
21381
+ box-sizing: border-box;
21382
+ }
21383
+
20604
21384
  [type="checkbox"] {
20605
21385
  display: none;
20606
21386
  }
@@ -20610,11 +21390,9 @@ $switch-off-handle-hovered-gradient: null !default;
20610
21390
  }
20611
21391
  }
20612
21392
 
20613
- .k-switch,
20614
- .k-switch-container,
20615
- .k-switch-handle {
20616
- box-sizing: border-box;
20617
- }
21393
+ // .k-switch,
21394
+ // .k-switch-container,
21395
+ // .k-switch-handle {}
20618
21396
 
20619
21397
 
20620
21398
  // Switch track
@@ -20674,7 +21452,8 @@ $switch-off-handle-hovered-gradient: null !default;
20674
21452
 
20675
21453
  // RTL
20676
21454
  .k-rtl .k-switch,
20677
- .k-switch[dir = "rtl"] {
21455
+ [dir="rtl"] .k-switch,
21456
+ .k-switch[dir="rtl"] {
20678
21457
  &.k-switch-on .k-switch-handle {
20679
21458
  left: $switch-thumb-start-x;
20680
21459
  }
@@ -21080,6 +21859,12 @@ $upload-focused-shadow: 0 0 0 2px rgba(0, 0, 0, .13) !default;
21080
21859
  -webkit-touch-callout: none;
21081
21860
  -webkit-tap-highlight-color: $rgba-transparent;
21082
21861
 
21862
+ *,
21863
+ *::before,
21864
+ *::after {
21865
+ box-sizing: border-box;
21866
+ }
21867
+
21083
21868
  .k-upload-button {
21084
21869
  min-width: 7em;
21085
21870
  }
@@ -21235,7 +22020,6 @@ $upload-focused-shadow: 0 0 0 2px rgba(0, 0, 0, .13) !default;
21235
22020
  border-style: solid;
21236
22021
  font-size: ($font-size * .57);
21237
22022
  text-transform: uppercase;
21238
- box-sizing: content-box;
21239
22023
  position: absolute;
21240
22024
  top: $upload-item-padding-y;
21241
22025
  }
@@ -21705,9 +22489,14 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
21705
22489
  -webkit-touch-callout: none;
21706
22490
  -webkit-tap-highlight-color: $rgba-transparent;
21707
22491
 
22492
+ *,
22493
+ *::before,
22494
+ *::after {
22495
+ box-sizing: border-box;
22496
+ }
22497
+
21708
22498
  > * {
21709
22499
  flex-shrink: 0;
21710
-
21711
22500
  }
21712
22501
 
21713
22502
  // Appbar section
@@ -21932,805 +22721,322 @@ $fab-size-lg: calc( #{$fab-line-height-lg * 1em} + #{$fab-padding-y-lg * 2} + #{
21932
22721
  font-size: $fab-font-size;
21933
22722
  line-height: $fab-line-height;
21934
22723
  font-family: $fab-font-family;
21935
- text-align: center;
21936
- white-space: nowrap;
21937
- display: inline-flex;
21938
- align-items: center;
21939
- justify-content: center;
21940
- vertical-align: middle;
21941
- overflow: hidden;
21942
- text-overflow: ellipsis;
21943
- cursor: pointer;
21944
- outline: none;
21945
-
21946
- &:focus {
21947
- outline: none;
21948
- }
21949
- }
21950
-
21951
- // FAB Icon
21952
- .k-fab-icon {
21953
- width: $fab-icon-width;
21954
- height: $fab-icon-height;
21955
-
21956
- &:not(:only-child) {
21957
- margin-right: $fab-icon-spacing;
21958
- margin-left: -$fab-icon-spacing;
21959
- }
21960
- }
21961
-
21962
-
21963
- // Sizes
21964
- .k-fab-sm {
21965
- padding: $fab-padding-y-sm $fab-padding-x-sm;
21966
- }
21967
- .k-fab-md {
21968
- padding: $fab-padding-y $fab-padding-x;
21969
- }
21970
- .k-fab-lg {
21971
- padding: $fab-padding-y-lg $fab-padding-x-lg;
21972
- }
21973
-
21974
-
21975
- // Shapes
21976
- .k-fab-square {
21977
- border-radius: 0;
21978
-
21979
- &.k-fab-sm {
21980
- width: $fab-size-sm;
21981
- height: $fab-size-sm;
21982
- }
21983
- &.k-fab-md {
21984
- width: $fab-size-md;
21985
- height: $fab-size-md;
21986
- }
21987
- &.k-fab-lg {
21988
- width: $fab-size-lg;
21989
- height: $fab-size-lg;
21990
- }
21991
- }
21992
- .k-fab-circle {
21993
- border-radius: 50%;
21994
-
21995
- &.k-fab-sm {
21996
- width: $fab-size-sm;
21997
- height: $fab-size-sm;
21998
- }
21999
- &.k-fab-md {
22000
- width: $fab-size-md;
22001
- height: $fab-size-md;
22002
- }
22003
- &.k-fab-lg {
22004
- width: $fab-size-lg;
22005
- height: $fab-size-lg;
22006
- }
22007
- }
22008
- .k-fab-pill {
22009
- border-radius: 5rem;
22010
- }
22011
- .k-fab-rounded {
22012
- @include border-radius( $fab-border-radius );
22013
- }
22014
-
22015
-
22016
- // Items
22017
- .k-fab-items {
22018
- margin: 0;
22019
- padding: $fab-items-padding-y $fab-items-padding-x;
22020
- display: flex;
22021
- }
22022
-
22023
- .k-fab-items-bottom {
22024
- flex-direction: column;
22025
- }
22026
- .k-fab-items-bottom .k-fab-item:last-child {
22027
- margin-bottom: 0;
22028
- }
22029
-
22030
- .k-fab-items-top {
22031
- flex-direction: column-reverse;
22032
- }
22033
- .k-fab-items-top .k-fab-item:first-child {
22034
- margin-bottom: 0;
22035
- }
22036
-
22037
- .k-fab-item {
22038
- list-style-type: none;
22039
- margin-bottom: map-get( $spacing, 2 );
22040
- outline: none;
22041
- white-space: nowrap;
22042
- display: flex;
22043
- align-items: center;
22044
- justify-content: flex-end;
22045
- cursor: pointer;
22046
-
22047
- &.k-text-right {
22048
- flex-direction: row;
22049
-
22050
- .k-fab-item-text {
22051
- margin-right: map-get( $spacing, 2 );
22052
- }
22053
- }
22054
- &.k-text-left {
22055
- flex-direction: row-reverse;
22056
-
22057
- .k-fab-item-text {
22058
- margin-left: map-get( $spacing, 2 );
22059
- }
22060
- }
22061
- }
22062
-
22063
- .k-fab-item-text {
22064
- padding: $fab-item-text-padding-y $fab-item-text-padding-x;
22065
- border-width: $fab-item-text-border-width;
22066
- border-radius: $fab-item-text-border-radius;
22067
- font-size: $fab-item-text-font-size;
22068
- line-height: $fab-item-text-line-height;
22069
- }
22070
-
22071
- .k-fab-item-icon {
22072
- width: $fab-item-icon-width;
22073
- height: $fab-item-icon-height;
22074
- padding: $fab-item-icon-padding-y $fab-item-icon-padding-x;
22075
- border-width: $fab-item-icon-border-width;
22076
- border-radius: $fab-item-icon-border-radius;
22077
- box-sizing: content-box;
22078
- outline: none;
22079
- }
22080
-
22081
- }
22082
-
22083
- @include exports("fab/layout/rtl") {
22084
-
22085
- .k-rtl .k-fab,
22086
- .k-fab[dir="rtl"],
22087
- [dir="rtl"] .k-fab {
22088
- direction: rtl;
22089
-
22090
- .k-fab-icon {
22091
- &:not(:only-child) {
22092
- margin-right: -$icon-spacing;
22093
- margin-left: $icon-spacing;
22094
- }
22095
- }
22096
- }
22097
-
22098
- .k-rtl .k-fab-popup,
22099
- [dir="rtl"] .k-fab-popup {
22100
- .k-fab-item.k-text-left {
22101
- flex-direction: row;
22102
- }
22103
-
22104
- .k-fab-item.k-text-right {
22105
- flex-direction: row-reverse;
22106
- }
22107
- }
22108
-
22109
- }
22110
-
22111
-
22112
- // #endregion
22113
- // #region @import "_theme.scss"; -> packages/default/scss/fab/_theme.scss
22114
- @include exports( "fab/theme" ) {
22115
-
22116
- // Normal state
22117
- @each $name, $color in $fab-theme-colors {
22118
- .k-fab-#{$name} {
22119
- @include box-shadow($fab-shadow);
22120
- outline: $fab-border-width solid $color;
22121
- outline-offset: -$fab-border-width;
22122
- border-color: $color;
22123
- color: contrast-wcag( $color );
22124
- background-color: $color;
22125
- }
22126
- }
22127
-
22128
- // Hover state
22129
- @each $name, $color in $fab-theme-colors {
22130
- .k-state-hover.k-fab-#{$name},
22131
- .k-state-hovered.k-fab-#{$name},
22132
- .k-fab-#{$name}:hover {
22133
- border-color: try-shade( $color, .5 );
22134
- background-color: try-shade( $color, .5 );
22135
- }
22136
- }
22137
-
22138
- // Focus state
22139
- @each $name, $color in $fab-theme-colors {
22140
- .k-fab-#{$name}.k-state-focus,
22141
- .k-fab-#{$name}.k-state-focused,
22142
- .k-fab-#{$name}:focus {
22143
- outline-style: solid;
22144
- outline-width: 2px;
22145
- outline-color: rgba( $color, .3 );
22146
- }
22147
- }
22148
-
22149
- // Active state
22150
- @each $name, $color in $fab-theme-colors {
22151
- .k-state-active.k-fab-#{$name},
22152
- .k-state-selected.k-fab-#{$name},
22153
- .k-fab-#{$name}:active {
22154
- @include box-shadow($fab-active-shadow);
22155
- border-color: try-shade( $color, 1.5);
22156
- background-color: try-shade( $color, 1.5);
22157
- }
22158
- }
22159
-
22160
- // Disabled state
22161
- @each $name, $color in $fab-theme-colors {
22162
- .k-state-disabled.k-fab-#{$name},
22163
- .k-fab-#{$name}:disabled {
22164
- @include box-shadow($fab-disabled-shadow);
22165
- background-color: try-tint( $color, 5 );
22166
- color: try-tint( contrast-wcag( $color ), 5 );
22167
- opacity: 1;
22168
- }
22169
- }
22170
-
22171
- // Items
22172
- .k-fab-item-text {
22173
- @include fill(
22174
- $fab-item-text,
22175
- $fab-item-bg,
22176
- $fab-item-border
22177
- );
22178
- @include box-shadow($fab-item-shadow);
22179
-
22180
- }
22181
- .k-fab-item-icon {
22182
- @include fill(
22183
- $fab-item-icon-text,
22184
- $fab-item-icon-bg,
22185
- $fab-item-icon-border
22186
- );
22187
- @include box-shadow($fab-item-shadow);
22188
- outline: $fab-border-width solid rgba(0, 0, 0, .08);
22189
- outline-offset: -$fab-border-width;
22190
- }
22191
-
22192
- // Hover state
22193
- .k-fab-item.k-state-hover .k-fab-item-icon,
22194
- .k-fab-item.k-state-hovered .k-fab-item-icon
22195
- .k-fab-item:hover .k-fab-item-icon {
22196
- border-color: try-shade( $fab-item-icon-border, .5 );
22197
- background-color: try-shade( $fab-item-icon-bg, .5 );
22198
- }
22199
-
22200
- // Focus state
22201
- .k-fab-item:focus .k-fab-item-text,
22202
- .k-fab-item:focus .k-fab-item-icon,
22203
- .k-fab-item.k-state-focus .k-fab-item-text,
22204
- .k-fab-item.k-state-focus .k-fab-item-icon,
22205
- .k-fab-item.k-state-focused .k-fab-item-text,
22206
- .k-fab-item.k-state-focused .k-fab-item-icon {
22207
- outline-style: solid;
22208
- outline-width: 2px;
22209
- outline-color: rgba(0, 0, 0, .08);
22210
- }
22211
-
22212
- // Active state
22213
- .k-fab-item.k-state-active .k-fab-item-icon,
22214
- .k-fab-item:active .k-fab-item-icon {
22215
- @include box-shadow($fab-item-active-shadow);
22216
- border-color: try-shade( $fab-item-icon-border, 1);
22217
- background-color: try-shade( $fab-item-icon-bg, 1);
22218
- }
22219
-
22220
- // Disabled state
22221
- .k-fab-item.k-state-disabled,
22222
- .k-fab-item:disabled {
22223
- opacity: 1;
22224
-
22225
- .k-fab-item-text,
22226
- .k-fab-item-icon {
22227
- @include box-shadow($fab-item-disabled-shadow);
22228
- background-color: try-tint( $fab-item-bg, 5 );
22229
- color: try-tint( $fab-item-text, 5 );
22230
- }
22231
- }
22232
-
22233
- // Popup
22234
- .k-animation-container > .k-fab-popup {
22235
- @include box-shadow( none );
22236
- }
22237
-
22238
- }
22239
-
22240
- // #endregion
22241
-
22242
- // #endregion
22243
- // #region @import "menu/_index.scss"; -> packages/default/scss/menu/_index.scss
22244
- // #region @import "../core/_index.scss"; -> packages/default/scss/core/_index.scss
22245
- // File already imported_once. Skipping output.
22246
- // #endregion
22247
-
22248
-
22249
- // Dependencies
22250
- // #region @import "../common/_index.scss"; -> packages/default/scss/common/_index.scss
22251
- // File already imported_once. Skipping output.
22252
- // #endregion
22253
- // #region @import "../popup/_index.scss"; -> packages/default/scss/popup/_index.scss
22254
- // File already imported_once. Skipping output.
22255
- // #endregion
22256
- // #region @import "../icons/_index.scss"; -> packages/default/scss/icons/_index.scss
22257
- // File already imported_once. Skipping output.
22258
- // #endregion
22259
- // #region @import "../list/_index.scss"; -> packages/default/scss/list/_index.scss
22260
- // File already imported_once. Skipping output.
22261
- // #endregion
22262
-
22263
-
22264
- // Component
22265
- // #region @import "_variables.scss"; -> packages/default/scss/menu/_variables.scss
22266
- // File already imported_once. Skipping output.
22267
- // #endregion
22268
- // #region @import "_layout.scss"; -> packages/default/scss/menu/_layout.scss
22269
- @include exports("menu/layout") {
22270
-
22271
- // Base
22272
- .k-menu {
22273
- border-width: $menu-border-width;
22274
- border-style: solid;
22275
- box-sizing: border-box;
22276
- outline: 0;
22277
- font-family: $menu-font-family;
22278
- font-size: $menu-font-size;
22279
- line-height: $menu-line-height;
22280
- display: flex;
22281
- flex-wrap: wrap;
22282
- align-items: stretch;
22283
- position: relative;
22284
- cursor: default;
22285
- -webkit-touch-callout: none;
22286
- -webkit-tap-highlight-color: $rgba-transparent;
22287
- }
22288
-
22289
-
22290
- // Menu item
22291
- .k-menu-item {
22292
- box-sizing: border-box;
22293
- border-width: 0;
22294
- outline: 0;
22295
- display: flex;
22296
- flex-flow: column nowrap;
22297
- flex: none;
22298
- position: relative;
22299
- user-select: none;
22300
- }
22301
-
22302
-
22303
- // Menu link
22304
- .k-menu-link {
22305
- padding: $menu-item-padding-y $menu-item-padding-x;
22306
- outline: 0;
22307
- color: inherit;
22308
- display: flex;
22309
- flex-flow: row nowrap;
22310
- flex: 1 1 auto;
22311
- align-items: center;
22312
- position: relative;
22313
- white-space: nowrap;
22314
- cursor: pointer;
22315
-
22316
- > .k-icon:not(.k-menu-expand-arrow),
22317
- > .k-image,
22318
- > .k-sprite {
22319
- margin-right: $menu-item-icon-spacing;
22320
- }
22321
- }
22322
-
22323
-
22324
- // Menu item text
22325
- .k-menu-link-text {
22326
- flex: 1 1 auto;
22327
- overflow: hidden;
22328
- text-overflow: ellipsis;
22329
- }
22330
-
22331
-
22332
- // Expand arrow
22333
- .k-menu-expand-arrow {
22334
- margin-left: $icon-spacing;
22335
- margin-right: -$icon-spacing;
22336
- display: inline-flex;
22337
- flex-flow: row wrap;
22338
- align-items: center;
22339
- flex: none;
22340
- position: relative;
22341
- }
22342
- .k-menu-expand-arrow.k-i-arrow-60-left,
22343
- .k-menu-expand-arrow.k-i-arrow-60-right {
22344
- margin: 0;
22345
- position: absolute;
22346
- top: 50%;
22347
- transform: translateY(-50%);
22348
- }
22349
- .k-menu-expand-arrow.k-i-arrow-60-right {
22350
- right: $icon-spacing;
22351
- }
22352
- .k-menu-expand-arrow.k-i-arrow-60-left {
22353
- left: $icon-spacing;
22354
- }
22355
-
22356
-
22357
- // Orientation -- horizontal
22358
- .k-menu-horizontal {
22359
- flex-direction: row;
22360
-
22361
- > .k-menu-item + .k-menu-item {
22362
- margin-left: $menu-item-spacing;
22363
- }
22364
-
22365
- > .k-separator {
22366
- margin: 0 $menu-separator-spacing;
22367
- width: 0;
22368
- height: auto;
22369
- border-width: 0 0 0 1px;
22370
- border-style: solid;
22371
- }
22372
- }
22373
-
22374
-
22375
- // Orientation -- vertical
22376
- .k-menu-vertical {
22377
- flex-direction: column;
22378
-
22379
- > .k-menu-item + .k-menu-item {
22380
- margin-top: $menu-item-spacing;
22381
- }
22382
-
22383
- > .k-menu-item > .k-menu-link {
22384
- padding: $menu-popup-item-padding-y $menu-popup-item-padding-x;
22385
- padding-right: $menu-popup-item-padding-end;
22386
-
22387
- .k-menu-expand-arrow {
22388
- margin: 0;
22389
- position: absolute;
22390
- top: 50%;
22391
- transform: translateY(-50%);
22392
- right: $icon-spacing;
22393
- }
22394
- }
22395
-
22396
- > .k-separator {
22397
- margin: $menu-separator-spacing 0;
22398
- height: 0;
22399
- border-width: 1px 0 0;
22400
- border-style: solid;
22401
- border-color: $panel-border;
22402
- display: block;
22403
- }
22404
- }
22405
-
22406
-
22407
- // Menu popup
22408
- .k-menu-popup {
22409
- border-width: $menu-popup-border-width;
22410
- border-style: solid;
22411
- overflow: auto;
22412
- max-height: 80vh;
22413
- }
22414
-
22415
-
22416
- // Sub menu
22417
- .k-menu-group {
22418
- margin: 0;
22419
- padding: 0;
22420
- // padding: $menu-popup-padding-y $menu-popup-padding-x;
22421
- font-size: $menu-popup-font-size;
22422
- line-height: $menu-popup-line-height;
22423
- list-style: none;
22424
- display: none;
22425
- position: absolute;
22426
-
22427
- .k-menu-popup & {
22428
- position: relative;
22429
- display: flex;
22430
- flex-direction: column;
22431
- }
22724
+ text-align: center;
22725
+ white-space: nowrap;
22726
+ display: inline-flex;
22727
+ align-items: center;
22728
+ justify-content: center;
22729
+ vertical-align: middle;
22730
+ overflow: hidden;
22731
+ text-overflow: ellipsis;
22732
+ cursor: pointer;
22733
+ outline: none;
22432
22734
 
22433
- // jquery popup overrides those
22434
- .k-menu-item {
22435
- font-size: $menu-popup-font-size;
22436
- line-height: $menu-popup-line-height;
22735
+ *,
22736
+ *::before,
22737
+ *::after {
22738
+ box-sizing: border-box;
22437
22739
  }
22438
22740
 
22439
- .k-menu-item + .k-menu-item {
22440
- margin-top: $menu-popup-item-spacing;
22741
+ &:focus {
22742
+ outline: none;
22441
22743
  }
22744
+ }
22442
22745
 
22443
- .k-menu-link {
22444
- padding: $menu-popup-item-padding-y $menu-popup-item-padding-x;
22445
- padding-right: $menu-popup-item-padding-end;
22446
-
22447
- .k-menu-expand-arrow {
22448
- margin: 0;
22449
- position: absolute;
22450
- top: 50%;
22451
- transform: translateY(-50%);
22452
- right: $icon-spacing;
22453
- }
22454
- }
22746
+ // FAB Icon
22747
+ .k-fab-icon {
22748
+ width: $fab-icon-width;
22749
+ height: $fab-icon-height;
22455
22750
 
22456
- .k-separator {
22457
- margin: $menu-separator-spacing 0;
22458
- height: 0;
22459
- border-width: 1px 0 0;
22460
- border-style: solid;
22461
- border-color: $component-border;
22462
- display: block;
22751
+ &:not(:only-child) {
22752
+ margin-right: $fab-icon-spacing;
22753
+ margin-left: -$fab-icon-spacing;
22463
22754
  }
22464
22755
  }
22465
22756
 
22466
22757
 
22467
- // Context menu
22468
- .k-popups-wrapper {
22469
- position: relative;
22470
- border: 0;
22471
- margin: 0;
22472
- padding: 0;
22473
- }
22474
- .k-context-menu {
22475
- margin: 0;
22476
- padding: 0;
22477
- // padding: $menu-popup-padding-y $menu-popup-padding-x;
22478
- border-width: $menu-popup-border-width;
22479
- border-style: solid;
22480
- }
22481
- .k-animation-container .k-context-menu.k-menu-horizontal {
22482
- // kendo-jquery adds `display: block` via js and we need to override it.
22483
- display: flex !important; // sass-lint:disable-line no-important
22484
- flex-wrap: nowrap;
22758
+ // Sizes
22759
+ .k-fab-sm {
22760
+ padding: $fab-padding-y-sm $fab-padding-x-sm;
22485
22761
  }
22486
- .k-context-menu-popup {
22487
- z-index: 12000;
22488
-
22489
- .k-context-menu {
22490
- border-width: 0;
22491
- }
22762
+ .k-fab-md {
22763
+ padding: $fab-padding-y $fab-padding-x;
22492
22764
  }
22493
- .k-popup .k-context-menu,
22494
- .k-context-menu-popup .k-context-menu {
22495
- border-width: 0;
22765
+ .k-fab-lg {
22766
+ padding: $fab-padding-y-lg $fab-padding-x-lg;
22496
22767
  }
22497
22768
 
22498
22769
 
22499
- // Scrolling
22500
- .k-menu-scroll-wrapper {
22501
- margin: 0;
22502
- padding: 0;
22503
- border: 0;
22504
- position: relative;
22770
+ // Shapes
22771
+ .k-fab-square {
22772
+ border-radius: 0;
22505
22773
 
22506
- .k-menu {
22507
- overflow: hidden;
22508
- flex-wrap: nowrap;
22774
+ &.k-fab-sm {
22775
+ width: $fab-size-sm;
22776
+ height: $fab-size-sm;
22777
+ }
22778
+ &.k-fab-md {
22779
+ width: $fab-size-md;
22780
+ height: $fab-size-md;
22781
+ }
22782
+ &.k-fab-lg {
22783
+ width: $fab-size-lg;
22784
+ height: $fab-size-lg;
22509
22785
  }
22510
22786
  }
22511
- .k-menu-scroll-button {
22512
- @include border-radius( 0 );
22513
- padding: 0;
22514
- border-width: 0;
22515
- border-color: inherit;
22516
- color: inherit;
22517
- background: inherit;
22518
- position: absolute;
22787
+ .k-fab-circle {
22788
+ border-radius: 50%;
22519
22789
 
22520
- &.k-scroll-left {
22521
- top: 0;
22522
- left: 0;
22523
- height: 100%;
22524
- width: 16px;
22525
- border-right-width: 1px;
22526
- }
22527
- &.k-scroll-right {
22528
- top: 0;
22529
- right: 0;
22530
- height: 100%;
22531
- width: 16px;
22532
- border-left-width: 1px;
22790
+ &.k-fab-sm {
22791
+ width: $fab-size-sm;
22792
+ height: $fab-size-sm;
22533
22793
  }
22534
- &.k-scroll-up {
22535
- top: 0;
22536
- left: 0;
22537
- width: 100%;
22538
- height: 16px;
22539
- border-bottom-width: 1px;
22794
+ &.k-fab-md {
22795
+ width: $fab-size-md;
22796
+ height: $fab-size-md;
22540
22797
  }
22541
- &.k-scroll-down {
22542
- bottom: 0;
22543
- left: 0;
22544
- width: 100%;
22545
- height: 16px;
22546
- border-top-width: 1px;
22798
+ &.k-fab-lg {
22799
+ width: $fab-size-lg;
22800
+ height: $fab-size-lg;
22547
22801
  }
22548
22802
  }
22803
+ .k-fab-pill {
22804
+ border-radius: 5rem;
22805
+ }
22806
+ .k-fab-rounded {
22807
+ @include border-radius( $fab-border-radius );
22808
+ }
22549
22809
 
22550
22810
 
22551
- // RTL
22552
- .k-rtl,
22553
- [dir="rtl"] {
22811
+ // Items
22812
+ .k-fab-items {
22813
+ margin: 0;
22814
+ padding: $fab-items-padding-y $fab-items-padding-x;
22815
+ display: flex;
22816
+ }
22554
22817
 
22555
- .k-menu-link {
22556
- > .k-icon:not(.k-menu-expand-arrow),
22557
- > .k-image,
22558
- > .k-sprite {
22559
- margin-left: $menu-item-icon-spacing;
22560
- margin-right: 0;
22561
- }
22562
- }
22818
+ .k-fab-items-bottom {
22819
+ flex-direction: column;
22820
+ }
22821
+ .k-fab-items-bottom .k-fab-item:last-child {
22822
+ margin-bottom: 0;
22823
+ }
22563
22824
 
22564
- .k-menu-expand-arrow.k-i-arrow-60-down {
22565
- margin-left: -$icon-spacing;
22566
- margin-right: $icon-spacing;
22567
- }
22825
+ .k-fab-items-top {
22826
+ flex-direction: column-reverse;
22827
+ }
22828
+ .k-fab-items-top .k-fab-item:first-child {
22829
+ margin-bottom: 0;
22830
+ }
22568
22831
 
22832
+ .k-fab-item {
22833
+ list-style-type: none;
22834
+ margin-bottom: map-get( $spacing, 2 );
22835
+ outline: none;
22836
+ white-space: nowrap;
22837
+ display: flex;
22838
+ align-items: center;
22839
+ justify-content: flex-end;
22840
+ cursor: pointer;
22569
22841
 
22570
- // Orientation -- horizontal
22571
- .k-menu-horizontal {
22842
+ &.k-text-right {
22843
+ flex-direction: row;
22572
22844
 
22573
- > .k-menu-item + .k-menu-item {
22574
- margin-right: $menu-item-spacing;
22575
- margin-left: 0;
22845
+ .k-fab-item-text {
22846
+ margin-right: map-get( $spacing, 2 );
22576
22847
  }
22577
22848
  }
22849
+ &.k-text-left {
22850
+ flex-direction: row-reverse;
22578
22851
 
22579
-
22580
- // Orientation -- vertical
22581
- .k-menu-vertical {
22582
-
22583
- > .k-menu-item > .k-menu-link {
22584
- padding-right: $menu-popup-item-padding-x;
22585
- padding-left: $menu-popup-item-padding-end;
22586
-
22587
- .k-menu-expand-arrow {
22588
- right: auto;
22589
- left: $icon-spacing;
22590
- }
22852
+ .k-fab-item-text {
22853
+ margin-left: map-get( $spacing, 2 );
22591
22854
  }
22592
22855
  }
22856
+ }
22857
+
22858
+ .k-fab-item-text {
22859
+ padding: $fab-item-text-padding-y $fab-item-text-padding-x;
22860
+ border-width: $fab-item-text-border-width;
22861
+ border-radius: $fab-item-text-border-radius;
22862
+ font-size: $fab-item-text-font-size;
22863
+ line-height: $fab-item-text-line-height;
22864
+ }
22593
22865
 
22866
+ .k-fab-item-icon {
22867
+ width: $fab-item-icon-width;
22868
+ height: $fab-item-icon-height;
22869
+ padding: $fab-item-icon-padding-y $fab-item-icon-padding-x;
22870
+ border-width: $fab-item-icon-border-width;
22871
+ border-radius: $fab-item-icon-border-radius;
22872
+ box-sizing: content-box;
22873
+ outline: none;
22874
+ }
22594
22875
 
22595
- // Sub menu
22596
- .k-menu-group {
22876
+ }
22597
22877
 
22598
- .k-menu-link {
22599
- padding-right: $menu-popup-item-padding-x;
22600
- padding-left: $menu-popup-item-padding-end;
22878
+ @include exports("fab/layout/rtl") {
22601
22879
 
22602
- .k-menu-expand-arrow {
22603
- right: auto;
22604
- left: $icon-spacing;
22605
- }
22880
+ .k-rtl .k-fab,
22881
+ .k-fab[dir="rtl"],
22882
+ [dir="rtl"] .k-fab {
22883
+ direction: rtl;
22884
+
22885
+ .k-fab-icon {
22886
+ &:not(:only-child) {
22887
+ margin-right: -$icon-spacing;
22888
+ margin-left: $icon-spacing;
22606
22889
  }
22890
+ }
22891
+ }
22607
22892
 
22893
+ .k-rtl .k-fab-popup,
22894
+ [dir="rtl"] .k-fab-popup {
22895
+ .k-fab-item.k-text-left {
22896
+ flex-direction: row;
22608
22897
  }
22609
22898
 
22899
+ .k-fab-item.k-text-right {
22900
+ flex-direction: row-reverse;
22901
+ }
22610
22902
  }
22611
22903
 
22612
22904
  }
22613
22905
 
22906
+
22614
22907
  // #endregion
22615
- // #region @import "_theme.scss"; -> packages/default/scss/menu/_theme.scss
22616
- @include exports("menu/theme") {
22908
+ // #region @import "_theme.scss"; -> packages/default/scss/fab/_theme.scss
22909
+ @include exports( "fab/theme" ) {
22617
22910
 
22618
- .k-menu:not(.k-context-menu) {
22619
- @include fill(
22620
- $menu-text,
22621
- $menu-bg,
22622
- $menu-border,
22623
- $menu-gradient
22624
- );
22911
+ // Normal state
22912
+ @each $name, $color in $fab-theme-colors {
22913
+ .k-fab-#{$name} {
22914
+ @include box-shadow($fab-shadow);
22915
+ outline: $fab-border-width solid $color;
22916
+ outline-offset: -$fab-border-width;
22917
+ border-color: $color;
22918
+ color: contrast-wcag( $color );
22919
+ background-color: $color;
22920
+ }
22921
+ }
22625
22922
 
22626
- > .k-item {
22627
- @include fill(
22628
- $menu-item-text,
22629
- $menu-item-bg,
22630
- $menu-item-border,
22631
- $menu-item-gradient
22632
- );
22923
+ // Hover state
22924
+ @each $name, $color in $fab-theme-colors {
22925
+ .k-state-hover.k-fab-#{$name},
22926
+ .k-state-hovered.k-fab-#{$name},
22927
+ .k-fab-#{$name}:hover {
22928
+ border-color: try-shade( $color, .5 );
22929
+ background-color: try-shade( $color, .5 );
22930
+ }
22931
+ }
22633
22932
 
22634
- &:hover,
22635
- &.k-state-hover {
22636
- @include fill(
22637
- $menu-item-hover-text,
22638
- $menu-item-hover-bg,
22639
- $menu-item-hover-border,
22640
- $menu-item-hover-gradient
22641
- );
22642
- }
22933
+ // Focus state
22934
+ @each $name, $color in $fab-theme-colors {
22935
+ .k-fab-#{$name}.k-state-focus,
22936
+ .k-fab-#{$name}.k-state-focused,
22937
+ .k-fab-#{$name}:focus {
22938
+ outline-style: solid;
22939
+ outline-width: 2px;
22940
+ outline-color: rgba( $color, .3 );
22941
+ }
22942
+ }
22643
22943
 
22644
- > .k-state-active,
22645
- &.k-state-selected {
22646
- @include fill(
22647
- $menu-item-expanded-text,
22648
- $menu-item-expanded-bg,
22649
- $menu-item-expanded-border,
22650
- $menu-item-expanded-gradient
22651
- );
22652
- }
22944
+ // Active state
22945
+ @each $name, $color in $fab-theme-colors {
22946
+ .k-state-active.k-fab-#{$name},
22947
+ .k-state-selected.k-fab-#{$name},
22948
+ .k-fab-#{$name}:active {
22949
+ @include box-shadow($fab-active-shadow);
22950
+ border-color: try-shade( $color, 1.5);
22951
+ background-color: try-shade( $color, 1.5);
22952
+ }
22953
+ }
22653
22954
 
22654
- &:focus,
22655
- &.k-state-focus,
22656
- &.k-state-focused {
22657
- @include box-shadow( $menu-item-focus-shadow );
22658
- }
22955
+ // Disabled state
22956
+ @each $name, $color in $fab-theme-colors {
22957
+ .k-state-disabled.k-fab-#{$name},
22958
+ .k-fab-#{$name}:disabled {
22959
+ @include box-shadow($fab-disabled-shadow);
22960
+ background-color: try-tint( $color, 5 );
22961
+ color: try-tint( contrast-wcag( $color ), 5 );
22962
+ opacity: 1;
22659
22963
  }
22660
22964
  }
22661
22965
 
22662
- .k-menu-group,
22663
- .k-menu.k-context-menu {
22966
+ // Items
22967
+ .k-fab-item-text {
22664
22968
  @include fill(
22665
- $menu-popup-text,
22666
- $menu-popup-bg,
22667
- $menu-popup-border,
22668
- $menu-popup-gradient
22969
+ $fab-item-text,
22970
+ $fab-item-bg,
22971
+ $fab-item-border
22669
22972
  );
22973
+ @include box-shadow($fab-item-shadow);
22670
22974
 
22671
- .k-item {
22672
- @include fill(
22673
- $menu-popup-item-text,
22674
- $menu-popup-item-bg,
22675
- $menu-popup-item-border,
22676
- $menu-popup-item-gradient
22677
- );
22678
-
22679
- &:hover,
22680
- &.k-state-hover {
22681
- @include fill(
22682
- $menu-popup-item-hover-text,
22683
- $menu-popup-item-hover-bg,
22684
- $menu-popup-item-hover-border,
22685
- $menu-popup-item-hover-gradient
22686
- );
22687
- }
22688
-
22689
- > .k-state-active,
22690
- &.k-state-selected {
22691
- @include fill(
22692
- $menu-popup-item-expanded-text,
22693
- $menu-popup-item-expanded-bg,
22694
- $menu-popup-item-expanded-border,
22695
- $menu-popup-item-expanded-gradient
22696
- );
22697
- }
22975
+ }
22976
+ .k-fab-item-icon {
22977
+ @include fill(
22978
+ $fab-item-icon-text,
22979
+ $fab-item-icon-bg,
22980
+ $fab-item-icon-border
22981
+ );
22982
+ @include box-shadow($fab-item-shadow);
22983
+ outline: $fab-border-width solid rgba(0, 0, 0, .08);
22984
+ outline-offset: -$fab-border-width;
22985
+ }
22698
22986
 
22699
- &:focus,
22700
- &.k-state-focus,
22701
- &.k-state-focused {
22702
- @include box-shadow( $menu-popup-item-focus-shadow );
22703
- }
22704
- }
22987
+ // Hover state
22988
+ .k-fab-item.k-state-hover .k-fab-item-icon,
22989
+ .k-fab-item.k-state-hovered .k-fab-item-icon
22990
+ .k-fab-item:hover .k-fab-item-icon {
22991
+ border-color: try-shade( $fab-item-icon-border, .5 );
22992
+ background-color: try-shade( $fab-item-icon-bg, .5 );
22705
22993
  }
22706
22994
 
22995
+ // Focus state
22996
+ .k-fab-item:focus .k-fab-item-text,
22997
+ .k-fab-item:focus .k-fab-item-icon,
22998
+ .k-fab-item.k-state-focus .k-fab-item-text,
22999
+ .k-fab-item.k-state-focus .k-fab-item-icon,
23000
+ .k-fab-item.k-state-focused .k-fab-item-text,
23001
+ .k-fab-item.k-state-focused .k-fab-item-icon {
23002
+ outline-style: solid;
23003
+ outline-width: 2px;
23004
+ outline-color: rgba(0, 0, 0, .08);
23005
+ }
22707
23006
 
22708
- // Scrolling
22709
- .k-menu-scroll-button {
22710
- @include fill(
22711
- $menu-scroll-button-text,
22712
- $menu-scroll-button-bg,
22713
- $menu-scroll-button-border,
22714
- $menu-scroll-button-gradient
22715
- );
23007
+ // Active state
23008
+ .k-fab-item.k-state-active .k-fab-item-icon,
23009
+ .k-fab-item:active .k-fab-item-icon {
23010
+ @include box-shadow($fab-item-active-shadow);
23011
+ border-color: try-shade( $fab-item-icon-border, 1);
23012
+ background-color: try-shade( $fab-item-icon-bg, 1);
23013
+ }
22716
23014
 
22717
- &:hover {
22718
- @include fill(
22719
- $menu-scroll-button-hover-text,
22720
- $menu-scroll-button-hover-bg,
22721
- $menu-scroll-button-hover-border,
22722
- $menu-scroll-button-hover-gradient
22723
- );
23015
+ // Disabled state
23016
+ .k-fab-item.k-state-disabled,
23017
+ .k-fab-item:disabled {
23018
+ opacity: 1;
22724
23019
 
22725
- &::before {
22726
- opacity: 0;
22727
- }
23020
+ .k-fab-item-text,
23021
+ .k-fab-item-icon {
23022
+ @include box-shadow($fab-item-disabled-shadow);
23023
+ background-color: try-tint( $fab-item-bg, 5 );
23024
+ color: try-tint( $fab-item-text, 5 );
22728
23025
  }
22729
23026
  }
23027
+
23028
+ // Popup
23029
+ .k-animation-container > .k-fab-popup {
23030
+ @include box-shadow( none );
23031
+ }
23032
+
22730
23033
  }
22731
23034
 
22732
23035
  // #endregion
22733
23036
 
23037
+ // #endregion
23038
+ // #region @import "menu/_index.scss"; -> packages/default/scss/menu/_index.scss
23039
+ // File already imported_once. Skipping output.
22734
23040
  // #endregion
22735
23041
  // #region @import "toolbar/_index.scss"; -> packages/default/scss/toolbar/_index.scss
22736
23042
  // File already imported_once. Skipping output.
@@ -22862,6 +23168,12 @@ $actionsheet-item-disabled-shadow: null !default;
22862
23168
  overflow-y: auto;
22863
23169
  position: fixed;
22864
23170
  z-index: 10002;
23171
+
23172
+ *,
23173
+ *::before,
23174
+ *::after {
23175
+ box-sizing: border-box;
23176
+ }
22865
23177
  }
22866
23178
 
22867
23179
 
@@ -23212,10 +23524,10 @@ $actionsheet-item-disabled-shadow: null !default;
23212
23524
  margin-top: -($window-inner-padding-y / 2);
23213
23525
  }
23214
23526
  .k-window-content:first-child {
23215
- padding-top: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
23527
+ padding-top: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
23216
23528
  }
23217
23529
  .k-window-content:last-child {
23218
- padding-bottom: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
23530
+ padding-bottom: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
23219
23531
  }
23220
23532
 
23221
23533
  .k-window-iframecontent {
@@ -23513,6 +23825,12 @@ $drawer-selected-hover-text: $selected-hover-text !default;
23513
23825
  -webkit-touch-callout: none;
23514
23826
  -webkit-tap-highlight-color: $rgba-transparent;
23515
23827
 
23828
+ *,
23829
+ *::before,
23830
+ *::after {
23831
+ box-sizing: border-box;
23832
+ }
23833
+
23516
23834
  // Borders
23517
23835
  .k-drawer-mini &.k-drawer-start,
23518
23836
  .k-drawer-expanded &.k-drawer-start,
@@ -23862,6 +24180,12 @@ $notification-themes: () !default;
23862
24180
  display: block;
23863
24181
  -webkit-touch-callout: none;
23864
24182
  -webkit-tap-highlight-color: $rgba-transparent;
24183
+
24184
+ *,
24185
+ *::before,
24186
+ *::after {
24187
+ box-sizing: border-box;
24188
+ }
23865
24189
  }
23866
24190
 
23867
24191
  .k-notification-wrap {
@@ -24092,6 +24416,12 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
24092
24416
  overflow: hidden;
24093
24417
  -webkit-touch-callout: none;
24094
24418
  -webkit-tap-highlight-color: $rgba-transparent;
24419
+
24420
+ *,
24421
+ *::before,
24422
+ *::after {
24423
+ box-sizing: border-box;
24424
+ }
24095
24425
  }
24096
24426
  .k-card > .k-card-inner {
24097
24427
  @include border-radius( $card-inner-border-radius );
@@ -24632,6 +24962,12 @@ $popover-callout-shadow-w: rgba( black, .03 ) 2px -1px 4px 0px !default;
24632
24962
  z-index: 12000;
24633
24963
  -webkit-touch-callout: none;
24634
24964
  -webkit-tap-highlight-color: $rgba-transparent;
24965
+
24966
+ *,
24967
+ *::before,
24968
+ *::after {
24969
+ box-sizing: border-box;
24970
+ }
24635
24971
  }
24636
24972
 
24637
24973
  // Header
@@ -24900,6 +25236,12 @@ $bottom-nav-flat-border: $component-border !default;
24900
25236
  outline: none;
24901
25237
  -webkit-touch-callout: none;
24902
25238
  -webkit-tap-highlight-color: $rgba-transparent;
25239
+
25240
+ *,
25241
+ *::before,
25242
+ *::after {
25243
+ box-sizing: border-box;
25244
+ }
24903
25245
  }
24904
25246
 
24905
25247
  .k-bottom-nav-border {
@@ -25145,6 +25487,12 @@ $breadcrumb-focused-shadow: 0 0 2px 1px rgba(0, 0, 0, .06) !default;
25145
25487
  flex-direction: row;
25146
25488
  -webkit-touch-callout: none;
25147
25489
  -webkit-tap-highlight-color: $rgba-transparent;
25490
+
25491
+ *,
25492
+ *::before,
25493
+ *::after {
25494
+ box-sizing: border-box;
25495
+ }
25148
25496
  }
25149
25497
 
25150
25498
 
@@ -25464,6 +25812,12 @@ $pager-dropdown-width: 5em !default;
25464
25812
  -webkit-touch-callout: none;
25465
25813
  -webkit-tap-highlight-color: $rgba-transparent;
25466
25814
 
25815
+ *,
25816
+ *::before,
25817
+ *::after {
25818
+ box-sizing: border-box;
25819
+ }
25820
+
25467
25821
  .k-link {
25468
25822
  text-decoration: none;
25469
25823
  outline: 0;
@@ -25516,7 +25870,6 @@ $pager-dropdown-width: 5em !default;
25516
25870
  %base-pager-item {
25517
25871
  min-width: $button-calc-size;
25518
25872
  height: $button-calc-size;
25519
- box-sizing: border-box;
25520
25873
  color: inherit;
25521
25874
  text-align: center;
25522
25875
  display: inline-flex;
@@ -25676,7 +26029,6 @@ $pager-dropdown-width: 5em !default;
25676
26029
  }
25677
26030
 
25678
26031
  height: $button-calc-size;
25679
- box-sizing: border-box;
25680
26032
  border-color: inherit;
25681
26033
  }
25682
26034
 
@@ -25995,6 +26347,12 @@ $stepper-content-transition-timing-function: cubic-bezier(.4, 0, .2, 1) 0ms !def
25995
26347
  color: inherit;
25996
26348
  background: none;
25997
26349
 
26350
+ *,
26351
+ *::before,
26352
+ *::after {
26353
+ box-sizing: border-box;
26354
+ }
26355
+
25998
26356
 
25999
26357
  // Step list
26000
26358
  .k-step-list {
@@ -26044,7 +26402,6 @@ $stepper-content-transition-timing-function: cubic-bezier(.4, 0, .2, 1) 0ms !def
26044
26402
  transition-property: color, background-color, border-color;
26045
26403
  transition-duration: .4s;
26046
26404
  transition-timing-function: ease-in-out;
26047
- box-sizing: content-box;
26048
26405
 
26049
26406
  &::after {
26050
26407
  @include border-radius( 100% );
@@ -26572,6 +26929,7 @@ $tabstrip-content-border-focused: $component-text !default;
26572
26929
 
26573
26930
  .k-tabstrip-wrapper {
26574
26931
  padding: $tabstrip-wrapper-padding-y $tabstrip-wrapper-padding-x;
26932
+ box-sizing: border-box;
26575
26933
  border-width: $tabstrip-wrapper-border-width;
26576
26934
  border-style: solid;
26577
26935
  display: flex;
@@ -26589,7 +26947,7 @@ $tabstrip-content-border-focused: $component-text !default;
26589
26947
  color: inherit;
26590
26948
  background-color: transparent;
26591
26949
  display: flex;
26592
- flex-direction: column;
26950
+ flex-flow: column nowrap;
26593
26951
  -webkit-touch-callout: none;
26594
26952
  -webkit-tap-highlight-color: $rgba-transparent;
26595
26953
 
@@ -26599,6 +26957,7 @@ $tabstrip-content-border-focused: $component-text !default;
26599
26957
  }
26600
26958
 
26601
26959
  .k-tabstrip-items-wrapper {
26960
+ box-sizing: border-box;
26602
26961
  border-width: 0;
26603
26962
  border-style: solid;
26604
26963
  border-color: inherit;
@@ -26607,11 +26966,18 @@ $tabstrip-content-border-focused: $component-text !default;
26607
26966
  }
26608
26967
 
26609
26968
  .k-tabstrip-items {
26969
+ box-sizing: border-box;
26610
26970
  outline: 0;
26611
26971
  display: flex;
26612
26972
  flex-flow: row wrap;
26613
26973
  flex: 0 0 auto;
26614
26974
 
26975
+ *,
26976
+ *::before,
26977
+ *::after {
26978
+ box-sizing: border-box;
26979
+ }
26980
+
26615
26981
  .k-item {
26616
26982
  margin: 0;
26617
26983
  padding: 0;
@@ -26648,6 +27014,7 @@ $tabstrip-content-border-focused: $component-text !default;
26648
27014
  .k-tabstrip-content,
26649
27015
  .k-tabstrip > .k-content {
26650
27016
  padding: $tabstrip-content-padding-y $tabstrip-content-padding-x;
27017
+ box-sizing: border-box;
26651
27018
  border-width: $tabstrip-content-border-width;
26652
27019
  border-style: solid;
26653
27020
  border-color: inherit;
@@ -26682,6 +27049,9 @@ $tabstrip-content-border-focused: $component-text !default;
26682
27049
  left: 0;
26683
27050
  transition: width .2s linear;
26684
27051
 
27052
+ // TODO: a better name
27053
+ display: none;
27054
+
26685
27055
  &.k-complete {
26686
27056
  width: 100%;
26687
27057
  border-top-width: 0;
@@ -26695,24 +27065,33 @@ $tabstrip-content-border-focused: $component-text !default;
26695
27065
 
26696
27066
  > .k-tabstrip-items {
26697
27067
  flex: 1 1 auto;
27068
+ flex-wrap: nowrap;
26698
27069
  white-space: nowrap;
26699
27070
  overflow: hidden;
26700
27071
  }
26701
27072
 
26702
27073
  > .k-button {
26703
- flex-shrink: 0;
27074
+ width: auto;
27075
+ height: auto;
27076
+ flex: none;
26704
27077
  align-self: stretch;
27078
+ aspect-ratio: auto;
27079
+
27080
+ .k-button-icon {
27081
+ min-width: auto;
27082
+ min-height: auto;
27083
+ }
26705
27084
  }
26706
27085
 
26707
27086
  &.k-hstack {
26708
27087
  > .k-button {
26709
- height: auto;
27088
+ padding: 0 map-get( $spacing, 1 );
26710
27089
  }
26711
27090
  }
26712
27091
 
26713
27092
  &.k-vstack {
26714
27093
  > .k-button {
26715
- width: auto;
27094
+ padding: map-get( $spacing, 1 ) 0;
26716
27095
  }
26717
27096
  }
26718
27097
  }
@@ -27076,11 +27455,13 @@ $wizard-focused-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
27076
27455
  overflow: hidden;
27077
27456
 
27078
27457
  .k-wizard-steps {
27458
+ box-sizing: border-box;
27079
27459
  display: flex;
27080
27460
  overflow: hidden;
27081
27461
  }
27082
27462
 
27083
27463
  .k-wizard-step {
27464
+ box-sizing: border-box;
27084
27465
  padding: calc(#{$wizard-content-padding-x / 4} + 2px);
27085
27466
  width: 100%;
27086
27467
  display: flex;
@@ -27097,11 +27478,13 @@ $wizard-focused-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
27097
27478
  }
27098
27479
 
27099
27480
  .k-wizard-content {
27481
+ box-sizing: border-box;
27100
27482
  overflow-y: auto;
27101
27483
  }
27102
27484
 
27103
27485
  .k-wizard-buttons {
27104
27486
  margin-top: $wizard-content-padding-y;
27487
+ box-sizing: border-box;
27105
27488
  display: flex;
27106
27489
  flex-wrap: nowrap;
27107
27490
  align-items: center;
@@ -27280,6 +27663,12 @@ $expander-content-padding-y: $padding-y * 4 !default;
27280
27663
  -webkit-touch-callout: none;
27281
27664
  -webkit-tap-highlight-color: $rgba-transparent;
27282
27665
 
27666
+ *,
27667
+ *::before,
27668
+ *::after {
27669
+ box-sizing: border-box;
27670
+ }
27671
+
27283
27672
  .k-rtl &,
27284
27673
  &.k-rtl,
27285
27674
  &[dir = "rtl"] {
@@ -27319,7 +27708,6 @@ $expander-content-padding-y: $padding-y * 4 !default;
27319
27708
  // Expander content
27320
27709
  .k-expander-content {
27321
27710
  padding: $expander-content-padding-y $expander-content-padding-x;
27322
- box-sizing: border-box;
27323
27711
  }
27324
27712
 
27325
27713
  // Multiple expanders
@@ -27523,6 +27911,12 @@ $panelbar-header-expanded-gradient: null !default;
27523
27911
  -webkit-touch-callout: none;
27524
27912
  -webkit-tap-highlight-color: $rgba-transparent;
27525
27913
 
27914
+ *,
27915
+ *::before,
27916
+ *::after {
27917
+ box-sizing: border-box;
27918
+ }
27919
+
27526
27920
 
27527
27921
  // Root
27528
27922
  > .k-item,
@@ -30103,11 +30497,12 @@ $adaptive-scheduler-subtle-text: $subtle-text !default;
30103
30497
  }
30104
30498
 
30105
30499
  .k-grid-norecords-template {
30500
+ box-sizing: border-box;
30501
+ margin: 0 auto;
30106
30502
  width: 20em;
30107
30503
  height: 4em;
30108
- line-height: 4em;
30109
- margin: 0 auto;
30110
30504
  border: 1px solid;
30505
+ line-height: 4em;
30111
30506
  }
30112
30507
 
30113
30508
  .k-header > .k-cell-inner {
@@ -30379,7 +30774,7 @@ $adaptive-scheduler-subtle-text: $subtle-text !default;
30379
30774
  padding: $grid-column-menu-popup-padding-y $grid-column-menu-popup-padding-x;
30380
30775
  }
30381
30776
  .k-popup > & {
30382
- width: 100%;
30777
+ max-width: 100%;
30383
30778
  }
30384
30779
 
30385
30780
  .k-actions {
@@ -30604,8 +30999,8 @@ $adaptive-scheduler-subtle-text: $subtle-text !default;
30604
30999
  }
30605
31000
 
30606
31001
  // Hover state
30607
- tbody tr:hover,
30608
- tbody tr.k-state-hover {
31002
+ tbody tr:not(.k-detail-row):hover,
31003
+ tbody tr:not(.k-detail-row).k-state-hover {
30609
31004
  color: $grid-hovered-text;
30610
31005
  background-color: $grid-hovered-bg;
30611
31006
  }
@@ -30675,12 +31070,6 @@ $adaptive-scheduler-subtle-text: $subtle-text !default;
30675
31070
  @include fill( $bg: $grid-sticky-selected-alt-bg );
30676
31071
  }
30677
31072
 
30678
- // Hovered state
30679
- .k-state-hover td,
30680
- tr:hover td {
30681
- @include fill( $bg: $grid-sticky-hovered-bg );
30682
- }
30683
-
30684
31073
  // Selected hover
30685
31074
  .k-state-selected:hover td,
30686
31075
  .k-state-selected.k-state-hover td {
@@ -31388,6 +31777,7 @@ $spreadsheet-drawing-anchor-bg: rgba( $selected-bg, .25 ) !default;
31388
31777
  margin: 0;
31389
31778
  }
31390
31779
  .k-spreadsheet-tabstrip .k-loading {
31780
+ // TODO: better name
31391
31781
  display: none;
31392
31782
  }
31393
31783
  .k-spreadsheet-tabstrip .k-content,
@@ -33174,6 +33564,7 @@ $pivotgrid-remove-text: null !default;
33174
33564
  border-style: solid;
33175
33565
  align-items: flex-start;
33176
33566
  flex-wrap: wrap;
33567
+ box-shadow: none;
33177
33568
 
33178
33569
  > * {
33179
33570
  max-width: 100%;
@@ -33184,33 +33575,6 @@ $pivotgrid-remove-text: null !default;
33184
33575
  }
33185
33576
  }
33186
33577
 
33187
- .k-pivot-toolbar .k-button,
33188
- .k-fieldselector .k-list li.k-item {
33189
- @include border-radius( $border-radius );
33190
- padding: $button-padding-y $button-padding-x;
33191
- padding-right: calc( #{$button-padding-x} + #{$icon-size * 3} );
33192
- min-height: auto;
33193
- font-size: $font-size;
33194
- line-height: $button-line-height;
33195
- text-align: left;
33196
- white-space: normal;
33197
- word-break: break-word;
33198
- position: relative;
33199
- cursor: move;
33200
-
33201
- .k-field-actions .k-setting-delete {
33202
- box-sizing: content-box;
33203
- }
33204
- }
33205
-
33206
- .k-field-actions {
33207
- position: absolute;
33208
- right: $button-padding-y;
33209
- top: $button-padding-y;
33210
- line-height: 1;
33211
- cursor: pointer;
33212
- }
33213
-
33214
33578
  .k-pivot-layout {
33215
33579
  border-spacing: 0;
33216
33580
  table-layout: auto;
@@ -33233,6 +33597,8 @@ $pivotgrid-remove-text: null !default;
33233
33597
  .k-pivot-rowheaders > .k-grid,
33234
33598
  .k-pivot-table > .k-grid {
33235
33599
  border-width: 0;
33600
+ color: inherit;
33601
+ background: none;
33236
33602
  }
33237
33603
 
33238
33604
  .k-pivot-rowheaders > .k-grid td:first-child,
@@ -33296,77 +33662,73 @@ $pivotgrid-remove-text: null !default;
33296
33662
  @include exports("pivotgrid/configurator/layout/legacy") {
33297
33663
 
33298
33664
 
33299
- .k-fieldselector {
33300
- border-width: 1px;
33301
- border-style: solid;
33665
+ // jquery specific -- old pivot
33666
+ .k-pivotgrid-wrapper {
33302
33667
  box-sizing: border-box;
33303
- outline: 0;
33304
- font-family: $pivotgrid-font-family;
33305
- font-size: $pivotgrid-font-size;
33306
- line-height: $pivotgrid-line-height;
33307
- -webkit-touch-callout: none;
33308
- -webkit-tap-highlight-color: $rgba-transparent;
33309
-
33310
- .k-columns {
33311
- display: flex;
33312
- align-items: stretch;
33313
-
33314
- > div {
33315
- padding: $table-cell-padding-y;
33316
- width: 50%;
33317
- box-sizing: border-box;
33318
- border-width: 0;
33319
- border-style: solid;
33320
- float: left;
33321
- overflow: auto;
33322
- }
33323
- > div + div {
33324
- border-left-width: 1px;
33325
- }
33326
- }
33327
-
33668
+ display: flex;
33669
+ flex-flow: row nowrap;
33670
+ align-items: flex-start;
33671
+ gap: map-get( $spacing, 2 );
33328
33672
 
33329
- p {
33330
- margin: 0 0 $padding-y-sm;
33331
- text-transform: uppercase;
33673
+ > .k-pivotgrid-configurator-panel {
33674
+ max-width: 320px;
33675
+ flex: none;
33332
33676
  }
33333
- p .k-icon {
33334
- margin: 0 $icon-spacing 0 0;
33677
+ > .k-pivot {
33678
+ flex: 1;
33335
33679
  }
33680
+ }
33681
+ .k-pivotgrid-configurator-panel.kendo-jquery {
33682
+ box-sizing: border-box;
33683
+ display: inline-flex;
33336
33684
 
33337
-
33338
- // Treeview
33339
- .k-treeview {
33340
- border-width: 0;
33341
- overflow: visible;
33685
+ .k-pivotgrid-configurator {
33686
+ height: 100%;
33342
33687
  }
33343
33688
 
33344
- .k-edit-label {
33345
- width: 16%;
33346
- }
33347
- .k-edit-field {
33348
- width: 77%;
33689
+ .k-pivotgrid-configurator-content {
33690
+ padding: map-get( $spacing, 4 );
33691
+ max-height: 100%;
33692
+ display: flex;
33693
+ flex-flow: column nowrap;
33694
+ gap: map-get( $spacing, 4 );
33695
+ overflow-x: hidden;
33696
+ overflow-y: auto;
33349
33697
  }
33350
33698
 
33351
-
33352
- // List container
33353
- .k-list-container {
33354
- margin-bottom: $spacer;
33355
- padding: $padding-y-sm;
33356
- border-width: 1px;
33357
- border-style: solid;
33699
+ .k-pivotgrid-targets {
33700
+ display: flex;
33701
+ flex-flow: column nowrap;
33702
+ gap: map-get( $spacing, 4 );
33358
33703
  }
33359
- .k-list {
33360
- padding-bottom: $spacer;
33704
+
33705
+ .k-pivotgrid-configurator-section {
33706
+ display: flex;
33707
+ flex-flow: column nowrap;
33708
+ gap: map-get( $spacing, 2 );
33361
33709
  }
33362
- .k-list .k-item {
33710
+
33711
+ .k-column-fields {
33712
+ margin: 0;
33713
+ padding: map-get( $spacing, 1 );
33714
+ max-height: 200px;
33363
33715
  border-width: 1px;
33364
33716
  border-style: solid;
33717
+ display: flex;
33718
+ flex-flow: row wrap;
33719
+ gap: map-get( $spacing, 1 );
33720
+ overflow-x: hidden;
33721
+ overflow-y: auto;
33722
+
33723
+ > * {
33724
+ margin: 0;
33725
+ }
33365
33726
  }
33366
- .k-list .k-item + .k-item {
33367
- margin-top: ($spacer / 2);
33727
+ .k-ie & .k-column-fields {
33728
+ > * {
33729
+ margin: 2px;
33730
+ }
33368
33731
  }
33369
-
33370
33732
  }
33371
33733
 
33372
33734
  }
@@ -33581,103 +33943,59 @@ $pivotgrid-remove-text: null !default;
33581
33943
  @include exports("pivotgrid/theme/legacy") {
33582
33944
 
33583
33945
  .k-pivot {
33946
+ @include fill (
33947
+ $pivotgrid-text,
33948
+ $pivotgrid-bg,
33949
+ $pivotgrid-border
33950
+ );
33951
+ }
33952
+ .k-pivot-table {
33584
33953
  border-color: $pivotgrid-border;
33585
33954
  }
33586
33955
 
33587
- .k-alt,
33588
- .k-pivot-layout > tbody > tr:first-child > td:first-child {
33589
- background-color: $pivotgrid-alt-bg;
33956
+ // Pivotgrid header
33957
+ .k-pivot-rowheaders {
33958
+ @include fill(
33959
+ $pivotgrid-headers-text,
33960
+ $pivotgrid-headers-bg,
33961
+ $pivotgrid-headers-border
33962
+ );
33590
33963
  }
33591
33964
 
33592
- .k-fieldselector {
33593
- color: $pivotgrid-configurator-text;
33965
+
33966
+ // Pivotgrid toolbar
33967
+ .k-pivot-toolbar {
33968
+ @include fill(
33969
+ $pivotgrid-headers-text,
33970
+ $pivotgrid-headers-bg,
33971
+ $pivotgrid-headers-border
33972
+ );
33973
+
33974
+ .k-empty {
33975
+ color: $subtle-text;
33976
+ }
33594
33977
  }
33595
33978
 
33596
- .k-fieldselector .k-list-container {
33597
- background-color: $pivotgrid-container-bg;
33979
+ .k-alt {
33980
+ background-color: $pivotgrid-alt-bg;
33598
33981
  }
33599
33982
 
33600
33983
  .k-pivot-toolbar,
33601
33984
  .k-pivot-table,
33602
- .k-fieldselector,
33603
- .k-fieldselector .k-list-container,
33604
- .k-fieldselector .k-columns > div,
33605
33985
  .k-pivot-rowheaders > .k-grid td:first-child,
33606
33986
  .k-pivot-table .k-grid-header .k-header.k-first {
33607
33987
  border-color: $pivotgrid-chrome-border;
33608
33988
  }
33609
33989
 
33610
- .k-pivot-rowheaders .k-alt .k-alt,
33611
33990
  .k-header.k-alt {
33612
33991
  background-color: $pivotgrid-row-headers-bg;
33613
33992
  }
33614
33993
 
33615
- .k-pivot-toolbar .k-button,
33616
- .k-fieldselector .k-list li.k-item {
33617
- @include fill(
33618
- $button-text,
33619
- $button-bg,
33620
- $button-border,
33621
- $button-gradient
33622
- );
33623
-
33624
- &:hover,
33625
- &.k-state-hover {
33626
- @include fill(
33627
- $button-hovered-text,
33628
- $button-hovered-bg,
33629
- $button-hovered-border,
33630
- $button-hovered-gradient
33631
- );
33632
- }
33633
-
33634
- // Pressed state
33635
- &:active,
33636
- &.k-state-active {
33637
- @include fill(
33638
- $button-active-text,
33639
- $button-active-bg,
33640
- $button-active-border,
33641
- $button-active-gradient
33642
- );
33643
- }
33644
-
33645
- // Focused state
33646
- &:focus,
33647
- &.k-state-focus,
33648
- &.k-state-focused {
33649
- box-shadow: $button-focused-shadow;
33650
- }
33651
-
33652
- &.k-empty {
33653
- color: $subtle-text;
33654
- }
33655
- }
33656
-
33657
- .k-pivot-toolbar {
33658
- .k-empty {
33659
- color: $subtle-text;
33660
- }
33661
- }
33662
-
33663
- .k-pivot-layout .k-grid-footer,
33664
- .k-pivot-layout .k-grid.k-alt {
33994
+ .k-pivot-layout .k-grid-footer {
33665
33995
  color: $pivotgrid-alt-text;
33666
33996
  background-color: $pivotgrid-alt-bg;
33667
33997
  }
33668
33998
 
33669
- // Loading indicator
33670
- .k-fieldselector {
33671
- .k-i-loading {
33672
- border-color: $header-bg;
33673
- }
33674
-
33675
- .k-i-loading::before,
33676
- .k-i-loading::after {
33677
- background-color: $header-bg;
33678
- }
33679
- }
33680
-
33681
33999
  // KPI icons
33682
34000
  .k-i-kpi-trend-increase,
33683
34001
  .k-i-kpi-trend-decrease,
@@ -33696,6 +34014,16 @@ $pivotgrid-remove-text: null !default;
33696
34014
  .k-i-kpi-status-open {
33697
34015
  color: $success;
33698
34016
  }
34017
+
34018
+
34019
+ // Configurator
34020
+ .k-pivotgrid-configurator-panel.kendo-jquery {
34021
+
34022
+ .k-column-fields {
34023
+ border-color: $component-border;
34024
+ }
34025
+
34026
+ }
33699
34027
  }
33700
34028
 
33701
34029
  // #endregion
@@ -33739,9 +34067,13 @@ $treelist-footer-row-border-width: 1px !default;
33739
34067
  padding: .4em .6em;
33740
34068
  line-height: 1.6em;
33741
34069
 
34070
+ // TODO: see what this does and use a better name
33742
34071
  .k-loading {
33743
34072
  vertical-align: baseline;
33744
34073
  margin-right: 5px;
34074
+
34075
+ // TODO
34076
+ display: none;
33745
34077
  }
33746
34078
  }
33747
34079
 
@@ -33889,11 +34221,19 @@ $filter-preview-operator-text: $subtle-text !default;
33889
34221
  // #endregion
33890
34222
  // #region @import "_layout.scss"; -> packages/default/scss/filter/_layout.scss
33891
34223
  @include exports("filter/layout") {
34224
+
33892
34225
  .k-filter {
34226
+ box-sizing: border-box;
33893
34227
  border-width: 0;
33894
34228
  display: inline-block;
33895
34229
  background-color: transparent;
33896
34230
 
34231
+ *,
34232
+ *::before,
34233
+ *::after {
34234
+ box-sizing: border-box;
34235
+ }
34236
+
33897
34237
  ul {
33898
34238
  padding: 0;
33899
34239
 
@@ -34651,6 +34991,12 @@ $taskboard-drag-placeholder-border: $component-border !default;
34651
34991
  display: flex;
34652
34992
  flex-direction: column;
34653
34993
  position: relative;
34994
+
34995
+ *,
34996
+ *::before,
34997
+ *::after {
34998
+ box-sizing: border-box;
34999
+ }
34654
35000
  }
34655
35001
 
34656
35002
  // Toolbar
@@ -34719,7 +35065,6 @@ $taskboard-drag-placeholder-border: $component-border !default;
34719
35065
  .k-taskboard-column-cards {
34720
35066
  padding: $taskboard-column-cards-padding-y $taskboard-column-cards-padding-x;
34721
35067
  min-height: 100%;
34722
- box-sizing: border-box;
34723
35068
  display: flex;
34724
35069
  flex-direction: column;
34725
35070
  gap: $taskboard-column-cards-gap 0;
@@ -34751,7 +35096,6 @@ $taskboard-drag-placeholder-border: $component-border !default;
34751
35096
  width: $taskboard-pane-width;
34752
35097
  border-width: $taskboard-pane-border-width;
34753
35098
  border-style: solid;
34754
- box-sizing: border-box;
34755
35099
  display: flex;
34756
35100
  flex-direction: column;
34757
35101
  position: absolute;
@@ -35983,6 +36327,12 @@ $imageeditor-crop-overlay-bg: rgba(black, .3) !default;
35983
36327
  line-height: $imageeditor-line-height;
35984
36328
  -webkit-touch-callout: none;
35985
36329
  -webkit-tap-highlight-color: $rgba-transparent;
36330
+
36331
+ *,
36332
+ *::before,
36333
+ *::after {
36334
+ box-sizing: border-box;
36335
+ }
35986
36336
  }
35987
36337
 
35988
36338
 
@@ -38645,6 +38995,12 @@ $scheduler-tooltip-callout-text: $scheduler-tooltip-bg !default;
38645
38995
  flex-shrink: 0;
38646
38996
  font-size: inherit;
38647
38997
  }
38998
+
38999
+ .k-no-data {
39000
+ height: auto;
39001
+ min-height: auto;
39002
+ color: inherit;
39003
+ }
38648
39004
  }
38649
39005
 
38650
39006
  }
@@ -39759,11 +40115,18 @@ $chat-quick-reply-hover-border: $primary !default;
39759
40115
 
39760
40116
 
39761
40117
  .k-scroll-button {
40118
+ // IMPORTANT: if we don't set padding, the browser will set for us
40119
+ padding: 0 map-get( $spacing, 1 );
39762
40120
  height: 100%;
40121
+ aspect-ratio: auto;
39763
40122
  position: absolute;
39764
40123
  z-index: 2;
39765
- top: 50%;
39766
- transform: translateY(-50%);
40124
+ top: 0;
40125
+
40126
+ .k-button-icon {
40127
+ min-width: auto;
40128
+ min-height: auto;
40129
+ }
39767
40130
  }
39768
40131
  .k-scroll-button-left {
39769
40132
  left: 0;
@@ -40012,6 +40375,12 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
40012
40375
  -webkit-touch-callout: none;
40013
40376
  -webkit-tap-highlight-color: $rgba-transparent;
40014
40377
 
40378
+ *,
40379
+ *::before,
40380
+ *::after {
40381
+ box-sizing: border-box;
40382
+ }
40383
+
40015
40384
  > iframe {
40016
40385
  width: 100%;
40017
40386
  height: 100%;
@@ -40060,6 +40429,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
40060
40429
  padding: 0 (14px / 2);
40061
40430
  align-items: center;
40062
40431
  }
40432
+ .k-mediaplayer-volume {
40433
+ width: 100px;
40434
+ }
40063
40435
 
40064
40436
 
40065
40437
  // Seekbar
@@ -40067,8 +40439,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
40067
40439
  width: 100%;
40068
40440
  position: absolute;
40069
40441
  z-index: 3;
40070
- top: -17px;
40442
+ top: 0;
40071
40443
  left: 0;
40444
+ transform: translateY( -50% );
40072
40445
  }
40073
40446
  .k-mediaplayer-seekbar .k-slider-track {
40074
40447
  // sass-lint:disable no-important
@@ -40076,6 +40449,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
40076
40449
  // sass-lint:enable no-important
40077
40450
  border-radius: 0;
40078
40451
  }
40452
+ .k-mediaplayer-seekbar .k-slider-selection {
40453
+ border-radius: 0;
40454
+ }
40079
40455
 
40080
40456
  .k-mediaplayer-fullscreen {
40081
40457
  z-index: 10000;
@@ -40221,6 +40597,14 @@ $timeline-event-min-height-calc: calc(2 * (#{$timeline-track-event-offset} - #{$
40221
40597
  -webkit-touch-callout: none;
40222
40598
  -webkit-tap-highlight-color: $rgba-transparent;
40223
40599
 
40600
+ *,
40601
+ *::before,
40602
+ *::after,
40603
+ &::before,
40604
+ &::after {
40605
+ box-sizing: border-box;
40606
+ }
40607
+
40224
40608
  ul {
40225
40609
  margin: 0;
40226
40610
  padding: 0;
@@ -40238,7 +40622,6 @@ $timeline-event-min-height-calc: calc(2 * (#{$timeline-track-event-offset} - #{$
40238
40622
  line-height: $timeline-flag-line-height;
40239
40623
  min-width: $timeline-flag-min-width;
40240
40624
  max-width: $timeline-flag-max-width;
40241
- box-sizing: border-box;
40242
40625
  position: relative;
40243
40626
  z-index: 1;
40244
40627
  }
@@ -40318,7 +40701,6 @@ $timeline-event-min-height-calc: calc(2 * (#{$timeline-track-event-offset} - #{$
40318
40701
  margin: $timeline-spacing-y 0;
40319
40702
  width: 100%;
40320
40703
  position: relative;
40321
- box-sizing: border-box;
40322
40704
  border: 0;
40323
40705
  }
40324
40706
 
@@ -40508,12 +40890,10 @@ $timeline-event-min-height-calc: calc(2 * (#{$timeline-track-event-offset} - #{$
40508
40890
 
40509
40891
  .k-timeline-card {
40510
40892
  height: 100%;
40511
- box-sizing: border-box;
40512
40893
  }
40513
40894
 
40514
40895
  .k-card {
40515
40896
  max-height: 100%;
40516
- box-sizing: border-box;
40517
40897
  }
40518
40898
 
40519
40899
  .k-timeline-events-list {
@@ -42315,12 +42695,19 @@ $map-marker-fill: $primary !default;
42315
42695
  // Layout
42316
42696
  .k-map {
42317
42697
  height: 600px;
42698
+ box-sizing: border-box;
42318
42699
  border-width: $map-border-width;
42319
42700
  border-style: solid;
42320
42701
  font-size: $map-font-size;
42321
42702
  line-height: $map-line-height;
42322
42703
  font-family: $map-font-family;
42323
42704
 
42705
+ *,
42706
+ *::before,
42707
+ *::after {
42708
+ box-sizing: border-box;
42709
+ }
42710
+
42324
42711
 
42325
42712
  // Scroll
42326
42713
  .km-scroll-wrapper {
@@ -42588,6 +42975,12 @@ $orgchart-line-v-height: 25px !default;
42588
42975
  font-family: $orgchart-font-family;
42589
42976
  line-height: $orgchart-line-height;
42590
42977
  overflow: auto;
42978
+
42979
+ *,
42980
+ *::before,
42981
+ *::after {
42982
+ box-sizing: border-box;
42983
+ }
42591
42984
  }
42592
42985
 
42593
42986
  .k-orgchart-container {