@progress/kendo-theme-bootstrap 5.0.0-alpha.1 → 5.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/all.scss CHANGED
@@ -914,11 +914,17 @@ $popover-header-padding-y: $spacer !default;
914
914
  @return red($value), green($value), blue($value);
915
915
  }
916
916
 
917
+ // stylelint-disable scss/dollar-variable-pattern
917
918
  @function rgba-css-var($identifier, $target) {
918
- @return rgba(var(--#{$variable-prefix}#{$identifier}-rgb), var(--#{$variable-prefix}#{$target}-opacity));
919
+ @if $identifier == "body" and $target == "bg" {
920
+ @return rgba(var(--#{$variable-prefix}#{$identifier}-bg-rgb), var(--#{$variable-prefix}#{$target}-opacity));
921
+ } @if $identifier == "body" and $target == "text" {
922
+ @return rgba(var(--#{$variable-prefix}#{$identifier}-color-rgb), var(--#{$variable-prefix}#{$target}-opacity));
923
+ } @else {
924
+ @return rgba(var(--#{$variable-prefix}#{$identifier}-rgb), var(--#{$variable-prefix}#{$target}-opacity));
925
+ }
919
926
  }
920
927
 
921
- // stylelint-disable scss/dollar-variable-pattern
922
928
  @function map-loop($map, $func, $args...) {
923
929
  $_map: ();
924
930
 
@@ -1585,23 +1591,33 @@ $body-text-align: null !default;
1585
1591
  //
1586
1592
  // Extends the default `$theme-colors` maps to help create our utilities.
1587
1593
 
1594
+ // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
1588
1595
  // scss-docs-start utilities-colors
1589
- $utilities-colors: map-merge(
1590
- $theme-colors-rgb,
1596
+ $utilities-colors: $theme-colors-rgb !default;
1597
+ // scss-docs-end utilities-colors
1598
+
1599
+ // scss-docs-start utilities-text-colors
1600
+ $utilities-text: map-merge(
1601
+ $utilities-colors,
1591
1602
  (
1592
1603
  "black": to-rgb($black),
1593
1604
  "white": to-rgb($white),
1594
- "body": to-rgb($body-color)
1605
+ "body": to-rgb($body-color)
1595
1606
  )
1596
1607
  ) !default;
1597
- // scss-docs-end utilities-colors
1598
-
1599
- // scss-docs-start utilities-text-colors
1600
- $utilities-text-colors: map-loop($utilities-colors, rgba-css-var, "$key", "text") !default;
1608
+ $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
1601
1609
  // scss-docs-end utilities-text-colors
1602
1610
 
1603
1611
  // scss-docs-start utilities-bg-colors
1604
- $utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, "$key", "bg") !default;
1612
+ $utilities-bg: map-merge(
1613
+ $utilities-colors,
1614
+ (
1615
+ "black": to-rgb($black),
1616
+ "white": to-rgb($white),
1617
+ "body": to-rgb($body-bg)
1618
+ )
1619
+ ) !default;
1620
+ $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
1605
1621
  // scss-docs-end utilities-bg-colors
1606
1622
 
1607
1623
  // Links
@@ -2090,7 +2106,7 @@ $form-check-inline-margin-end: 1rem !default;
2090
2106
  // scss-docs-end form-check-variables
2091
2107
 
2092
2108
  // scss-docs-start form-switch-variables
2093
- $form-switch-color: rgba(0, 0, 0, .25) !default;
2109
+ $form-switch-color: rgba($black, .25) !default;
2094
2110
  $form-switch-width: 2em !default;
2095
2111
  $form-switch-padding-start: $form-switch-width + .5em !default;
2096
2112
  $form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
@@ -2138,7 +2154,7 @@ $form-select-feedback-icon-size: $input-height-inner-half $input-height-i
2138
2154
 
2139
2155
  $form-select-border-width: $input-border-width !default;
2140
2156
  $form-select-border-color: $input-border-color !default;
2141
- $form-select-border-radius: $border-radius !default;
2157
+ $form-select-border-radius: $input-border-radius !default;
2142
2158
  $form-select-box-shadow: $box-shadow-inset !default;
2143
2159
 
2144
2160
  $form-select-focus-border-color: $input-focus-border-color !default;
@@ -2148,10 +2164,12 @@ $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focu
2148
2164
  $form-select-padding-y-sm: $input-padding-y-sm !default;
2149
2165
  $form-select-padding-x-sm: $input-padding-x-sm !default;
2150
2166
  $form-select-font-size-sm: $input-font-size-sm !default;
2167
+ $form-select-border-radius-sm: $input-border-radius-sm !default;
2151
2168
 
2152
2169
  $form-select-padding-y-lg: $input-padding-y-lg !default;
2153
2170
  $form-select-padding-x-lg: $input-padding-x-lg !default;
2154
2171
  $form-select-font-size-lg: $input-font-size-lg !default;
2172
+ $form-select-border-radius-lg: $input-border-radius-lg !default;
2155
2173
 
2156
2174
  $form-select-transition: $input-transition !default;
2157
2175
  // scss-docs-end form-select-variables
@@ -2333,7 +2351,7 @@ $dropdown-divider-margin-y: $spacer * .5 !default;
2333
2351
  $dropdown-box-shadow: $box-shadow !default;
2334
2352
 
2335
2353
  $dropdown-link-color: $gray-900 !default;
2336
- $dropdown-link-hover-color: shade-color($gray-900, 10%) !default;
2354
+ $dropdown-link-hover-color: shade-color($dropdown-link-color, 10%) !default;
2337
2355
  $dropdown-link-hover-bg: $gray-200 !default;
2338
2356
 
2339
2357
  $dropdown-link-active-color: $component-active-color !default;
@@ -2538,14 +2556,14 @@ $toast-font-size: .875rem !default;
2538
2556
  $toast-color: null !default;
2539
2557
  $toast-background-color: rgba($white, .85) !default;
2540
2558
  $toast-border-width: 1px !default;
2541
- $toast-border-color: rgba(0, 0, 0, .1) !default;
2559
+ $toast-border-color: rgba($black, .1) !default;
2542
2560
  $toast-border-radius: $border-radius !default;
2543
2561
  $toast-box-shadow: $box-shadow !default;
2544
2562
  $toast-spacing: $container-padding-x !default;
2545
2563
 
2546
2564
  $toast-header-color: $gray-600 !default;
2547
2565
  $toast-header-background-color: rgba($white, .85) !default;
2548
- $toast-header-border-color: rgba(0, 0, 0, .05) !default;
2566
+ $toast-header-border-color: rgba($black, .05) !default;
2549
2567
  // scss-docs-end toast-variables
2550
2568
 
2551
2569
 
@@ -9088,6 +9106,7 @@ $chip-error-focus-shadow: 0 0 0 3px rgba( $error, .16 ) !default;
9088
9106
  font-size: $chip-selected-icon-font-size;
9089
9107
  }
9090
9108
 
9109
+ .k-chip.k-state-selected .k-selected-icon-wrapper,
9091
9110
  .k-chip.k-selected .k-selected-icon-wrapper {
9092
9111
  width: $chip-selected-icon-size;
9093
9112
  visibility: visible;
@@ -9107,6 +9126,7 @@ $chip-error-focus-shadow: 0 0 0 3px rgba( $error, .16 ) !default;
9107
9126
  transition: width .2s, opacity .2s;
9108
9127
  }
9109
9128
 
9129
+ &.k-state-selected .k-selected-icon-wrapper,
9110
9130
  &.k-selected .k-selected-icon-wrapper {
9111
9131
  opacity: 1;
9112
9132
  }
@@ -9230,6 +9250,7 @@ $chip-error-focus-shadow: 0 0 0 3px rgba( $error, .16 ) !default;
9230
9250
  // #region @import "~@progress/kendo-theme-default/scss/chip/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/chip/_theme.scss
9231
9251
  @include exports("chip/theme") {
9232
9252
 
9253
+ .k-selection-multiple .k-chip-has-icon.k-state-selected .k-selected-icon-wrapper,
9233
9254
  .k-selection-multiple .k-chip-has-icon.k-selected .k-selected-icon-wrapper {
9234
9255
  @include fill(
9235
9256
  $color: $chip-multiple-selected-icon-text,
@@ -12456,11 +12477,6 @@ $window-sizes: (
12456
12477
 
12457
12478
 
12458
12479
  .k-multiselect,
12459
- .k-dateinput,
12460
- .k-datepicker,
12461
- .k-datetimepicker,
12462
- .k-daterangepicker-wrap,
12463
- .k-timepicker,
12464
12480
  .k-floating-label-container {
12465
12481
  display: inline-flex;
12466
12482
  width: 100%;
@@ -18924,6 +18940,275 @@ $combobox-select-pressed-gradient: $kendo-button-active-gradient !default;
18924
18940
 
18925
18941
  // #endregion
18926
18942
 
18943
+ // #endregion
18944
+ // #region @import "dateinput/_index.scss"; -> packages/bootstrap/scss/dateinput/_index.scss
18945
+ // #region @import "../core/_index.scss"; -> packages/bootstrap/scss/core/_index.scss
18946
+ // File already imported_once. Skipping output.
18947
+ // #endregion
18948
+
18949
+
18950
+ // Dependencies
18951
+ // #region @import "../common/_index.scss"; -> packages/bootstrap/scss/common/_index.scss
18952
+ // File already imported_once. Skipping output.
18953
+ // #endregion
18954
+ // #region @import "../input/_index.scss"; -> packages/bootstrap/scss/input/_index.scss
18955
+ // File already imported_once. Skipping output.
18956
+ // #endregion
18957
+ // #region @import "../floating-label/_index.scss"; -> packages/bootstrap/scss/floating-label/_index.scss
18958
+ // File already imported_once. Skipping output.
18959
+ // #endregion
18960
+ // #region @import "../popup/_index.scss"; -> packages/bootstrap/scss/popup/_index.scss
18961
+ // File already imported_once. Skipping output.
18962
+ // #endregion
18963
+ // #region @import "../icons/_index.scss"; -> packages/bootstrap/scss/icons/_index.scss
18964
+ // File already imported_once. Skipping output.
18965
+ // #endregion
18966
+
18967
+
18968
+ // Component
18969
+ // #region @import "_variables.scss"; -> packages/bootstrap/scss/dateinput/_variables.scss
18970
+ // Dateinput
18971
+
18972
+ // #endregion
18973
+ // #region @import "_layout.scss"; -> packages/bootstrap/scss/dateinput/_layout.scss
18974
+ // #region @import "~@progress/kendo-theme-default/scss/dateinput/_layout.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/dateinput/_layout.scss
18975
+ @include exports("dateinput/layout") {
18976
+
18977
+ // Date input
18978
+ .k-dateinput {}
18979
+
18980
+ }
18981
+
18982
+ // #endregion
18983
+
18984
+ // #endregion
18985
+ // #region @import "_theme.scss"; -> packages/bootstrap/scss/dateinput/_theme.scss
18986
+ // #region @import "~@progress/kendo-theme-default/scss/dateinput/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/dateinput/_theme.scss
18987
+ @include exports("dateinput/theme") {
18988
+
18989
+ // Date input
18990
+ .k-dateinput {}
18991
+
18992
+ }
18993
+
18994
+ // #endregion
18995
+
18996
+ // #endregion
18997
+
18998
+ // #endregion
18999
+ // #region @import "datepicker/_index.scss"; -> packages/bootstrap/scss/datepicker/_index.scss
19000
+ // #region @import "../core/_index.scss"; -> packages/bootstrap/scss/core/_index.scss
19001
+ // File already imported_once. Skipping output.
19002
+ // #endregion
19003
+
19004
+
19005
+ // Dependencies
19006
+ // #region @import "../common/_index.scss"; -> packages/bootstrap/scss/common/_index.scss
19007
+ // File already imported_once. Skipping output.
19008
+ // #endregion
19009
+ // #region @import "../input/_index.scss"; -> packages/bootstrap/scss/input/_index.scss
19010
+ // File already imported_once. Skipping output.
19011
+ // #endregion
19012
+ // #region @import "../floating-label/_index.scss"; -> packages/bootstrap/scss/floating-label/_index.scss
19013
+ // File already imported_once. Skipping output.
19014
+ // #endregion
19015
+ // #region @import "../popup/_index.scss"; -> packages/bootstrap/scss/popup/_index.scss
19016
+ // File already imported_once. Skipping output.
19017
+ // #endregion
19018
+ // #region @import "../icons/_index.scss"; -> packages/bootstrap/scss/icons/_index.scss
19019
+ // File already imported_once. Skipping output.
19020
+ // #endregion
19021
+
19022
+
19023
+ // Component
19024
+ // #region @import "_variables.scss"; -> packages/bootstrap/scss/datepicker/_variables.scss
19025
+ // Datepicker
19026
+
19027
+ // #endregion
19028
+ // #region @import "_layout.scss"; -> packages/bootstrap/scss/datepicker/_layout.scss
19029
+ // #region @import "~@progress/kendo-theme-default/scss/datepicker/_layout.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/datepicker/_layout.scss
19030
+ @include exports("datepicker/layout") {
19031
+
19032
+ // Date picker
19033
+ .k-datepicker {}
19034
+
19035
+ }
19036
+
19037
+ // #endregion
19038
+
19039
+ // #endregion
19040
+ // #region @import "_theme.scss"; -> packages/bootstrap/scss/datepicker/_theme.scss
19041
+ // #region @import "~@progress/kendo-theme-default/scss/datepicker/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/datepicker/_theme.scss
19042
+ @include exports("datepicker/theme") {
19043
+
19044
+ // Date picker
19045
+ .k-datepicker {}
19046
+
19047
+ }
19048
+
19049
+ // #endregion
19050
+
19051
+ // #endregion
19052
+
19053
+ // #endregion
19054
+ // #region @import "timepicker/_index.scss"; -> packages/bootstrap/scss/timepicker/_index.scss
19055
+ // #region @import "../core/_index.scss"; -> packages/bootstrap/scss/core/_index.scss
19056
+ // File already imported_once. Skipping output.
19057
+ // #endregion
19058
+
19059
+
19060
+ // Dependencies
19061
+ // #region @import "../common/_index.scss"; -> packages/bootstrap/scss/common/_index.scss
19062
+ // File already imported_once. Skipping output.
19063
+ // #endregion
19064
+ // #region @import "../input/_index.scss"; -> packages/bootstrap/scss/input/_index.scss
19065
+ // File already imported_once. Skipping output.
19066
+ // #endregion
19067
+ // #region @import "../floating-label/_index.scss"; -> packages/bootstrap/scss/floating-label/_index.scss
19068
+ // File already imported_once. Skipping output.
19069
+ // #endregion
19070
+ // #region @import "../popup/_index.scss"; -> packages/bootstrap/scss/popup/_index.scss
19071
+ // File already imported_once. Skipping output.
19072
+ // #endregion
19073
+ // #region @import "../icons/_index.scss"; -> packages/bootstrap/scss/icons/_index.scss
19074
+ // File already imported_once. Skipping output.
19075
+ // #endregion
19076
+
19077
+
19078
+ // Component
19079
+ // #region @import "_variables.scss"; -> packages/bootstrap/scss/timepicker/_variables.scss
19080
+ // Timepicker
19081
+
19082
+ // #endregion
19083
+ // #region @import "_layout.scss"; -> packages/bootstrap/scss/timepicker/_layout.scss
19084
+ // #region @import "~@progress/kendo-theme-default/scss/timepicker/_layout.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/timepicker/_layout.scss
19085
+ @include exports("timepicker/layout") {
19086
+
19087
+ // Time picker
19088
+ .k-timepicker {}
19089
+
19090
+ }
19091
+
19092
+ // #endregion
19093
+
19094
+ // #endregion
19095
+ // #region @import "_theme.scss"; -> packages/bootstrap/scss/timepicker/_theme.scss
19096
+ // #region @import "~@progress/kendo-theme-default/scss/timepicker/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/timepicker/_theme.scss
19097
+ @include exports("timepicker/theme") {
19098
+
19099
+ // Time picker
19100
+ .k-timepicker {}
19101
+
19102
+ }
19103
+
19104
+ // #endregion
19105
+
19106
+ // #endregion
19107
+
19108
+ // #endregion
19109
+ // #region @import "datetimepicker/_index.scss"; -> packages/bootstrap/scss/datetimepicker/_index.scss
19110
+ // #region @import "../core/_index.scss"; -> packages/bootstrap/scss/core/_index.scss
19111
+ // File already imported_once. Skipping output.
19112
+ // #endregion
19113
+
19114
+
19115
+ // Dependencies
19116
+ // #region @import "../common/_index.scss"; -> packages/bootstrap/scss/common/_index.scss
19117
+ // File already imported_once. Skipping output.
19118
+ // #endregion
19119
+ // #region @import "../input/_index.scss"; -> packages/bootstrap/scss/input/_index.scss
19120
+ // File already imported_once. Skipping output.
19121
+ // #endregion
19122
+ // #region @import "../floating-label/_index.scss"; -> packages/bootstrap/scss/floating-label/_index.scss
19123
+ // File already imported_once. Skipping output.
19124
+ // #endregion
19125
+ // #region @import "../popup/_index.scss"; -> packages/bootstrap/scss/popup/_index.scss
19126
+ // File already imported_once. Skipping output.
19127
+ // #endregion
19128
+ // #region @import "../icons/_index.scss"; -> packages/bootstrap/scss/icons/_index.scss
19129
+ // File already imported_once. Skipping output.
19130
+ // #endregion
19131
+
19132
+
19133
+ // Component
19134
+ // #region @import "_variables.scss"; -> packages/bootstrap/scss/datetimepicker/_variables.scss
19135
+ // Datetimepicker
19136
+
19137
+ // #endregion
19138
+ // #region @import "_layout.scss"; -> packages/bootstrap/scss/datetimepicker/_layout.scss
19139
+ // #region @import "~@progress/kendo-theme-default/scss/datetimepicker/_layout.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/datetimepicker/_layout.scss
19140
+ @include exports("datetimepicker/layout") {
19141
+
19142
+ // Date time picker
19143
+ .k-datetimepicker {}
19144
+
19145
+ }
19146
+
19147
+ // #endregion
19148
+
19149
+ // #endregion
19150
+ // #region @import "_theme.scss"; -> packages/bootstrap/scss/datetimepicker/_theme.scss
19151
+ // #region @import "~@progress/kendo-theme-default/scss/datetimepicker/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/datetimepicker/_theme.scss
19152
+ @include exports("datetimepicker/theme") {
19153
+
19154
+ // Date time picker
19155
+ .k-datetimepicker {}
19156
+
19157
+ }
19158
+
19159
+ // #endregion
19160
+
19161
+ // #endregion
19162
+
19163
+ // #endregion
19164
+ // #region @import "daterangepicker/_index.scss"; -> packages/bootstrap/scss/daterangepicker/_index.scss
19165
+ // #region @import "../core/_index.scss"; -> packages/bootstrap/scss/core/_index.scss
19166
+ // File already imported_once. Skipping output.
19167
+ // #endregion
19168
+
19169
+
19170
+ // Dependencies
19171
+ // #region @import "../common/_index.scss"; -> packages/bootstrap/scss/common/_index.scss
19172
+ // File already imported_once. Skipping output.
19173
+ // #endregion
19174
+ // #region @import "../input/_index.scss"; -> packages/bootstrap/scss/input/_index.scss
19175
+ // File already imported_once. Skipping output.
19176
+ // #endregion
19177
+ // #region @import "../floating-label/_index.scss"; -> packages/bootstrap/scss/floating-label/_index.scss
19178
+ // File already imported_once. Skipping output.
19179
+ // #endregion
19180
+ // #region @import "../popup/_index.scss"; -> packages/bootstrap/scss/popup/_index.scss
19181
+ // File already imported_once. Skipping output.
19182
+ // #endregion
19183
+ // #region @import "../icons/_index.scss"; -> packages/bootstrap/scss/icons/_index.scss
19184
+ // File already imported_once. Skipping output.
19185
+ // #endregion
19186
+
19187
+
19188
+ // Component
19189
+ // #region @import "_variables.scss"; -> packages/bootstrap/scss/daterangepicker/_variables.scss
19190
+ // Daterangepicker
19191
+
19192
+ // #endregion
19193
+ // #region @import "_layout.scss"; -> packages/bootstrap/scss/daterangepicker/_layout.scss
19194
+ // #region @import "~@progress/kendo-theme-default/scss/daterangepicker/_layout.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss
19195
+ @include exports("daterangepicker/layout") {
19196
+
19197
+ }
19198
+
19199
+ // #endregion
19200
+
19201
+ // #endregion
19202
+ // #region @import "_theme.scss"; -> packages/bootstrap/scss/daterangepicker/_theme.scss
19203
+ // #region @import "~@progress/kendo-theme-default/scss/daterangepicker/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/daterangepicker/_theme.scss
19204
+ @include exports("daterangepicker/theme") {
19205
+
19206
+ }
19207
+
19208
+ // #endregion
19209
+
19210
+ // #endregion
19211
+
18927
19212
  // #endregion
18928
19213
  // #region @import "datetime/_index.scss"; -> packages/bootstrap/scss/datetime/_index.scss
18929
19214
  // #region @import "../core/_index.scss"; -> packages/bootstrap/scss/core/_index.scss
@@ -19512,18 +19797,6 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
19512
19797
 
19513
19798
 
19514
19799
 
19515
-
19516
- @include exports("daterangepicker/layout") {
19517
-
19518
- // jQuery DateRangePicker
19519
- .k-widget.k-daterangepicker {
19520
- border: 0;
19521
- }
19522
-
19523
- }
19524
-
19525
-
19526
-
19527
19800
  @include exports("calendar/layout/rtl") {
19528
19801
 
19529
19802
  .k-rtl .k-calendar,
@@ -19817,23 +20090,6 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
19817
20090
 
19818
20091
  }
19819
20092
 
19820
-
19821
-
19822
-
19823
- @include exports( "daterangepicker/theme" ) {
19824
-
19825
- // jQuery DateRangePicker
19826
- .k-daterangepicker {
19827
- // Invalid
19828
- &.k-state-invalid {
19829
- .k-dateinput-wrap {
19830
- border-color: $invalid-border;
19831
- }
19832
- }
19833
- }
19834
-
19835
- }
19836
-
19837
20093
  // #endregion
19838
20094
 
19839
20095
  // #endregion
@@ -19905,258 +20161,6 @@ $datetime-select-pressed-gradient: $kendo-button-active-gradient !default;
19905
20161
  // #region @import "~@progress/kendo-theme-default/scss/datetime/_layout.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/datetime/_layout.scss
19906
20162
  @include exports("datetime/layout") {
19907
20163
 
19908
- // Dateinput
19909
- .k-dateinput {
19910
- border-width: 0;
19911
- box-sizing: border-box;
19912
- outline: 0;
19913
- background: none;
19914
- font-family: $kendo-input-font-family;
19915
- font-size: $kendo-input-font-size;
19916
- line-height: $kendo-input-line-height;
19917
- text-align: left;
19918
- white-space: nowrap;
19919
- display: inline-flex;
19920
- vertical-align: middle;
19921
- position: relative;
19922
- -webkit-touch-callout: none;
19923
- -webkit-tap-highlight-color: $rgba-transparent;
19924
-
19925
- .k-dateinput-wrap {
19926
- @include border-radius( $kendo-input-border-radius );
19927
- padding: 0;
19928
- width: 100%;
19929
- border-width: 1px;
19930
- border-style: solid;
19931
- box-sizing: border-box;
19932
- position: relative;
19933
- transition: all .1s ease; // sass-lint:disable-line no-transition-all
19934
- cursor: default;
19935
- outline: 0;
19936
- display: flex;
19937
- flex-flow: row nowrap;
19938
- }
19939
-
19940
-
19941
- // Input
19942
- .k-input {}
19943
-
19944
-
19945
- // Select
19946
- .k-select {
19947
- @include border-right-radius-only( $kendo-input-border-radius );
19948
- padding: 0;
19949
- width: $kendo-input-spinner-width;
19950
- border-width: 0 0 0 $picker-select-border-width;
19951
- border-style: solid;
19952
- box-sizing: border-box;
19953
- outline: 0;
19954
- display: flex;
19955
- flex-direction: column;
19956
- align-items: stretch;
19957
- justify-content: center;
19958
- flex: 0 0 auto;
19959
- text-align: center;
19960
- cursor: pointer;
19961
- }
19962
- .k-link {
19963
- padding: 0 $picker-select-padding-x;
19964
- min-width: $icon-size;
19965
- flex: 1 1 auto;
19966
- display: block;
19967
- overflow: hidden;
19968
- position: relative;
19969
-
19970
- .k-icon {
19971
- position: absolute;
19972
- right: 50%;
19973
- transform: translateX(50%);
19974
- }
19975
- }
19976
-
19977
-
19978
- // RTL
19979
- .k-rtl &,
19980
- &[dir="rtl"] {
19981
- text-align: right;
19982
-
19983
- .k-select {
19984
- @include border-left-radius-only( $kendo-input-border-radius );
19985
- border-width: 0 $picker-select-border-width 0 0;
19986
- }
19987
- }
19988
-
19989
-
19990
- // Nested dateinput
19991
- .k-picker-wrap & {
19992
- margin: 0 !important; // sass-lint:disable-line no-important
19993
- width: 100%;
19994
- flex: 1 1 auto;
19995
-
19996
- .k-dateinput-wrap {
19997
- @include border-left-radius-only( $kendo-input-border-radius );
19998
- border-width: 0;
19999
- box-shadow: none !important; // sass-lint:disable-line no-important
20000
- }
20001
-
20002
- [dir="rtl"] &,
20003
- .k-rtl & {
20004
- .k-dateinput-wrap {
20005
- @include border-right-radius-only( $kendo-input-border-radius );
20006
- }
20007
- }
20008
-
20009
- }
20010
- }
20011
-
20012
-
20013
- // Datepicker / timepicker
20014
- .k-datepicker,
20015
- .k-timepicker {
20016
- border-width: 0;
20017
- box-sizing: border-box;
20018
- outline: 0;
20019
- font-family: $kendo-input-font-family;
20020
- font-size: $kendo-input-font-size;
20021
- line-height: $kendo-input-line-height;
20022
- white-space: nowrap;
20023
- background: none;
20024
- display: inline-flex;
20025
- vertical-align: middle;
20026
- position: relative;
20027
- -webkit-touch-callout: none;
20028
- -webkit-tap-highlight-color: $rgba-transparent;
20029
-
20030
- // Wrapper
20031
- .k-picker-wrap {
20032
- @include border-radius( $kendo-input-border-radius );
20033
- padding: 0;
20034
- width: 100%;
20035
- border-width: $kendo-input-border-width;
20036
- border-style: solid;
20037
- box-sizing: border-box;
20038
- display: flex;
20039
- flex-direction: row;
20040
- position: relative;
20041
- transition: all .1s ease; // sass-lint:disable-block no-transition-all
20042
- cursor: default;
20043
- outline: 0;
20044
- }
20045
-
20046
-
20047
- // Input
20048
- .k-input {}
20049
-
20050
-
20051
- // Select
20052
- .k-select {
20053
- @include border-right-radius-only( $kendo-input-border-radius );
20054
- padding: $picker-select-padding-y $picker-select-padding-x;
20055
- width: if( $use-picker-select-width, $picker-select-calc-size, null );
20056
- border-width: 0 0 0 $picker-select-border-width;
20057
- border-style: solid;
20058
- box-sizing: border-box;
20059
- outline: 0;
20060
- display: flex;
20061
- align-items: center;
20062
- justify-content: center;
20063
- flex: 0 0 auto;
20064
- text-align: center;
20065
- cursor: pointer;
20066
- }
20067
-
20068
-
20069
- // RTL
20070
- .k-rtl &,
20071
- &[dir="rtl"] {
20072
- text-align: right;
20073
-
20074
- .k-select {
20075
- @include border-left-radius-only( $kendo-input-border-radius );
20076
- border-width: 0 $picker-select-border-width 0 0;
20077
- }
20078
- }
20079
- }
20080
-
20081
-
20082
- // Datetimepicker
20083
- .k-datetimepicker {
20084
- border-width: 0;
20085
- box-sizing: border-box;
20086
- outline: 0;
20087
- font-family: $kendo-input-font-family;
20088
- font-size: $kendo-input-font-size;
20089
- line-height: $kendo-input-line-height;
20090
- text-align: left;
20091
- white-space: nowrap;
20092
- background: none;
20093
- display: inline-flex;
20094
- vertical-align: middle;
20095
- position: relative;
20096
- -webkit-touch-callout: none;
20097
- -webkit-tap-highlight-color: $rgba-transparent;
20098
-
20099
- // Wrappers
20100
- .k-picker-wrap {
20101
- @include border-radius( $kendo-input-border-radius );
20102
- padding: 0;
20103
- width: 100%;
20104
- border-width: 1px;
20105
- border-style: solid;
20106
- box-sizing: border-box;
20107
- display: flex;
20108
- flex-direction: row;
20109
- position: relative;
20110
- transition: all .1s ease; // sass-lint:disable-block no-transition-all
20111
- cursor: default;
20112
- outline: 0;
20113
- }
20114
-
20115
-
20116
- // Input
20117
- .k-input {}
20118
-
20119
-
20120
- // Select
20121
- .k-select {
20122
- @include border-right-radius-only( $kendo-input-border-radius );
20123
- border-width: 0 0 0 $picker-select-border-width;
20124
- border-style: solid;
20125
- box-sizing: border-box;
20126
- outline: 0;
20127
- display: flex;
20128
- align-items: stretch;
20129
- justify-content: center;
20130
- flex: 0 0 auto;
20131
- text-align: center;
20132
- cursor: pointer;
20133
- }
20134
- .k-link {
20135
- padding: $picker-select-padding-y $picker-select-padding-x;
20136
- width: if( $use-picker-select-width, $kendo-button-inner-calc-size, null );
20137
- height: 100%;
20138
- border-width: 0;
20139
- border-style: solid;
20140
- border-color: inherit;
20141
- display: flex;
20142
- align-items: center;
20143
- justify-content: center;
20144
- box-sizing: border-box;
20145
- }
20146
-
20147
-
20148
- // RTL
20149
- .k-rtl &,
20150
- &[dir="rtl"] {
20151
- text-align: right;
20152
-
20153
- .k-select {
20154
- @include border-left-radius-only( $kendo-input-border-radius );
20155
- border-width: 0 $picker-select-border-width 0 0;
20156
- }
20157
- }
20158
- }
20159
-
20160
20164
  .k-datetime-container {
20161
20165
 
20162
20166
  .k-datetime-wrap {
@@ -20382,26 +20386,6 @@ $datetime-select-pressed-gradient: $kendo-button-active-gradient !default;
20382
20386
 
20383
20387
  @include exports("datetime/layout/bootstrap") {
20384
20388
 
20385
- .k-datepicker,
20386
- .k-datetimepicker,
20387
- .k-timepicker {
20388
- .k-picker-wrap,
20389
- .k-select {
20390
- transition: $transition;
20391
- }
20392
- }
20393
-
20394
- // Datetimepicker
20395
- .k-datetimepicker {}
20396
-
20397
- // Dateinput
20398
- .k-dateinput {
20399
- .k-dateinput-wrap,
20400
- .k-select {
20401
- transition: $transition;
20402
- }
20403
- }
20404
-
20405
20389
  // Timepicker header
20406
20390
  .k-time-header {
20407
20391
  padding: $time-header-padding;
@@ -20429,104 +20413,6 @@ $datetime-select-pressed-gradient: $kendo-button-active-gradient !default;
20429
20413
  // #region @import "~@progress/kendo-theme-default/scss/datetime/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/datetime/_theme.scss
20430
20414
  @include exports("datetime/theme") {
20431
20415
 
20432
- // Common
20433
- .k-datepicker,
20434
- .k-timepicker,
20435
- .k-datetimepicker,
20436
- .k-dateinput {
20437
-
20438
- .k-select {
20439
- @include fill(
20440
- $datetime-select-text,
20441
- $datetime-select-bg,
20442
- $datetime-select-border,
20443
- $datetime-select-gradient
20444
- );
20445
- }
20446
-
20447
- .k-i-warning {
20448
- color: $error;
20449
- }
20450
- }
20451
-
20452
-
20453
- .k-datepicker .k-picker-wrap,
20454
- .k-timepicker .k-picker-wrap,
20455
- .k-datetimepicker .k-picker-wrap,
20456
- .k-dateinput .k-dateinput-wrap {
20457
- @include fill(
20458
- $datetime-text,
20459
- $datetime-bg,
20460
- $datetime-border
20461
- );
20462
-
20463
- // Hovered state
20464
- &:hover,
20465
- &.k-state-hover {
20466
- @include fill(
20467
- $datetime-hovered-text,
20468
- $datetime-hovered-bg,
20469
- $datetime-hovered-border
20470
- );
20471
- }
20472
-
20473
- // Selected state
20474
- &.k-state-focused,
20475
- &.k-state-active {
20476
- @include fill(
20477
- $datetime-focused-text,
20478
- $datetime-focused-bg,
20479
- $datetime-focused-border
20480
- );
20481
- @include box-shadow($datetime-focused-shadow);
20482
- }
20483
- }
20484
-
20485
- .k-datepicker,
20486
- .k-timepicker {
20487
-
20488
- .k-select:hover,
20489
- .k-select.k-state-hover {
20490
- @include fill(
20491
- $datetime-select-hovered-text,
20492
- $datetime-select-hovered-bg,
20493
- $datetime-select-hovered-border,
20494
- $datetime-select-hovered-gradient
20495
- );
20496
- }
20497
- }
20498
-
20499
-
20500
- .k-dateinput,
20501
- .k-datetimepicker {
20502
-
20503
- .k-link:hover,
20504
- .k-link.k-state-hover {
20505
- @include fill(
20506
- $datetime-select-hovered-text,
20507
- $datetime-select-hovered-bg,
20508
- $datetime-select-hovered-border,
20509
- $datetime-select-hovered-gradient
20510
- );
20511
- }
20512
-
20513
- .k-link:active,
20514
- .k-link.k-state-active,
20515
- .k-link.k-state-selected {
20516
- @include fill(
20517
- $datetime-select-pressed-text,
20518
- $datetime-select-pressed-bg,
20519
- $datetime-select-pressed-border,
20520
- $datetime-select-pressed-gradient
20521
- );
20522
- }
20523
- }
20524
-
20525
-
20526
- // Timepicker
20527
- .k-timepicker {}
20528
-
20529
-
20530
20416
  // Timepicker header
20531
20417
  .k-time-header {
20532
20418
 
@@ -20594,135 +20480,6 @@ $datetime-select-pressed-gradient: $kendo-button-active-gradient !default;
20594
20480
  }
20595
20481
  }
20596
20482
 
20597
- .k-datepicker,
20598
- .k-datetimepicker,
20599
- .k-timepicker {
20600
- .k-picker-wrap {
20601
- // Invalid
20602
- &.k-invalid,
20603
- &.k-state-invalid {
20604
- border-color: $invalid-border;
20605
-
20606
- &:focus,
20607
- &.k-state-focused {
20608
- @include box-shadow($invalid-shadow);
20609
- }
20610
- }
20611
- }
20612
- // Invalid
20613
- &.k-state-invalid,
20614
- &.ng-invalid.ng-touched,
20615
- &.ng-invalid.ng-dirty {
20616
- .k-picker-wrap {
20617
- border-color: $invalid-border;
20618
-
20619
- &:focus,
20620
- &.k-state-focused {
20621
- @include box-shadow($invalid-shadow);
20622
- }
20623
- }
20624
- }
20625
- }
20626
- .k-dateinput {
20627
- .k-dateinput-wrap {
20628
- // Invalid
20629
- &.k-invalid,
20630
- &.k-state-invalid {
20631
- border-color: $invalid-border;
20632
-
20633
- &:focus,
20634
- &.k-state-focused {
20635
- @include box-shadow($invalid-shadow);
20636
- }
20637
- }
20638
- }
20639
- // Invalid
20640
- &.k-state-invalid,
20641
- &.ng-invalid.ng-touched,
20642
- &.ng-invalid.ng-dirty {
20643
- .k-dateinput-wrap {
20644
- border-color: $invalid-border;
20645
-
20646
- &:focus,
20647
- &.k-state-focused {
20648
- @include box-shadow($invalid-shadow);
20649
- }
20650
- }
20651
- }
20652
- }
20653
-
20654
- // Universal rendering
20655
- .k-datepicker {
20656
- &.k-state-hover {
20657
- .k-picker-wrap {
20658
- @include fill(
20659
- $datetime-hovered-text,
20660
- $datetime-hovered-bg,
20661
- $datetime-hovered-border
20662
- );
20663
- }
20664
- }
20665
-
20666
- &.k-state-focus {
20667
- .k-picker-wrap {
20668
- @include fill(
20669
- $datetime-focused-text,
20670
- $datetime-focused-bg,
20671
- $datetime-focused-border
20672
- );
20673
- @include box-shadow($datetime-focused-shadow);
20674
- }
20675
- }
20676
-
20677
- &.k-invalid {
20678
- .k-picker-wrap {
20679
- border-color: $invalid-border;
20680
- }
20681
- }
20682
-
20683
- &.k-invalid.k-state-focus {
20684
- .k-picker-wrap {
20685
- @include box-shadow($invalid-shadow);
20686
- }
20687
- }
20688
- }
20689
-
20690
- .k-dateinput,
20691
- .k-daterangepicker {
20692
- &.k-state-hover {
20693
- .k-dateinput-wrap {
20694
- @include fill(
20695
- $datetime-hovered-text,
20696
- $datetime-hovered-bg,
20697
- $datetime-hovered-border
20698
- );
20699
- }
20700
- }
20701
-
20702
- &.k-state-focus {
20703
- .k-dateinput-wrap {
20704
- @include fill(
20705
- $datetime-focused-text,
20706
- $datetime-focused-bg,
20707
- $datetime-focused-border
20708
- );
20709
- @include box-shadow($datetime-focused-shadow);
20710
- }
20711
- }
20712
-
20713
- &.k-invalid {
20714
- .k-dateinput-wrap {
20715
- border-color: $invalid-border;
20716
- }
20717
- }
20718
-
20719
- &.k-invalid.k-state-focus {
20720
- .k-dateinput-wrap {
20721
- @include box-shadow($invalid-shadow);
20722
- }
20723
- }
20724
- }
20725
-
20726
20483
  }
20727
20484
 
20728
20485
  // #endregion