@progress/kendo-theme-material 4.42.1-dev.0 → 4.42.1-dev.1

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 (25) hide show
  1. package/dist/all.css +142 -144
  2. package/dist/all.scss +140 -172
  3. package/modules/@progress/kendo-theme-default/package.json +2 -2
  4. package/modules/@progress/kendo-theme-default/scss/action-buttons/_layout.scss +1 -0
  5. package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +0 -20
  6. package/modules/@progress/kendo-theme-default/scss/card/_layout.scss +1 -0
  7. package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +24 -20
  8. package/modules/@progress/kendo-theme-default/scss/chat/_variables.scss +5 -5
  9. package/modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss +1 -1
  10. package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +0 -22
  11. package/modules/@progress/kendo-theme-default/scss/datetime/_layout.scss +0 -45
  12. package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +0 -12
  13. package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +84 -0
  14. package/modules/@progress/kendo-theme-default/scss/editor/_theme.scss +9 -0
  15. package/modules/@progress/kendo-theme-default/scss/editor/_variables.scss +8 -0
  16. package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +2 -1
  17. package/modules/@progress/kendo-theme-default/scss/input/_layout.scss +3 -16
  18. package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +0 -19
  19. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +0 -11
  20. package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +1 -0
  21. package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +1 -0
  22. package/package.json +3 -3
  23. package/scss/chat/_variables.scss +5 -5
  24. package/scss/editor/_theme.scss +9 -0
  25. package/scss/editor/_variables.scss +8 -0
package/dist/all.scss CHANGED
@@ -9950,7 +9950,9 @@ $input-separator-opacity: .5 !default;
9950
9950
  }
9951
9951
 
9952
9952
  // Input with icon styles
