@progress/kendo-theme-classic 6.5.0-dev.1 → 6.5.0-dev.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
@@ -5,18 +5,10 @@
5
5
  // #region @import "./core/_index.scss"; -> scss/core/_index.scss
6
6
  $wcag-min-contrast-ratio: 4.5 !default;
7
7
 
8
- // Functions
9
- // #region @import "./functions/index.import.scss"; -> scss/core/functions/index.import.scss
8
+ // Variables
9
+ // #region @import "../_variables.scss"; -> scss/_variables.scss
10
+ // #region @import "./core/functions/index.import.scss"; -> scss/core/functions/index.import.scss
10
11
  // #region @import "@progress/kendo-theme-core/scss/functions/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/functions/index.import.scss
11
- // #region @import "../_variables.scss"; -> node_modules/@progress/kendo-theme-core/scss/_variables.scss
12
- // Equilateral triangle variables
13
- // stylelint-disable number-max-precision
14
- $equilateral-index: 1.7320508076 !default;
15
- $equilateral-height: .8660254038 !default;
16
- // stylelint-enable number-max-precision
17
-
18
- // #endregion
19
-
20
12
  // #region @import "./_color.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/functions/_color.import.scss
21
13
  /// Returns the alpha channel of a color.
22
14
  /// @param {Color} $color - The color to get the alpha channel for.
@@ -1242,6 +1234,36 @@ $_kendo-escape-class-name: (
1242
1234
  @return $map;
1243
1235
  }
1244
1236
 
1237
+ /// Returns a deep-map with the keys and values from `$map` and `$args`.
1238
+ /// @param {Map} $maps - The maps to deep-merge.
1239
+ /// @return {Map} - A map with the keys and values from `$map` and `$args`.
1240
+ ///
1241
+ /// @example scss - Usage
1242
+ /// @debug k-map-deep-merge( ( "foo": ("bar": "baz", "baz": "qux" ) ), ( "foo": ("bar": "foo") ) ); // => ( "foo": ("bar": "foo", "baz": "qux" ))
1243
+ @function k-map-deep-merge($maps...) {
1244
+ $merged: ();
1245
+
1246
+ @each $map in $maps {
1247
+ @each $key, $val in $map {
1248
+ @if (k-meta-type-of($val) == 'map') {
1249
+ $current: k-map-get($merged, $key);
1250
+ @if (k-meta-type-of($current) == 'map') {
1251
+ $val: k-map-deep-merge($current, $val);
1252
+ $map: k-map-merge(
1253
+ $map,
1254
+ (
1255
+ $key: $val
1256
+ )
1257
+ );
1258
+ }
1259
+ }
1260
+ }
1261
+ $merged: k-map-merge($merged, $map);
1262
+ }
1263
+
1264
+ @return $merged;
1265
+ }
1266
+
1245
1267
  /// Returns a map with the keys and values from `$map` except for `$keys`.
1246
1268
  /// @param {Map} $map - The map to remove keys from.
1247
1269
  /// @param {Any} $keys - The keys to remove from `$map`.
