@progress/kendo-theme-bootstrap 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 +142 -173
  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/_variables.scss +8 -0
  25. package/scss/switch/_layout.scss +2 -1
package/dist/all.scss CHANGED
@@ -10927,7 +10927,9 @@ $input-separator-opacity: .5 !default;
10927
10927
  }
10928
10928
 
10929
10929
  // Input with icon styles
10930
- .k-input-icon {
10930
+ .k-input-icon,
10931
+ .k-input-validation-icon,
10932
+ .k-input-loading-icon {
10931
10933
  width: $input-icon-width;
10932
10934
  height: $input-icon-height;
10933
10935
  display: inline-flex;
@@ -10935,21 +10937,6 @@ $input-separator-opacity: .5 !default;
10935
10937
  align-items: center;
10936
10938
  justify-content: center;
10937
10939
  flex-shrink: 0;
10938
-
10939
- .k-ie9 & {
10940
- position: absolute;
10941
- height: 100%;
10942
- right: 0;
10943
- top: 0;
10944
- }
10945
-
10946
- .k-rtl &,
10947
- [dir="rtl"] & {
10948
- .k-ie9 & {
10949
- left: 0;
10950
- right: auto;
10951
- }
10952
- }
10953
10940
  }
10954
10941
 
10955
10942
 
@@ -12338,7 +12325,7 @@ $window-sizes: (
12338
12325
  .k-maskedtextbox,
12339
12326
  .k-textbox-container,
12340
12327
  .k-floating-label-container {
12341
- display: flex;
12328
+ display: inline-flex;
12342
12329
  width: 100%;
12343
12330
  }
12344
12331
 
@@ -12399,6 +12386,7 @@ $window-sizes: (
12399
12386
  margin-right: $horizontal-form-label-margin-x;
12400
12387
  padding-top: $horizontal-form-label-padding-top;
12401
12388
  width: $horizontal-form-label-width;
12389
+ text-align: end;
12402
12390
  flex-direction: column;
12403
12391
  align-items: $horizontal-form-label-align;
12404
12392
  justify-content: flex-start;
@@ -13398,7 +13386,7 @@ $checkbox-ripple-opacity: .3 !default;
13398
13386
 
13399
13387
 
13400
13388
  // Hover state
13401
- .k-checkbox:hover
13389
+ .k-checkbox:hover,
13402
13390
  .k-checkbox.k-state-hover {
13403
13391
  @include fill(
13404
13392
  $checkbox-hovered-text,
@@ -14178,7 +14166,8 @@ $switch-off-handle-hovered-gradient: null !default;
14178
14166
  @include exports( "switch/layout/bootstrap" ) {
14179
14167
 
14180
14168
  // Switch
14181
- .k-switch.k-disabled {
14169
+ .k-switch.k-disabled,
14170
+ .k-switch.k-state-disabled {
14182
14171
  opacity: 1;
14183
14172
  filter: none;
14184
14173
  }
@@ -15672,6 +15661,7 @@ $message-box-link-text-decoration: underline !default;
15672
15661
 
15673
15662
  // Actions orientation
15674
15663
  .k-actions-horizontal {
15664
+ width: 100%;
15675
15665
  flex-flow: row nowrap;
15676
15666
  }
15677
15667
  .k-actions-vertical {
@@ -17979,26 +17969,6 @@ $autocomplete-invalid-shadow: $invalid-shadow !default;
17979
17969
  height: $input-icon-height;
17980
17970
  }
17981
17971
 
17982
-
17983
- // Clear value
17984
- .k-clear-value {
17985
- visibility: hidden;
17986
- }
17987
- &:hover,
17988
- // &:focus-within,
17989
- &.k-state-hover,
17990
- &.k-state-focused,
17991
- &.k-state-focus {
17992
- .k-clear-value {
17993
- visibility: visible;
17994
- }
17995
- }
17996
- &:focus-within {
17997
- .k-clear-value {
17998
- visibility: visible;
17999
- }
18000
- }
18001
-
18002
17972
  }
18003
17973
 
18004
17974
 
@@ -18491,23 +18461,12 @@ $numeric-button-pressed-gradient: $button-active-gradient !default;
18491
18461
  top: -$spinner-icon-offset;
18492
18462
  }
18493
18463
 
18494
- .k-i-warning {
18495
- align-self: center;
18496
- margin-right: $spacer-x / 2;
18497
- }
18498
-
18499
18464
 
18500
18465
  // RTL
18501
18466
  .k-rtl &,
18502
18467
  &[dir="rtl"] {
18503
18468
  text-align: right;
18504
18469
 
18505
- .k-numeric-wrap .k-i-warning {
18506
- align-self: center;
18507
- margin-right: 0;
18508
- margin-left: $spacer-x / 2;
18509
- }
18510
-
18511
18470
  .k-select {
18512
18471
  @include border-left-radius-only( $input-border-radius );
18513
18472
  border-width: 0 $picker-select-border-width 0 0;
@@ -19528,28 +19487,6 @@ $combobox-select-pressed-gradient: $button-active-gradient !default;
19528
19487
  // Input
19529
19488
  .k-input {}
19530
19489
 
19531
-
19532
- // Clear value
19533
- .k-clear-value {
19534
- visibility: hidden;
19535
- }
19536
- &:hover,
19537
- // &:focus-within,
19538
- &.k-state-hover,
19539
- &.k-state-focused,
19540
- &.k-state-focus,
19541
- .k-dropdown-wrap.k-state-hover,
19542
- .k-dropdown-wrap.k-state-focused {
19543
- .k-clear-value {
19544
- visibility: visible;
19545
- }
19546
- }
19547
- &:focus-within {
19548
- .k-clear-value {
19549
- visibility: visible;
19550
- }
19551
- }
19552
-
19553
19490
  // Select
19554
19491
  .k-select {
19555
19492
  @include border-right-radius-only( $input-border-radius );
@@ -20787,26 +20724,11 @@ $datetime-select-pressed-gradient: $button-active-gradient !default;
20787
20724
  }
20788
20725
 
20789
20726
 
20790
- // Validation icon
20791
- .k-i-warning {
20792
- position: absolute;
20793
- right: $padding-x;
20794
- top: 50%;
20795
- transform: translateY(-50%);
20796
- overflow: visible;
20797
- }
20798
-
20799
-
20800
20727
  // RTL
20801
20728
  .k-rtl &,
20802
20729
  &[dir="rtl"] {
20803
20730
  text-align: right;
20804
20731
 
20805
- .k-dateinput-wrap .k-i-warning {
20806
- left: $padding-x;
20807
- right: auto;
20808
- }
20809
-
20810
20732
  .k-select {
20811
20733
  @include border-left-radius-only( $input-border-radius );
20812
20734
  border-width: 0 $picker-select-border-width 0 0;
@@ -20894,16 +20816,6 @@ $datetime-select-pressed-gradient: $button-active-gradient !default;
20894
20816
  }
20895
20817
 
20896
20818
 
20897
- // Validation icon
20898
- .k-i-warning {
20899
- position: absolute;
20900
- top: 50%;
20901
- right: calc( #{ $button-inner-calc-size } + #{ $input-padding-x-sm });
20902
- transform: translateY(-50%);
20903
- overflow: visible;
20904
- }
20905
-
20906
-
20907
20819
  // RTL
20908
20820
  .k-rtl &,
20909
20821
  &[dir="rtl"] {
@@ -20913,11 +20825,6 @@ $datetime-select-pressed-gradient: $button-active-gradient !default;
20913
20825
  @include border-left-radius-only( $input-border-radius );
20914
20826
  border-width: 0 $picker-select-border-width 0 0;
20915
20827
  }
20916
-
20917
- .k-i-warning {
20918
- right: auto;
20919
- left: calc( #{ $button-inner-calc-size } + #{ $input-padding-x-sm });
20920
- }
20921
20828
  }
20922
20829
  }
20923
20830
 
@@ -20989,16 +20896,6 @@ $datetime-select-pressed-gradient: $button-active-gradient !default;
20989
20896
  }
20990
20897
 
20991
20898
 
20992
- // Validation icon
20993
- .k-i-warning {
20994
- position: absolute;
20995
- top: 50%;
20996
- right: calc( #{ $button-inner-calc-size } * 2 + #{ $input-padding-x-sm });
20997
- transform: translateY(-50%);
20998
- overflow: visible;
20999
- }
21000
-
21001
-
21002
20899
  // RTL
21003
20900
  .k-rtl &,
21004
20901
  &[dir="rtl"] {
@@ -21008,11 +20905,6 @@ $datetime-select-pressed-gradient: $button-active-gradient !default;
21008
20905
  @include border-left-radius-only( $input-border-radius );
21009
20906
  border-width: 0 $picker-select-border-width 0 0;
21010
20907
  }
21011
-
21012
- .k-i-warning {
21013
- right: auto;
21014
- left: calc( #{ $button-inner-calc-size } * 2 + #{ $input-padding-x-sm });
21015
- }
21016
20908
  }
21017
20909
  }
21018
20910
 
@@ -22286,18 +22178,6 @@ $dropdownlist-focused-shadow: $button-focused-shadow !default;
22286
22178
  text-align: center;
22287
22179
  cursor: pointer;
22288
22180
  }
22289
-
22290
- // Clear value
22291
- .k-clear-value {
22292
- visibility: hidden;
22293
- }
22294
- &.k-state-focused,
22295
- &.k-state-hover,
22296
- &:hover {
22297
- .k-clear-value {
22298
- visibility: visible;
22299
- }
22300
- }
22301
22181
  }
22302
22182
 
22303
22183
  }
@@ -22669,18 +22549,10 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
22669
22549
 
22670
22550
  // Clear value
22671
22551
  .k-clear-value {
22672
- visibility: hidden;
22673
22552
  position: absolute;
22674
22553
  top: 0;
22675
22554
  right: 0;
22676
22555
  }
22677
- &:hover,
22678
- &.k-state-hover,
22679
- &.k-state-focused {
22680
- .k-clear-value {
22681
- visibility: visible;
22682
- }
22683
- }
22684
22556
 
22685
22557
  // Select
22686
22558
  > .k-select {
@@ -22702,17 +22574,6 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
22702
22574
  right: $multiselect-clear-right;
22703
22575
  }
22704
22576
 
22705
-
22706
- &.k-state-hover,
22707
- &.k-state-focused,
22708
- &.k-state-focus {
22709
- > .k-multiselect-wrap {
22710
- .k-clear-value {
22711
- visibility: visible;
22712
- }
22713
- }
22714
- }
22715
-
22716
22577
  &[dir="rtl"],
22717
22578
  .k-rtl & {
22718
22579
  text-align: right;
@@ -23513,6 +23374,7 @@ $searchbox-focus-border: $input-focused-border !default;
23513
23374
  @include border-radius( $searchbox-border-radius );
23514
23375
  border-width: 1px;
23515
23376
  border-style: solid;
23377
+ box-sizing: border-box;
23516
23378
  font-family: $searchbox-font-family;
23517
23379
  font-size: $searchbox-font-size;
23518
23380
  line-height: $searchbox-line-height;
@@ -25716,6 +25578,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
25716
25578
  }
25717
25579
 
25718
25580
  // Buttons Layout
25581
+ .k-window-buttons,
25719
25582
  .k-window-buttongroup {
25720
25583
  @include border-bottom-radius( $window-border-radius );
25721
25584
  padding: $window-buttongroup-padding-y $window-buttongroup-padding-x;
@@ -27385,6 +27248,7 @@ $card-focus-callout-box-shadow-w: $card-focus-shadow !default;
27385
27248
  height: $card-callout-height;
27386
27249
  border-width: $card-border-width $card-border-width 0 0;
27387
27250
  border-style: solid;
27251
+ box-sizing: border-box;
27388
27252
  position: absolute;
27389
27253
  }
27390
27254
 
@@ -37926,6 +37790,14 @@ $editor-highlighted-bg: mix($primary, #ffffff, 20%) !default;
37926
37790
 
37927
37791
  $editor-export-tool-icon-margin-x: .25em !default;
37928
37792
 
37793
+ $editor-resize-handle-size: 5px !default;
37794
+ $editor-resize-handle-border-width: 1px !default;
37795
+ $editor-resize-handle-border: #000000 !default;
37796
+ $editor-resize-handle-bg: #ffffff !default;
37797
+
37798
+ $editor-selectednode-outline-width: 2px !default;
37799
+ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex-length
37800
+
37929
37801
  // #endregion
37930
37802
  // #region @import "_layout.scss"; -> packages/bootstrap/scss/editor/_layout.scss
37931
37803
  // #region @import "~@progress/kendo-theme-default/scss/editor/_layout.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/editor/_layout.scss
@@ -37999,6 +37871,89 @@ $editor-export-tool-icon-margin-x: .25em !default;
37999
37871
  overflow: auto;
38000
37872
  }
38001
37873
 
37874
+ // Resizable images
37875
+ .k-editor-resize-handles-wrapper {
37876
+ position: absolute;
37877
+ visibility: hidden;
37878
+ }
37879
+ .k-editor-resize-handle {
37880
+ width: $editor-resize-handle-size;
37881
+ height: $editor-resize-handle-size;
37882
+ border-width: $editor-resize-handle-border-width;
37883
+ border-style: solid;
37884
+ position: absolute;
37885
+ visibility: visible;
37886
+ z-index: 100;
37887
+
37888
+ &.northwest {
37889
+ top: 0;
37890
+ left: 0;
37891
+ transform: translate(-50%, -50%);
37892
+ cursor: nw-resize;
37893
+ }
37894
+
37895
+ &.north {
37896
+ top: 0;
37897
+ left: 50%;
37898
+ transform: translate(-50%, -50%);
37899
+ cursor: n-resize;
37900
+ }
37901
+
37902
+ &.northeast {
37903
+ top: 0;
37904
+ right: 0;
37905
+ transform: translate(50%, -50%);
37906
+ cursor: ne-resize;
37907
+ }
37908
+
37909
+ &.southwest {
37910
+ left: 0;
37911
+ bottom: 0;
37912
+ transform: translate(-50%, 50%);
37913
+ cursor: sw-resize;
37914
+ }
37915
+
37916
+ &.south {
37917
+ bottom: 0;
37918
+ left: 50%;
37919
+ transform: translate(-50%, 50%);
37920
+ cursor: s-resize;
37921
+ }
37922
+
37923
+ &.southeast {
37924
+ right: 0;
37925
+ bottom: 0;
37926
+ transform: translate(50%, 50%);
37927
+ cursor: se-resize;
37928
+ }
37929
+
37930
+ &.west {
37931
+ top: 50%;
37932
+ left: 0;
37933
+ transform: translate(-50%, -50%);
37934
+ cursor: w-resize;
37935
+ }
37936
+
37937
+ &.east {
37938
+ top: 50%;
37939
+ right: 0;
37940
+ transform: translate(50%, -50%);
37941
+ cursor: e-resize;
37942
+ }
37943
+ }
37944
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
37945
+ outline-width: $editor-selectednode-outline-width;
37946
+ outline-style: solid;
37947
+ }
37948
+ .ProseMirror-hideselection { // sass-lint:disable-line class-name-format
37949
+ caret-color: transparent;
37950
+
37951
+ *::selection,
37952
+ *::-moz-selection {
37953
+ background: transparent;
37954
+ }
37955
+ }
37956
+
38002
37957
  // Toolbar
38003
37958
  .k-editor > .k-toolbar {
38004
37959
  border-width: 0 0 $toolbar-border-width 0;
@@ -38072,6 +38027,7 @@ $editor-export-tool-icon-margin-x: .25em !default;
38072
38027
  padding: $padding-x;
38073
38028
  width: 100%;
38074
38029
  height: 100%;
38030
+ position: relative;
38075
38031
  box-sizing: border-box;
38076
38032
  outline: none;
38077
38033
  white-space: pre-wrap;
@@ -38676,6 +38632,15 @@ $editor-export-tool-icon-margin-x: .25em !default;
38676
38632
  }
38677
38633
  }
38678
38634
 
38635
+ // Resizable images
38636
+ .k-editor-resize-handle {
38637
+ background-color: $editor-resize-handle-bg;
38638
+ border-color: $editor-resize-handle-border;
38639
+ }
38640
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
38641
+ outline-color: $editor-selectednode-outline-color;
38642
+ }
38643
+
38679
38644
 
38680
38645
  // Insert table
38681
38646
  .k-ct-popup {
@@ -42124,12 +42089,12 @@ $chat-bubble-border-radius-sm: 2px !default;
42124
42089
  $chat-avatar-size: 32px !default;
42125
42090
  $chat-avatar-spacing: $chat-item-spacing-x !default;
42126
42091
 
42127
- $chat-message-box-padding-x: $chat-padding-x !default;
42128
- $chat-message-box-padding-y: 10px !default;
42092
+ $chat-message-box-padding-x: $input-padding-x !default;
42093
+ $chat-message-box-padding-y: $input-padding-y !default;
42129
42094
 
42130
- $chat-toolbar-padding-x: $chat-padding-x !default;
42131
- $chat-toolbar-padding-y: 10px !default;
42132
- $chat-toolbar-spacing: 20px !default;
42095
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
42096
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
42097
+ $chat-toolbar-spacing: $toolbar-spacing !default;
42133
42098
  $chat-toolbar-bg: $toolbar-bg !default;
42134
42099
  $chat-toolbar-text: $toolbar-text !default;
42135
42100
  $chat-toolbar-border: inherit !default;
@@ -42449,14 +42414,24 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
42449
42414
 
42450
42415
  // Message box
42451
42416
  .k-message-box {
42417
+ width: 100%;
42418
+ height: auto;
42452
42419
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
42420
+ box-sizing: border-box;
42453
42421
  border-width: 1px 0 0;
42454
42422
  border-style: solid;
42455
- flex: 0 0 auto;
42423
+ flex: none;
42456
42424
  display: flex;
42457
42425
  flex-flow: row nowrap;
42458
42426
  align-items: center;
42459
42427
 
42428
+ &:focus,
42429
+ &.k-state-focus,
42430
+ &:focus-within {
42431
+ outline: 0;
42432
+ box-shadow: none;
42433
+ }
42434
+
42460
42435
  // Input
42461
42436
  .k-input {
42462
42437
  padding: 0;
@@ -42594,11 +42569,17 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
42594
42569
 
42595
42570
  .k-chat-toolbar,
42596
42571
  .k-chat .k-toolbar-box {
42572
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
42597
42573
  width: 100%;
42574
+ border-width: 1px 0 0;
42598
42575
  box-sizing: border-box;
42576
+ flex: none;
42599
42577
  overflow: hidden;
42600
42578
  position: relative;
42601
- flex: 0 0 auto;
42579
+
42580
+ &::before {
42581
+ display: none;
42582
+ }
42602
42583
 
42603
42584
  .k-button-list {
42604
42585
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -42609,18 +42590,13 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
42609
42590
  overflow: hidden;
42610
42591
  // overflow-x: auto;
42611
42592
  scroll-behavior: smooth;
42612
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
42613
-
42614
- // fix for flex container disregarding the right padding
42615
- &::after {
42616
- content: "";
42617
- padding-right: $chat-toolbar-padding-x;
42618
- }
42593
+ }
42619
42594
 
42620
- .k-button + .k-button {
42621
- margin-left: $chat-toolbar-spacing;
42622
- flex-shrink: 0;
42623
- }
42595
+ .k-button {
42596
+ border-color: transparent;
42597
+ color: inherit;
42598
+ background: none;
42599
+ flex: none;
42624
42600
  }
42625
42601
 
42626
42602
 
@@ -42637,13 +42613,6 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
42637
42613
  right: 0;
42638
42614
  }
42639
42615
 
42640
- .k-button {
42641
- border-width: 0;
42642
- color: inherit;
42643
- background: none;
42644
- flex-shrink: 0;
42645
- }
42646
-
42647
42616
 
42648
42617
  }
42649
42618
 
@@ -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;