9953
- .k-input-icon {
9953
+ .k-input-icon,
9954
+ .k-input-validation-icon,
9955
+ .k-input-loading-icon {
9954
9956
  width: $input-icon-width;
9955
9957
  height: $input-icon-height;
9956
9958
  display: inline-flex;
@@ -9958,21 +9960,6 @@ $input-separator-opacity: .5 !default;
9958
9960
  align-items: center;
9959
9961
  justify-content: center;
9960
9962
  flex-shrink: 0;
9961
-
9962
- .k-ie9 & {
9963
- position: absolute;
9964
- height: 100%;
9965
- right: 0;
9966
- top: 0;
9967
- }
9968
-
9969
- .k-rtl &,
9970
- [dir="rtl"] & {
9971
- .k-ie9 & {
9972
- left: 0;
9973
- right: auto;
9974
- }
9975
- }
9976
9963
  }
9977
9964
 
9978
9965
 
@@ -11414,7 +11401,7 @@ $window-sizes: (
11414
11401
  .k-maskedtextbox,
11415
11402
  .k-textbox-container,
11416
11403
  .k-floating-label-container {
11417
- display: flex;
11404
+ display: inline-flex;
11418
11405
  width: 100%;
11419
11406
  }
11420
11407
 
@@ -11475,6 +11462,7 @@ $window-sizes: (
11475
11462
  margin-right: $horizontal-form-label-margin-x;
11476
11463
  padding-top: $horizontal-form-label-padding-top;
11477
11464
  width: $horizontal-form-label-width;
11465
+ text-align: end;
11478
11466
  flex-direction: column;
11479
11467
  align-items: $horizontal-form-label-align;
11480
11468
  justify-content: flex-start;
@@ -12502,7 +12490,7 @@ $checkbox-ripple-opacity: .38 !default;
12502
12490
 
12503
12491
 
12504
12492
  // Hover state
12505
- .k-checkbox:hover
12493
+ .k-checkbox:hover,
12506
12494
  .k-checkbox.k-state-hover {
12507
12495
  @include fill(
12508
12496
  $checkbox-hovered-text,
@@ -14975,6 +14963,7 @@ $message-box-link-text-decoration: underline !default;
14975
14963
 
14976
14964
  // Actions orientation
14977
14965
  .k-actions-horizontal {
14966
+ width: 100%;
14978
14967
  flex-flow: row nowrap;
14979
14968
  }
14980
14969
  .k-actions-vertical {
@@ -17537,26 +17526,6 @@ $autocomplete-invalid-shadow: $invalid-shadow !default;
17537
17526
  height: $input-icon-height;
17538
17527
  }
17539
17528
 
17540
-
17541
- // Clear value
17542
- .k-clear-value {
17543
- visibility: hidden;
17544
- }
17545
- &:hover,
17546
- // &:focus-within,
17547
- &.k-state-hover,
17548
- &.k-state-focused,
17549
- &.k-state-focus {
17550
- .k-clear-value {
17551
- visibility: visible;
17552
- }
17553
- }
17554
- &:focus-within {
17555
- .k-clear-value {
17556
- visibility: visible;
17557
- }
17558
- }
17559
-
17560
17529
  }
17561
17530
 
17562
17531
 
@@ -18066,23 +18035,12 @@ $numeric-button-pressed-gradient: null !default;
18066
18035
  top: -$spinner-icon-offset;
18067
18036
  }
18068
18037
 
18069
- .k-i-warning {
18070
- align-self: center;
18071
- margin-right: $spacer-x / 2;
18072
- }
18073
-
18074
18038
 
18075
18039
  // RTL
18076
18040
  .k-rtl &,
18077
18041
  &[dir="rtl"] {
18078
18042
  text-align: right;
18079
18043
 
18080
- .k-numeric-wrap .k-i-warning {
18081
- align-self: center;
18082
- margin-right: 0;
18083
- margin-left: $spacer-x / 2;
18084
- }
18085
-
18086
18044
  .k-select {
18087
18045
  @include border-left-radius-only( $input-border-radius );
18088
18046
  border-width: 0 $picker-select-border-width 0 0;
@@ -19180,28 +19138,6 @@ $combobox-select-pressed-gradient: null !default;
19180
19138
  // Input
19181
19139
  .k-input {}
19182
19140
 
19183
-
19184
- // Clear value
19185
- .k-clear-value {
19186
- visibility: hidden;
19187
- }
19188
- &:hover,
19189
- // &:focus-within,
19190
- &.k-state-hover,
19191
- &.k-state-focused,
19192
- &.k-state-focus,
19193
- .k-dropdown-wrap.k-state-hover,
19194
- .k-dropdown-wrap.k-state-focused {
19195
- .k-clear-value {
19196
- visibility: visible;
19197
- }
19198
- }
19199
- &:focus-within {
19200
- .k-clear-value {
19201
- visibility: visible;
19202
- }
19203
- }
19204
-
19205
19141
  // Select
19206
19142
  .k-select {
19207
19143
  @include border-right-radius-only( $input-border-radius );
@@ -20489,26 +20425,11 @@ $datetime-select-pressed-gradient: null !default;
20489
20425
  }
20490
20426
 
20491
20427
 
20492
- // Validation icon
20493
- .k-i-warning {
20494
- position: absolute;
20495
- right: $padding-x;
20496
- top: 50%;
20497
- transform: translateY(-50%);
20498
- overflow: visible;
20499
- }
20500
-
20501
-
20502
20428
  // RTL
20503
20429
  .k-rtl &,
20504
20430
  &[dir="rtl"] {
20505
20431
  text-align: right;
20506
20432
 
20507
- .k-dateinput-wrap .k-i-warning {
20508
- left: $padding-x;
20509
- right: auto;
20510
- }
20511
-
20512
20433
  .k-select {
20513
20434
  @include border-left-radius-only( $input-border-radius );
20514
20435
  border-width: 0 $picker-select-border-width 0 0;
@@ -20596,16 +20517,6 @@ $datetime-select-pressed-gradient: null !default;
20596
20517
  }
20597
20518
 
20598
20519
 
20599
- // Validation icon
20600
- .k-i-warning {
20601
- position: absolute;
20602
- top: 50%;
20603
- right: calc( #{ $button-inner-calc-size } + #{ $input-padding-x-sm });
20604
- transform: translateY(-50%);
20605
- overflow: visible;
20606
- }
20607
-
20608
-
20609
20520
  // RTL
20610
20521
  .k-rtl &,
20611
20522
  &[dir="rtl"] {
@@ -20615,11 +20526,6 @@ $datetime-select-pressed-gradient: null !default;
20615
20526
  @include border-left-radius-only( $input-border-radius );
20616
20527
  border-width: 0 $picker-select-border-width 0 0;
20617
20528
  }
20618
-
20619
- .k-i-warning {
20620
- right: auto;
20621
- left: calc( #{ $button-inner-calc-size } + #{ $input-padding-x-sm });
20622
- }
20623
20529
  }
20624
20530
  }
20625
20531
 
@@ -20691,16 +20597,6 @@ $datetime-select-pressed-gradient: null !default;
20691
20597
  }
20692
20598
 
20693
20599
 
20694
- // Validation icon
20695
- .k-i-warning {
20696
- position: absolute;
20697
- top: 50%;
20698
- right: calc( #{ $button-inner-calc-size } * 2 + #{ $input-padding-x-sm });
20699
- transform: translateY(-50%);
20700
- overflow: visible;
20701
- }
20702
-
20703
-
20704
20600
  // RTL
20705
20601
  .k-rtl &,
20706
20602
  &[dir="rtl"] {
@@ -20710,11 +20606,6 @@ $datetime-select-pressed-gradient: null !default;
20710
20606
  @include border-left-radius-only( $input-border-radius );
20711
20607
  border-width: 0 $picker-select-border-width 0 0;
20712
20608
  }
20713
-
20714
- .k-i-warning {
20715
- right: auto;
20716
- left: calc( #{ $button-inner-calc-size } * 2 + #{ $input-padding-x-sm });
20717
- }
20718
20609
  }
20719
20610
  }
20720
20611
 
@@ -22096,18 +21987,6 @@ $dropdownlist-select-focused-text: $input-text !default;
22096
21987
  text-align: center;
22097
21988
  cursor: pointer;
22098
21989
  }
22099
-
22100
- // Clear value
22101
- .k-clear-value {
22102
- visibility: hidden;
22103
- }
22104
- &.k-state-focused,
22105
- &.k-state-hover,
22106
- &:hover {
22107
- .k-clear-value {
22108
- visibility: visible;
22109
- }
22110
- }
22111
21990
  }
22112
21991
 
22113
21992
  }
@@ -22530,18 +22409,10 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
22530
22409
 
22531
22410
  // Clear value
22532
22411
  .k-clear-value {
22533
- visibility: hidden;
22534
22412
  position: absolute;
22535
22413
  top: 0;
22536
22414
  right: 0;
22537
22415
  }
22538
- &:hover,
22539
- &.k-state-hover,
22540
- &.k-state-focused {
22541
- .k-clear-value {
22542
- visibility: visible;
22543
- }
22544
- }
22545
22416
 
22546
22417
  // Select
22547
22418
  > .k-select {
@@ -22563,17 +22434,6 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
22563
22434
  right: $multiselect-clear-right;
22564
22435
  }
22565
22436
 
22566
-
22567
- &.k-state-hover,
22568
- &.k-state-focused,
22569
- &.k-state-focus {
22570
- > .k-multiselect-wrap {
22571
- .k-clear-value {
22572
- visibility: visible;
22573
- }
22574
- }
22575
- }
22576
-
22577
22437
  &[dir="rtl"],
22578
22438
  .k-rtl & {
22579
22439
  text-align: right;
@@ -23413,6 +23273,7 @@ $searchbox-focus-border: $input-focused-border !default;
23413
23273
  @include border-radius( $searchbox-border-radius );
23414
23274
  border-width: 1px;
23415
23275
  border-style: solid;
23276
+ box-sizing: border-box;
23416
23277
  font-family: $searchbox-font-family;
23417
23278
  font-size: $searchbox-font-size;
23418
23279
  line-height: $searchbox-line-height;
@@ -25699,6 +25560,7 @@ $appbar-bottom-box-shadow: 0px -2px 3px rgba(0, 0, 0, .24) !default;
25699
25560
  }
25700
25561
 
25701
25562
  // Buttons Layout
25563
+ .k-window-buttons,
25702
25564
  .k-window-buttongroup {
25703
25565
  @include border-bottom-radius( $window-border-radius );
25704
25566
  padding: $window-buttongroup-padding-y $window-buttongroup-padding-x;
@@ -27407,6 +27269,7 @@ $card-focus-callout-box-shadow-w: null !default;
27407
27269
  height: $card-callout-height;
27408
27270
  border-width: $card-border-width $card-border-width 0 0;
27409
27271
  border-style: solid;
27272
+ box-sizing: border-box;
27410
27273
  position: absolute;
27411
27274
  }
27412
27275
 
@@ -38521,6 +38384,14 @@ $editor-highlighted-bg: mix($primary, #ffffff, 20%) !default;
38521
38384
 
38522
38385
  $editor-export-tool-icon-margin-x: .5em !default;
38523
38386
 
38387
+ $editor-resize-handle-size: 5px !default;
38388
+ $editor-resize-handle-border-width: 1px !default;
38389
+ $editor-resize-handle-border: #000000 !default;
38390
+ $editor-resize-handle-bg: #ffffff !default;
38391
+
38392
+ $editor-selectednode-outline-width: 2px !default;
38393
+ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex-length
38394
+
38524
38395
  // #endregion
38525
38396
  // #region @import "_layout.scss"; -> packages/material/scss/editor/_layout.scss
38526
38397
  // #region @import "~@progress/kendo-theme-default/scss/editor/_layout.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/editor/_layout.scss
@@ -38594,6 +38465,89 @@ $editor-export-tool-icon-margin-x: .5em !default;
38594
38465
  overflow: auto;
38595
38466
  }
38596
38467
 
38468
+ // Resizable images
38469
+ .k-editor-resize-handles-wrapper {
38470
+ position: absolute;
38471
+ visibility: hidden;
38472
+ }
38473
+ .k-editor-resize-handle {
38474
+ width: $editor-resize-handle-size;
38475
+ height: $editor-resize-handle-size;
38476
+ border-width: $editor-resize-handle-border-width;
38477
+ border-style: solid;
38478
+ position: absolute;
38479
+ visibility: visible;
38480
+ z-index: 100;
38481
+
38482
+ &.northwest {
38483
+ top: 0;
38484
+ left: 0;
38485
+ transform: translate(-50%, -50%);
38486
+ cursor: nw-resize;
38487
+ }
38488
+
38489
+ &.north {
38490
+ top: 0;
38491
+ left: 50%;
38492
+ transform: translate(-50%, -50%);
38493
+ cursor: n-resize;
38494
+ }
38495
+
38496
+ &.northeast {
38497
+ top: 0;
38498
+ right: 0;
38499
+ transform: translate(50%, -50%);
38500
+ cursor: ne-resize;
38501
+ }
38502
+
38503
+ &.southwest {
38504
+ left: 0;
38505
+ bottom: 0;
38506
+ transform: translate(-50%, 50%);
38507
+ cursor: sw-resize;
38508
+ }
38509
+
38510
+ &.south {
38511
+ bottom: 0;
38512
+ left: 50%;
38513
+ transform: translate(-50%, 50%);
38514
+ cursor: s-resize;
38515
+ }
38516
+
38517
+ &.southeast {
38518
+ right: 0;
38519
+ bottom: 0;
38520
+ transform: translate(50%, 50%);
38521
+ cursor: se-resize;
38522
+ }
38523
+
38524
+ &.west {
38525
+ top: 50%;
38526
+ left: 0;
38527
+ transform: translate(-50%, -50%);
38528
+ cursor: w-resize;
38529
+ }
38530
+
38531
+ &.east {
38532
+ top: 50%;
38533
+ right: 0;
38534
+ transform: translate(50%, -50%);
38535
+ cursor: e-resize;
38536
+ }
38537
+ }
38538
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
38539
+ outline-width: $editor-selectednode-outline-width;
38540
+ outline-style: solid;
38541
+ }
38542
+ .ProseMirror-hideselection { // sass-lint:disable-line class-name-format
38543
+ caret-color: transparent;
38544
+
38545
+ *::selection,
38546
+ *::-moz-selection {
38547
+ background: transparent;
38548
+ }
38549
+ }
38550
+
38597
38551
  // Toolbar
38598
38552
  .k-editor > .k-toolbar {
38599
38553
  border-width: 0 0 $toolbar-border-width 0;
@@ -38667,6 +38621,7 @@ $editor-export-tool-icon-margin-x: .5em !default;
38667
38621
  padding: $padding-x;
38668
38622
  width: 100%;
38669
38623
  height: 100%;
38624
+ position: relative;
38670
38625
  box-sizing: border-box;
38671
38626
  outline: none;
38672
38627
  white-space: pre-wrap;
@@ -39333,6 +39288,15 @@ $editor-export-tool-icon-margin-x: .5em !default;
39333
39288
  }
39334
39289
  }