@@ -1547,6 +1569,15 @@ $_kendo-escape-class-name: (
1547
1569
 
1548
1570
  // #endregion
1549
1571
  // #region @import "./_string.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/functions/_string.import.scss
1572
+ $svg-escaped-characters: (
1573
+ ("%", "%25"),
1574
+ ("<", "%3c"),
1575
+ (">", "%3e"),
1576
+ ("#", "%23"),
1577
+ ("(", "%28"),
1578
+ (")", "%29")
1579
+ ) !default;
1580
+
1550
1581
  /// Returns the first index of `$substring` in `$string`, or `null` if `$string` doesn’t contain `$substring`.
1551
1582
  /// @param {String} $string - The string to process.
1552
1583
  /// @param {String} $substring - The substring to look for.
@@ -1666,163 +1697,413 @@ $_kendo-escape-class-name: (
1666
1697
  @return unquote( $string );
1667
1698
  }
1668
1699
 
1669
- // #endregion
1670
1700
 
1671
- // #endregion
1701
+ // See https://www.sassmeister.com/gist/1b4f2da5527830088e4d
1702
+ @function str-replace($string, $search, $replace: "") {
1703
+ $index: k-string-index($string, $search);
1704
+
1705
+ @if $index {
1706
+ @return k-string-slice($string, 1, $index - 1) + $replace + str-replace(k-string-slice($string, $index + k-string-length($search)), $search, $replace);
1707
+ }
1708
+
1709
+ @return $string;
1710
+ }
1711
+
1712
+ // See https://codepen.io/kevinweber/pen/dXWoRw
1713
+ @function escape-svg($string) {
1714
+ @if k-string-index($string, "data:image/svg+xml") {
1715
+ @each $char, $encoded in $svg-escaped-characters {
1716
+ // Do not escape the url brackets
1717
+ @if k-string-index($string, "url(") == 1 {
1718
+ $string: url("#{str-replace(k-string-slice($string, 6, -3), $char, $encoded)}");
1719
+ } @else {
1720
+ $string: str-replace($string, $char, $encoded);
1721
+ }
1722
+ }
1723
+ }
1724
+
1725
+ @return $string;
1726
+ }
1672
1727
 
1673
1728
  // #endregion
1674
1729
 
1675
- // Color system
1676
- // #region @import "./color-system/index.import.scss"; -> scss/core/color-system/index.import.scss
1677
- // #region @import "@progress/kendo-theme-core/scss/color-system/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/index.import.scss
1678
- // #region @import "./_functions.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/_functions.import.scss
1679
- @function k-generate-theme-variant( $variant, $matrix, $src-palette-name ) {
1680
- $result: ();
1730
+ // #endregion
1681
1731
 
1682
- @each $ui-state, $indices in $matrix {
1683
- $prefix: if( $ui-state == DEFAULT, "", "#{$ui-state}-" );
1684
- $indices-count: k-list-length( $indices );
1732
+ // #endregion
1685
1733
 
1686
- $bg-prop: k-list-nth( $indices, 1 );
1687
- $text-prop: k-list-nth( $indices, 2 );
1688
- $border-prop: k-list-nth( $indices, 3 );
1689
- $gradient-prop: if( $indices-count > 3, k-list-nth( $indices, 4 ), null );
1690
- $shadow-prop: if( $indices-count > 4, k-list-nth( $indices, 5 ), null );
1691
- $outline-prop: if( $indices-count > 5, k-list-nth( $indices, 6 ), null );
1734
+ /// The color white.
1735
+ /// Note: you cannot change this value.
1736
+ /// @type Color
1737
+ /// @group color-system
1738
+ $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
1692
1739
 
1693
- // Take value from the palette only if it is a number
1694
- $bg: if( k-meta-type-of( $bg-prop ) == number, k-get-theme-color( $src-palette-name, $bg-prop ), $bg-prop );
1695
- $text: if( k-meta-type-of( $text-prop ) == number, k-get-theme-color( $src-palette-name, $text-prop ), $text-prop );
1696
- $border: if( k-meta-type-of( $border-prop ) == number, k-get-theme-color( $src-palette-name, $border-prop ), $border-prop );
1697
- $gradient: $gradient-prop;
1698
- $shadow: $shadow-prop;
1699
- $outline: $outline-prop;
1740
+ /// The color black.
1741
+ /// Note: you cannot change this value.
1742
+ /// @type Color
1743
+ /// @group color-system
1744
+ $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
1700
1745
 
1701
- $result: k-map-merge($result, (
1702
- #{$prefix}bg: $bg,
1703
- #{$prefix}text: $text,
1704
- #{$prefix}border: $border,
1705
- #{$prefix}gradient: $gradient,
1706
- #{$prefix}shadow: $shadow,
1707
- #{$prefix}outline: $outline
1708
- ));
1709
- }
1746
+ // Options
1747
+ $kendo-enable-rounded: true !default;
1748
+ $kendo-enable-shadows: true !default;
1749
+ $kendo-enable-gradients: true !default;
1750
+ $kendo-enable-transitions: true !default;
1751
+ $kendo-enable-focus-contrast: false !default;
1752
+ $kendo-enable-typography: false !default;
1710
1753
 
1711
- $result: (
1712
- #{$variant}: $result
1713
- );
1754
+ $kendo-use-input-button-width: false !default;
1755
+ $kendo-use-input-spinner-width: false !default;
1756
+ $kendo-use-input-spinner-icon-offset: false !default;
1714
1757
 
1715
- @return $result;
1758
+ $kendo-auto-bootstrap: true !default;
1716
1759
 
1717
- };
1718
1760
 
1761
+ // Spacing
1762
+ $kendo-spacing: (
1763
+ 0: 0,
1764
+ 1px: 1px,
1765
+ 0.5: 2px,
1766
+ 1: 4px,
1767
+ 1.5: 6px,
1768
+ 2: 8px,
1769
+ 2.5: 10px,
1770
+ 3: 12px,
1771
+ 3.5: 14px,
1772
+ 4: 16px,
1773
+ 4.5: 18px,
1774
+ 5: 20px,
1775
+ 5.5: 22px,
1776
+ 6: 24px,
1777
+ 6.5: 26px,
1778
+ 7: 28px,
1779
+ 7.5: 30px,
1780
+ 8: 32px,
1781
+ 9: 36px,
1782
+ 10: 40px,
1783
+ 11: 44px,
1784
+ 12: 48px,
1785
+ 13: 52px,
1786
+ 14: 56px,
1787
+ 15: 60px,
1788
+ 16: 64px,
1789
+ 17: 68px,
1790
+ 18: 72px,
1791
+ 19: 76px,
1792
+ 20: 80px,
1793
+ 21: 84px,
1794
+ 22: 88px,
1795
+ 23: 92px,
1796
+ 24: 96px
1797
+ ) !default;
1719
1798
 
1720
- @function k-process-variant-matrices( $theme-matrix, $palette-matrix: () ) {
1721
- $result: ();
1722
1799
 
1723
- // @debug $theme-matrix;
1724
- // @debug $palette-matrix;
1800
+ // Icons
1801
+ $kendo-icon-size: 16px !default;
1725
1802
 
1726
- @each $variant, $definition in $theme-matrix {
1727
- $tc-index: k-string-index( $variant, "THEME_COLOR" );
1728
- $src-palette-name: k-map-get( $definition, PALETTE );
1729
- $matrix: k-map-remove( $definition, PALETTE );
1803
+ $kendo-icon-size-xs: calc( #{$kendo-icon-size} * .75 ) !default;
1804
+ $kendo-icon-size-sm: calc( #{$kendo-icon-size} * .875 ) !default;
1805
+ $kendo-icon-size-md: $kendo-icon-size !default;
1806
+ $kendo-icon-size-lg: calc( #{$kendo-icon-size} * 1.25 ) !default;
1807
+ $kendo-icon-size-xl: calc( #{$kendo-icon-size} * 1.5 ) !default;
1808
+ $kendo-icon-size-xxl: calc( #{$kendo-icon-size} * 2 ) !default;
1809
+ $kendo-icon-size-xxxl: calc( #{$kendo-icon-size} * 3 ) !default;
1730
1810
 
1731
- @if ($tc-index == null ) { // stylelint-disable-line
1732
- $tmp-result: k-generate-theme-variant( $variant, $matrix, $src-palette-name );
1733
- $result: k-map-merge( $result, $tmp-result);
1734
- } @else {
1735
- @each $color, $palette in $palette-matrix {
1736
- $variant-name: k-string-replace( $variant, THEME_COLOR, $color);
1737
- $palette-name: k-string-unquote($src-palette-name + "");
1811
+ $kendo-icon-spacing: k-map-get( $kendo-spacing, 1 ) !default;
1812
+ $kendo-icon-padding: k-map-get( $kendo-spacing, 1 ) !default;
1738
1813
 
1739
- @if ($palette-name == THEME_COLOR) {
1740
- $palette-name: k-string-replace( $palette-name, THEME_COLOR, $color );
1741
- $palette-name: k-map-get( $palette-matrix, $palette-name );
1742
- }
1743
1814
 
1744
- $tmp-result: k-generate-theme-variant( $variant-name, $matrix, $palette-name );
1745
- $result: k-map-merge( $result, $tmp-result );
1746
- }
1747
- }
1748
- }
1815
+ // Metrics
1816
+ $kendo-padding-x: 8px !default;
1817
+ $kendo-padding-y: 4px !default;
1818
+ $kendo-padding-sm-x: k-map-get( $kendo-spacing, 1 ) !default;
1819
+ $kendo-padding-sm-y: k-map-get( $kendo-spacing, 0.5 ) !default;
1820
+ $kendo-padding-md-x: k-map-get( $kendo-spacing, 2 ) !default;
1821
+ $kendo-padding-md-y: k-map-get( $kendo-spacing, 1 ) !default;
1822
+ $kendo-padding-lg-x: k-map-get( $kendo-spacing, 3 ) !default;
1823
+ $kendo-padding-lg-y: k-map-get( $kendo-spacing, 1.5 ) !default;
1749
1824
 
1750
- @return $result;
1751
- }
1825
+ /// Border radius for all components.
1826
+ $kendo-border-radius: k-map-get( $kendo-spacing, 1 ) !default;
1827
+ $kendo-border-radius-sm: k-math-div( $kendo-border-radius, 2 ) !default;
1828
+ $kendo-border-radius-md: $kendo-border-radius !default;
1829
+ $kendo-border-radius-lg: $kendo-border-radius * 2 !default;
1752
1830
 
1831
+ $kendo-border-radii: (
1832
+ DEFAULT: $kendo-border-radius-md,
1833
+ 0: 0,
1834
+ sm: $kendo-border-radius-sm,
1835
+ md: $kendo-border-radius-md,
1836
+ lg: $kendo-border-radius-lg,
1837
+ full: 9999px
1838
+ ) !default;
1753
1839
 
1754
- @function k-get-theme-palette( $name ) {
1755
- @return k-map-get( $kendo-palettes, $name );
1756
- }
1757
1840
 
1758
- @function k-get-theme-color( $palette, $hue ) {
1759
- @if ( k-meta-type-of( $palette ) == "map" ) {
1760
- @return k-map-get( $palette, $hue );
1761
- }
1841
+ $kendo-zindex-popup: 1 !default;
1842
+ $kendo-zindex-window: 2 !default;
1843
+ $kendo-zindex-loading: 100 !default;
1762
1844
 
1763
- @return k-map-get( k-get-theme-palette( $palette ), $hue );
1764
- }
1765
1845
 
1766
- @function k-get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo-" ) {
1767
- @return var( --#{$prefix}#{$name}, #{$fallback} );
1768
- }
1846
+ // Color settings
1847
+ $kendo-is-dark-theme: false !default;
1769
1848
 
1770
- // #endregion
1771
- // #region @import "./_mixins.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/_mixins.import.scss
1849
+ // Theme colors
1850
+ /// The color that focuses the user attention.
1851
+ /// Used for primary buttons and for elements of primary importance across the theme.
1852
+ /// @group color-system
1853
+ /// @type Color
1854
+ $kendo-color-primary: #f35800 !default;
1855
+ $kendo-color-primary-lighter: k-color-tint( $kendo-color-primary, 2 ) !default;
1856
+ $kendo-color-primary-darker: k-color-shade( $kendo-color-primary, 2 ) !default;
1772
1857
 
1773
- // #endregion
1774
- // #region @import "./_variables.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/_variables.scss
1775
- // Color constants
1858
+ /// The color used along with the primary color denoted by $kendo-color-primary.
1859
+ /// Used to provide contrast between the background and foreground colors.
1860
+ /// @group color-system
1861
+ /// @type Color
1862
+ $kendo-color-primary-contrast: k-contrast-legacy( $kendo-color-primary ) !default;
1776
1863
 
1777
- /// The color white.
1778
- /// Note: you cannot change this value.
1864
+ /// The secondary color of the theme.
1865
+ /// @group color-system
1779
1866
  /// @type Color
1867
+ $kendo-color-secondary: #e9e9e9 !default;
1868
+ $kendo-color-secondary-lighter: k-color-tint( $kendo-color-secondary, 2 ) !default;
1869
+ $kendo-color-secondary-darker: k-color-shade( $kendo-color-secondary, 2 ) !default;
1870
+
1871
+ /// The color used along with the secondary color denoted by $kendo-color-secondary.
1872
+ /// Used to provide contrast between the background and foreground colors.
1780
1873
  /// @group color-system
1781
- $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
1874
+ /// @type Color
1875
+ $kendo-color-secondary-contrast: k-contrast-color( $kendo-color-secondary ) !default;
1782
1876
 
1783
- /// The color black.
1784
- /// Note: you cannot change this value.
1877
+ /// The tertiary color of the theme.
1878
+ /// @group color-system
1785
1879
  /// @type Color
1880
+ $kendo-color-tertiary: #03a9f4 !default;
1881
+ $kendo-color-tertiary-lighter: k-color-tint( $kendo-color-tertiary, 2 ) !default;
1882
+ $kendo-color-tertiary-darker: k-color-shade( $kendo-color-tertiary, 2 ) !default;
1883
+
1884
+ /// The color used along with the tertiary color denoted by $kendo-color-tertiary.
1885
+ /// Used to provide contrast between the background and foreground colors.
1786
1886
  /// @group color-system
1787
- $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
1887
+ /// @type Color
1888
+ $kendo-color-tertiary-contrast: k-contrast-color( $kendo-color-tertiary ) !default;
1788
1889
 
1789
- /// The color transparent.
1790
- /// Note: you cannot change this value.
1890
+ /// The color for informational messages and states.
1891
+ /// @group color-system
1791
1892
  /// @type Color
1893
+ $kendo-color-info: #2498bc !default;
1894
+ $kendo-color-info-lighter: k-color-tint( $kendo-color-info, 2 ) !default;
1895
+ $kendo-color-info-darker: k-color-shade( $kendo-color-info, 2 ) !default;
1896
+
1897
+ /// The color for success messages and states.
1792
1898
  /// @group color-system
1793
- $kendo-color-rgba-transparent: rgba( 0, 0, 0, 0 ); // stylelint-disable-line scss/dollar-variable-default
1899
+ /// @type Color
1900
+ $kendo-color-success: #3ea44e !default;
1901
+ $kendo-color-success-lighter: k-color-tint( $kendo-color-success, 2 ) !default;
1902
+ $kendo-color-success-darker: k-color-shade( $kendo-color-success, 2 ) !default;
1794
1903
 
1795
- /// A gradient that goes from transparent to black.
1796
- /// Note: you cannot change this value.
1797
- /// @type Gradient
1904
+ /// The color for warning messages and states.
1798
1905
  /// @group color-system
1799
- $kendo-gradient-transparent-to-black: rgba( black, 0 ), black; // stylelint-disable-line scss/dollar-variable-default
1906
+ /// @type Color
1907
+ $kendo-color-warning: #ff9800 !default;
1908
+ $kendo-color-warning-lighter: k-color-tint( $kendo-color-warning, 2 ) !default;
1909
+ $kendo-color-warning-darker: k-color-shade( $kendo-color-warning, 2 ) !default;
1800
1910
 
1801
- /// A gradient that goes from transparent to white.
1802
- /// Note: you cannot change this value.
1803
- /// @type Gradient
1911
+ /// The color for error messages and states.
1804
1912
  /// @group color-system
1805
- $kendo-gradient-transparent-to-white: rgba( white, 0 ), white; // stylelint-disable-line scss/dollar-variable-default
1913
+ /// @type Color
1914
+ $kendo-color-error: #d92800 !default;
1915
+ $kendo-color-error-lighter: k-color-tint( $kendo-color-error, 2 ) !default;
1916
+ $kendo-color-error-darker: k-color-shade( $kendo-color-error, 2 ) !default;
1806
1917
 
1807
- /// A gradient that goes from black to transparent.
1808
- /// Note: you cannot change this value.
1809
- /// @type Gradient
1918
+ /// The dark color of the theme.
1810
1919
  /// @group color-system
1811
- $kendo-gradient-black-to-transparent: black, rgba( black, 0 ); // stylelint-disable-line scss/dollar-variable-default
1920
+ /// @type Color
1921
+ $kendo-color-dark: #404040 !default;
1812
1922
 
1813
- /// A gradient that goes from white to transparent.
1814
- /// Note: you cannot change this value.
1815
- /// @type Gradient
1923
+ /// The light color of the theme.
1816
1924
  /// @group color-system
1817
- $kendo-gradient-white-to-transparent: white, rgba( white, 0 ); // stylelint-disable-line scss/dollar-variable-default
1925
+ /// @type Color
1926
+ $kendo-color-light: #ebebeb !default;
1818
1927
 
1819
- /// A gradient that cycles through the colors of the rainbow.
1820
- /// Note: you cannot change this value.
1821
- /// @type Gradient
1928
+ /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
1822
1929
  /// @group color-system
1823
- $kendo-gradient-rainbow: #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000; // stylelint-disable-line scss/dollar-variable-default
1930
+ $kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
1931
+
1932
+
1933
+ $kendo-theme-colors: (
1934
+ "primary": $kendo-color-primary,
1935
+ "secondary": $kendo-color-secondary,
1936
+ "tertiary": $kendo-color-tertiary,
1937
+ "info": $kendo-color-info,
1938
+ "success": $kendo-color-success,
1939
+ "warning": $kendo-color-warning,
1940
+ "error": $kendo-color-error,
1941
+ "dark": $kendo-color-dark,
1942
+ "light": $kendo-color-light,
1943
+ "inverse": $kendo-color-inverse
1944
+ ) !default;
1945
+
1946
+
1947
+ // Typography
1948
+
1949
+ /// Base font size across all components.
1950
+ /// @group typography
1951
+ $kendo-font-size: 14px !default;
1952
+ $kendo-font-size-xs: 10px !default;
1953
+ $kendo-font-size-sm: 12px !default;
1954
+ $kendo-font-size-md: $kendo-font-size !default;
1955
+ $kendo-font-size-lg: 16px !default;
1956
+ $kendo-font-size-xl: 20px !default;
1957
+
1958
+ $kendo-font-sizes: (
1959
+ xs: $kendo-font-size-xs,
1960
+ sm: $kendo-font-size-sm,
1961
+ md: $kendo-font-size-md,
1962
+ lg: $kendo-font-size-lg,
1963
+ xl: $kendo-font-size-xl
1964
+ ) !default;
1965
+
1966
+ /// Font family for text.
1967
+ /// @group typography
1968
+ $kendo-font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
1969
+
1970
+ /// Font family for monospaced text. Used for styling the code.
1971
+ /// @group typography
1972
+ $kendo-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospace !default;
1824
1973
 
1974
+ /// Font family across all components.
1975
+ /// @group typography
1976
+ $kendo-font-family: inherit !default;
1977
+
1978
+ /// Line height used along with $kendo-font-size.
1979
+ /// @group typography
1980
+ $kendo-line-height: k-math-div( 20, 14 ) !default;
1981
+ $kendo-line-height-xs: 1 !default;
1982
+ $kendo-line-height-sm: 1.25 !default;
1983
+ $kendo-line-height-md: $kendo-line-height !default;
1984
+ $kendo-line-height-lg: 1.5 !default;
1985
+ $kendo-line-height-em: calc( #{$kendo-line-height} * 1em ) !default;
1986
+
1987
+ // Font weight
1988
+ $kendo-font-weight-light: 300 !default;
1989
+ $kendo-font-weight-normal: 400 !default;
1990
+ $kendo-font-weight-medium: 500 !default;
1991
+ $kendo-font-weight-semibold: 600 !default;
1992
+ $kendo-font-weight-bold: 700 !default;
1993
+
1994
+ // Letter Spacing
1995
+ $kendo-letter-spacing: null !default;
1996
+
1997
+
1998
+ // Generic styles
1999
+
2000
+ // Root styles
2001
+ $kendo-body-bg: $kendo-color-white !default;
2002
+ $kendo-body-text: #272727 !default;
2003
+
2004
+ $kendo-subtle-text: #646464 !default;
2005
+
2006
+ $kendo-app-bg: $kendo-body-bg !default;
2007
+ $kendo-app-text: $kendo-body-text !default;
2008
+ $kendo-app-border: k-try-shade( $kendo-app-bg, 2 ) !default;
2009
+
2010
+ // Link
2011
+ $kendo-link-text: $kendo-color-primary !default;
2012
+ $kendo-link-hover-text: $kendo-color-primary-darker !default;
2013
+
2014
+
2015
+ // Components
2016
+
2017
+ /// The background of the components' chrome area.
2018
+ $kendo-base-bg: #f0f0f0 !default;
2019
+ /// The text color of the components' chrome area.
2020
+ $kendo-base-text: $kendo-body-text !default;
2021
+ /// The border color of the components' chrome area.
2022
+ $kendo-base-border: k-try-shade( $kendo-base-bg, 2 ) !default;
2023
+ /// The gradient background of the components' chrome area.
2024
+ $kendo-base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
2025
+
2026
+ /// Background color of a component.
2027
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
2028
+ /// @group component
2029
+ $kendo-component-bg: $kendo-body-bg !default;
2030
+ /// Text color of a component.
2031
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
2032
+ /// @group component
2033
+ $kendo-component-text: $kendo-body-text !default;
2034
+ /// Border color of a component.
2035
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
2036
+ /// @group component
2037
+ $kendo-component-border: $kendo-base-border !default;
2038
+
2039
+ /// The background of hovered items.
2040
+ $kendo-hover-bg: k-try-shade( $kendo-base-bg, 1 ) !default;
2041
+ /// The text color of hovered items.
2042
+ $kendo-hover-text: $kendo-base-text !default;
2043
+ /// The border color of hovered items.
2044
+ $kendo-hover-border: k-try-shade( $kendo-hover-bg, 2 ) !default;
2045
+ /// The gradient background of hovered items.
2046
+ $kendo-hover-gradient: $kendo-base-gradient !default;
2047
+
2048
+ /// The background of selected items.
2049
+ $kendo-selected-bg: $kendo-color-primary !default;
2050
+ /// The text color of selected items.
2051
+ $kendo-selected-text: k-contrast-legacy( $kendo-selected-bg ) !default;
2052
+ /// The border color of selected items.
2053
+ $kendo-selected-border: k-try-shade( $kendo-selected-bg, 2 ) !default;
2054
+ /// The gradient background of selected items.
2055
+ $kendo-selected-gradient: $kendo-base-gradient !default;
2056
+
2057
+ $kendo-selected-hover-bg: k-try-shade( $kendo-selected-bg, 1 ) !default;
2058
+ $kendo-selected-hover-text: k-contrast-legacy( $kendo-selected-hover-bg ) !default;
2059
+ $kendo-selected-hover-border: $kendo-selected-border !default;
2060
+ $kendo-selected-hover-gradient: $kendo-selected-gradient !default;
2061
+
2062
+ $kendo-focus-shadow: inset 0 0 0 2px rgba( black, .13 ) !default;
2063
+
2064
+ $kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out !default;
2065
+
2066
+
2067
+ // Disabled mixin variables
2068
+ $kendo-disabled-text: #8d8d8d !default;
2069
+ $kendo-disabled-filter: grayscale(.1) !default;
2070
+ $kendo-disabled-opacity: .6 !default;
2071
+
2072
+ $kendo-disabled-styling: (
2073
+ opacity: $kendo-disabled-opacity,
2074
+ filter: $kendo-disabled-filter
2075
+ ) !default;
2076
+
2077
+
2078
+ // Generic styles
2079
+
2080
+ // TODO: refactor once we extract drag drop as separate module
2081
+
2082
+
2083
+ // Header
2084
+ $kendo-component-header-bg: $kendo-base-bg !default;
2085
+ $kendo-component-header-text: $kendo-base-text !default;
2086
+ $kendo-component-header-border: $kendo-base-border !default;
2087
+ $kendo-component-header-gradient: $kendo-base-gradient !default;
2088
+
2089
+
2090
+ // Validator
2091
+ $kendo-invalid-bg: null !default;
2092
+ $kendo-invalid-text: $kendo-color-error !default;
2093
+ $kendo-invalid-border: $kendo-color-error !default;
2094
+ $kendo-invalid-shadow: null !default;
2095
+
2096
+ // Loading
2097
+ $kendo-loading-opacity: .3 !default;
2098
+ $kendo-zindex-loading: 100 !default;
1825
2099
  // #endregion
2100
+
2101
+ // #region @import "@progress/kendo-theme-core/scss/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/index.import.scss
2102
+ // #region @import "./functions/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/functions/index.import.scss
2103
+ // File already imported_once. Skipping output.
2104
+ // #endregion
2105
+ // #region @import "./color-system/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/index.import.scss
2106
+ // #region @import "./_functions.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/_functions.import.scss
1826
2107
  // #region @import "./_palettes.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/_palettes.scss
1827
2108
  /// Color palettes to be used in the Kendo UI themes.
1828
2109
  /// @access private
@@ -2811,13 +3092,380 @@ $kendo-palettes: (
2811
3092
 
2812
3093
  // #endregion
2813
3094
 
3095
+ @function k-generate-theme-variant( $variant, $matrix, $src-palette-name ) {
3096
+ $result: ();
3097
+
3098
+ @each $ui-state, $indices in $matrix {
3099
+ $prefix: if( $ui-state == DEFAULT, "", "#{$ui-state}-" );
3100
+ $indices-count: k-list-length( $indices );
3101
+
3102
+ $bg-prop: k-list-nth( $indices, 1 );
3103
+ $text-prop: k-list-nth( $indices, 2 );
3104
+ $border-prop: k-list-nth( $indices, 3 );
3105
+ $gradient-prop: if( $indices-count > 3, k-list-nth( $indices, 4 ), null );
3106
+ $shadow-prop: if( $indices-count > 4, k-list-nth( $indices, 5 ), null );
3107
+ $outline-prop: if( $indices-count > 5, k-list-nth( $indices, 6 ), null );
3108
+
3109
+ // Take value from the palette only if it is a number
3110
+ $bg: if( k-meta-type-of( $bg-prop ) == number, k-get-theme-color( $src-palette-name, $bg-prop ), $bg-prop );
3111
+ $text: if( k-meta-type-of( $text-prop ) == number, k-get-theme-color( $src-palette-name, $text-prop ), $text-prop );
3112
+ $border: if( k-meta-type-of( $border-prop ) == number, k-get-theme-color( $src-palette-name, $border-prop ), $border-prop );
3113
+ $gradient: $gradient-prop;
3114
+ $shadow: $shadow-prop;
3115
+ $outline: $outline-prop;
3116
+
3117
+ $result: k-map-merge($result, (
3118
+ #{$prefix}bg: $bg,
3119
+ #{$prefix}text: $text,
3120
+ #{$prefix}border: $border,
3121
+ #{$prefix}gradient: $gradient,
3122
+ #{$prefix}shadow: $shadow,
3123
+ #{$prefix}outline: $outline
3124
+ ));
3125
+ }
3126
+
3127
+ $result: (
3128
+ #{$variant}: $result
3129
+ );
3130
+
3131
+ @return $result;
3132
+
3133
+ };
3134
+
3135
+
3136
+ @function k-process-variant-matrices( $theme-matrix, $palette-matrix: () ) {
3137
+ $result: ();
3138
+
3139
+ // @debug $theme-matrix;
3140
+ // @debug $palette-matrix;
3141
+
3142
+ @each $variant, $definition in $theme-matrix {
3143
+ $tc-index: k-string-index( $variant, "THEME_COLOR" );
3144
+ $src-palette-name: k-map-get( $definition, PALETTE );
3145
+ $matrix: k-map-remove( $definition, PALETTE );
3146
+
3147
+ @if ($tc-index == null ) { // stylelint-disable-line
3148
+ $tmp-result: k-generate-theme-variant( $variant, $matrix, $src-palette-name );
3149
+ $result: k-map-merge( $result, $tmp-result);
3150
+ } @else {
3151
+ @each $color, $palette in $palette-matrix {
3152
+ $variant-name: k-string-replace( $variant, THEME_COLOR, $color);
3153
+ $palette-name: k-string-unquote($src-palette-name + "");
3154
+
3155
+ @if ($palette-name == THEME_COLOR) {
3156
+ $palette-name: k-string-replace( $palette-name, THEME_COLOR, $color );
3157
+ $palette-name: k-map-get( $palette-matrix, $palette-name );
3158
+ }
3159
+
3160
+ $tmp-result: k-generate-theme-variant( $variant-name, $matrix, $palette-name );
3161
+ $result: k-map-merge( $result, $tmp-result );
3162
+ }
3163
+ }
3164
+ }
3165
+
3166
+ @return $result;
3167
+ }
3168
+
3169
+
3170
+ @function k-get-theme-palette( $name ) {
3171
+ @return k-map-get( $kendo-palettes, $name );
3172
+ }
3173
+
3174
+ @function k-get-theme-color( $palette, $hue ) {
3175
+ @if ( k-meta-type-of( $palette ) == "map" ) {
3176
+ @return k-map-get( $palette, $hue );
3177
+ }
3178
+
3179
+ @return k-map-get( k-get-theme-palette( $palette ), $hue );
3180
+ }
3181
+
3182
+ @function k-get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo-" ) {
3183
+ @return var( --#{$prefix}#{$name}, #{$fallback} );
3184
+ }
3185
+
3186
+ @function k-generate-theme-variation( $theme-color, $source-palette-name, $mapping ) {
3187
+ $temp: ( );
3188
+
3189
+ @each $ui-state, $indices in $mapping {
3190
+ $prefix: if( $ui-state == normal, '', '#{$ui-state}-' );
3191
+
3192
+ $bg-prop: k-list-nth($indices, 1);
3193
+ $text-prop: k-list-nth($indices, 2);
3194
+ $border-prop: k-list-nth($indices, 3);
3195
+
3196
+ // Take value from the palette only if it is a number
3197
+ $bg: if( k-meta-type-of($bg-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$bg-prop} ), $bg-prop );
3198
+ $text: if( k-meta-type-of($text-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$text-prop} ), $text-prop );
3199
+ $border: if( k-meta-type-of($border-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$border-prop} ), $border-prop );
3200
+
3201
+
3202
+ $temp: k-map-deep-merge( $temp, (
3203
+ #{$prefix}bg: $bg,
3204
+ #{$prefix}text: $text,
3205
+ #{$prefix}border: $border
3206
+ ));
3207
+
3208
+ // Add outline if provided in the map
3209
+ @if ( k-list-length($indices) > 3 ) {
3210
+ $outline-prop: k-list-nth($indices, 4);
3211
+ $outline: if( k-meta-type-of($outline-prop) == number, k-get-theme-color-var( #{$source-palette-name}-#{$outline-prop} ), $outline-prop );
3212
+
3213
+ $temp: k-map-deep-merge( $temp, (
3214
+ #{$prefix}outline: $outline
3215
+ ));
3216
+ }
3217
+ }
3218
+
3219
+ $map: (
3220
+ #{$theme-color}: $temp
3221
+ );
3222
+
3223
+ @return $map;
3224
+
3225
+ };
3226
+
3227
+ @function k-generate-fill-mode-theme-variation( $fill-mode, $theme-color, $source-palette-name, $mapping ) {
3228
+
3229
+ $map: k-generate-theme-variation( $theme-color, $source-palette-name, $mapping );
3230
+
3231
+ $result: (
3232
+ #{$fill-mode}: $map
3233
+ );
3234
+
3235
+ @return $result;
3236
+ }
3237
+
2814
3238
  // #endregion
3239
+ // #region @import "./_mixins.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/_mixins.import.scss
3240
+ @mixin k-css-vars($map) {
3241
+ @each $group, $values in $map {
3242
+ @each $key, $value in $values {
3243
+ --kendo-#{k-meta-inspect($group)}-#{$key}: #{$value};
3244
+ }
3245
+ }
3246
+ }
2815
3247
 
2816
3248
  // #endregion
3249
+ // #region @import "./_variables.scss"; -> node_modules/@progress/kendo-theme-core/scss/color-system/_variables.scss
3250
+ // Color constants
2817
3251
 
2818
- // Mixins
2819
- // #region @import "./mixins/index.import.scss"; -> scss/core/mixins/index.import.scss
2820
- // #region @import "@progress/kendo-theme-core/scss/mixins/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/mixins/index.import.scss
3252
+ /// The color white.
3253
+ /// Note: you cannot change this value.
3254
+ /// @type Color
3255
+ /// @group color-system
3256
+ $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
3257
+
3258
+ /// The color black.
3259
+ /// Note: you cannot change this value.
3260
+ /// @type Color
3261
+ /// @group color-system
3262
+ $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
3263
+
3264
+ /// The color transparent.
3265
+ /// Note: you cannot change this value.
3266
+ /// @type Color
3267
+ /// @group color-system
3268
+ $kendo-color-rgba-transparent: rgba( 0, 0, 0, 0 ); // stylelint-disable-line scss/dollar-variable-default
3269
+
3270
+ /// A gradient that goes from transparent to black.
3271
+ /// Note: you cannot change this value.
3272
+ /// @type Gradient
3273
+ /// @group color-system
3274
+ $kendo-gradient-transparent-to-black: rgba( black, 0 ), black; // stylelint-disable-line scss/dollar-variable-default
3275
+
3276
+ /// A gradient that goes from transparent to white.
3277
+ /// Note: you cannot change this value.
3278
+ /// @type Gradient
3279
+ /// @group color-system
3280
+ $kendo-gradient-transparent-to-white: rgba( white, 0 ), white; // stylelint-disable-line scss/dollar-variable-default
3281
+
3282
+ /// A gradient that goes from black to transparent.
3283
+ /// Note: you cannot change this value.
3284
+ /// @type Gradient
3285
+ /// @group color-system
3286
+ $kendo-gradient-black-to-transparent: black, rgba( black, 0 ); // stylelint-disable-line scss/dollar-variable-default
3287
+
3288
+ /// A gradient that goes from white to transparent.
3289
+ /// Note: you cannot change this value.
3290
+ /// @type Gradient
3291
+ /// @group color-system
3292
+ $kendo-gradient-white-to-transparent: white, rgba( white, 0 ); // stylelint-disable-line scss/dollar-variable-default
3293
+
3294
+ /// A gradient that cycles through the colors of the rainbow.
3295
+ /// Note: you cannot change this value.
3296
+ /// @type Gradient
3297
+ /// @group color-system
3298
+ $kendo-gradient-rainbow: #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000; // stylelint-disable-line scss/dollar-variable-default
3299
+
3300
+
3301
+ // Root styles
3302
+ $kendo-body-bg: $kendo-color-white !default;
3303
+ $kendo-body-text: k-get-theme-color-var( neutral-160 ) !default;
3304
+
3305
+ // Component styles
3306
+ $kendo-component-bg: $kendo-body-bg !default;
3307
+ $kendo-component-text: $kendo-body-text !default;
3308
+ $kendo-component-border: k-get-theme-color-var( neutral-30 ) !default;
3309
+
3310
+ // States styles
3311
+ $kendo-hover-bg: k-get-theme-color-var( neutral-20 ) !default;
3312
+ $kendo-hover-text: k-get-theme-color-var( neutral-190 ) !default;
3313
+ $kendo-hover-border: k-get-theme-color-var( neutral-20 ) !default;
3314
+
3315
+ $kendo-selected-bg: k-get-theme-color-var( neutral-30 ) !default;
3316
+ $kendo-selected-text: k-get-theme-color-var( neutral-160 ) !default;
3317
+ $kendo-selected-border: k-get-theme-color-var( neutral-130 ) !default;
3318
+
3319
+ $kendo-selected-hover-bg: k-get-theme-color-var( neutral-40 ) !default;
3320
+ $kendo-selected-hover-text: k-get-theme-color-var( neutral-190 ) !default;
3321
+ $kendo-selected-hover-border: k-get-theme-color-var( neutral-130 ) !default;
3322
+
3323
+ $kendo-focus-outline: k-get-theme-color-var( neutral-130 ) !default;
3324
+
3325
+ $kendo-subtle-text: k-get-theme-color-var( neutral-130 ) !default;
3326
+
3327
+ // Shadows
3328
+
3329
+ /// Shadow for cards and grid item thumbnails.
3330
+ /// Equivalent to fluent depth 4.
3331
+ $kendo-box-shadow-depth-1: 0 1.6px 3.6px rgba( $kendo-color-black, 0.132 ), 0 0.3px 0.9px rgba( $kendo-color-black, 0.108 ) !default;
3332
+ /// Shadow for command bars and dropdowns.
3333
+ /// Equivalent to fluent depth 8.
3334
+ $kendo-box-shadow-depth-2: 0 3.2px 7.2px rgba( $kendo-color-black, 0.132 ), 0 0.6px 1.8px rgba( $kendo-color-black, 0.108 ) !default;
3335
+ /// Shadow for teaching callouts and hover cards / tooltips.
3336
+ /// Equivalent to fluent depth 16.
3337
+ $kendo-box-shadow-depth-3: 0 6.4px 14.4px rgba( $kendo-color-black, 0.132 ), 0 1.2px 3.6px rgba( $kendo-color-black, 0.108 ) !default;
3338
+ /// Shadow for panels and pop up dialogs.
3339
+ /// Equivalent to fluent depth 64.
3340
+ $kendo-box-shadow-depth-4: 0 25.6px 57.6px rgba( $kendo-color-black, 0.22 ), 0 4.8px 14.4px rgba( $kendo-color-black, 0.18 ) !default;
3341
+
3342
+ // Link
3343
+ $kendo-link-text: k-get-theme-color-var( primary-100 ) !default;
3344
+ $kendo-link-hover-text: k-get-theme-color-var( primary-120 ) !default;
3345
+
3346
+ // Validator
3347
+ $kendo-invalid-bg: initial !default;
3348
+ $kendo-invalid-text: k-get-theme-color-var( error-190 ) !default;
3349
+ $kendo-invalid-border: k-get-theme-color-var( error-190 ) !default;
3350
+ $kendo-invalid-shadow: null !default;
3351
+
3352
+ // Disabled Styling
3353
+ $kendo-disabled-bg: k-get-theme-color-var( neutral-20 ) !default;
3354
+ $kendo-disabled-text: k-get-theme-color-var( neutral-90 ) !default;
3355
+ $kendo-disabled-border: transparent !default;
3356
+
3357
+ // Loading
3358
+ $kendo-loading-bg: $kendo-component-bg !default;
3359
+ $kendo-loading-text: currentColor !default;
3360
+
3361
+
3362
+ // Theme colors
3363
+ $kendo-theme-colors: (
3364
+ primary: (
3365
+ text: k-get-theme-color-var( primary-130 ),
3366
+ bg: k-get-theme-color-var( primary-20 ),
3367
+ border: k-get-theme-color-var( primary-20 )
3368
+ ),
3369
+ info: (
3370
+ text: k-get-theme-color-var( info-190 ),
3371
+ bg: k-get-theme-color-var( info-20 ),
3372
+ border: k-get-theme-color-var( info-20 )
3373
+ ),
3374
+ success: (
3375
+ text: k-get-theme-color-var( success-190 ),
3376
+ bg: k-get-theme-color-var( success-20 ),
3377
+ border: k-get-theme-color-var( success-20 )
3378
+ ),
3379
+ warning: (
3380
+ text: k-get-theme-color-var( neutral-160 ),
3381
+ bg: k-get-theme-color-var( warning-20 ),
3382
+ border: k-get-theme-color-var( warning-20 )
3383
+ ),
3384
+ error: (
3385
+ text: k-get-theme-color-var( error-190 ),
3386
+ bg: k-get-theme-color-var( error-20 ),
3387
+ border: k-get-theme-color-var( error-20 )
3388
+ )
3389
+ ) !default;
3390
+
3391
+
3392
+ @mixin color-system-styles() {
3393
+ :root {
3394
+ @include k-css-vars( $kendo-palettes );
3395
+ @include k-css-vars( $kendo-theme-colors );
3396
+
3397
+ --kendo-body-bg: #{$kendo-body-bg};
3398
+ --kendo-body-text: #{$kendo-body-text};
3399
+
3400
+ --kendo-component-bg: #{$kendo-component-bg};
3401
+ --kendo-component-text: #{$kendo-component-text};
3402
+ --kendo-component-border: #{$kendo-component-border};
3403
+
3404
+ --kendo-box-shadow-depth-1: #{$kendo-box-shadow-depth-1};
3405
+ --kendo-box-shadow-depth-2: #{$kendo-box-shadow-depth-2};
3406
+ --kendo-box-shadow-depth-3: #{$kendo-box-shadow-depth-3};
3407
+ --kendo-box-shadow-depth-4: #{$kendo-box-shadow-depth-4};
3408
+
3409
+ --kendo-link-text: #{$kendo-link-text};
3410
+ --kendo-link-hover-text: #{$kendo-link-hover-text};
3411
+
3412
+ --kendo-disabled-bg: #{$kendo-disabled-bg};
3413
+ --kendo-disabled-text: #{$kendo-disabled-text};
3414
+ --kendo-disabled-border: #{$kendo-disabled-border};
3415
+
3416
+ --kendo-hover-bg: #{$kendo-hover-bg};
3417
+ --kendo-hover-text: #{$kendo-hover-text};
3418
+ --kendo-hover-border: #{$kendo-hover-border};
3419
+
3420
+ --kendo-selected-bg: #{$kendo-selected-bg};
3421
+ --kendo-selected-text: #{$kendo-selected-text};
3422
+ --kendo-selected-border: #{$kendo-selected-border};
3423
+
3424
+ --kendo-selected-hover-bg: #{$kendo-selected-hover-bg};
3425
+ --kendo-selected-hover-text: #{$kendo-selected-hover-text};
3426
+ --kendo-selected-hover-border: #{$kendo-selected-hover-border};
3427
+
3428
+ --kendo-focus-outline: #{$kendo-focus-outline};
3429
+
3430
+ --kendo-subtle-text: #{$kendo-subtle-text};
3431
+
3432
+ --kendo-invalid-bg: #{$kendo-invalid-bg};
3433
+ --kendo-invalid-text: #{$kendo-invalid-text};
3434
+ --kendo-invalid-border: #{$kendo-invalid-border};
3435
+ --kendo-invalid-shadow: #{$kendo-invalid-shadow};
3436
+
3437
+ --kendo-border-radius-sm: #{$kendo-border-radius-sm};
3438
+ --kendo-border-radius-md: #{$kendo-border-radius-md};
3439
+ --kendo-border-radius-lg: #{$kendo-border-radius-lg};
3440
+ }
3441
+
3442
+ // Text colors
3443
+ @each $theme-color, $color-props in $kendo-theme-colors {
3444
+ $_color: k-map-get( $color-props, text );
3445
+
3446
+ .k-text-#{$theme-color},
3447
+ .k-color-#{$theme-color} {
3448
+ color: var( --kendo-text-#{$theme-color}, #{$_color} );
3449
+ }
3450
+ .\!k-text-#{$theme-color},
3451
+ .\!k-color-#{$theme-color} {
3452
+ color: var( --kendo-text-#{$theme-color}, #{$_color} ) !important; // stylelint-disable-line declaration-no-important
3453
+ }
3454
+
3455
+ .k-bg-#{$theme-color} {
3456
+ background-color: var( --kendo-bg-#{$theme-color}, #{$_color} );
3457
+ }
3458
+ .\!k-bg-#{$theme-color} {
3459
+ background-color: var( --kendo-bg-#{$theme-color}, #{$_color} ) !important; // stylelint-disable-line declaration-no-important
3460
+ }
3461
+ };
3462
+ }
3463
+
3464
+ // #endregion
3465
+ // @import "./_palettes.scss";
3466
+
3467
+ // #endregion
3468
+ // #region @import "./mixins/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/mixins/index.import.scss
2821
3469
  // #region @import "./_border-radius.scss"; -> node_modules/@progress/kendo-theme-core/scss/mixins/_border-radius.scss
2822
3470
  // Border radius
2823
3471
  @mixin border-radius( $radius: null ) {
@@ -2917,6 +3565,47 @@ $_kendo-data-uris: () !default;
2917
3565
  box-shadow: none;
2918
3566
  }
2919
3567
 
3568
+ @mixin disabled-color( $color: null, $bg: null, $border: null ) {
3569
+ outline: none;
3570
+ cursor: default;
3571
+ background-color: $bg;
3572
+ color: $color;
3573
+ border-color: $border;
3574
+ pointer-events: none;
3575
+ box-shadow: none;
3576
+ }
3577
+
3578
+ // #endregion
3579
+ // #region @import "./_decoration.scss"; -> node_modules/@progress/kendo-theme-core/scss/mixins/_decoration.scss
3580
+ @mixin fill( $color: null, $bg: null, $border: null, $gradient: null ) {
3581
+ @if $border {
3582
+ border-color: $border;
3583
+ }
3584
+ @if $color {
3585
+ color: $color;
3586
+ }
3587
+ @if $bg {
3588
+ background-color: $bg;
3589
+ }
3590
+ @if $gradient {
3591
+ @include linear-gradient( $gradient );
3592
+ }
3593
+ }
3594
+
3595
+ @mixin linear-gradient( $gradient: null ) {
3596
+ @if $gradient and $kendo-enable-gradients {
3597
+ @if $gradient == none {
3598
+ background-image: none;
3599
+ } @else {
3600
+ background-image: linear-gradient( $gradient );
3601
+ }
3602
+ }
3603
+ }
3604
+
3605
+ @mixin repeating-striped-gradient( $color: rgba(255,255,255,.15), $background: #FFF, $angle: 45deg, $largeStep: 2px, $smallStep: 1px) {
3606
+ background-image: repeating-linear-gradient($angle, $background, $background $smallStep, $color $smallStep, $color $largeStep);
3607
+ }
3608
+
2920
3609
  // #endregion
2921
3610
  // #region @import "./_focus-indicator.scss"; -> node_modules/@progress/kendo-theme-core/scss/mixins/_focus-indicator.scss
2922
3611
  @mixin focus-indicator( $indicator, $inset: false, $themeable: false, $type: "box-shadow" ) {
@@ -2969,7 +3658,7 @@ $_kendo-data-uris: () !default;
2969
3658
  // #region @import "./_hide-scrollbar.scss"; -> node_modules/@progress/kendo-theme-core/scss/mixins/_hide-scrollbar.scss
2970
3659
  $kendo-scrollbar-width: 17px !default;
2971
3660
 
2972
- @mixin hide-scrollbar( $dir: "right", $max-scrollbar: 100px ) {
3661
+ @mixin hide-scrollbar( $dir: "right", $max-scrollbar: 100px) {
2973
3662
  // anything larger than the scrollbar width will do
2974
3663
  $scrollbar-size: var( --kendo-scrollbar-width, #{$kendo-scrollbar-width} );
2975
3664
  $margin: calc( -#{$max-scrollbar} - #{$scrollbar-size} );
@@ -2986,6 +3675,18 @@ $kendo-scrollbar-width: 17px !default;
2986
3675
  }
2987
3676
  }
2988
3677
 
3678
+ @mixin hide-scrollbar-dir-agnostic($max-scrollbar: 100px) {
3679
+ // anything larger than the scrollbar width will do
3680
+ $scrollbar-size: var( --kendo-scrollbar-width, #{$kendo-scrollbar-width} );
3681
+ $margin: calc( -#{$max-scrollbar} - #{$scrollbar-size} );
3682
+
3683
+ padding-inline-end: $max-scrollbar;
3684
+ padding-inline-start: $max-scrollbar;
3685
+
3686
+ margin-inline-start: -$max-scrollbar;
3687
+ margin-inline-end: $margin;
3688
+ }
3689
+
2989
3690
  // #endregion
2990
3691
  // #region @import "./_import-once.scss"; -> node_modules/@progress/kendo-theme-core/scss/mixins/_import-once.scss
2991
3692
  /// A list of exported modules.
@@ -3015,13 +3716,6 @@ $_kendo-imported-modules: () !default;
3015
3716
 
3016
3717
  // #endregion
3017
3718
 
3018
- @mixin fill( $color: null, $bg: null, $border: null, $gradient: null ) {
3019
- border-color: $border;
3020
- color: $color;
3021
- background-color: $bg;
3022
- @include linear-gradient( $gradient );
3023
- }
3024
-
3025
3719
  @mixin background-image( $background-image: null ) {
3026
3720
  @if $background-image {
3027
3721
  background-image: url(#{$background-image});
@@ -3029,12 +3723,7 @@ $_kendo-imported-modules: () !default;
3029
3723
  }
3030
3724
 
3031
3725
  // #endregion
3032
-
3033
- // #endregion
3034
-
3035
- // Module system
3036
- // #region @import "./module-system/index.import.scss"; -> scss/core/module-system/index.import.scss
3037
- // #region @import "@progress/kendo-theme-core/scss/module-system/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/module-system/index.import.scss
3726
+ // #region @import "./module-system/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/module-system/index.import.scss
3038
3727
  // #region @import "./_components.scss"; -> node_modules/@progress/kendo-theme-core/scss/module-system/_components.scss
3039
3728
  $kendo-components: (
3040
3729
  // Typography and utils
@@ -3713,12 +4402,7 @@ $_imported: () !default;
3713
4402
  // stylelint-enable scss/at-if-no-null
3714
4403
 
3715
4404
  // #endregion
3716
-
3717
- // #endregion
3718
-
3719
- // Common styles
3720
- // #region @import "./styles/index.import.scss"; -> scss/core/styles/index.import.scss
3721
- // #region @import "@progress/kendo-theme-core/scss/styles/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/styles/index.import.scss
4405
+ // #region @import "./styles/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/styles/index.import.scss
3722
4406
  // #region @import "./_accessibility.scss"; -> node_modules/@progress/kendo-theme-core/scss/styles/_accessibility.scss
3723
4407
  @mixin kendo-core--styles--accessibility() {
3724
4408
 
@@ -3749,6 +4433,20 @@ $_imported: () !default;
3749
4433
  // #endregion
3750
4434
  // #region @import "./_layout.scss"; -> node_modules/@progress/kendo-theme-core/scss/styles/_layout.scss
3751
4435
  @mixin kendo-core--styles--layout() {
4436
+ .k-body {
4437
+ @include typography(
4438
+ var( --kendo-font-size, inherit ),
4439
+ var( --kendo-font-family, inherit ),
4440
+ var( --kendo-line-height, normal ),
4441
+ var( --kendo-font-weight, normal ),
4442
+ var( --kendo-letter-spacing, normal ),
4443
+ );
4444
+ @include fill(
4445
+ var( --kendo-body-text, initial ),
4446
+ var( --kendo-body-bg, initial )
4447
+ );
4448
+ margin: 0;
4449
+ }
3752
4450
 
3753
4451
  // Basic layout
3754
4452
  .k-hstack {
@@ -3863,375 +4561,386 @@ $_imported: () !default;
3863
4561
  }
3864
4562
 
3865
4563
  // #endregion
4564
+ // #region @import "./_base.scss"; -> node_modules/@progress/kendo-theme-core/scss/styles/_base.scss
4565
+ @mixin kendo-core--styles--base() {
4566
+ // Disabled state
4567
+ .k-disabled,
4568
+ .k-widget[disabled],
4569
+ .k-disabled {
4570
+ @include disabled-color(
4571
+ $color: var( --kendo-disabled-text, inherit ),
4572
+ $border: var( --kendo-disabled-border, inherit )
4573
+ );
3866
4574
 
4575
+ .k-link {
4576
+ cursor: default;
4577
+ outline: 0;
4578
+ }
4579
+ }
3867
4580
 
3868
- @mixin kendo-core--styles() {
3869
- @include kendo-core--styles--accessibility();
3870
- @include kendo-core--styles--asp-fallback();
3871
- @include kendo-core--styles--layout();
3872
- @include kendo-core--styles--normalize();
3873
- }
3874
-
3875
- // #endregion
3876
-
3877
- // #endregion
3878
-
3879
- // Variables
3880
- // #region @import "../_variables.scss"; -> scss/_variables.scss
3881
- // #region @import "./core/functions/index.import.scss"; -> scss/core/functions/index.import.scss
3882
- // File already imported_once. Skipping output.
3883
- // #endregion
3884
-
3885
-
3886
- // Options
3887
- $kendo-enable-rounded: true !default;
3888
- $kendo-enable-shadows: true !default;
3889
- $kendo-enable-gradients: true !default;
3890
- $kendo-enable-transitions: true !default;
3891
- $kendo-enable-focus-contrast: false !default;
3892
- $kendo-enable-typography: false !default;
3893
-
3894
- $kendo-use-input-button-width: false !default;
3895
- $kendo-use-input-spinner-width: false !default;
3896
- $kendo-use-input-spinner-icon-offset: false !default;
3897
-
3898
- $kendo-auto-bootstrap: true !default;
3899
-
4581
+ // Horizontal line
4582
+ .k-hr {
4583
+ margin-block: k-map-get( $kendo-spacing, 4 );
4584
+ padding: 0;
4585
+ height: 0;
4586
+ border-width: 1px 0 0;
4587
+ border-style: solid;
4588
+ border-color: var( --kendo-component-border, inherit );
4589
+ display: block;
4590
+ float: none;
4591
+ clear: both;
4592
+ }
3900
4593
 
3901
- // Spacing
3902
- $kendo-spacing: (
3903
- 0: 0,
3904
- 1px: 1px,
3905
- 0.5: 2px,
3906
- 1: 4px,
3907
- 1.5: 6px,
3908
- 2: 8px,
3909
- 2.5: 10px,
3910
- 3: 12px,
3911
- 3.5: 14px,
3912
- 4: 16px,
3913
- 4.5: 18px,
3914
- 5: 20px,
3915
- 5.5: 22px,
3916
- 6: 24px,
3917
- 6.5: 26px,
3918
- 7: 28px,
3919
- 7.5: 30px,
3920
- 8: 32px,
3921
- 9: 36px,
3922
- 10: 40px,
3923
- 11: 44px,
3924
- 12: 48px,
3925
- 13: 52px,
3926
- 14: 56px,
3927
- 15: 60px,
3928
- 16: 64px,
3929
- 17: 68px,
3930
- 18: 72px,
3931
- 19: 76px,
3932
- 20: 80px,
3933
- 21: 84px,
3934
- 22: 88px,
3935
- 23: 92px,
3936
- 24: 96px
3937
- ) !default;
4594
+ // Horizontal rule
4595
+ .k-d-flex-row > .k-hr {
4596
+ margin: 0;
4597
+ width: 0;
4598
+ height: auto;
4599
+ border-width: 0 0 0 1px;
4600
+ flex: 0 0 auto;
4601
+ }
3938
4602
 
4603
+ // Vertical rule
4604
+ .k-d-flex-col > .k-hr {
4605
+ margin: 0;
4606
+ flex: 0 0 auto;
4607
+ }
3939
4608
 
3940
- // Icons
3941
- $kendo-icon-size: 16px !default;
4609
+ .k-sprite {
4610
+ display: inline-block;
4611
+ width: 1rem;
4612
+ height: 1rem;
4613
+ overflow: hidden;
4614
+ background-repeat: no-repeat;
4615
+ font-size: 0;
4616
+ line-height: 0;
4617
+ text-align: center;
4618
+ }
3942
4619
 
3943
- $kendo-icon-size-xs: calc( #{$kendo-icon-size} * .75 ) !default;
3944
- $kendo-icon-size-sm: calc( #{$kendo-icon-size} * .875 ) !default;
3945
- $kendo-icon-size-md: $kendo-icon-size !default;
3946
- $kendo-icon-size-lg: calc( #{$kendo-icon-size} * 1.25 ) !default;
3947
- $kendo-icon-size-xl: calc( #{$kendo-icon-size} * 1.5 ) !default;
3948
- $kendo-icon-size-xxl: calc( #{$kendo-icon-size} * 2 ) !default;
3949
- $kendo-icon-size-xxxl: calc( #{$kendo-icon-size} * 3 ) !default;
4620
+ .k-image {
4621
+ display: inline-block;
4622
+ }
3950
4623
 
3951
- $kendo-icon-spacing: k-map-get( $kendo-spacing, 1 ) !default;
3952
- $kendo-icon-padding: k-map-get( $kendo-spacing, 1 ) !default;
4624
+ // Layout
4625
+ .k-reset {
4626
+ margin: 0;
4627
+ padding: 0;
4628
+ border-width: 0;
4629
+ outline: 0;
4630
+ text-decoration: none;
4631
+ font: inherit;
4632
+ list-style: none;
4633
+ }
3953
4634
 
4635
+ kendo-sortable {
4636
+ display: block;
4637
+ }
3954
4638
 
3955
- // Metrics
3956
- $kendo-padding-x: 8px !default;
3957
- $kendo-padding-y: 4px !default;
3958
- $kendo-padding-sm-x: k-map-get( $kendo-spacing, 1 ) !default;
3959
- $kendo-padding-sm-y: k-map-get( $kendo-spacing, 0.5 ) !default;
3960
- $kendo-padding-md-x: k-map-get( $kendo-spacing, 2 ) !default;
3961
- $kendo-padding-md-y: k-map-get( $kendo-spacing, 1 ) !default;
3962
- $kendo-padding-lg-x: k-map-get( $kendo-spacing, 3 ) !default;
3963
- $kendo-padding-lg-y: k-map-get( $kendo-spacing, 1.5 ) !default;
3964
4639
 
3965
- /// Border radius for all components.
3966
- $kendo-border-radius: k-map-get( $kendo-spacing, 1 ) !default;
3967
- $kendo-border-radius-sm: k-math-div( $kendo-border-radius, 2 ) !default;
3968
- $kendo-border-radius-md: $kendo-border-radius !default;
3969
- $kendo-border-radius-lg: $kendo-border-radius * 2 !default;
4640
+ // Links
4641
+ .k-link,
4642
+ .k-link:hover {
4643
+ color: inherit;
4644
+ text-decoration: none;
4645
+ outline: 0;
4646
+ cursor: pointer;
4647
+ }
3970
4648
 
3971
- $kendo-border-radii: (
3972
- DEFAULT: $kendo-border-radius-md,
3973
- 0: 0,
3974
- sm: $kendo-border-radius-sm,
3975
- md: $kendo-border-radius-md,
3976
- lg: $kendo-border-radius-lg,
3977
- full: 9999px
3978
- ) !default;
4649
+ // Outline
4650
+ .k-content {
4651
+ outline: 0;
4652
+ }
3979
4653
 
4654
+ // Centering
4655
+ .k-centered {
4656
+ position: absolute;
4657
+ top: 50%;
4658
+ left: 50%;
4659
+ transform: translate(-50%, -50%);
4660
+ }
3980
4661
 
3981
- $kendo-zindex-popup: 1 !default;
3982
- $kendo-zindex-window: 2 !default;
3983
- $kendo-zindex-loading: 100 !default;
4662
+ // Disable mouse events
4663
+ .k-no-click {
4664
+ pointer-events: none;
4665
+ }
3984
4666
 
4667
+ // Off-screen container used during PDF export
4668
+ .k-pdf-export-shadow {
4669
+ position: absolute;
4670
+ overflow: hidden;
4671
+ left: -15000px;
4672
+ width: 14400px;
4673
+ }
3985
4674
 
3986
- // Color settings
3987
- $kendo-is-dark-theme: false !default;
4675
+ // PDF export icons fix
4676
+ .kendo-pdf-hide-pseudo-elements::before,
4677
+ .kendo-pdf-hide-pseudo-elements::after {
4678
+ display: none !important; // stylelint-disable-line declaration-no-important
4679
+ }
3988
4680
 
3989
- // Theme colors
3990
- /// The color that focuses the user attention.
3991
- /// Used for primary buttons and for elements of primary importance across the theme.
3992
- /// @group color-system
3993
- /// @type Color
3994
- $kendo-color-primary: #f35800 !default;
3995
- $kendo-color-primary-lighter: k-color-tint( $kendo-color-primary, 2 ) !default;
3996
- $kendo-color-primary-darker: k-color-shade( $kendo-color-primary, 2 ) !default;
4681
+ // Dirty indicator
4682
+ .k-dirty {
4683
+ margin: 0;
4684
+ padding: 0;
4685
+ width: 0;
4686
+ height: 0;
4687
+ border-width: 3px;
4688
+ border-style: solid;
4689
+ border-block-start-color: currentColor;
4690
+ border-block-end-color: transparent;
4691
+ border-inline-start-color: transparent;
4692
+ border-inline-end-color: currentColor;
4693
+ position: absolute;
4694
+ inset-block-start: 0;
4695
+ inset-inline-end: 0;
4696
+ }
4697
+ }
4698
+ // #endregion
4699
+ // #region @import "./_loading.scss"; -> node_modules/@progress/kendo-theme-core/scss/styles/_loading.scss
4700
+ @mixin kendo-core--styles--loading() {
4701
+ // Loading mask
4702
+ .k-loading-mask,
4703
+ .k-loading-image,
4704
+ .k-loading-color {
4705
+ width: 100%;
4706
+ height: 100%;
4707
+ box-sizing: border-box;
4708
+ position: absolute;
4709
+ top: 0;
4710
+ left: 0;
3997
4711
 
3998
- /// The color used along with the primary color denoted by $kendo-color-primary.
3999
- /// Used to provide contrast between the background and foreground colors.
4000
- /// @group color-system
4001
- /// @type Color
4002
- $kendo-color-primary-contrast: k-contrast-legacy( $kendo-color-primary ) !default;
4712
+ *,
4713
+ *::before,
4714
+ *::after,
4715
+ &::before,
4716
+ &::after {
4717
+ box-sizing: border-box;
4718
+ }
4719
+ }
4003
4720
 
4004
- /// The secondary color of the theme.
4005
- /// @group color-system
4006
- /// @type Color
4007
- $kendo-color-secondary: #e9e9e9 !default;
4008
- $kendo-color-secondary-lighter: k-color-tint( $kendo-color-secondary, 2 ) !default;
4009
- $kendo-color-secondary-darker: k-color-shade( $kendo-color-secondary, 2 ) !default;
4721
+ .k-loading-mask {
4722
+ z-index: $kendo-zindex-loading;
4010
4723
 
4011
- /// The color used along with the secondary color denoted by $kendo-color-secondary.
4012
- /// Used to provide contrast between the background and foreground colors.
4013
- /// @group color-system
4014
- /// @type Color
4015
- $kendo-color-secondary-contrast: k-contrast-color( $kendo-color-secondary ) !default;
4724
+ &.k-opaque {
4725
+ .k-loading-color {
4726
+ opacity: 1;
4727
+ }
4728
+ }
4729
+ }
4730
+ .k-loading-text {
4731
+ text-indent: -4000px;
4732
+ text-align: center;
4733
+ position: absolute;
4734
+ color: $kendo-loading-text;
4735
+ }
4736
+ .k-loading-image {
4737
+ z-index: 2;
4738
+ color: $kendo-loading-text;
4739
+ }
4740
+ .k-loading-color {
4741
+ background-color: $kendo-loading-bg;
4742
+ opacity: $kendo-loading-opacity;
4743
+ }
4016
4744
 
4017
- /// The tertiary color of the theme.
4018
- /// @group color-system
4019
- /// @type Color
4020
- $kendo-color-tertiary: #03a9f4 !default;
4021
- $kendo-color-tertiary-lighter: k-color-tint( $kendo-color-tertiary, 2 ) !default;
4022
- $kendo-color-tertiary-darker: k-color-shade( $kendo-color-tertiary, 2 ) !default;
4745
+ // Loading indicator
4746
+ .k-i-loading {
4747
+ position: relative;
4748
+ background-color: transparent;
4749
+ box-sizing: border-box;
4750
+ color: $kendo-loading-text;
4023
4751
 
4024
- /// The color used along with the tertiary color denoted by $kendo-color-tertiary.
4025
- /// Used to provide contrast between the background and foreground colors.
4026
- /// @group color-system
4027
- /// @type Color
4028
- $kendo-color-tertiary-contrast: k-contrast-color( $kendo-color-tertiary ) !default;
4752
+ &::before,
4753
+ &::after {
4754
+ box-sizing: border-box;
4755
+ }
4756
+ }
4029
4757
 
4030
- /// The color for informational messages and states.
4031
- /// @group color-system
4032
- /// @type Color
4033
- $kendo-color-info: #2498bc !default;
4034
- $kendo-color-info-lighter: k-color-tint( $kendo-color-info, 2 ) !default;
4035
- $kendo-color-info-darker: k-color-shade( $kendo-color-info, 2 ) !default;
4758
+ .k-i-loading::before,
4759
+ .k-i-loading::after,
4760
+ .k-loading-image::before,
4761
+ .k-loading-image::after {
4762
+ position: absolute;
4763
+ top: 50%;
4764
+ left: 50%;
4765
+ display: inline-block;
4766
+ content: "";
4767
+ box-sizing: inherit;
4768
+ border-radius: 50%;
4769
+ border-width: .05em;
4770
+ border-style: solid;
4771
+ border-color: currentColor;
4772
+ border-top-color: transparent;
4773
+ border-bottom-color: transparent;
4774
+ background-color: transparent;
4775
+ }
4036
4776
 
4037
- /// The color for success messages and states.
4038
- /// @group color-system
4039
- /// @type Color
4040
- $kendo-color-success: #3ea44e !default;
4041
- $kendo-color-success-lighter: k-color-tint( $kendo-color-success, 2 ) !default;
4042
- $kendo-color-success-darker: k-color-shade( $kendo-color-success, 2 ) !default;
4777
+ .k-icon.k-i-loading::before,
4778
+ .k-icon.k-i-loading::after {
4779
+ content: "";
4780
+ }
4043
4781
 
4044
- /// The color for warning messages and states.
4045
- /// @group color-system
4046
- /// @type Color
4047
- $kendo-color-warning: #ff9800 !default;
4048
- $kendo-color-warning-lighter: k-color-tint( $kendo-color-warning, 2 ) !default;
4049
- $kendo-color-warning-darker: k-color-shade( $kendo-color-warning, 2 ) !default;
4782
+ .k-i-loading::before,
4783
+ .k-loading-image::before {
4784
+ margin-top: -.5em;
4785
+ margin-left: -.5em;
4786
+ width: 1em;
4787
+ height: 1em;
4788
+ animation: k-loading-animation .7s linear infinite;
4789
+ }
4050
4790
 
4051
- /// The color for error messages and states.
4052
- /// @group color-system
4053
- /// @type Color
4054
- $kendo-color-error: #d92800 !default;
4055
- $kendo-color-error-lighter: k-color-tint( $kendo-color-error, 2 ) !default;
4056
- $kendo-color-error-darker: k-color-shade( $kendo-color-error, 2 ) !default;
4791
+ .k-i-loading::after,
4792
+ .k-loading-image::after {
4793
+ margin-top: -.25em;
4794
+ margin-left: -.25em;
4795
+ width: .5em;
4796
+ height: .5em;
4797
+ animation: k-loading-animation reverse 1.4s linear infinite;
4798
+ }
4057
4799
 
4058
- /// The dark color of the theme.
4059
- /// @group color-system
4060
- /// @type Color
4061
- $kendo-color-dark: #404040 !default;
4800
+ .k-loading-image::before,
4801
+ .k-loading-image::after {
4802
+ content: "";
4803
+ // See https://github.com/telerik/kendo-themes/issues/1925
4804
+ border-width: 1px; // TODO: Remove once we drop IE support
4805
+ border-width: clamp( .015em, 1px, 1px );
4806
+ font-size: 4em;
4807
+ }
4062
4808
 
4063
- /// The light color of the theme.
4064
- /// @group color-system
4065
- /// @type Color
4066
- $kendo-color-light: #ebebeb !default;
4809
+ // Loading animation
4810
+ @keyframes k-loading-animation {
4811
+ 0% {
4812
+ transform: rotate(0deg);
4813
+ }
4814
+ 100% {
4815
+ transform: rotate(360deg);
4816
+ }
4817
+ }
4818
+ }
4819
+ // #endregion
4820
+ // #region @import "./_selection.scss"; -> node_modules/@progress/kendo-theme-core/scss/styles/_selection.scss
4821
+ @mixin kendo-core--styles--selection() {
4822
+ .k-marquee {
4823
+ position: absolute;
4824
+ z-index: 100000;
4825
+ }
4067
4826
 
4068
- /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
4069
- /// @group color-system
4070
- $kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
4827
+ .k-marquee-color,
4828
+ .k-marquee-text {
4829
+ position: absolute;
4830
+ top: 0;
4831
+ left: 0;
4832
+ width: 100%;
4833
+ height: 100%;
4834
+ }
4071
4835
 
4836
+ .k-marquee-color {
4837
+ color: $kendo-selected-text;
4838
+ background-color: k-get-theme-color-var( primary-60, #{$kendo-selected-bg} );
4839
+ border-color: k-get-theme-color-var( primary-100, #{$kendo-selected-border} );
4840
+ opacity: .6;
4841
+ }
4842
+ .k-marquee-text {
4843
+ color: $kendo-selected-text;
4844
+ }
4845
+ }
4846
+ // #endregion
4072
4847
 
4073
- $kendo-theme-colors: (
4074
- "primary": $kendo-color-primary,
4075
- "secondary": $kendo-color-secondary,
4076
- "tertiary": $kendo-color-tertiary,
4077
- "info": $kendo-color-info,
4078
- "success": $kendo-color-success,
4079
- "warning": $kendo-color-warning,
4080
- "error": $kendo-color-error,
4081
- "dark": $kendo-color-dark,
4082
- "light": $kendo-color-light,
4083
- "inverse": $kendo-color-inverse
4084
- ) !default;
4085
4848
 
4849
+ @mixin kendo-core--styles() {
4850
+ @include kendo-core--styles--accessibility();
4851
+ @include kendo-core--styles--asp-fallback();
4852
+ @include kendo-core--styles--layout();
4853
+ @include kendo-core--styles--normalize();
4854
+ @include kendo-core--styles--base();
4855
+ @include kendo-core--styles--loading();
4856
+ @include kendo-core--styles--selection();
4857
+ }
4086
4858
 
4087
- // Typography
4859
+ // #endregion
4860
+ // #region @import "./_variables.scss"; -> node_modules/@progress/kendo-theme-core/scss/_variables.scss
4861
+ // #region @import "./functions/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/functions/index.import.scss
4862
+ // File already imported_once. Skipping output.
4863
+ // #endregion
4088
4864
 
4089
- /// Base font size across all components.
4090
- /// @group typography
4091
- $kendo-font-size: 14px !default;
4092
- $kendo-font-size-xs: 10px !default;
4093
- $kendo-font-size-sm: 12px !default;
4094
- $kendo-font-size-md: $kendo-font-size !default;
4095
- $kendo-font-size-lg: 16px !default;
4096
- $kendo-font-size-xl: 20px !default;
4865
+ // Options
4866
+ $kendo-enable-shadows: true !default;
4867
+ $kendo-enable-rounded: true !default;
4868
+ $kendo-enable-gradients: true !default;
4869
+ $kendo-enable-transitions: true !default;
4097
4870
 
4098
- $kendo-font-sizes: (
4099
- xs: $kendo-font-size-xs,
4100
- sm: $kendo-font-size-sm,
4101
- md: $kendo-font-size-md,
4102
- lg: $kendo-font-size-lg,
4103
- xl: $kendo-font-size-xl
4871
+ $kendo-spacing: (
4872
+ 0: 0,
4873
+ 1px: 1px,
4874
+ 0.5: 0.125rem,
4875
+ 1: 0.25rem,
4876
+ 1.5: 0.375rem,
4877
+ 2: 0.5rem,
4878
+ 2.5: 0.625rem,
4879
+ 3: 0.75rem,
4880
+ 3.5: 0.875rem,
4881
+ 4: 1rem,
4882
+ 4.5: 1.125rem,
4883
+ 5: 1.25rem,
4884
+ 5.5: 1.375rem,
4885
+ 6: 1.5rem,
4886
+ 6.5: 1.625rem,
4887
+ 7: 1.75rem,
4888
+ 7.5: 1.875rem,
4889
+ 8: 2rem,
4890
+ 9: 2.25rem,
4891
+ 10: 2.5rem,
4892
+ 11: 2.75rem,
4893
+ 12: 3rem,
4894
+ 13: 3.25rem,
4895
+ 14: 3.5rem,
4896
+ 15: 3.75rem,
4897
+ 16: 4rem,
4898
+ 17: 4.25rem,
4899
+ 18: 4.5rem,
4900
+ 19: 4.75rem,
4901
+ 20: 5rem,
4902
+ 21: 5.25rem,
4903
+ 22: 5.5rem,
4904
+ 23: 5.75rem,
4905
+ 24: 6rem,
4104
4906
  ) !default;
4105
4907
 
4106
- /// Font family for text.
4107
- /// @group typography
4108
- $kendo-font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
4109
-
4110
- /// Font family for monospaced text. Used for styling the code.
4111
- /// @group typography
4112
- $kendo-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospace !default;
4113
-
4114
- /// Font family across all components.
4115
- /// @group typography
4116
- $kendo-font-family: inherit !default;
4117
-
4118
- /// Line height used along with $kendo-font-size.
4119
- /// @group typography
4120
- $kendo-line-height: k-math-div( 20, 14 ) !default;
4121
- $kendo-line-height-xs: 1 !default;
4122
- $kendo-line-height-sm: 1.25 !default;
4123
- $kendo-line-height-md: $kendo-line-height !default;
4124
- $kendo-line-height-lg: 1.5 !default;
4125
- $kendo-line-height-em: calc( #{$kendo-line-height} * 1em ) !default;
4126
-
4127
- // Font weight
4128
- $kendo-font-weight-light: 300 !default;
4129
- $kendo-font-weight-normal: 400 !default;
4130
- $kendo-font-weight-medium: 500 !default;
4131
- $kendo-font-weight-semibold: 600 !default;
4132
- $kendo-font-weight-bold: 700 !default;
4133
-
4134
- // Letter Spacing
4135
- $kendo-letter-spacing: null !default;
4136
-
4137
-
4138
- // Generic styles
4139
-
4140
- // Root styles
4141
- $kendo-body-bg: $kendo-color-white !default;
4142
- $kendo-body-text: #272727 !default;
4143
-
4144
- $kendo-subtle-text: #646464 !default;
4145
-
4146
- $kendo-app-bg: $kendo-body-bg !default;
4147
- $kendo-app-text: $kendo-body-text !default;
4148
- $kendo-app-border: k-try-shade( $kendo-app-bg, 2 ) !default;
4149
-
4150
- // Link
4151
- $kendo-link-text: $kendo-color-primary !default;
4152
- $kendo-link-hover-text: $kendo-color-primary-darker !default;
4153
-
4154
-
4155
- // Components
4156
-
4157
- /// The background of the components' chrome area.
4158
- $kendo-base-bg: #f0f0f0 !default;
4159
- /// The text color of the components' chrome area.
4160
- $kendo-base-text: $kendo-body-text !default;
4161
- /// The border color of the components' chrome area.
4162
- $kendo-base-border: k-try-shade( $kendo-base-bg, 2 ) !default;
4163
- /// The gradient background of the components' chrome area.
4164
- $kendo-base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
4165
-
4166
- /// Background color of a component.
4167
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
4168
- /// @group component
4169
- $kendo-component-bg: $kendo-body-bg !default;
4170
- /// Text color of a component.
4171
- /// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
4172
- /// @group component
4173
- $kendo-component-text: $kendo-body-text !default;
4174
- /// Border color of a component.
4175
- /// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
4176
- /// @group component
4177
- $kendo-component-border: $kendo-base-border !default;
4178
-
4179
- /// The background of hovered items.
4180
- $kendo-hover-bg: k-try-shade( $kendo-base-bg, 1 ) !default;
4181
- /// The text color of hovered items.
4182
- $kendo-hover-text: $kendo-base-text !default;
4183
- /// The border color of hovered items.
4184
- $kendo-hover-border: k-try-shade( $kendo-hover-bg, 2 ) !default;
4185
- /// The gradient background of hovered items.
4186
- $kendo-hover-gradient: $kendo-base-gradient !default;
4187
-
4188
- /// The background of selected items.
4189
- $kendo-selected-bg: $kendo-color-primary !default;
4190
- /// The text color of selected items.
4191
- $kendo-selected-text: k-contrast-legacy( $kendo-selected-bg ) !default;
4192
- /// The border color of selected items.
4193
- $kendo-selected-border: k-try-shade( $kendo-selected-bg, 2 ) !default;
4194
- /// The gradient background of selected items.
4195
- $kendo-selected-gradient: $kendo-base-gradient !default;
4196
-
4197
- $kendo-selected-hover-bg: k-try-shade( $kendo-selected-bg, 1 ) !default;
4198
- $kendo-selected-hover-text: k-contrast-legacy( $kendo-selected-hover-bg ) !default;
4199
- $kendo-selected-hover-border: $kendo-selected-border !default;
4200
- $kendo-selected-hover-gradient: $kendo-selected-gradient !default;
4201
-
4202
- $kendo-focus-shadow: inset 0 0 0 2px rgba( black, .13 ) !default;
4203
-
4204
- $kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out !default;
4205
-
4206
-
4207
- // Disabled mixin variables
4208
- $kendo-disabled-text: #8d8d8d !default;
4209
- $kendo-disabled-filter: grayscale(.1) !default;
4210
- $kendo-disabled-opacity: .6 !default;
4908
+ /// Border radius for all components.
4909
+ $kendo-border-radius: k-map-get($kendo-spacing, 0.5) !default;
4910
+ $kendo-border-radius-sm: k-math-div($kendo-border-radius, 2) !default;
4911
+ $kendo-border-radius-md: $kendo-border-radius !default;
4912
+ $kendo-border-radius-lg: ($kendo-border-radius * 2) !default;
4211
4913
 
4212
- $kendo-disabled-styling: (
4213
- opacity: $kendo-disabled-opacity,
4214
- filter: $kendo-disabled-filter
4914
+ $kendo-border-radii: (
4915
+ DEFAULT: var(--kendo-border-radius-md, $kendo-border-radius-md),
4916
+ 0: 0,
4917
+ sm: var(--kendo-border-radius-sm, $kendo-border-radius-sm),
4918
+ md: var(--kendo-border-radius-md, $kendo-border-radius-md),
4919
+ lg: var(--kendo-border-radius-lg, $kendo-border-radius-lg),
4920
+ none: 0,
4921
+ full: 9999px,
4215
4922
  ) !default;
4216
4923
 
4924
+ // Metrics
4925
+ $kendo-padding-x: k-map-get($kendo-spacing, 2) !default;
4926
+ $kendo-padding-y: k-map-get($kendo-spacing, 1) !default;
4927
+ $kendo-padding-sm-x: k-map-get($kendo-spacing, 1) !default;
4928
+ $kendo-padding-sm-y: k-map-get($kendo-spacing, 0.5) !default;
4929
+ $kendo-padding-md-x: k-map-get($kendo-spacing, 2) !default;
4930
+ $kendo-padding-md-y: k-map-get($kendo-spacing, 1) !default;
4931
+ $kendo-padding-lg-x: k-map-get($kendo-spacing, 3) !default;
4932
+ $kendo-padding-lg-y: k-map-get($kendo-spacing, 1.5) !default;
4217
4933
 
4218
- // Generic styles
4219
-
4220
- // TODO: refactor once we extract drag drop as separate module
4221
-
4222
-
4223
- // Header
4224
- $kendo-component-header-bg: $kendo-base-bg !default;
4225
- $kendo-component-header-text: $kendo-base-text !default;
4226
- $kendo-component-header-border: $kendo-base-border !default;
4227
- $kendo-component-header-gradient: $kendo-base-gradient !default;
4228
-
4934
+ // Equilateral triangle variables
4935
+ // stylelint-disable number-max-precision
4936
+ $equilateral-index: 1.7320508076 !default;
4937
+ $equilateral-height: 0.8660254038 !default;
4938
+ // stylelint-enable number-max-precision
4229
4939
 
4230
- // Validator
4231
- $kendo-invalid-bg: null !default;
4232
- $kendo-invalid-text: $kendo-color-error !default;
4233
- $kendo-invalid-border: $kendo-color-error !default;
4234
- $kendo-invalid-shadow: null !default;
4940
+ // Loading
4941
+ $kendo-loading-opacity: .3 !default;
4942
+ $kendo-zindex-loading: 100 !default;
4943
+ // #endregion
4235
4944
 
4236
4945
  // #endregion
4237
4946
 
@@ -5326,39 +6035,6 @@ $kendo-invalid-shadow: null !default;
5326
6035
 
5327
6036
  // #endregion
5328
6037
 
5329
- // #endregion
5330
- // #region @import "./_selection.scss"; -> scss/common/_selection.scss
5331
- // #region @import "@progress/kendo-theme-default/scss/common/_selection.scss"; -> node_modules/@progress/kendo-theme-default/scss/common/_selection.scss
5332
- @include exports( "common/selection/marquee" ) {
5333
-
5334
- .k-marquee {
5335
- position: absolute;
5336
- z-index: 100000;
5337
- }
5338
-
5339
- .k-marquee-color,
5340
- .k-marquee-text {
5341
- position: absolute;
5342
- top: 0;
5343
- left: 0;
5344
- width: 100%;
5345
- height: 100%;
5346
- }
5347
-
5348
- .k-marquee-color {
5349
- color: $kendo-selected-text;
5350
- background-color: $kendo-selected-bg;
5351
- border-color: $kendo-selected-border;
5352
- opacity: .6;
5353
- }
5354
- .k-marquee-text {
5355
- color: $kendo-selected-text;
5356
- }
5357
-
5358
- }
5359
-
5360
- // #endregion
5361
-
5362
6038
  // #endregion
5363
6039
 
5364
6040
  // #endregion
@@ -13253,7 +13929,10 @@ $kendo-utils: (
13253
13929
 
13254
13930
  // Register
13255
13931
  // #region @import "../core/module-system/index.import.scss"; -> scss/core/module-system/index.import.scss
13932
+ // #region @import "@progress/kendo-theme-core/scss/module-system/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/module-system/index.import.scss
13256
13933
  // File already imported_once. Skipping output.
13934
+ // #endregion
13935
+
13257
13936
  // #endregion
13258
13937
  @include module-register( $_kendo-module-meta... );
13259
13938
 
@@ -21622,7 +22301,7 @@ $kendo-menu-popup-border-width: $kendo-popup-border-width !default;
21622
22301
  $kendo-menu-popup-font-size: $kendo-font-size-md !default;
21623
22302
  $kendo-menu-popup-sm-font-size: $kendo-font-size-md !default;
21624
22303
  $kendo-menu-popup-md-font-size: $kendo-font-size-md !default;
21625
- $kendo-menu-popup-lg-font-size: $kendo-font-size-md !default;
22304
+ $kendo-menu-popup-lg-font-size: $kendo-font-size-lg !default;
21626
22305
 
21627
22306
  /// Line heights used along with $kendo-font-size.
21628
22307
  /// @group menu
@@ -35879,6 +36558,7 @@ $kendo-actionsheet-item-disabled-shadow: null !default;
35879
36558
 
35880
36559
 
35881
36560
  // Adaptive Actionsheet
36561
+ $kendo-adaptive-actionsheet-font-size: $kendo-font-size-lg !default;
35882
36562
  $kendo-adaptive-actionsheet-titlebar-border-width: 1px !default;
35883
36563
  $kendo-adaptive-actionsheet-titlebar-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
35884
36564
  $kendo-adaptive-actionsheet-titlebar-padding-x: $kendo-adaptive-actionsheet-titlebar-padding-y !default;
@@ -36125,6 +36805,7 @@ $kendo-adaptive-actionsheet-footer-padding-x: k-map-get( $kendo-spacing, 4 ) !de
36125
36805
  .k-adaptive-actionsheet {
36126
36806
  max-width: 100%;
36127
36807
  width: 100%;
36808
+ font-size: $kendo-adaptive-actionsheet-font-size;
36128
36809
 
36129
36810
  // TMP: this should be moved to action sheet
36130
36811
  display: flex;
@@ -36164,6 +36845,12 @@ $kendo-adaptive-actionsheet-footer-padding-x: k-map-get( $kendo-spacing, 4 ) !de
36164
36845
  padding-inline: 0;
36165
36846
  }
36166
36847
 
36848
+ .k-menu-group {
36849
+ height: 100%;
36850
+ overflow: auto;
36851
+ position: static;
36852
+ }
36853
+
36167
36854
  .k-calendar {
36168
36855
  margin-inline: auto;
36169
36856
  border-width: 0;