39335
39290
 
39291
+ // Resizable images
39292
+ .k-editor-resize-handle {
39293
+ background-color: $editor-resize-handle-bg;
39294
+ border-color: $editor-resize-handle-border;
39295
+ }
39296
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
39297
+ outline-color: $editor-selectednode-outline-color;
39298
+ }
39299
+
39336
39300
 
39337
39301
  // Insert table
39338
39302
  .k-ct-popup {
@@ -43080,12 +43044,12 @@ $chat-bubble-border-radius-sm: 2px !default;
43080
43044
  $chat-avatar-size: 32px !default;
43081
43045
  $chat-avatar-spacing: $chat-item-spacing-x !default;
43082
43046
 
43083
- $chat-message-box-padding-x: $chat-padding-x !default;
43084
- $chat-message-box-padding-y: 10px !default;
43047
+ $chat-message-box-padding-x: $input-padding-x !default;
43048
+ $chat-message-box-padding-y: $input-padding-y !default;
43085
43049
 
43086
- $chat-toolbar-padding-x: $chat-padding-x !default;
43087
- $chat-toolbar-padding-y: 10px !default;
43088
- $chat-toolbar-spacing: 20px !default;
43050
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
43051
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
43052
+ $chat-toolbar-spacing: $toolbar-spacing !default;
43089
43053
  $chat-toolbar-bg: try-shade( $button-bg, .5 ) !default;
43090
43054
  $chat-toolbar-text: $toolbar-text !default;
43091
43055
  $chat-toolbar-border: inherit !default;
@@ -43405,14 +43369,24 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
43405
43369
 
43406
43370
  // Message box
43407
43371
  .k-message-box {
43372
+ width: 100%;
43373
+ height: auto;
43408
43374
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
43375
+ box-sizing: border-box;
43409
43376
  border-width: 1px 0 0;
43410
43377
  border-style: solid;
43411
- flex: 0 0 auto;
43378
+ flex: none;
43412
43379
  display: flex;
43413
43380
  flex-flow: row nowrap;
43414
43381
  align-items: center;
43415
43382
 
43383
+ &:focus,
43384
+ &.k-state-focus,
43385
+ &:focus-within {
43386
+ outline: 0;
43387
+ box-shadow: none;
43388
+ }
43389
+
43416
43390
  // Input
43417
43391
  .k-input {
43418
43392
  padding: 0;
@@ -43550,11 +43524,17 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
43550
43524
 
43551
43525
  .k-chat-toolbar,
43552
43526
  .k-chat .k-toolbar-box {
43527
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
43553
43528
  width: 100%;
43529
+ border-width: 1px 0 0;
43554
43530
  box-sizing: border-box;
43531
+ flex: none;
43555
43532
  overflow: hidden;
43556
43533
  position: relative;
43557
- flex: 0 0 auto;
43534
+
43535
+ &::before {
43536
+ display: none;
43537
+ }
43558
43538
 
43559
43539
  .k-button-list {
43560
43540
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -43565,18 +43545,13 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
43565
43545
  overflow: hidden;
43566
43546
  // overflow-x: auto;
43567
43547
  scroll-behavior: smooth;
43568
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
43569
-
43570
- // fix for flex container disregarding the right padding
43571
- &::after {
43572
- content: "";
43573
- padding-right: $chat-toolbar-padding-x;
43574
- }
43548
+ }
43575
43549
 
43576
- .k-button + .k-button {
43577
- margin-left: $chat-toolbar-spacing;
43578
- flex-shrink: 0;
43579
- }
43550
+ .k-button {
43551
+ border-color: transparent;
43552
+ color: inherit;
43553
+ background: none;
43554
+ flex: none;
43580
43555
  }
43581
43556
 
43582
43557
 
@@ -43593,13 +43568,6 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
43593
43568
  right: 0;
43594
43569
  }
43595
43570
 
43596
- .k-button {
43597
- border-width: 0;
43598
- color: inherit;
43599
- background: none;
43600
- flex-shrink: 0;
43601
- }
43602
-
43603
43571
 
43604
43572
  }
43605
43573
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-default",
3
3
  "description": "SASS resources for the default Kendo UI theme",
4
- "version": "4.42.1-dev.0",
4
+ "version": "4.42.1-dev.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -47,5 +47,5 @@
47
47
  "dart:flat": "gulp dart:flat",
48
48
  "prepublishOnly": "echo 'no prebublish for default theme'"
49
49
  },
50
- "gitHead": "8575a79ff8c17831e06014204962beb77190180b"
50
+ "gitHead": "0c0e482d04f4474619507a96d33f9e127c116cd1"
51
51
  }
@@ -59,6 +59,7 @@
59
59
 
60
60
  // Actions orientation
61
61
  .k-actions-horizontal {
62
+ width: 100%;
62
63
  flex-flow: row nowrap;
63
64
  }
64
65
  .k-actions-vertical {
@@ -33,26 +33,6 @@
33
33
  height: $input-icon-height;
34
34
  }
35
35
 
36
-
37
- // Clear value
38
- .k-clear-value {
39
- visibility: hidden;
40
- }
41
- &:hover,
42
- // &:focus-within,
43
- &.k-state-hover,
44
- &.k-state-focused,
45
- &.k-state-focus {
46
- .k-clear-value {
47
- visibility: visible;
48
- }
49
- }
50
- &:focus-within {
51
- .k-clear-value {
52
- visibility: visible;
53
- }
54
- }
55
-
56
36
  }
57
37
 
58
38
 
@@ -329,6 +329,7 @@
329
329
  height: $card-callout-height;
330
330
  border-width: $card-border-width $card-border-width 0 0;
331
331
  border-style: solid;
332
+ box-sizing: border-box;
332
333
  position: absolute;
333
334
  }
334
335
 
@@ -266,14 +266,24 @@
266
266
 
267
267
  // Message box
268
268
  .k-message-box {
269
+ width: 100%;
270
+ height: auto;
269
271
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
272
+ box-sizing: border-box;
270
273
  border-width: 1px 0 0;
271
274
  border-style: solid;
272
- flex: 0 0 auto;
275
+ flex: none;
273
276
  display: flex;
274
277
  flex-flow: row nowrap;
275
278
  align-items: center;
276
279
 
280
+ &:focus,
281
+ &.k-state-focus,
282
+ &:focus-within {
283
+ outline: 0;
284
+ box-shadow: none;
285
+ }
286
+
277
287
  // Input
278
288
  .k-input {
279
289
  padding: 0;
@@ -411,11 +421,17 @@
411
421
 
412
422
  .k-chat-toolbar,
413
423
  .k-chat .k-toolbar-box {
424
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
414
425
  width: 100%;
426
+ border-width: 1px 0 0;
415
427
  box-sizing: border-box;
428
+ flex: none;
416
429
  overflow: hidden;
417
430
  position: relative;
418
- flex: 0 0 auto;
431
+
432
+ &::before {
433
+ display: none;
434
+ }
419
435
 
420
436
  .k-button-list {
421
437
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -426,18 +442,13 @@
426
442
  overflow: hidden;
427
443
  // overflow-x: auto;
428
444
  scroll-behavior: smooth;
429
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
430
-
431
- // fix for flex container disregarding the right padding
432
- &::after {
433
- content: "";
434
- padding-right: $chat-toolbar-padding-x;
435
- }
445
+ }
436
446
 
437
- .k-button + .k-button {
438
- margin-left: $chat-toolbar-spacing;
439
- flex-shrink: 0;
440
- }
447
+ .k-button {
448
+ border-color: transparent;
449
+ color: inherit;
450
+ background: none;
451
+ flex: none;
441
452
  }
442
453
 
443
454
 
@@ -454,13 +465,6 @@
454
465
  right: 0;
455
466
  }
456
467
 
457
- .k-button {
458
- border-width: 0;
459
- color: inherit;
460
- background: none;
461
- flex-shrink: 0;
462
- }
463
-
464
468
 
465
469
  }
466
470
 
@@ -32,12 +32,12 @@ $chat-bubble-border-radius-sm: 2px !default;
32
32
  $chat-avatar-size: 32px !default;
33
33
  $chat-avatar-spacing: $chat-item-spacing-x !default;
34
34
 
35
- $chat-message-box-padding-x: $chat-padding-x !default;
36
- $chat-message-box-padding-y: 10px !default;
35
+ $chat-message-box-padding-x: $input-padding-x !default;
36
+ $chat-message-box-padding-y: $input-padding-y !default;
37
37
 
38
- $chat-toolbar-padding-x: $chat-padding-x !default;
39
- $chat-toolbar-padding-y: 10px !default;
40
- $chat-toolbar-spacing: 20px !default;
38
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
39
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
40
+ $chat-toolbar-spacing: $toolbar-spacing !default;
41
41
  $chat-toolbar-bg: $toolbar-bg !default;
42
42
  $chat-toolbar-text: $toolbar-text !default;
43
43
  $chat-toolbar-border: inherit !default;
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
  // Hover state
14
- .k-checkbox:hover
14
+ .k-checkbox:hover,
15
15
  .k-checkbox.k-state-hover {
16
16
  @include fill(
17
17
  $checkbox-hovered-text,