@progress/kendo-theme-utils 6.0.2 → 6.0.3
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.css +4547 -3595
- package/dist/all.scss +1092 -636
- package/package.json +3 -3
- package/scss/_variables.scss +34 -4
- package/scss/accessibility/_screen-readers.scss +29 -24
- package/scss/accessibility/index.import.scss +4 -0
- package/scss/all.scss +2 -0
- package/scss/background/_background-color.scss +7 -3
- package/scss/background/index.import.scss +5 -0
- package/scss/border/_border-color.scss +13 -9
- package/scss/border/_border-radius.scss +15 -11
- package/scss/border/_border-style.scss +13 -9
- package/scss/border/_border-width.scss +18 -14
- package/scss/border/_outline-color.scss +7 -3
- package/scss/border/_outline-offset.scss +7 -3
- package/scss/border/_outline-style.scss +7 -3
- package/scss/border/_outline-width.scss +7 -3
- package/scss/border/index.import.scss +16 -4
- package/scss/flex-grid/_align-content.scss +7 -3
- package/scss/flex-grid/_align-items.scss +7 -3
- package/scss/flex-grid/_align-self.scss +7 -3
- package/scss/flex-grid/_flex-basis.scss +7 -4
- package/scss/flex-grid/_flex-direction.scss +9 -6
- package/scss/flex-grid/_flex-grow.scss +7 -4
- package/scss/flex-grid/_flex-shrink.scss +7 -4
- package/scss/flex-grid/_flex-wrap.scss +6 -3
- package/scss/flex-grid/_flex.scss +6 -3
- package/scss/flex-grid/_gap.scss +9 -5
- package/scss/flex-grid/_grid-auto-columns.scss +7 -3
- package/scss/flex-grid/_grid-auto-flow.scss +7 -3
- package/scss/flex-grid/_grid-auto-rows.scss +7 -3
- package/scss/flex-grid/_grid-column-start-end.scss +16 -12
- package/scss/flex-grid/_grid-row-start-end.scss +16 -12
- package/scss/flex-grid/_grid-template-columns.scss +7 -3
- package/scss/flex-grid/_grid-template-rows.scss +7 -3
- package/scss/flex-grid/_justify-content.scss +11 -5
- package/scss/flex-grid/_justify-items.scss +7 -3
- package/scss/flex-grid/_justify-self.scss +7 -3
- package/scss/flex-grid/_order.scss +6 -2
- package/scss/flex-grid/_place-content.scss +7 -3
- package/scss/flex-grid/_place-items.scss +7 -3
- package/scss/flex-grid/_place-self.scss +7 -3
- package/scss/flex-grid/index.import.scss +41 -13
- package/scss/index.import.scss +16 -0
- package/scss/interactivity/_accent-color.scss +7 -3
- package/scss/interactivity/_appearance.scss +6 -3
- package/scss/interactivity/_caret-color.scss +7 -3
- package/scss/interactivity/_cursor.scss +7 -3
- package/scss/interactivity/_pointer-events.scss +6 -3
- package/scss/interactivity/_resize.scss +6 -3
- package/scss/interactivity/_scroll.scss +36 -31
- package/scss/interactivity/_touch-action.scss +7 -4
- package/scss/interactivity/_user-select.scss +6 -3
- package/scss/interactivity/_will-change.scss +7 -3
- package/scss/interactivity/index.import.scss +15 -1
- package/scss/layout/_aspect-ratio.scss +8 -4
- package/scss/layout/_clear.scss +6 -2
- package/scss/layout/_display.scss +12 -9
- package/scss/layout/_float.scss +6 -2
- package/scss/layout/_overflow.scss +6 -3
- package/scss/layout/_position.scss +100 -90
- package/scss/layout/_visibility.scss +13 -8
- package/scss/layout/_zindex.scss +7 -3
- package/scss/layout/index.import.scss +13 -1
- package/scss/sizing/_height.scss +12 -10
- package/scss/sizing/_width.scss +12 -10
- package/scss/sizing/index.import.scss +7 -1
- package/scss/spacing/_margin.scss +13 -9
- package/scss/spacing/_padding.scss +13 -9
- package/scss/spacing/_space-between.scss +18 -0
- package/scss/spacing/index.import.scss +7 -0
- package/scss/table/_border-collapse.scss +7 -3
- package/scss/table/_table-layout.scss +7 -4
- package/scss/table/index.import.scss +6 -0
- package/scss/transform/_flip.scss +19 -14
- package/scss/transform/_origin.scss +7 -3
- package/scss/transform/_rotate.scss +7 -3
- package/scss/transform/_scale.scss +9 -5
- package/scss/transform/_skew.scss +9 -5
- package/scss/transform/_translate.scss +20 -16
- package/scss/transform/index.import.scss +13 -3
- package/scss/typography/_font-size.scss +8 -5
- package/scss/typography/_font-style.scss +7 -3
- package/scss/typography/_font-weight.scss +9 -5
- package/scss/typography/_text-align.scss +7 -3
- package/scss/typography/_text-color.scss +9 -5
- package/scss/typography/_text-transform.scss +6 -3
- package/scss/typography/_white-space.scss +10 -6
- package/scss/typography/index.import.scss +14 -4
package/dist/all.scss
CHANGED
|
@@ -1313,7 +1313,17 @@ $kendo-utils: (
|
|
|
1313
1313
|
max: max-content,
|
|
1314
1314
|
fr: minmax( 0, 1fr ),
|
|
1315
1315
|
),
|
|
1316
|
-
"gap": $kendo-spacing,
|
|
1316
|
+
"gap": k-map-merge( $kendo-spacing, (
|
|
1317
|
+
// sass-lint:disable-block indentation
|
|
1318
|
+
// TODO: remove this extension once we fix docs
|
|
1319
|
+
xs: k-map-get( $kendo-spacing, 1 ),
|
|
1320
|
+
sm: k-map-get( $kendo-spacing, 2 ),
|
|
1321
|
+
md: k-map-get( $kendo-spacing, 3 ),
|
|
1322
|
+
lg: k-map-get( $kendo-spacing, 4 ),
|
|
1323
|
+
xl: k-map-get( $kendo-spacing, 6 ),
|
|
1324
|
+
thin: k-map-get( $kendo-spacing, 0.5 ), // sass-lint:disable-line leading-zero
|
|
1325
|
+
hair: k-map-get( $kendo-spacing, 1px )
|
|
1326
|
+
)),
|
|
1317
1327
|
"align-content": (
|
|
1318
1328
|
normal: normal,
|
|
1319
1329
|
stretch: stretch,
|
|
@@ -1391,8 +1401,28 @@ $kendo-utils: (
|
|
|
1391
1401
|
),
|
|
1392
1402
|
|
|
1393
1403
|
// Spacing
|
|
1394
|
-
"margin": $kendo-spacing,
|
|
1395
|
-
|
|
1404
|
+
"margin": k-map-merge( $kendo-spacing, (
|
|
1405
|
+
// sass-lint:disable-block indentation
|
|
1406
|
+
// TODO: remove this extension once we fix docs
|
|
1407
|
+
xs: k-map-get( $kendo-spacing, 1 ),
|
|
1408
|
+
sm: k-map-get( $kendo-spacing, 2 ),
|
|
1409
|
+
md: k-map-get( $kendo-spacing, 3 ),
|
|
1410
|
+
lg: k-map-get( $kendo-spacing, 4 ),
|
|
1411
|
+
xl: k-map-get( $kendo-spacing, 6 ),
|
|
1412
|
+
thin: k-map-get( $kendo-spacing, 0.5 ), // sass-lint:disable-line leading-zero
|
|
1413
|
+
hair: k-map-get( $kendo-spacing, 1px )
|
|
1414
|
+
)),
|
|
1415
|
+
"padding": k-map-merge( $kendo-spacing, (
|
|
1416
|
+
// sass-lint:disable-block indentation
|
|
1417
|
+
// TODO: remove this extension once we fix docs
|
|
1418
|
+
xs: k-map-get( $kendo-spacing, 1 ),
|
|
1419
|
+
sm: k-map-get( $kendo-spacing, 2 ),
|
|
1420
|
+
md: k-map-get( $kendo-spacing, 3 ),
|
|
1421
|
+
lg: k-map-get( $kendo-spacing, 4 ),
|
|
1422
|
+
xl: k-map-get( $kendo-spacing, 6 ),
|
|
1423
|
+
thin: k-map-get( $kendo-spacing, 0.5 ), // sass-lint:disable-line leading-zero
|
|
1424
|
+
hair: k-map-get( $kendo-spacing, 1px )
|
|
1425
|
+
)),
|
|
1396
1426
|
"space-between": (),
|
|
1397
1427
|
|
|
1398
1428
|
// Sizing
|
|
@@ -1441,7 +1471,7 @@ $kendo-utils: (
|
|
|
1441
1471
|
|
|
1442
1472
|
// Typography
|
|
1443
1473
|
"font-family": (),
|
|
1444
|
-
"font-size":
|
|
1474
|
+
"font-size": $kendo-font-sizes,
|
|
1445
1475
|
"font-smoothing": (),
|
|
1446
1476
|
"font-style": (
|
|
1447
1477
|
italic: italic,
|
|
@@ -1769,37 +1799,46 @@ $kendo-utils: (
|
|
|
1769
1799
|
|
|
1770
1800
|
// #region @import "./accessibility/index.import.scss"; -> packages/utils/scss/accessibility/index.import.scss
|
|
1771
1801
|
// #region @import "./_screen-readers.scss"; -> packages/utils/scss/accessibility/_screen-readers.scss
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1802
|
+
@mixin kendo-utils--accessibility--screen-readers() {
|
|
1803
|
+
|
|
1804
|
+
// Screen readers utility classes
|
|
1805
|
+
$kendo-utils-accessibility: k-map-get( $kendo-utils, "accessibility" ) !default;
|
|
1806
|
+
|
|
1807
|
+
@if $kendo-utils-accessibility {
|
|
1808
|
+
/// This class could be assigned to elements which should be visually hidden, but remain accessible for screen readers.
|
|
1809
|
+
/// @name .k-sr-only
|
|
1810
|
+
/// @group accessibility
|
|
1811
|
+
.#{$kendo-prefix}sr-only {
|
|
1812
|
+
margin: -1px;
|
|
1813
|
+
padding: 0;
|
|
1814
|
+
width: 1px;
|
|
1815
|
+
height: 1px;
|
|
1816
|
+
border-width: 0;
|
|
1817
|
+
overflow: hidden;
|
|
1818
|
+
clip: rect(0, 0, 0, 0);
|
|
1819
|
+
position: absolute;
|
|
1820
|
+
}
|
|
1788
1821
|
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1822
|
+
.#{$kendo-prefix}not-sr-only {
|
|
1823
|
+
margin: 0;
|
|
1824
|
+
padding: 0;
|
|
1825
|
+
width: auto;
|
|
1826
|
+
height: auto;
|
|
1827
|
+
border-width: 0;
|
|
1828
|
+
overflow: visible;
|
|
1829
|
+
clip: auto;
|
|
1830
|
+
position: static;
|
|
1831
|
+
}
|
|
1798
1832
|
}
|
|
1833
|
+
|
|
1799
1834
|
}
|
|
1800
1835
|
|
|
1801
1836
|
// #endregion
|
|
1802
1837
|
|
|
1838
|
+
@mixin kendo-utils--accessibility() {
|
|
1839
|
+
@include kendo-utils--accessibility--screen-readers();
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1803
1842
|
// #endregion
|
|
1804
1843
|
// #region @import "./layout/index.import.scss"; -> packages/utils/scss/layout/index.import.scss
|
|
1805
1844
|
// #region @import "./_aspect-ratio.scss"; -> packages/utils/scss/layout/_aspect-ratio.scss
|
|
@@ -1825,13 +1864,49 @@ $kendo-utils-accessibility: k-map-get( $kendo-utils, "accessibility" ) !default;
|
|
|
1825
1864
|
/// @group aspect-ratio
|
|
1826
1865
|
/// @contextType css
|
|
1827
1866
|
|
|
1828
|
-
|
|
1867
|
+
@mixin kendo-utils--layout--aspect-ratio() {
|
|
1868
|
+
|
|
1869
|
+
// Aspect ratio utility classes
|
|
1870
|
+
$kendo-utils-aspect-ratio: k-map-get( $kendo-utils, "aspect-ratio" ) !default;
|
|
1871
|
+
@include generate-utils( ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
1872
|
+
|
|
1873
|
+
|
|
1874
|
+
// Legacy aliases
|
|
1875
|
+
@include generate-utils( aspect-ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
1876
|
+
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
// #endregion
|
|
1880
|
+
// #region @import "./_clear.scss"; -> packages/utils/scss/layout/_clear.scss
|
|
1881
|
+
// Clear documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/clear.
|
|
1882
|
+
|
|
1883
|
+
/// This is equivalent to `clear: left;`. Is a keyword indicating that the element is moved down to clear past left floats.
|
|
1884
|
+
/// @name .k-clear-left
|
|
1885
|
+
/// @group float
|
|
1886
|
+
/// @contextType css
|
|
1887
|
+
|
|
1888
|
+
/// This is equivalent to `clear: right;`. Is a keyword indicating that the element is moved down to clear past right floats.
|
|
1889
|
+
/// @name .k-clear-right
|
|
1890
|
+
/// @group float
|
|
1891
|
+
/// @contextType css
|
|
1892
|
+
|
|
1893
|
+
/// This is equivalent to `clear: both;`. Is a keyword indicating that the element is moved down to clear past both left and right floats.
|
|
1894
|
+
/// @name .k-clear-both
|
|
1895
|
+
/// @group float
|
|
1896
|
+
/// @contextType css
|
|
1897
|
+
|
|
1898
|
+
/// This is equivalent to `clear: none;`. Is a keyword indicating that the element is not moved down to clear past floating elements.
|
|
1899
|
+
/// @name .k-clear-none
|
|
1900
|
+
/// @group float
|
|
1901
|
+
/// @contextType css
|
|
1829
1902
|
|
|
1830
|
-
@
|
|
1903
|
+
@mixin kendo-utils--layout--clear() {
|
|
1831
1904
|
|
|
1905
|
+
// Clear utility classes
|
|
1906
|
+
$kendo-utils-clear: k-map-get( $kendo-utils, "clear" ) !default;
|
|
1907
|
+
@include generate-utils( clear, clear, $kendo-utils-clear );
|
|
1832
1908
|
|
|
1833
|
-
|
|
1834
|
-
@include generate-utils( aspect-ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
1909
|
+
}
|
|
1835
1910
|
|
|
1836
1911
|
// #endregion
|
|
1837
1912
|
// #region @import "./_display.scss"; -> packages/utils/scss/layout/_display.scss
|
|
@@ -1890,18 +1965,21 @@ $kendo-utils-aspect-ratio: k-map-get( $kendo-utils, "aspect-ratio" ) !default;
|
|
|
1890
1965
|
/// @group display
|
|
1891
1966
|
/// @contextType css
|
|
1892
1967
|
|
|
1893
|
-
|
|
1894
|
-
$kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
1968
|
+
@mixin kendo-utils--layout--display() {
|
|
1895
1969
|
|
|
1896
|
-
|
|
1970
|
+
// Display utility classes
|
|
1971
|
+
$kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
1972
|
+
@include generate-utils( d, display, $kendo-utils-display );
|
|
1897
1973
|
|
|
1898
1974
|
|
|
1899
|
-
// Legacy
|
|
1900
|
-
@include generate-utils( display, display, $kendo-utils-display );
|
|
1901
|
-
.#{$kendo-prefix}d-flex-row { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-row !optional; }
|
|
1902
|
-
.\!#{$kendo-prefix}d-flex-row { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
1903
|
-
.#{$kendo-prefix}d-flex-col { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-col !optional; }
|
|
1904
|
-
.\!#{$kendo-prefix}d-flex-col { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
1975
|
+
// Legacy aliases
|
|
1976
|
+
@include generate-utils( display, display, $kendo-utils-display );
|
|
1977
|
+
.#{$kendo-prefix}d-flex-row { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-row !optional; }
|
|
1978
|
+
.\!#{$kendo-prefix}d-flex-row { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
1979
|
+
.#{$kendo-prefix}d-flex-col { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-col !optional; }
|
|
1980
|
+
.\!#{$kendo-prefix}d-flex-col { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
1981
|
+
|
|
1982
|
+
}
|
|
1905
1983
|
|
|
1906
1984
|
// #endregion
|
|
1907
1985
|
// #region @import "./_float.scss"; -> packages/utils/scss/layout/_float.scss
|
|
@@ -1922,37 +2000,13 @@ $kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
|
1922
2000
|
/// @group float
|
|
1923
2001
|
/// @contextType css
|
|
1924
2002
|
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
@include generate-utils( float, float, $kendo-utils-float );
|
|
1928
|
-
|
|
1929
|
-
// #endregion
|
|
1930
|
-
// #region @import "./_clear.scss"; -> packages/utils/scss/layout/_clear.scss
|
|
1931
|
-
// Clear documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/clear.
|
|
1932
|
-
|
|
1933
|
-
/// This is equivalent to `clear: left;`. Is a keyword indicating that the element is moved down to clear past left floats.
|
|
1934
|
-
/// @name .k-clear-left
|
|
1935
|
-
/// @group float
|
|
1936
|
-
/// @contextType css
|
|
1937
|
-
|
|
1938
|
-
/// This is equivalent to `clear: right;`. Is a keyword indicating that the element is moved down to clear past right floats.
|
|
1939
|
-
/// @name .k-clear-right
|
|
1940
|
-
/// @group float
|
|
1941
|
-
/// @contextType css
|
|
1942
|
-
|
|
1943
|
-
/// This is equivalent to `clear: both;`. Is a keyword indicating that the element is moved down to clear past both left and right floats.
|
|
1944
|
-
/// @name .k-clear-both
|
|
1945
|
-
/// @group float
|
|
1946
|
-
/// @contextType css
|
|
1947
|
-
|
|
1948
|
-
/// This is equivalent to `clear: none;`. Is a keyword indicating that the element is not moved down to clear past floating elements.
|
|
1949
|
-
/// @name .k-clear-none
|
|
1950
|
-
/// @group float
|
|
1951
|
-
/// @contextType css
|
|
2003
|
+
@mixin kendo-utils--layout--float() {
|
|
1952
2004
|
|
|
1953
|
-
|
|
2005
|
+
// Float utility classes
|
|
2006
|
+
$kendo-utils-float: k-map-get( $kendo-utils, "float" ) !default;
|
|
2007
|
+
@include generate-utils( float, float, $kendo-utils-float );
|
|
1954
2008
|
|
|
1955
|
-
|
|
2009
|
+
}
|
|
1956
2010
|
|
|
1957
2011
|
// #endregion
|
|
1958
2012
|
// #region @import "./_overflow.scss"; -> packages/utils/scss/layout/_overflow.scss
|
|
@@ -2031,10 +2085,13 @@ $kendo-utils-clear: k-map-get( $kendo-utils, "clear" ) !default;
|
|
|
2031
2085
|
/// @group overflow
|
|
2032
2086
|
/// @contextType css
|
|
2033
2087
|
|
|
2034
|
-
|
|
2035
|
-
$kendo-utils-overflow: k-map-get( $kendo-utils, "overflow" ) !default;
|
|
2088
|
+
@mixin kendo-utils--layout--overflow() {
|
|
2036
2089
|
|
|
2037
|
-
|
|
2090
|
+
// Overflow utility classes
|
|
2091
|
+
$kendo-utils-overflow: k-map-get( $kendo-utils, "overflow" ) !default;
|
|
2092
|
+
@include generate-utils( overflow, overflow, $kendo-utils-overflow );
|
|
2093
|
+
|
|
2094
|
+
}
|
|
2038
2095
|
|
|
2039
2096
|
// #endregion
|
|
2040
2097
|
// #region @import "./_position.scss"; -> packages/utils/scss/layout/_position.scss
|
|
@@ -2065,94 +2122,8 @@ $kendo-utils-overflow: k-map-get( $kendo-utils, "overflow" ) !default;
|
|
|
2065
2122
|
/// @group position
|
|
2066
2123
|
/// @contextType css
|
|
2067
2124
|
|
|
2068
|
-
$kendo-utils-position: k-map-get( $kendo-utils, "position" ) !default;
|
|
2069
|
-
|
|
2070
|
-
@include generate-utils( pos, position, $kendo-utils-position );
|
|
2071
|
-
|
|
2072
|
-
// Aliases
|
|
2073
|
-
.#{$kendo-prefix}static { @extend .#{$kendo-prefix}pos-static !optional; }
|
|
2074
|
-
.\!#{$kendo-prefix}static { @extend .\!#{$kendo-prefix}pos-static !optional; }
|
|
2075
|
-
.#{$kendo-prefix}relative { @extend .#{$kendo-prefix}pos-relative !optional; }
|
|
2076
|
-
.\!#{$kendo-prefix}relative { @extend .\!#{$kendo-prefix}pos-relative !optional; }
|
|
2077
|
-
.#{$kendo-prefix}absolute { @extend .#{$kendo-prefix}pos-absolute !optional; }
|
|
2078
|
-
.\!#{$kendo-prefix}absolute { @extend .\!#{$kendo-prefix}pos-absolute !optional; }
|
|
2079
|
-
.#{$kendo-prefix}fixed { @extend .#{$kendo-prefix}pos-fixed !optional; }
|
|
2080
|
-
.\!#{$kendo-prefix}fixed { @extend .\!#{$kendo-prefix}pos-fixed !optional; }
|
|
2081
|
-
.#{$kendo-prefix}sticky { @extend .#{$kendo-prefix}pos-sticky !optional; }
|
|
2082
|
-
.\!#{$kendo-prefix}sticky { @extend .\!#{$kendo-prefix}pos-sticky !optional; }
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
// TODO DOCS
|
|
2086
|
-
|
|
2087
|
-
$kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
2088
|
-
|
|
2089
|
-
@include generate-utils( inset, inset, $kendo-utils-inset );
|
|
2090
|
-
@include generate-utils( inset-x, inset-inline, $kendo-utils-inset );
|
|
2091
|
-
@include generate-utils( inset-y, inset-block, $kendo-utils-inset );
|
|
2092
|
-
@include generate-utils( top, top, $kendo-utils-inset );
|
|
2093
|
-
@include generate-utils( right, right, $kendo-utils-inset );
|
|
2094
|
-
@include generate-utils( bottom, bottom, $kendo-utils-inset );
|
|
2095
|
-
@include generate-utils( left, left, $kendo-utils-inset );
|
|
2096
|
-
@include generate-utils( top-left, ( top, left ), $kendo-utils-inset );
|
|
2097
|
-
@include generate-utils( top-right, ( top, right ), $kendo-utils-inset );
|
|
2098
|
-
@include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
|
|
2099
|
-
@include generate-utils( bottom-right, ( bottom, right ), $kendo-utils-inset );
|
|
2100
|
-
|
|
2101
|
-
.#{$kendo-prefix}top-start,
|
|
2102
|
-
.#{$kendo-prefix}pos-top-start {
|
|
2103
|
-
top: 0;
|
|
2104
|
-
inset-inline-start: 0;
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
.#{$kendo-prefix}top-end,
|
|
2108
|
-
.#{$kendo-prefix}pos-top-end {
|
|
2109
|
-
top: 0;
|
|
2110
|
-
inset-inline-end: 0;
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
.#{$kendo-prefix}bottom-start,
|
|
2114
|
-
.#{$kendo-prefix}pos-bottom-start {
|
|
2115
|
-
bottom: 0;
|
|
2116
|
-
inset-inline-start: 0;
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
.#{$kendo-prefix}bottom-end,
|
|
2120
|
-
.#{$kendo-prefix}pos-bottom-end {
|
|
2121
|
-
bottom: 0;
|
|
2122
|
-
inset-inline-end: 0;
|
|
2123
|
-
}
|
|
2124
2125
|
|
|
2125
|
-
|
|
2126
|
-
.#{$kendo-prefix}pos-top-center {
|
|
2127
|
-
top: 0;
|
|
2128
|
-
left: 50%;
|
|
2129
|
-
transform: translateX(-50%);
|
|
2130
|
-
}
|
|
2131
|
-
.#{$kendo-prefix}middle-left,
|
|
2132
|
-
.#{$kendo-prefix}middle-start,
|
|
2133
|
-
.#{$kendo-prefix}pos-middle-start {
|
|
2134
|
-
top: 50%;
|
|
2135
|
-
left: 0;
|
|
2136
|
-
transform: translateY(-50%);
|
|
2137
|
-
}
|
|
2138
|
-
.#{$kendo-prefix}middle-center {
|
|
2139
|
-
top: 50%;
|
|
2140
|
-
left: 50%;
|
|
2141
|
-
transform: translateY(-50%);
|
|
2142
|
-
}
|
|
2143
|
-
.#{$kendo-prefix}middle-right,
|
|
2144
|
-
.#{$kendo-prefix}middle-end,
|
|
2145
|
-
.#{$kendo-prefix}pos-middle-end {
|
|
2146
|
-
top: 50%;
|
|
2147
|
-
right: 0;
|
|
2148
|
-
transform: translateY(-50%);
|
|
2149
|
-
}
|
|
2150
|
-
.#{$kendo-prefix}bottom-center,
|
|
2151
|
-
.#{$kendo-prefix}pos-bottom-center {
|
|
2152
|
-
bottom: 0;
|
|
2153
|
-
left: 50%;
|
|
2154
|
-
transform: translateX(-50%);
|
|
2155
|
-
}
|
|
2126
|
+
// TODO: inset docs
|
|
2156
2127
|
|
|
2157
2128
|
|
|
2158
2129
|
/// This is equivalent to `top: 0;`.
|
|
@@ -2175,37 +2146,211 @@ $kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
|
2175
2146
|
/// @group position
|
|
2176
2147
|
/// @contextType css
|
|
2177
2148
|
|
|
2178
|
-
@
|
|
2179
|
-
|
|
2180
|
-
|
|
2149
|
+
@mixin kendo-utils--layout--position() {
|
|
2150
|
+
|
|
2151
|
+
// Position utility classes
|
|
2152
|
+
$kendo-utils-position: k-map-get( $kendo-utils, "position" ) !default;
|
|
2153
|
+
@include generate-utils( pos, position, $kendo-utils-position );
|
|
2154
|
+
|
|
2155
|
+
|
|
2156
|
+
// Legacy aliases
|
|
2157
|
+
.#{$kendo-prefix}static { @extend .#{$kendo-prefix}pos-static !optional; }
|
|
2158
|
+
.\!#{$kendo-prefix}static { @extend .\!#{$kendo-prefix}pos-static !optional; }
|
|
2159
|
+
.#{$kendo-prefix}relative { @extend .#{$kendo-prefix}pos-relative !optional; }
|
|
2160
|
+
.\!#{$kendo-prefix}relative { @extend .\!#{$kendo-prefix}pos-relative !optional; }
|
|
2161
|
+
.#{$kendo-prefix}absolute { @extend .#{$kendo-prefix}pos-absolute !optional; }
|
|
2162
|
+
.\!#{$kendo-prefix}absolute { @extend .\!#{$kendo-prefix}pos-absolute !optional; }
|
|
2163
|
+
.#{$kendo-prefix}fixed { @extend .#{$kendo-prefix}pos-fixed !optional; }
|
|
2164
|
+
.\!#{$kendo-prefix}fixed { @extend .\!#{$kendo-prefix}pos-fixed !optional; }
|
|
2165
|
+
.#{$kendo-prefix}sticky { @extend .#{$kendo-prefix}pos-sticky !optional; }
|
|
2166
|
+
.\!#{$kendo-prefix}sticky { @extend .\!#{$kendo-prefix}pos-sticky !optional; }
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
// Inset utility classes
|
|
2170
|
+
$kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
2171
|
+
@include generate-utils( inset, inset, $kendo-utils-inset );
|
|
2172
|
+
@include generate-utils( inset-x, inset-inline, $kendo-utils-inset );
|
|
2173
|
+
@include generate-utils( inset-y, inset-block, $kendo-utils-inset );
|
|
2174
|
+
@include generate-utils( top, top, $kendo-utils-inset );
|
|
2175
|
+
@include generate-utils( right, right, $kendo-utils-inset );
|
|
2176
|
+
@include generate-utils( bottom, bottom, $kendo-utils-inset );
|
|
2177
|
+
@include generate-utils( left, left, $kendo-utils-inset );
|
|
2178
|
+
@include generate-utils( top-left, ( top, left ), $kendo-utils-inset );
|
|
2179
|
+
@include generate-utils( top-right, ( top, right ), $kendo-utils-inset );
|
|
2180
|
+
@include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
|
|
2181
|
+
@include generate-utils( bottom-right, ( bottom, right ), $kendo-utils-inset );
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
// Legacy aliases
|
|
2185
|
+
.#{$kendo-prefix}top-start,
|
|
2186
|
+
.#{$kendo-prefix}pos-top-start {
|
|
2187
|
+
top: 0;
|
|
2188
|
+
inset-inline-start: 0;
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
.#{$kendo-prefix}top-end,
|
|
2192
|
+
.#{$kendo-prefix}pos-top-end {
|
|
2193
|
+
top: 0;
|
|
2194
|
+
inset-inline-end: 0;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
.#{$kendo-prefix}bottom-start,
|
|
2198
|
+
.#{$kendo-prefix}pos-bottom-start {
|
|
2199
|
+
bottom: 0;
|
|
2200
|
+
inset-inline-start: 0;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
.#{$kendo-prefix}bottom-end,
|
|
2204
|
+
.#{$kendo-prefix}pos-bottom-end {
|
|
2205
|
+
bottom: 0;
|
|
2206
|
+
inset-inline-end: 0;
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
.#{$kendo-prefix}top-center,
|
|
2210
|
+
.#{$kendo-prefix}pos-top-center {
|
|
2211
|
+
top: 0;
|
|
2212
|
+
left: 50%;
|
|
2213
|
+
transform: translateX(-50%);
|
|
2214
|
+
}
|
|
2215
|
+
.#{$kendo-prefix}middle-left,
|
|
2216
|
+
.#{$kendo-prefix}middle-start,
|
|
2217
|
+
.#{$kendo-prefix}pos-middle-start {
|
|
2218
|
+
top: 50%;
|
|
2219
|
+
left: 0;
|
|
2220
|
+
transform: translateY(-50%);
|
|
2221
|
+
}
|
|
2222
|
+
.#{$kendo-prefix}middle-center {
|
|
2223
|
+
top: 50%;
|
|
2224
|
+
left: 50%;
|
|
2225
|
+
transform: translateY(-50%);
|
|
2226
|
+
}
|
|
2227
|
+
.#{$kendo-prefix}middle-right,
|
|
2228
|
+
.#{$kendo-prefix}middle-end,
|
|
2229
|
+
.#{$kendo-prefix}pos-middle-end {
|
|
2230
|
+
top: 50%;
|
|
2231
|
+
right: 0;
|
|
2232
|
+
transform: translateY(-50%);
|
|
2233
|
+
}
|
|
2234
|
+
.#{$kendo-prefix}bottom-center,
|
|
2235
|
+
.#{$kendo-prefix}pos-bottom-center {
|
|
2236
|
+
bottom: 0;
|
|
2237
|
+
left: 50%;
|
|
2238
|
+
transform: translateX(-50%);
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
|
|
2242
|
+
// Position length utility classes
|
|
2243
|
+
@each $side in (top, right, bottom, left) {
|
|
2244
|
+
.#{$kendo-prefix}#{$side},
|
|
2245
|
+
.#{$kendo-prefix}pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2181
2248
|
}
|
|
2182
2249
|
|
|
2183
2250
|
// #endregion
|
|
2184
2251
|
// #region @import "./_visibility.scss"; -> packages/utils/scss/layout/_visibility.scss
|
|
2185
|
-
// TODO
|
|
2252
|
+
// TODO: docs
|
|
2253
|
+
// TODO: consider visible and invisible vs visibility-visible and visibility-hidden
|
|
2186
2254
|
|
|
2187
|
-
|
|
2255
|
+
@mixin kendo-utils--layout--visibility() {
|
|
2188
2256
|
|
|
2189
|
-
|
|
2257
|
+
// Visibility utility classes
|
|
2258
|
+
$kendo-utils-visibility: k-map-get( $kendo-utils, "visibility" ) !default;
|
|
2259
|
+
@include generate-utils( visibility, visibility, $kendo-utils-visibility );
|
|
2190
2260
|
|
|
2191
|
-
//
|
|
2192
|
-
.#{$kendo-prefix}visible { @extend .#{$kendo-prefix}visibility-visible !optional; }
|
|
2193
|
-
.\!#{$kendo-prefix}visible { @extend .\!#{$kendo-prefix}visibility-visible !optional; }
|
|
2194
|
-
.#{$kendo-prefix}invisible { @extend .#{$kendo-prefix}visibility-hidden !optional; }
|
|
2195
|
-
.\!#{$kendo-prefix}invisible { @extend .\!#{$kendo-prefix}visibility-hidden !optional; }
|
|
2261
|
+
// Legacy aliases
|
|
2262
|
+
.#{$kendo-prefix}visible { @extend .#{$kendo-prefix}visibility-visible !optional; }
|
|
2263
|
+
.\!#{$kendo-prefix}visible { @extend .\!#{$kendo-prefix}visibility-visible !optional; }
|
|
2264
|
+
.#{$kendo-prefix}invisible { @extend .#{$kendo-prefix}visibility-hidden !optional; }
|
|
2265
|
+
.\!#{$kendo-prefix}invisible { @extend .\!#{$kendo-prefix}visibility-hidden !optional; }
|
|
2266
|
+
|
|
2267
|
+
}
|
|
2196
2268
|
|
|
2197
2269
|
// #endregion
|
|
2198
2270
|
// #region @import "./_zindex.scss"; -> packages/utils/scss/layout/_zindex.scss
|
|
2199
|
-
// TODO
|
|
2271
|
+
// TODO: docs
|
|
2200
2272
|
|
|
2201
|
-
|
|
2273
|
+
@mixin kendo-utils--layout--zindex() {
|
|
2202
2274
|
|
|
2203
|
-
|
|
2275
|
+
// Z-index utility classes
|
|
2276
|
+
$kendo-utils-zindex: k-map-get( $kendo-utils, "zindex" ) !default;
|
|
2277
|
+
@include generate-utils( z, z-index, $kendo-utils-zindex );
|
|
2278
|
+
|
|
2279
|
+
}
|
|
2204
2280
|
|
|
2205
2281
|
// #endregion
|
|
2206
2282
|
|
|
2283
|
+
|
|
2284
|
+
@mixin kendo-utils--layout() {
|
|
2285
|
+
@include kendo-utils--layout--aspect-ratio();
|
|
2286
|
+
@include kendo-utils--layout--clear();
|
|
2287
|
+
@include kendo-utils--layout--display();
|
|
2288
|
+
@include kendo-utils--layout--float();
|
|
2289
|
+
@include kendo-utils--layout--overflow();
|
|
2290
|
+
@include kendo-utils--layout--position();
|
|
2291
|
+
@include kendo-utils--layout--visibility();
|
|
2292
|
+
@include kendo-utils--layout--zindex();
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2207
2295
|
// #endregion
|
|
2208
2296
|
// #region @import "./flex-grid/index.import.scss"; -> packages/utils/scss/flex-grid/index.import.scss
|
|
2297
|
+
// #region @import "./_align-content.scss"; -> packages/utils/scss/flex-grid/_align-content.scss
|
|
2298
|
+
// TODO: docs
|
|
2299
|
+
|
|
2300
|
+
@mixin kendo-utils--flex-grid--align-content() {
|
|
2301
|
+
|
|
2302
|
+
// Align content utility classes
|
|
2303
|
+
$kendo-utils-align-content: k-map-get( $kendo-utils, "align-content" ) !default;
|
|
2304
|
+
@include generate-utils( align-content, align-content, $kendo-utils-align-content );
|
|
2305
|
+
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
// #endregion
|
|
2309
|
+
// #region @import "./_align-items.scss"; -> packages/utils/scss/flex-grid/_align-items.scss
|
|
2310
|
+
// TODO: docs
|
|
2311
|
+
|
|
2312
|
+
@mixin kendo-utils--flex-grid--align-items() {
|
|
2313
|
+
|
|
2314
|
+
// Align items utility classes
|
|
2315
|
+
$kendo-utils-align-items: k-map-get( $kendo-utils, "align-items" ) !default;
|
|
2316
|
+
@include generate-utils( align-items, align-items, $kendo-utils-align-items );
|
|
2317
|
+
|
|
2318
|
+
}
|
|
2319
|
+
|
|
2320
|
+
// #endregion
|
|
2321
|
+
// #region @import "./_align-self.scss"; -> packages/utils/scss/flex-grid/_align-self.scss
|
|
2322
|
+
// TODO: docs
|
|
2323
|
+
|
|
2324
|
+
@mixin kendo-utils--flex-grid--align-self() {
|
|
2325
|
+
|
|
2326
|
+
// Align self utility classes
|
|
2327
|
+
$kendo-utils-align-self: k-map-get( $kendo-utils, "align-self" ) !default;
|
|
2328
|
+
@include generate-utils( align-self, align-self, $kendo-utils-align-self );
|
|
2329
|
+
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
// #endregion
|
|
2333
|
+
// #region @import "./_flex-basis.scss"; -> packages/utils/scss/flex-grid/_flex-basis.scss
|
|
2334
|
+
/// This is equivalent to `flex-basis: auto`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It sizes the element according to its size property.
|
|
2335
|
+
/// @name .k-flex-basis-auto
|
|
2336
|
+
/// @group flex-basis
|
|
2337
|
+
/// @contextType css
|
|
2338
|
+
|
|
2339
|
+
/// This is equivalent to `flex-basis: 0`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It disregards the element' size property.
|
|
2340
|
+
/// @name .k-flex-basis-0
|
|
2341
|
+
/// @group flex-basis
|
|
2342
|
+
/// @contextType css
|
|
2343
|
+
|
|
2344
|
+
@mixin kendo-utils--flex-grid--flex-basis() {
|
|
2345
|
+
|
|
2346
|
+
// Flex basis utility classes
|
|
2347
|
+
$kendo-utils-flex-basis: k-map-get( $kendo-utils, "flex-basis" ) !default;
|
|
2348
|
+
@include generate-utils( basis, flex-basis, $kendo-utils-flex-basis );
|
|
2349
|
+
@include generate-utils( flex-basis, flex-basis, $kendo-utils-flex-basis );
|
|
2350
|
+
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
// #endregion
|
|
2209
2354
|
// #region @import "./_flex-direction.scss"; -> packages/utils/scss/flex-grid/_flex-direction.scss
|
|
2210
2355
|
/// This is equivalent to `flex-direction: row`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in `ltr`; right to left in `rtl`.
|
|
2211
2356
|
/// @name .k-flex-row
|
|
@@ -2227,15 +2372,60 @@ $kendo-utils-zindex: k-map-get( $kendo-utils, "zindex" ) !default;
|
|
|
2227
2372
|
/// @group flex-direction
|
|
2228
2373
|
/// @contextType css
|
|
2229
2374
|
|
|
2230
|
-
|
|
2231
|
-
|
|
2375
|
+
@mixin kendo-utils--flex-grid--flex-direction() {
|
|
2376
|
+
|
|
2377
|
+
// Flex direction utility classes
|
|
2378
|
+
$kendo-utils-flex-direction: k-map-get( $kendo-utils, "flex-direction" ) !default;
|
|
2379
|
+
@include generate-utils( flex, flex-direction, $kendo-utils-flex-direction );
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
// Legacy aliases
|
|
2383
|
+
.#{$kendo-prefix}flex-column { @extend .#{$kendo-prefix}flex-col !optional; }
|
|
2384
|
+
.#{$kendo-prefix}flex-column-reverse { @extend .#{$kendo-prefix}flex-col-reverse !optional; }
|
|
2385
|
+
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
// #endregion
|
|
2389
|
+
// #region @import "./_flex-grow.scss"; -> packages/utils/scss/flex-grid/_flex-grow.scss
|
|
2390
|
+
/// This is equivalent to `flex-grow: 1`. It defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.
|
|
2391
|
+
/// @name .k-flex-grow
|
|
2392
|
+
/// @group flex-grow
|
|
2393
|
+
/// @contextType css
|
|
2394
|
+
|
|
2395
|
+
/// This is equivalent to `flex-grow: 0`. The item will not grow.
|
|
2396
|
+
/// @name .k-flex-grow-0
|
|
2397
|
+
/// @group flex-grow
|
|
2398
|
+
/// @contextType css
|
|
2399
|
+
|
|
2400
|
+
@mixin kendo-utils--flex-grid--flex-grow() {
|
|
2401
|
+
|
|
2402
|
+
// Flex grow utility classes
|
|
2403
|
+
$kendo-utils-flex-grow: k-map-get( $kendo-utils, "flex-grow" ) !default;
|
|
2404
|
+
@include generate-utils( grow, flex-grow, $kendo-utils-flex-grow );
|
|
2405
|
+
@include generate-utils( flex-grow, flex-grow, $kendo-utils-flex-grow );
|
|
2406
|
+
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
// #endregion
|
|
2410
|
+
// #region @import "./_flex-shrink.scss"; -> packages/utils/scss/flex-grid/_flex-shrink.scss
|
|
2411
|
+
/// This is equivalent to `flex-shrink: 1`. It determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn't enough space on the row.
|
|
2412
|
+
/// @name .k-flex-shrink
|
|
2413
|
+
/// @group flex-shrink
|
|
2414
|
+
/// @contextType css
|
|
2415
|
+
|
|
2416
|
+
/// This is equivalent to `flex-shrink: 0`. The item will not shrink.
|
|
2417
|
+
/// @name .k-flex-shrink-0
|
|
2418
|
+
/// @group flex-shrink
|
|
2419
|
+
/// @contextType css
|
|
2232
2420
|
|
|
2233
|
-
@
|
|
2421
|
+
@mixin kendo-utils--flex-grid--flex-shrink() {
|
|
2234
2422
|
|
|
2423
|
+
// Flex shrink utility classes
|
|
2424
|
+
$kendo-utils-flex-shrink: k-map-get( $kendo-utils, "flex-shrink" ) !default;
|
|
2425
|
+
@include generate-utils( shrink, flex-shrink, $kendo-utils-flex-shrink );
|
|
2426
|
+
@include generate-utils( flex-shrink, flex-shrink, $kendo-utils-flex-shrink );
|
|
2235
2427
|
|
|
2236
|
-
|
|
2237
|
-
.#{$kendo-prefix}flex-column { @extend .#{$kendo-prefix}flex-col !optional; }
|
|
2238
|
-
.#{$kendo-prefix}flex-column-reverse { @extend .#{$kendo-prefix}flex-col-reverse !optional; }
|
|
2428
|
+
}
|
|
2239
2429
|
|
|
2240
2430
|
// #endregion
|
|
2241
2431
|
// #region @import "./_flex-wrap.scss"; -> packages/utils/scss/flex-grid/_flex-wrap.scss
|
|
@@ -2254,10 +2444,13 @@ $kendo-utils-flex-direction: k-map-get( $kendo-utils, "flex-direction" ) !defaul
|
|
|
2254
2444
|
/// @group flex-wrap
|
|
2255
2445
|
/// @contextType css
|
|
2256
2446
|
|
|
2257
|
-
|
|
2258
|
-
$kendo-utils-flex-wrap: k-map-get( $kendo-utils, "flex-wrap" ) !default;
|
|
2447
|
+
@mixin kendo-utils--flex-grid--flex-wrap() {
|
|
2259
2448
|
|
|
2260
|
-
|
|
2449
|
+
// Flex wrap utility classes
|
|
2450
|
+
$kendo-utils-flex-wrap: k-map-get( $kendo-utils, "flex-wrap" ) !default;
|
|
2451
|
+
@include generate-utils( flex, flex-wrap, $kendo-utils-flex-wrap );
|
|
2452
|
+
|
|
2453
|
+
}
|
|
2261
2454
|
|
|
2262
2455
|
// #endregion
|
|
2263
2456
|
// #region @import "./_flex.scss"; -> packages/utils/scss/flex-grid/_flex.scss
|
|
@@ -2281,373 +2474,442 @@ $kendo-utils-flex-wrap: k-map-get( $kendo-utils, "flex-wrap" ) !default;
|
|
|
2281
2474
|
/// @group flex
|
|
2282
2475
|
/// @contextType css
|
|
2283
2476
|
|
|
2284
|
-
|
|
2285
|
-
$kendo-utils-flex: k-map-get( $kendo-utils, "flex" ) !default;
|
|
2286
|
-
|
|
2287
|
-
@include generate-utils( flex, flex, $kendo-utils-flex );
|
|
2288
|
-
|
|
2289
|
-
// #endregion
|
|
2290
|
-
// #region @import "./_flex-grow.scss"; -> packages/utils/scss/flex-grid/_flex-grow.scss
|
|
2291
|
-
/// This is equivalent to `flex-grow: 1`. It defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.
|
|
2292
|
-
/// @name .k-flex-grow
|
|
2293
|
-
/// @group flex-grow
|
|
2294
|
-
/// @contextType css
|
|
2295
|
-
|
|
2296
|
-
/// This is equivalent to `flex-grow: 0`. The item will not grow.
|
|
2297
|
-
/// @name .k-flex-grow-0
|
|
2298
|
-
/// @group flex-grow
|
|
2299
|
-
/// @contextType css
|
|
2477
|
+
@mixin kendo-utils--flex-grid--flex() {
|
|
2300
2478
|
|
|
2301
|
-
// Flex
|
|
2302
|
-
$kendo-utils-flex
|
|
2479
|
+
// Flex utility classes
|
|
2480
|
+
$kendo-utils-flex: k-map-get( $kendo-utils, "flex" ) !default;
|
|
2481
|
+
@include generate-utils( flex, flex, $kendo-utils-flex );
|
|
2303
2482
|
|
|
2304
|
-
|
|
2305
|
-
@include generate-utils( flex-grow, flex-grow, $kendo-utils-flex-grow );
|
|
2483
|
+
}
|
|
2306
2484
|
|
|
2307
2485
|
// #endregion
|
|
2308
|
-
// #region @import "./
|
|
2309
|
-
|
|
2310
|
-
/// @name .k-flex-shrink
|
|
2311
|
-
/// @group flex-shrink
|
|
2312
|
-
/// @contextType css
|
|
2486
|
+
// #region @import "./_gap.scss"; -> packages/utils/scss/flex-grid/_gap.scss
|
|
2487
|
+
// TODO: docs
|
|
2313
2488
|
|
|
2314
|
-
|
|
2315
|
-
/// @name .k-flex-shrink-0
|
|
2316
|
-
/// @group flex-shrink
|
|
2317
|
-
/// @contextType css
|
|
2489
|
+
@mixin kendo-utils--flex-grid--gap() {
|
|
2318
2490
|
|
|
2319
|
-
//
|
|
2320
|
-
$kendo-utils-
|
|
2491
|
+
// Gap utility classes
|
|
2492
|
+
$kendo-utils-gap: k-map-get( $kendo-utils, "gap" ) !default;
|
|
2493
|
+
@include generate-utils( gap, gap, $kendo-utils-gap );
|
|
2494
|
+
@include generate-utils( gap-x, column-gap, $kendo-utils-gap );
|
|
2495
|
+
@include generate-utils( gap-y, row-gap, $kendo-utils-gap );
|
|
2321
2496
|
|
|
2322
|
-
|
|
2323
|
-
@include generate-utils( flex-shrink, flex-shrink, $kendo-utils-flex-shrink );
|
|
2497
|
+
}
|
|
2324
2498
|
|
|
2325
2499
|
// #endregion
|
|
2326
|
-
// #region @import "./
|
|
2327
|
-
|
|
2328
|
-
/// @name .k-flex-basis-auto
|
|
2329
|
-
/// @group flex-basis
|
|
2330
|
-
/// @contextType css
|
|
2500
|
+
// #region @import "./_grid-auto-columns.scss"; -> packages/utils/scss/flex-grid/_grid-auto-columns.scss
|
|
2501
|
+
// TODO: docs
|
|
2331
2502
|
|
|
2332
|
-
|
|
2333
|
-
/// @name .k-flex-basis-0
|
|
2334
|
-
/// @group flex-basis
|
|
2335
|
-
/// @contextType css
|
|
2503
|
+
@mixin kendo-utils--flex-grid--grid-auto-columns() {
|
|
2336
2504
|
|
|
2337
|
-
//
|
|
2338
|
-
$kendo-utils-
|
|
2505
|
+
// Grid auto columns utility classes
|
|
2506
|
+
$kendo-utils-grid-auto-columns: k-map-get( $kendo-utils, "grid-auto-columns" ) !default;
|
|
2507
|
+
@include generate-utils( grid-auto-cols, grid-auto-columns, $kendo-utils-grid-auto-columns );
|
|
2339
2508
|
|
|
2340
|
-
|
|
2341
|
-
@include generate-utils( flex-basis, flex-basis, $kendo-utils-flex-basis );
|
|
2509
|
+
}
|
|
2342
2510
|
|
|
2343
2511
|
// #endregion
|
|
2344
|
-
// #region @import "./
|
|
2345
|
-
|
|
2346
|
-
/// @name .k-order-first
|
|
2347
|
-
/// @group order
|
|
2348
|
-
/// @contextType css
|
|
2349
|
-
|
|
2350
|
-
/// This is equivalent to `order: 9999;`.
|
|
2351
|
-
/// @name .k-order-last
|
|
2352
|
-
/// @group order
|
|
2353
|
-
/// @contextType css
|
|
2354
|
-
|
|
2355
|
-
/// This is equivalent to `order: 0;`.
|
|
2356
|
-
/// @name .k-order-none
|
|
2357
|
-
/// @group order
|
|
2358
|
-
/// @contextType css
|
|
2512
|
+
// #region @import "./_grid-auto-flow.scss"; -> packages/utils/scss/flex-grid/_grid-auto-flow.scss
|
|
2513
|
+
// TODO: docs
|
|
2359
2514
|
|
|
2360
|
-
|
|
2361
|
-
/// @name .from k-order-1 to k-order-12
|
|
2362
|
-
/// @group order
|
|
2363
|
-
/// @contextType css
|
|
2515
|
+
@mixin kendo-utils--flex-grid--grid-auto-flow() {
|
|
2364
2516
|
|
|
2365
|
-
|
|
2517
|
+
// Grid auto flow utility classes
|
|
2518
|
+
$kendo-utils-grid-auto-flow: k-map-get( $kendo-utils, "grid-auto-flow" ) !default;
|
|
2519
|
+
@include generate-utils( grid-flow, grid-auto-flow, $kendo-utils-grid-auto-flow );
|
|
2366
2520
|
|
|
2367
|
-
|
|
2521
|
+
}
|
|
2368
2522
|
|
|
2369
2523
|
// #endregion
|
|
2370
|
-
// #region @import "./_grid-
|
|
2371
|
-
// TODO
|
|
2372
|
-
|
|
2373
|
-
$kendo-utils-grid-template-columns: k-map-get( $kendo-utils, "grid-template-columns" ) !default;
|
|
2374
|
-
|
|
2375
|
-
@include generate-utils( grid-cols, grid-template-columns, $kendo-utils-grid-template-columns );
|
|
2524
|
+
// #region @import "./_grid-auto-rows.scss"; -> packages/utils/scss/flex-grid/_grid-auto-rows.scss
|
|
2525
|
+
// TODO: docs
|
|
2376
2526
|
|
|
2377
|
-
|
|
2378
|
-
// #region @import "./_grid-template-rows.scss"; -> packages/utils/scss/flex-grid/_grid-template-rows.scss
|
|
2379
|
-
// TODO DOCS
|
|
2527
|
+
@mixin kendo-utils--flex-grid--grid-auto-rows() {
|
|
2380
2528
|
|
|
2381
|
-
|
|
2529
|
+
// Grid auto rows utility classes
|
|
2530
|
+
$kendo-utils-grid-auto-rows: k-map-get( $kendo-utils, "grid-auto-rows" ) !default;
|
|
2531
|
+
@include generate-utils( grid-auto-rows, grid-auto-rows, $kendo-utils-grid-auto-rows );
|
|
2382
2532
|
|
|
2383
|
-
|
|
2533
|
+
}
|
|
2384
2534
|
|
|
2385
2535
|
// #endregion
|
|
2386
2536
|
// #region @import "./_grid-column-start-end.scss"; -> packages/utils/scss/flex-grid/_grid-column-start-end.scss
|
|
2387
|
-
// TODO
|
|
2537
|
+
// TODO: docs
|
|
2388
2538
|
|
|
2389
|
-
|
|
2539
|
+
@mixin kendo-utils--flex-grid--grid-column-start-end() {
|
|
2390
2540
|
|
|
2391
|
-
|
|
2541
|
+
// Grid column start utility classes
|
|
2542
|
+
$kendo-utils-grid-column-start: k-map-get( $kendo-utils, "grid-column-start" ) !default;
|
|
2543
|
+
@include generate-utils( col-start, grid-column-start, $kendo-utils-grid-column-start );
|
|
2392
2544
|
|
|
2393
2545
|
|
|
2394
|
-
|
|
2546
|
+
// Grid column end utility classes
|
|
2547
|
+
$kendo-utils-grid-column-end: k-map-get( $kendo-utils, "grid-column-end" ) !default;
|
|
2548
|
+
@include generate-utils( col-end, grid-column-end, $kendo-utils-grid-column-end );
|
|
2395
2549
|
|
|
2396
|
-
@include generate-utils( col-end, grid-column-end, $kendo-utils-grid-column-end );
|
|
2397
2550
|
|
|
2551
|
+
// Grid column span utility classes
|
|
2552
|
+
$kendo-utils-grid-column-span: k-map-get( $kendo-utils, "grid-column-span" ) !default;
|
|
2553
|
+
@include generate-utils( col-span, grid-column, $kendo-utils-grid-column-span );
|
|
2398
2554
|
|
|
2399
|
-
$kendo-utils-grid-column-span: k-map-get( $kendo-utils, "grid-column-span" ) !default;
|
|
2400
2555
|
|
|
2401
|
-
|
|
2556
|
+
// Legacy aliases
|
|
2557
|
+
@include generate-utils( colspan, grid-column, $kendo-utils-grid-column-span );
|
|
2558
|
+
.#{$kendo-prefix}colspan-all { @extend .#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2559
|
+
.\!#{$kendo-prefix}colspan-all { @extend .\!#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2402
2560
|
|
|
2403
|
-
|
|
2404
|
-
// Legacy aliases
|
|
2405
|
-
@include generate-utils( colspan, grid-column, $kendo-utils-grid-column-span );
|
|
2406
|
-
.#{$kendo-prefix}colspan-all { @extend .#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2407
|
-
.\!#{$kendo-prefix}colspan-all { @extend .\!#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2561
|
+
}
|
|
2408
2562
|
|
|
2409
2563
|
// #endregion
|
|
2410
2564
|
// #region @import "./_grid-row-start-end.scss"; -> packages/utils/scss/flex-grid/_grid-row-start-end.scss
|
|
2411
|
-
// TODO
|
|
2565
|
+
// TODO: docs
|
|
2412
2566
|
|
|
2413
|
-
|
|
2567
|
+
@mixin kendo-utils--flex-grid--grid-row-start-end() {
|
|
2414
2568
|
|
|
2415
|
-
|
|
2569
|
+
// Grid row start/end utility classes
|
|
2570
|
+
$kendo-utils-grid-row-start: k-map-get( $kendo-utils, "grid-row-start" ) !default;
|
|
2571
|
+
@include generate-utils( row-start, grid-row-start, $kendo-utils-grid-row-start );
|
|
2416
2572
|
|
|
2417
2573
|
|
|
2418
|
-
|
|
2574
|
+
// Grid row start/end utility classes
|
|
2575
|
+
$kendo-utils-grid-row-end: k-map-get( $kendo-utils, "grid-row-end" ) !default;
|
|
2576
|
+
@include generate-utils( row-end, grid-row-end, $kendo-utils-grid-row-end );
|
|
2419
2577
|
|
|
2420
|
-
@include generate-utils( row-end, grid-row-end, $kendo-utils-grid-row-end );
|
|
2421
2578
|
|
|
2579
|
+
// Grid row span utility classes
|
|
2580
|
+
$kendo-utils-grid-row-span: k-map-get( $kendo-utils, "grid-row-span" ) !default;
|
|
2581
|
+
@include generate-utils( row-span, grid-row, $kendo-utils-grid-row-span );
|
|
2422
2582
|
|
|
2423
|
-
$kendo-utils-grid-row-span: k-map-get( $kendo-utils, "grid-row-span" ) !default;
|
|
2424
2583
|
|
|
2425
|
-
|
|
2584
|
+
// Legacy aliases
|
|
2585
|
+
@include generate-utils( rowspan, grid-row, $kendo-utils-grid-row-span );
|
|
2586
|
+
.#{$kendo-prefix}rowspan-all { @extend .#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2587
|
+
.\!#{$kendo-prefix}rowspan-all { @extend .\!#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2426
2588
|
|
|
2427
|
-
|
|
2428
|
-
// Legacy aliases
|
|
2429
|
-
@include generate-utils( rowspan, grid-row, $kendo-utils-grid-row-span );
|
|
2430
|
-
.#{$kendo-prefix}rowspan-all { @extend .#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2431
|
-
.\!#{$kendo-prefix}rowspan-all { @extend .\!#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2589
|
+
}
|
|
2432
2590
|
|
|
2433
2591
|
// #endregion
|
|
2434
|
-
// #region @import "./_grid-
|
|
2435
|
-
// TODO
|
|
2436
|
-
|
|
2437
|
-
$kendo-utils-grid-auto-flow: k-map-get( $kendo-utils, "grid-auto-flow" ) !default;
|
|
2592
|
+
// #region @import "./_grid-template-columns.scss"; -> packages/utils/scss/flex-grid/_grid-template-columns.scss
|
|
2593
|
+
// TODO: docs
|
|
2438
2594
|
|
|
2439
|
-
@
|
|
2595
|
+
@mixin kendo-utils--flex-grid--grid-template-columns() {
|
|
2440
2596
|
|
|
2441
|
-
//
|
|
2442
|
-
|
|
2443
|
-
|
|
2597
|
+
// Grid template columns utility classes
|
|
2598
|
+
$kendo-utils-grid-template-columns: k-map-get( $kendo-utils, "grid-template-columns" ) !default;
|
|
2599
|
+
@include generate-utils( grid-cols, grid-template-columns, $kendo-utils-grid-template-columns );
|
|
2444
2600
|
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
@include generate-utils( grid-auto-cols, grid-auto-columns, $kendo-utils-grid-auto-columns );
|
|
2601
|
+
}
|
|
2448
2602
|
|
|
2449
2603
|
// #endregion
|
|
2450
|
-
// #region @import "./_grid-
|
|
2451
|
-
// TODO
|
|
2452
|
-
|
|
2453
|
-
$kendo-utils-grid-auto-rows: k-map-get( $kendo-utils, "grid-auto-rows" ) !default;
|
|
2604
|
+
// #region @import "./_grid-template-rows.scss"; -> packages/utils/scss/flex-grid/_grid-template-rows.scss
|
|
2605
|
+
// TODO: docs
|
|
2454
2606
|
|
|
2455
|
-
@
|
|
2607
|
+
@mixin kendo-utils--flex-grid--grid-template-rows() {
|
|
2456
2608
|
|
|
2457
|
-
//
|
|
2458
|
-
|
|
2459
|
-
|
|
2609
|
+
// Grid template rows utility classes
|
|
2610
|
+
$kendo-utils-grid-template-rows: k-map-get( $kendo-utils, "grid-template-rows" ) !default;
|
|
2611
|
+
@include generate-utils( grid-rows, grid-template-rows, $kendo-utils-grid-template-rows );
|
|
2460
2612
|
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
@include generate-utils( gap, gap, $kendo-utils-gap );
|
|
2464
|
-
@include generate-utils( gap-x, column-gap, $kendo-utils-gap );
|
|
2465
|
-
@include generate-utils( gap-y, row-gap, $kendo-utils-gap );
|
|
2613
|
+
}
|
|
2466
2614
|
|
|
2467
2615
|
// #endregion
|
|
2468
|
-
// #region @import "./
|
|
2469
|
-
// TODO
|
|
2616
|
+
// #region @import "./_justify-content.scss"; -> packages/utils/scss/flex-grid/_justify-content.scss
|
|
2617
|
+
// TODO: docs
|
|
2470
2618
|
|
|
2471
|
-
|
|
2619
|
+
@mixin kendo-utils--flex-grid--justify-content() {
|
|
2472
2620
|
|
|
2473
|
-
|
|
2621
|
+
// Justify content utility classes
|
|
2622
|
+
$kendo-utils-justify-content: k-map-get( $kendo-utils, "justify-content" ) !default;
|
|
2623
|
+
@include generate-utils( justify-content, justify-content, $kendo-utils-justify-content );
|
|
2474
2624
|
|
|
2475
|
-
// #endregion
|
|
2476
|
-
// #region @import "./_align-items.scss"; -> packages/utils/scss/flex-grid/_align-items.scss
|
|
2477
|
-
// TODO DOCS
|
|
2478
2625
|
|
|
2479
|
-
|
|
2626
|
+
// Custom justify-content classes
|
|
2627
|
+
.#{$kendo-prefix}justify-content-stretch > * { flex: 1 0 0%; }
|
|
2628
|
+
.\!.#{$kendo-prefix}justify-content-stretch > * { flex: 1 0 0% !important; } // sass-lint:disable-line no-important class-name-format
|
|
2480
2629
|
|
|
2481
|
-
|
|
2630
|
+
}
|
|
2482
2631
|
|
|
2483
2632
|
// #endregion
|
|
2484
|
-
// #region @import "./
|
|
2485
|
-
// TODO
|
|
2633
|
+
// #region @import "./_justify-items.scss"; -> packages/utils/scss/flex-grid/_justify-items.scss
|
|
2634
|
+
// TODO: docs
|
|
2486
2635
|
|
|
2487
|
-
|
|
2636
|
+
@mixin kendo-utils--flex-grid--justify-items() {
|
|
2488
2637
|
|
|
2489
|
-
|
|
2638
|
+
// Justify items utility classes
|
|
2639
|
+
$kendo-utils-justify-items: k-map-get( $kendo-utils, "justify-items" ) !default;
|
|
2640
|
+
@include generate-utils( justify-items, justify-items, $kendo-utils-justify-items );
|
|
2641
|
+
|
|
2642
|
+
}
|
|
2490
2643
|
|
|
2491
2644
|
// #endregion
|
|
2492
|
-
// #region @import "./_justify-
|
|
2493
|
-
// TODO
|
|
2645
|
+
// #region @import "./_justify-self.scss"; -> packages/utils/scss/flex-grid/_justify-self.scss
|
|
2646
|
+
// TODO: docs
|
|
2494
2647
|
|
|
2495
|
-
|
|
2648
|
+
@mixin kendo-utils--flex-grid--justify-self() {
|
|
2496
2649
|
|
|
2497
|
-
|
|
2650
|
+
// Justify self utility classes
|
|
2651
|
+
$kendo-utils-justify-self: k-map-get( $kendo-utils, "justify-self" ) !default;
|
|
2652
|
+
@include generate-utils( justify-self, justify-self, $kendo-utils-justify-self );
|
|
2498
2653
|
|
|
2499
|
-
|
|
2500
|
-
.\!.#{$kendo-prefix}justify-content-stretch > * { flex: 1 0 0% !important; } // sass-lint:disable-line no-important class-name-format
|
|
2654
|
+
}
|
|
2501
2655
|
|
|
2502
2656
|
// #endregion
|
|
2503
|
-
// #region @import "./
|
|
2504
|
-
|
|
2657
|
+
// #region @import "./_order.scss"; -> packages/utils/scss/flex-grid/_order.scss
|
|
2658
|
+
/// This is equivalent to `order: -9999;`.
|
|
2659
|
+
/// @name .k-order-first
|
|
2660
|
+
/// @group order
|
|
2661
|
+
/// @contextType css
|
|
2662
|
+
|
|
2663
|
+
/// This is equivalent to `order: 9999;`.
|
|
2664
|
+
/// @name .k-order-last
|
|
2665
|
+
/// @group order
|
|
2666
|
+
/// @contextType css
|
|
2505
2667
|
|
|
2506
|
-
|
|
2668
|
+
/// This is equivalent to `order: 0;`.
|
|
2669
|
+
/// @name .k-order-none
|
|
2670
|
+
/// @group order
|
|
2671
|
+
/// @contextType css
|
|
2507
2672
|
|
|
2508
|
-
|
|
2673
|
+
/// This is equivalent to `order: 1;`, `order: 2;`, `order: 12;`, etc.
|
|
2674
|
+
/// @name .from k-order-1 to k-order-12
|
|
2675
|
+
/// @group order
|
|
2676
|
+
/// @contextType css
|
|
2509
2677
|
|
|
2510
|
-
|
|
2511
|
-
// #region @import "./_justify-self.scss"; -> packages/utils/scss/flex-grid/_justify-self.scss
|
|
2512
|
-
// TODO DOCS
|
|
2678
|
+
@mixin kendo-utils--flex-grid--order() {
|
|
2513
2679
|
|
|
2514
|
-
|
|
2680
|
+
// Order utility classes
|
|
2681
|
+
$kendo-utils-order: k-map-get( $kendo-utils, "order" ) !default;
|
|
2682
|
+
@include generate-utils( order, order, $kendo-utils-order );
|
|
2515
2683
|
|
|
2516
|
-
|
|
2684
|
+
}
|
|
2517
2685
|
|
|
2518
2686
|
// #endregion
|
|
2519
2687
|
// #region @import "./_place-content.scss"; -> packages/utils/scss/flex-grid/_place-content.scss
|
|
2520
|
-
// TODO
|
|
2688
|
+
// TODO: docs
|
|
2521
2689
|
|
|
2522
|
-
|
|
2690
|
+
@mixin kendo-utils--flex-grid--place-content() {
|
|
2523
2691
|
|
|
2524
|
-
|
|
2692
|
+
// Place content utility classes
|
|
2693
|
+
$kendo-utils-place-content: k-map-get( $kendo-utils, "place-content" ) !default;
|
|
2694
|
+
@include generate-utils( place-content, place-content, $kendo-utils-place-content );
|
|
2695
|
+
|
|
2696
|
+
}
|
|
2525
2697
|
|
|
2526
2698
|
// #endregion
|
|
2527
2699
|
// #region @import "./_place-items.scss"; -> packages/utils/scss/flex-grid/_place-items.scss
|
|
2528
|
-
// TODO
|
|
2700
|
+
// TODO: docs
|
|
2701
|
+
|
|
2702
|
+
@mixin kendo-utils--flex-grid--place-items() {
|
|
2529
2703
|
|
|
2530
|
-
|
|
2704
|
+
// Place items utility classes
|
|
2705
|
+
$kendo-utils-place-items: k-map-get( $kendo-utils, "place-items" ) !default;
|
|
2706
|
+
@include generate-utils( place-items, place-items, $kendo-utils-place-items );
|
|
2531
2707
|
|
|
2532
|
-
|
|
2708
|
+
}
|
|
2533
2709
|
|
|
2534
2710
|
// #endregion
|
|
2535
2711
|
// #region @import "./_place-self.scss"; -> packages/utils/scss/flex-grid/_place-self.scss
|
|
2536
|
-
// TODO
|
|
2712
|
+
// TODO: docs
|
|
2537
2713
|
|
|
2538
|
-
|
|
2714
|
+
@mixin kendo-utils--flex-grid--place-self() {
|
|
2539
2715
|
|
|
2540
|
-
|
|
2716
|
+
// Place self utility classes
|
|
2717
|
+
$kendo-utils-place-self: k-map-get( $kendo-utils, "place-self" ) !default;
|
|
2718
|
+
@include generate-utils( place-self, place-self, $kendo-utils-place-self );
|
|
2719
|
+
|
|
2720
|
+
}
|
|
2541
2721
|
|
|
2542
2722
|
// #endregion
|
|
2543
2723
|
|
|
2724
|
+
|
|
2725
|
+
@mixin kendo-utils--flex-grid() {
|
|
2726
|
+
@include kendo-utils--flex-grid--align-content();
|
|
2727
|
+
@include kendo-utils--flex-grid--align-items();
|
|
2728
|
+
@include kendo-utils--flex-grid--align-self();
|
|
2729
|
+
@include kendo-utils--flex-grid--flex-basis();
|
|
2730
|
+
@include kendo-utils--flex-grid--flex-direction();
|
|
2731
|
+
@include kendo-utils--flex-grid--flex-grow();
|
|
2732
|
+
@include kendo-utils--flex-grid--flex-shrink();
|
|
2733
|
+
@include kendo-utils--flex-grid--flex-wrap();
|
|
2734
|
+
@include kendo-utils--flex-grid--flex();
|
|
2735
|
+
@include kendo-utils--flex-grid--gap();
|
|
2736
|
+
@include kendo-utils--flex-grid--grid-auto-columns();
|
|
2737
|
+
@include kendo-utils--flex-grid--grid-auto-flow();
|
|
2738
|
+
@include kendo-utils--flex-grid--grid-auto-rows();
|
|
2739
|
+
@include kendo-utils--flex-grid--grid-column-start-end();
|
|
2740
|
+
@include kendo-utils--flex-grid--grid-row-start-end();
|
|
2741
|
+
@include kendo-utils--flex-grid--grid-template-columns();
|
|
2742
|
+
@include kendo-utils--flex-grid--grid-template-rows();
|
|
2743
|
+
@include kendo-utils--flex-grid--justify-content();
|
|
2744
|
+
@include kendo-utils--flex-grid--justify-items();
|
|
2745
|
+
@include kendo-utils--flex-grid--justify-self();
|
|
2746
|
+
@include kendo-utils--flex-grid--order();
|
|
2747
|
+
@include kendo-utils--flex-grid--place-content();
|
|
2748
|
+
@include kendo-utils--flex-grid--place-items();
|
|
2749
|
+
@include kendo-utils--flex-grid--place-self();
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2544
2752
|
// #endregion
|
|
2545
2753
|
// #region @import "./spacing/index.import.scss"; -> packages/utils/scss/spacing/index.import.scss
|
|
2546
2754
|
// #region @import "./_margin.scss"; -> packages/utils/scss/spacing/_margin.scss
|
|
2547
|
-
// TODO
|
|
2755
|
+
// TODO: docs
|
|
2548
2756
|
|
|
2549
|
-
|
|
2757
|
+
@mixin kendo-utils--spacing--margin() {
|
|
2550
2758
|
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
@include generate-utils(
|
|
2554
|
-
@include generate-utils(
|
|
2555
|
-
@include generate-utils(
|
|
2556
|
-
@include generate-utils(
|
|
2557
|
-
@include generate-utils(
|
|
2759
|
+
// Margin utility classes
|
|
2760
|
+
$kendo-utils-margin: k-map-get( $kendo-utils, "margin" ) !default;
|
|
2761
|
+
@include generate-utils( m, margin, $kendo-utils-margin );
|
|
2762
|
+
@include generate-utils( mt, margin-top, $kendo-utils-margin );
|
|
2763
|
+
@include generate-utils( mr, margin-right, $kendo-utils-margin );
|
|
2764
|
+
@include generate-utils( mb, margin-bottom, $kendo-utils-margin );
|
|
2765
|
+
@include generate-utils( ml, margin-left, $kendo-utils-margin );
|
|
2766
|
+
@include generate-utils( mx, margin-inline, $kendo-utils-margin );
|
|
2767
|
+
@include generate-utils( my, margin-block, $kendo-utils-margin );
|
|
2768
|
+
|
|
2769
|
+
}
|
|
2558
2770
|
|
|
2559
2771
|
// #endregion
|
|
2560
2772
|
// #region @import "./_padding.scss"; -> packages/utils/scss/spacing/_padding.scss
|
|
2561
|
-
// TODO
|
|
2773
|
+
// TODO: docs
|
|
2774
|
+
|
|
2775
|
+
@mixin kendo-utils--spacing--padding() {
|
|
2562
2776
|
|
|
2563
|
-
|
|
2777
|
+
// Padding utility classes
|
|
2778
|
+
$kendo-utils-padding: k-map-get( $kendo-utils, "padding" ) !default;
|
|
2779
|
+
@include generate-utils( p, padding, $kendo-utils-padding );
|
|
2780
|
+
@include generate-utils( pt, padding-top, $kendo-utils-padding );
|
|
2781
|
+
@include generate-utils( pr, padding-right, $kendo-utils-padding );
|
|
2782
|
+
@include generate-utils( pb, padding-bottom, $kendo-utils-padding );
|
|
2783
|
+
@include generate-utils( pl, padding-left, $kendo-utils-padding );
|
|
2784
|
+
@include generate-utils( px, padding-inline, $kendo-utils-padding );
|
|
2785
|
+
@include generate-utils( py, padding-block, $kendo-utils-padding );
|
|
2564
2786
|
|
|
2565
|
-
|
|
2566
|
-
@include generate-utils( pt, padding-top, $kendo-utils-padding );
|
|
2567
|
-
@include generate-utils( pr, padding-right, $kendo-utils-padding );
|
|
2568
|
-
@include generate-utils( pb, padding-bottom, $kendo-utils-padding );
|
|
2569
|
-
@include generate-utils( pl, padding-left, $kendo-utils-padding );
|
|
2570
|
-
@include generate-utils( px, padding-inline, $kendo-utils-padding );
|
|
2571
|
-
@include generate-utils( py, padding-block, $kendo-utils-padding );
|
|
2787
|
+
}
|
|
2572
2788
|
|
|
2573
2789
|
// #endregion
|
|
2574
2790
|
// #region @import "./_space-between.scss"; -> packages/utils/scss/spacing/_space-between.scss
|
|
2791
|
+
// TODO: docs
|
|
2575
2792
|
|
|
2576
|
-
|
|
2793
|
+
@mixin kendo-utils--spacing--space-between() {
|
|
2577
2794
|
|
|
2578
|
-
//
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2795
|
+
// Space between utility classes
|
|
2796
|
+
$kendo-utils-space-between: k-map-get( $kendo-utils, "space-between" ) !default;
|
|
2797
|
+
@each $key, $value in $kendo-utils-space-between {
|
|
2798
|
+
$_key: k-escape-class-name( $key );
|
|
2582
2799
|
|
|
2583
|
-
$kendo-
|
|
2800
|
+
.#{$kendo-prefix}space-x-#{$_key} > * + * {
|
|
2801
|
+
margin-inline-start: $value;
|
|
2802
|
+
}
|
|
2803
|
+
.#{$kendo-prefix}space-y-#{$_key} > * + * {
|
|
2804
|
+
margin-block-start: $value;
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2584
2807
|
|
|
2585
|
-
|
|
2808
|
+
}
|
|
2586
2809
|
|
|
2810
|
+
// #endregion
|
|
2587
2811
|
|
|
2588
|
-
$kendo-utils-min-width: k-map-get( $kendo-utils, "min-width" ) !default;
|
|
2589
2812
|
|
|
2590
|
-
@
|
|
2813
|
+
@mixin kendo-utils--spacing() {
|
|
2814
|
+
@include kendo-utils--spacing--margin();
|
|
2815
|
+
@include kendo-utils--spacing--padding();
|
|
2816
|
+
@include kendo-utils--spacing--space-between();
|
|
2817
|
+
}
|
|
2591
2818
|
|
|
2819
|
+
// #endregion
|
|
2820
|
+
// #region @import "./sizing/index.import.scss"; -> packages/utils/scss/sizing/index.import.scss
|
|
2821
|
+
// #region @import "./_height.scss"; -> packages/utils/scss/sizing/_height.scss
|
|
2822
|
+
// TODO: docs
|
|
2592
2823
|
|
|
2593
|
-
|
|
2824
|
+
@mixin kendo-utils--sizing--height() {
|
|
2594
2825
|
|
|
2595
|
-
|
|
2826
|
+
// Height utility classes
|
|
2827
|
+
$kendo-utils-height: k-map-get( $kendo-utils, "height" ) !default;
|
|
2828
|
+
@include generate-utils( h, height, $kendo-utils-height );
|
|
2596
2829
|
|
|
2597
|
-
//
|
|
2598
|
-
|
|
2599
|
-
|
|
2830
|
+
// Min height utility classes
|
|
2831
|
+
$kendo-utils-min-height: k-map-get( $kendo-utils, "min-height" ) !default;
|
|
2832
|
+
@include generate-utils( min-h, min-height, $kendo-utils-min-height );
|
|
2600
2833
|
|
|
2601
|
-
|
|
2834
|
+
// Max height utility classes
|
|
2835
|
+
$kendo-utils-max-height: k-map-get( $kendo-utils, "max-height" ) !default;
|
|
2836
|
+
@include generate-utils( max-h, max-height, $kendo-utils-max-height );
|
|
2602
2837
|
|
|
2603
|
-
|
|
2838
|
+
}
|
|
2604
2839
|
|
|
2840
|
+
// #endregion
|
|
2841
|
+
// #region @import "./_width.scss"; -> packages/utils/scss/sizing/_width.scss
|
|
2842
|
+
// TODO: docs
|
|
2605
2843
|
|
|
2606
|
-
|
|
2844
|
+
@mixin kendo-utils--sizing--width() {
|
|
2607
2845
|
|
|
2608
|
-
|
|
2846
|
+
// Width utility classes
|
|
2847
|
+
$kendo-utils-width: k-map-get( $kendo-utils, "width" ) !default;
|
|
2848
|
+
@include generate-utils( w, width, $kendo-utils-width );
|
|
2609
2849
|
|
|
2850
|
+
// Min-width utility classes
|
|
2851
|
+
$kendo-utils-min-width: k-map-get( $kendo-utils, "min-width" ) !default;
|
|
2852
|
+
@include generate-utils( min-w, min-width, $kendo-utils-min-width );
|
|
2610
2853
|
|
|
2611
|
-
|
|
2854
|
+
// Max-width utility classes
|
|
2855
|
+
$kendo-utils-max-width: k-map-get( $kendo-utils, "max-width" ) !default;
|
|
2856
|
+
@include generate-utils( max-w, max-width, $kendo-utils-max-width );
|
|
2612
2857
|
|
|
2613
|
-
|
|
2858
|
+
}
|
|
2614
2859
|
|
|
2615
2860
|
// #endregion
|
|
2616
2861
|
|
|
2862
|
+
|
|
2863
|
+
@mixin kendo-utils--sizing() {
|
|
2864
|
+
@include kendo-utils--sizing--height();
|
|
2865
|
+
@include kendo-utils--sizing--width();
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2617
2868
|
// #endregion
|
|
2618
2869
|
// #region @import "./typography/index.import.scss"; -> packages/utils/scss/typography/index.import.scss
|
|
2619
2870
|
// font family
|
|
2620
2871
|
// #region @import "./_font-size.scss"; -> packages/utils/scss/typography/_font-size.scss
|
|
2621
|
-
// TODO
|
|
2872
|
+
// TODO: docs
|
|
2622
2873
|
|
|
2623
|
-
|
|
2874
|
+
@mixin kendo-utils--typography--font-size() {
|
|
2624
2875
|
|
|
2625
|
-
|
|
2876
|
+
// Font size utility classes
|
|
2877
|
+
$kendo-utils-font-size: k-map-get( $kendo-utils, "font-size" ) !default;
|
|
2878
|
+
@include generate-utils( font-size, font-size, $kendo-utils-font-size );
|
|
2626
2879
|
|
|
2880
|
+
// Legacy aliases
|
|
2881
|
+
@include generate-utils( fs, font-size, $kendo-utils-font-size );
|
|
2627
2882
|
|
|
2628
|
-
|
|
2629
|
-
@include generate-utils( fs, font-size, $kendo-utils-font-size );
|
|
2883
|
+
}
|
|
2630
2884
|
|
|
2631
2885
|
// #endregion
|
|
2632
2886
|
// font smoothing
|
|
2633
2887
|
// #region @import "./_font-style.scss"; -> packages/utils/scss/typography/_font-style.scss
|
|
2634
|
-
// TODO
|
|
2888
|
+
// TODO: docs
|
|
2635
2889
|
|
|
2636
|
-
|
|
2890
|
+
@mixin kendo-utils--typography--font-style() {
|
|
2637
2891
|
|
|
2638
|
-
|
|
2892
|
+
// Font style utility classes
|
|
2893
|
+
$kendo-utils-font-style: k-map-get( $kendo-utils, "font-style" ) !default;
|
|
2894
|
+
@include generate-utils( font, font-style, $kendo-utils-font-style );
|
|
2895
|
+
|
|
2896
|
+
}
|
|
2639
2897
|
|
|
2640
2898
|
// #endregion
|
|
2641
2899
|
// #region @import "./_font-weight.scss"; -> packages/utils/scss/typography/_font-weight.scss
|
|
2642
|
-
// TODO
|
|
2900
|
+
// TODO: docs
|
|
2643
2901
|
|
|
2644
|
-
|
|
2902
|
+
@mixin kendo-utils--typography--font-weight() {
|
|
2645
2903
|
|
|
2646
|
-
|
|
2904
|
+
// Font weight utility classes
|
|
2905
|
+
$kendo-utils-font-weight: k-map-get( $kendo-utils, "font-weight" ) !default;
|
|
2906
|
+
@include generate-utils( font, font-weight, $kendo-utils-font-weight );
|
|
2647
2907
|
|
|
2648
2908
|
|
|
2649
|
-
// Legacy aliases
|
|
2650
|
-
@include generate-utils( font-weight, font-weight, $kendo-utils-font-weight );
|
|
2909
|
+
// Legacy aliases
|
|
2910
|
+
@include generate-utils( font-weight, font-weight, $kendo-utils-font-weight );
|
|
2911
|
+
|
|
2912
|
+
}
|
|
2651
2913
|
|
|
2652
2914
|
// #endregion
|
|
2653
2915
|
// font variant
|
|
@@ -2677,22 +2939,30 @@ $kendo-utils-font-weight: k-map-get( $kendo-utils, "font-weight" ) !default;
|
|
|
2677
2939
|
/// @group text-align
|
|
2678
2940
|
/// @contextType css
|
|
2679
2941
|
|
|
2680
|
-
|
|
2681
|
-
$kendo-utils-text-align: k-map-get( $kendo-utils, "text-align" ) !default;
|
|
2942
|
+
@mixin kendo-utils--typography--text-align() {
|
|
2682
2943
|
|
|
2683
|
-
|
|
2944
|
+
// Text align utility classes
|
|
2945
|
+
$kendo-utils-text-align: k-map-get( $kendo-utils, "text-align" ) !default;
|
|
2946
|
+
|
|
2947
|
+
@include generate-utils( text, text-align, $kendo-utils-text-align );
|
|
2948
|
+
|
|
2949
|
+
}
|
|
2684
2950
|
|
|
2685
2951
|
// #endregion
|
|
2686
2952
|
// #region @import "./_text-color.scss"; -> packages/utils/scss/typography/_text-color.scss
|
|
2687
|
-
// TODO
|
|
2953
|
+
// TODO: docs
|
|
2688
2954
|
|
|
2689
|
-
|
|
2955
|
+
@mixin kendo-utils--typography--text-color() {
|
|
2690
2956
|
|
|
2691
|
-
|
|
2957
|
+
// Text color utility classes
|
|
2958
|
+
$kendo-utils-text-color: k-map-get( $kendo-utils, "text-color" ) !default;
|
|
2959
|
+
@include generate-utils( text, color, $kendo-utils-text-color );
|
|
2692
2960
|
|
|
2693
2961
|
|
|
2694
|
-
// Legacy aliases
|
|
2695
|
-
@include generate-utils( color, color, $kendo-utils-text-color );
|
|
2962
|
+
// Legacy aliases
|
|
2963
|
+
@include generate-utils( color, color, $kendo-utils-text-color );
|
|
2964
|
+
|
|
2965
|
+
}
|
|
2696
2966
|
|
|
2697
2967
|
// #endregion
|
|
2698
2968
|
// text decoration
|
|
@@ -2714,10 +2984,13 @@ $kendo-utils-text-color: k-map-get( $kendo-utils, "text-color" ) !default;
|
|
|
2714
2984
|
/// @group text-transform
|
|
2715
2985
|
/// @contextType css
|
|
2716
2986
|
|
|
2717
|
-
|
|
2718
|
-
$kendo-utils-text-transform: k-map-get( $kendo-utils, "text-transform" ) !default;
|
|
2987
|
+
@mixin kendo-utils--typography--text-transform() {
|
|
2719
2988
|
|
|
2720
|
-
|
|
2989
|
+
// Text transform utility classes
|
|
2990
|
+
$kendo-utils-text-transform: k-map-get( $kendo-utils, "text-transform" ) !default;
|
|
2991
|
+
@include generate-utils( text, text-transform, $kendo-utils-text-transform );
|
|
2992
|
+
|
|
2993
|
+
}
|
|
2721
2994
|
|
|
2722
2995
|
// #endregion
|
|
2723
2996
|
// text overflow
|
|
@@ -2756,145 +3029,216 @@ $kendo-utils-text-transform: k-map-get( $kendo-utils, "text-transform" ) !defaul
|
|
|
2756
3029
|
/// @group white-space
|
|
2757
3030
|
/// @contextType css
|
|
2758
3031
|
|
|
2759
|
-
|
|
2760
|
-
$kendo-utils-white-space: k-map-get( $kendo-utils, "white-space" ) !default;
|
|
3032
|
+
@mixin kendo-utils--typography--white-space() {
|
|
2761
3033
|
|
|
2762
|
-
|
|
2763
|
-
|
|
3034
|
+
// White space utility classes
|
|
3035
|
+
$kendo-utils-white-space: k-map-get( $kendo-utils, "white-space" ) !default;
|
|
2764
3036
|
|
|
3037
|
+
@include generate-utils( white-space, white-space, $kendo-utils-white-space );
|
|
3038
|
+
@include generate-utils( whitespace, white-space, $kendo-utils-white-space );
|
|
2765
3039
|
|
|
2766
|
-
|
|
2767
|
-
|
|
3040
|
+
|
|
3041
|
+
// Legacy aliases
|
|
3042
|
+
.#{$kendo-prefix}text-nowrap { @extend .#{$kendo-prefix}white-space-nowrap !optional; }
|
|
3043
|
+
|
|
3044
|
+
}
|
|
2768
3045
|
|
|
2769
3046
|
// #endregion
|
|
2770
3047
|
|
|
2771
3048
|
|
|
2772
|
-
|
|
2773
|
-
///
|
|
2774
|
-
/// @
|
|
2775
|
-
|
|
3049
|
+
@mixin kendo-utils--typography() {
|
|
3050
|
+
/// This is equivalent to `white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`.
|
|
3051
|
+
/// @name .k-text-ellipsis
|
|
3052
|
+
/// @group text
|
|
3053
|
+
.#{$kendo-prefix}text-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } // sass-lint:disable-line one-declaration-per-line
|
|
3054
|
+
|
|
3055
|
+
@include kendo-utils--typography--font-size();
|
|
3056
|
+
@include kendo-utils--typography--font-style();
|
|
3057
|
+
@include kendo-utils--typography--font-weight();
|
|
3058
|
+
@include kendo-utils--typography--text-align();
|
|
3059
|
+
@include kendo-utils--typography--text-color();
|
|
3060
|
+
@include kendo-utils--typography--text-transform();
|
|
3061
|
+
@include kendo-utils--typography--white-space();
|
|
3062
|
+
}
|
|
2776
3063
|
|
|
2777
3064
|
// #endregion
|
|
2778
3065
|
// #region @import "./background/index.import.scss"; -> packages/utils/scss/background/index.import.scss
|
|
2779
3066
|
// #region @import "./_background-color.scss"; -> packages/utils/scss/background/_background-color.scss
|
|
2780
|
-
// TODO
|
|
3067
|
+
// TODO: docs
|
|
3068
|
+
|
|
3069
|
+
@mixin kendo-utils--background--background-color() {
|
|
2781
3070
|
|
|
2782
|
-
|
|
3071
|
+
// Background color utility classes
|
|
3072
|
+
$kendo-utils-background-color: k-map-get( $kendo-utils, "background-color" ) !default;
|
|
3073
|
+
@include generate-utils( bg, background-color, $kendo-utils-background-color );
|
|
2783
3074
|
|
|
2784
|
-
|
|
3075
|
+
}
|
|
2785
3076
|
|
|
2786
3077
|
// #endregion
|
|
2787
3078
|
|
|
3079
|
+
|
|
3080
|
+
@mixin kendo-utils--background() {
|
|
3081
|
+
@include kendo-utils--background--background-color();
|
|
3082
|
+
}
|
|
3083
|
+
|
|
2788
3084
|
// #endregion
|
|
2789
3085
|
// #region @import "./border/index.import.scss"; -> packages/utils/scss/border/index.import.scss
|
|
2790
|
-
// #region @import "./_border-
|
|
2791
|
-
// TODO
|
|
3086
|
+
// #region @import "./_border-color.scss"; -> packages/utils/scss/border/_border-color.scss
|
|
3087
|
+
// TODO: docs
|
|
2792
3088
|
|
|
2793
|
-
|
|
3089
|
+
@mixin kendo-utils--border--border-color() {
|
|
2794
3090
|
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
@include generate-utils( border
|
|
2798
|
-
@include generate-utils( border-
|
|
2799
|
-
@include generate-utils( border-
|
|
2800
|
-
@include generate-utils( border-
|
|
2801
|
-
@include generate-utils( border-
|
|
3091
|
+
// Border color utility classes
|
|
3092
|
+
$kendo-utils-border-color: k-map-get( $kendo-utils, "border-color" ) !default;
|
|
3093
|
+
@include generate-utils( border, border-color, $kendo-utils-border-color );
|
|
3094
|
+
@include generate-utils( border-t, border-top-color, $kendo-utils-border-color );
|
|
3095
|
+
@include generate-utils( border-r, border-right-color, $kendo-utils-border-color );
|
|
3096
|
+
@include generate-utils( border-b, border-bottom-color, $kendo-utils-border-color );
|
|
3097
|
+
@include generate-utils( border-l, border-left-color, $kendo-utils-border-color );
|
|
3098
|
+
@include generate-utils( border-x, border-inline-color, $kendo-utils-border-color );
|
|
3099
|
+
@include generate-utils( border-y, border-block-color, $kendo-utils-border-color );
|
|
2802
3100
|
|
|
3101
|
+
}
|
|
2803
3102
|
|
|
2804
|
-
//
|
|
2805
|
-
@
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
@
|
|
3103
|
+
// #endregion
|
|
3104
|
+
// #region @import "./_border-radius.scss"; -> packages/utils/scss/border/_border-radius.scss
|
|
3105
|
+
// TODO: docs
|
|
3106
|
+
|
|
3107
|
+
@mixin kendo-utils--border--border-radius() {
|
|
3108
|
+
|
|
3109
|
+
// Border radius utility classes
|
|
3110
|
+
$kendo-utils-border-radius: k-map-get( $kendo-utils, "border-radius" ) !default;
|
|
3111
|
+
@include generate-utils( rounded, border-radius, $kendo-utils-border-radius );
|
|
3112
|
+
@include generate-utils( rounded-tl, border-top-left-radius, $kendo-utils-border-radius );
|
|
3113
|
+
@include generate-utils( rounded-tr, border-top-right-radius, $kendo-utils-border-radius );
|
|
3114
|
+
@include generate-utils( rounded-br, border-bottom-right-radius, $kendo-utils-border-radius );
|
|
3115
|
+
@include generate-utils( rounded-bl, border-bottom-left-radius, $kendo-utils-border-radius );
|
|
3116
|
+
@include generate-utils( rounded-t, ( border-top-left-radius, border-top-right-radius ), $kendo-utils-border-radius );
|
|
3117
|
+
@include generate-utils( rounded-r, ( border-top-right-radius, border-bottom-right-radius ), $kendo-utils-border-radius );
|
|
3118
|
+
@include generate-utils( rounded-b, ( border-bottom-left-radius, border-bottom-right-radius ), $kendo-utils-border-radius );
|
|
3119
|
+
@include generate-utils( rounded-l, ( border-top-left-radius, border-bottom-left-radius ), $kendo-utils-border-radius );
|
|
3120
|
+
|
|
3121
|
+
}
|
|
2809
3122
|
|
|
2810
3123
|
// #endregion
|
|
2811
3124
|
// #region @import "./_border-style.scss"; -> packages/utils/scss/border/_border-style.scss
|
|
2812
|
-
// TODO
|
|
3125
|
+
// TODO: docs
|
|
2813
3126
|
|
|
2814
|
-
|
|
3127
|
+
@mixin kendo-utils--border--border-style() {
|
|
2815
3128
|
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
@include generate-utils( border
|
|
2819
|
-
@include generate-utils( border-
|
|
2820
|
-
@include generate-utils( border-
|
|
2821
|
-
@include generate-utils( border-
|
|
2822
|
-
@include generate-utils( border-
|
|
3129
|
+
// Border style utility classes
|
|
3130
|
+
$kendo-utils-border-style: k-map-get( $kendo-utils, "border-style" ) !default;
|
|
3131
|
+
@include generate-utils( border, border-style, $kendo-utils-border-style );
|
|
3132
|
+
@include generate-utils( border-t, border-top-style, $kendo-utils-border-style );
|
|
3133
|
+
@include generate-utils( border-r, border-right-style, $kendo-utils-border-style );
|
|
3134
|
+
@include generate-utils( border-b, border-bottom-style, $kendo-utils-border-style );
|
|
3135
|
+
@include generate-utils( border-l, border-left-style, $kendo-utils-border-style );
|
|
3136
|
+
@include generate-utils( border-x, border-inline-style, $kendo-utils-border-style );
|
|
3137
|
+
@include generate-utils( border-y, border-block-style, $kendo-utils-border-style );
|
|
3138
|
+
|
|
3139
|
+
}
|
|
2823
3140
|
|
|
2824
3141
|
// #endregion
|
|
2825
|
-
// #region @import "./_border-
|
|
2826
|
-
// TODO
|
|
3142
|
+
// #region @import "./_border-width.scss"; -> packages/utils/scss/border/_border-width.scss
|
|
3143
|
+
// TODO: docs
|
|
2827
3144
|
|
|
2828
|
-
|
|
3145
|
+
@mixin kendo-utils--border--border-width() {
|
|
2829
3146
|
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
@include generate-utils( border
|
|
2833
|
-
@include generate-utils( border-
|
|
2834
|
-
@include generate-utils( border-
|
|
2835
|
-
@include generate-utils( border-
|
|
2836
|
-
@include generate-utils( border-
|
|
3147
|
+
// Border width utility classes
|
|
3148
|
+
$kendo-utils-border-width: k-map-get( $kendo-utils, "border-width" ) !default;
|
|
3149
|
+
@include generate-utils( border, border-width, $kendo-utils-border-width );
|
|
3150
|
+
@include generate-utils( border-t, border-top-width, $kendo-utils-border-width );
|
|
3151
|
+
@include generate-utils( border-r, border-right-width, $kendo-utils-border-width );
|
|
3152
|
+
@include generate-utils( border-b, border-bottom-width, $kendo-utils-border-width );
|
|
3153
|
+
@include generate-utils( border-l, border-left-width, $kendo-utils-border-width );
|
|
3154
|
+
@include generate-utils( border-x, border-inline-width, $kendo-utils-border-width );
|
|
3155
|
+
@include generate-utils( border-y, border-block-width, $kendo-utils-border-width );
|
|
2837
3156
|
|
|
2838
|
-
// #endregion
|
|
2839
|
-
// #region @import "./_border-radius.scss"; -> packages/utils/scss/border/_border-radius.scss
|
|
2840
|
-
// TODO DOCS
|
|
2841
3157
|
|
|
2842
|
-
|
|
3158
|
+
// Legacy aliases
|
|
3159
|
+
@include generate-utils( border-top, border-top-width, $kendo-utils-border-width );
|
|
3160
|
+
@include generate-utils( border-right, border-right-width, $kendo-utils-border-width );
|
|
3161
|
+
@include generate-utils( border-bottom, border-bottom-width, $kendo-utils-border-width );
|
|
3162
|
+
@include generate-utils( border-left, border-left-width, $kendo-utils-border-width );
|
|
2843
3163
|
|
|
2844
|
-
|
|
2845
|
-
@include generate-utils( rounded-tl, border-top-left-radius, $kendo-utils-border-radius );
|
|
2846
|
-
@include generate-utils( rounded-tr, border-top-right-radius, $kendo-utils-border-radius );
|
|
2847
|
-
@include generate-utils( rounded-br, border-bottom-right-radius, $kendo-utils-border-radius );
|
|
2848
|
-
@include generate-utils( rounded-bl, border-bottom-left-radius, $kendo-utils-border-radius );
|
|
2849
|
-
@include generate-utils( rounded-t, ( border-top-left-radius, border-top-right-radius ), $kendo-utils-border-radius );
|
|
2850
|
-
@include generate-utils( rounded-r, ( border-top-right-radius, border-bottom-right-radius ), $kendo-utils-border-radius );
|
|
2851
|
-
@include generate-utils( rounded-b, ( border-bottom-left-radius, border-bottom-right-radius ), $kendo-utils-border-radius );
|
|
2852
|
-
@include generate-utils( rounded-l, ( border-top-left-radius, border-bottom-left-radius ), $kendo-utils-border-radius );
|
|
3164
|
+
}
|
|
2853
3165
|
|
|
2854
3166
|
// #endregion
|
|
2855
|
-
// #region @import "./_outline-
|
|
2856
|
-
// TODO
|
|
3167
|
+
// #region @import "./_outline-color.scss"; -> packages/utils/scss/border/_outline-color.scss
|
|
3168
|
+
// TODO: docs
|
|
2857
3169
|
|
|
2858
|
-
|
|
3170
|
+
@mixin kendo-utils--border--outline-color() {
|
|
2859
3171
|
|
|
2860
|
-
|
|
3172
|
+
// Outline color utility classes
|
|
3173
|
+
$kendo-utils-outline-color: k-map-get( $kendo-utils, "outline-color" ) !default;
|
|
3174
|
+
@include generate-utils( outline, outline-color, $kendo-utils-outline-color );
|
|
3175
|
+
|
|
3176
|
+
}
|
|
2861
3177
|
|
|
2862
3178
|
// #endregion
|
|
2863
|
-
// #region @import "./_outline-
|
|
2864
|
-
// TODO
|
|
3179
|
+
// #region @import "./_outline-offset.scss"; -> packages/utils/scss/border/_outline-offset.scss
|
|
3180
|
+
// TODO: docs
|
|
2865
3181
|
|
|
2866
|
-
|
|
3182
|
+
@mixin kendo-utils--border--outline-offset() {
|
|
2867
3183
|
|
|
2868
|
-
|
|
3184
|
+
// Outline offset utility classes
|
|
3185
|
+
$kendo-utils-outline-offset: k-map-get( $kendo-utils, "outline-offset" ) !default;
|
|
3186
|
+
@include generate-utils( outline-offset, outline-offset, $kendo-utils-outline-offset );
|
|
3187
|
+
|
|
3188
|
+
}
|
|
2869
3189
|
|
|
2870
3190
|
// #endregion
|
|
2871
|
-
// #region @import "./_outline-
|
|
2872
|
-
// TODO
|
|
3191
|
+
// #region @import "./_outline-style.scss"; -> packages/utils/scss/border/_outline-style.scss
|
|
3192
|
+
// TODO: docs
|
|
2873
3193
|
|
|
2874
|
-
|
|
3194
|
+
@mixin kendo-utils--border--outline-style() {
|
|
2875
3195
|
|
|
2876
|
-
|
|
3196
|
+
// Outline style utility classes
|
|
3197
|
+
$kendo-utils-outline-style: k-map-get( $kendo-utils, "outline-style" ) !default;
|
|
3198
|
+
@include generate-utils( outline, outline-style, $kendo-utils-outline-style );
|
|
3199
|
+
|
|
3200
|
+
}
|
|
2877
3201
|
|
|
2878
3202
|
// #endregion
|
|
2879
|
-
// #region @import "./_outline-
|
|
2880
|
-
// TODO
|
|
3203
|
+
// #region @import "./_outline-width.scss"; -> packages/utils/scss/border/_outline-width.scss
|
|
3204
|
+
// TODO: docs
|
|
3205
|
+
|
|
3206
|
+
@mixin kendo-utils--border--outline-width() {
|
|
2881
3207
|
|
|
2882
|
-
|
|
3208
|
+
// Outline width utility classes
|
|
3209
|
+
$kendo-utils-outline-width: k-map-get( $kendo-utils, "outline-width" ) !default;
|
|
3210
|
+
@include generate-utils( outline, outline-width, $kendo-utils-outline-width );
|
|
2883
3211
|
|
|
2884
|
-
|
|
3212
|
+
}
|
|
2885
3213
|
|
|
2886
3214
|
// #endregion
|
|
2887
3215
|
|
|
3216
|
+
|
|
3217
|
+
@mixin kendo-utils--border() {
|
|
3218
|
+
@include kendo-utils--border--border-color();
|
|
3219
|
+
@include kendo-utils--border--border-radius();
|
|
3220
|
+
@include kendo-utils--border--border-style();
|
|
3221
|
+
@include kendo-utils--border--border-width();
|
|
3222
|
+
@include kendo-utils--border--outline-color();
|
|
3223
|
+
@include kendo-utils--border--outline-offset();
|
|
3224
|
+
@include kendo-utils--border--outline-style();
|
|
3225
|
+
@include kendo-utils--border--outline-width();
|
|
3226
|
+
}
|
|
3227
|
+
|
|
2888
3228
|
// #endregion
|
|
2889
3229
|
// effects
|
|
2890
3230
|
// filter
|
|
2891
3231
|
// #region @import "./table/index.import.scss"; -> packages/utils/scss/table/index.import.scss
|
|
2892
3232
|
// #region @import "./_border-collapse.scss"; -> packages/utils/scss/table/_border-collapse.scss
|
|
2893
|
-
// TODO
|
|
3233
|
+
// TODO: docs
|
|
2894
3234
|
|
|
2895
|
-
|
|
3235
|
+
@mixin kendo-utils--table--border-collapse() {
|
|
2896
3236
|
|
|
2897
|
-
|
|
3237
|
+
// Border collapse utility classes
|
|
3238
|
+
$kendo-utils-border-collapse: k-map-get( $kendo-utils, "border-collapse" ) !default;
|
|
3239
|
+
@include generate-utils( border, border-collapse, $kendo-utils-border-collapse );
|
|
3240
|
+
|
|
3241
|
+
}
|
|
2898
3242
|
|
|
2899
3243
|
// #endregion
|
|
2900
3244
|
// #region @import "./_table-layout.scss"; -> packages/utils/scss/table/_table-layout.scss
|
|
@@ -2910,14 +3254,23 @@ $kendo-utils-border-collapse: k-map-get( $kendo-utils, "border-collapse" ) !defa
|
|
|
2910
3254
|
/// @group table-layout
|
|
2911
3255
|
/// @contextType css
|
|
2912
3256
|
|
|
2913
|
-
|
|
2914
|
-
$kendo-utils-table-layout: k-map-get( $kendo-utils, "table-layout" ) !default;
|
|
3257
|
+
@mixin kendo-utils--table--table-layout() {
|
|
2915
3258
|
|
|
2916
|
-
|
|
2917
|
-
|
|
3259
|
+
// Table layout utility classes
|
|
3260
|
+
$kendo-utils-table-layout: k-map-get( $kendo-utils, "table-layout" ) !default;
|
|
3261
|
+
@include generate-utils( table, table-layout, $kendo-utils-table-layout );
|
|
3262
|
+
@include generate-utils( table-layout, table-layout, $kendo-utils-table-layout );
|
|
3263
|
+
|
|
3264
|
+
}
|
|
2918
3265
|
|
|
2919
3266
|
// #endregion
|
|
2920
3267
|
|
|
3268
|
+
|
|
3269
|
+
@mixin kendo-utils--table() {
|
|
3270
|
+
@include kendo-utils--table--border-collapse();
|
|
3271
|
+
@include kendo-utils--table--table-layout();
|
|
3272
|
+
}
|
|
3273
|
+
|
|
2921
3274
|
// #endregion
|
|
2922
3275
|
// transition
|
|
2923
3276
|
// #region @import "./transform/index.import.scss"; -> packages/utils/scss/transform/index.import.scss
|
|
@@ -2932,58 +3285,40 @@ $kendo-utils-table-layout: k-map-get( $kendo-utils, "table-layout" ) !default;
|
|
|
2932
3285
|
/// @group transform
|
|
2933
3286
|
/// @contextType css
|
|
2934
3287
|
|
|
2935
|
-
//
|
|
2936
|
-
|
|
3288
|
+
// TODO: consider globally horizontal vs h vs x
|
|
3289
|
+
|
|
3290
|
+
@mixin kendo-utils--transform--flip() {
|
|
3291
|
+
|
|
3292
|
+
// Flip utility classes
|
|
3293
|
+
$kendo-utils-flip: k-map-get( $kendo-utils, "flip" ) !default;
|
|
3294
|
+
@if $kendo-utils-flip {
|
|
3295
|
+
.#{$kendo-prefix}flip-h { transform: scaleX( -1 ); }
|
|
3296
|
+
.\!#{$kendo-prefix}flip-h { transform: scaleX( -1 ) !important; } // sass-lint:disable-line no-important
|
|
3297
|
+
.#{$kendo-prefix}flip-v { transform: scaleY( -1 ); }
|
|
3298
|
+
.\!#{$kendo-prefix}flip-v { transform: scaleY( -1 ) !important; } // sass-lint:disable-line no-important
|
|
3299
|
+
.#{$kendo-prefix}flip-h.#{$kendo-prefix}flip-v { transform: scale( -1, -1 ); }
|
|
3300
|
+
.\!#{$kendo-prefix}flip-h.\!#{$kendo-prefix}flip-v { transform: scale( -1, -1 ) !important; } // sass-lint:disable-line no-important
|
|
2937
3301
|
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
.\!#{$kendo-prefix}flip-h.\!#{$kendo-prefix}flip-v { transform: scale( -1, -1 ) !important; } // sass-lint:disable-line no-important
|
|
3302
|
+
// Legacy aliases
|
|
3303
|
+
.#{$kendo-prefix}flip-x { @extend .#{$kendo-prefix}flip-h !optional; }
|
|
3304
|
+
.\!#{$kendo-prefix}flip-x { @extend .\!#{$kendo-prefix}flip-h !optional; }
|
|
3305
|
+
.#{$kendo-prefix}flip-y { @extend .#{$kendo-prefix}flip-v !optional; }
|
|
3306
|
+
.\!#{$kendo-prefix}flip-y { @extend .\!#{$kendo-prefix}flip-v !optional; }
|
|
3307
|
+
}
|
|
2945
3308
|
|
|
2946
|
-
// Aliases
|
|
2947
|
-
.#{$kendo-prefix}flip-x { @extend .#{$kendo-prefix}flip-h !optional; }
|
|
2948
|
-
.\!#{$kendo-prefix}flip-x { @extend .\!#{$kendo-prefix}flip-h !optional; }
|
|
2949
|
-
.#{$kendo-prefix}flip-y { @extend .#{$kendo-prefix}flip-v !optional; }
|
|
2950
|
-
.\!#{$kendo-prefix}flip-y { @extend .\!#{$kendo-prefix}flip-v !optional; }
|
|
2951
3309
|
}
|
|
2952
3310
|
|
|
2953
3311
|
// #endregion
|
|
2954
|
-
// #region @import "./
|
|
2955
|
-
|
|
2956
|
-
/// @name .k-scale-0
|
|
2957
|
-
/// @group transform
|
|
2958
|
-
/// @contextType css
|
|
2959
|
-
|
|
2960
|
-
/// This is equivalent to `transform: scale( 1, 1 );`. The element has its default scale.
|
|
2961
|
-
/// @name .k-scale-1
|
|
2962
|
-
/// @group transform
|
|
2963
|
-
/// @contextType css
|
|
3312
|
+
// #region @import "./_origin.scss"; -> packages/utils/scss/transform/_origin.scss
|
|
3313
|
+
// TODO: docs
|
|
2964
3314
|
|
|
2965
|
-
|
|
2966
|
-
/// @name .k-scale-2
|
|
2967
|
-
/// @group transform
|
|
2968
|
-
/// @contextType css
|
|
3315
|
+
@mixin kendo-utils--transform--origin() {
|
|
2969
3316
|
|
|
2970
|
-
|
|
3317
|
+
// Transform origin utility classes
|
|
3318
|
+
$kendo-utils-origin: k-map-get( $kendo-utils, "origin" ) !default;
|
|
3319
|
+
@include generate-utils( origin, transform-origin, $kendo-utils-origin );
|
|
2971
3320
|
|
|
2972
|
-
// sass-lint:disable function-name-format
|
|
2973
|
-
@function __scale( $val ) {
|
|
2974
|
-
@return scale( $val );
|
|
2975
|
-
}
|
|
2976
|
-
@function __scale-x( $val ) {
|
|
2977
|
-
@return scaleX( $val );
|
|
2978
3321
|
}
|
|
2979
|
-
@function __scale-y( $val ) {
|
|
2980
|
-
@return scaleY( $val );
|
|
2981
|
-
}
|
|
2982
|
-
// sass-lint:enable function-name-format
|
|
2983
|
-
|
|
2984
|
-
@include generate-utils( scale, transform, $kendo-utils-scale, __scale );
|
|
2985
|
-
@include generate-utils( scale-x, transform, $kendo-utils-scale, __scale-x );
|
|
2986
|
-
@include generate-utils( scale-y, transform, $kendo-utils-scale, __scale-y );
|
|
2987
3322
|
|
|
2988
3323
|
// #endregion
|
|
2989
3324
|
// #region @import "./_rotate.scss"; -> packages/utils/scss/transform/_rotate.scss
|
|
@@ -3027,15 +3362,80 @@ $kendo-utils-scale: k-map-get( $kendo-utils, "scale" ) !default;
|
|
|
3027
3362
|
/// @group transform
|
|
3028
3363
|
/// @contextType css
|
|
3029
3364
|
|
|
3030
|
-
$kendo-utils-rotate: k-map-get( $kendo-utils, "rotate" ) !default;
|
|
3031
|
-
|
|
3032
3365
|
// sass-lint:disable function-name-format
|
|
3033
3366
|
@function __rotate( $val ) {
|
|
3034
3367
|
@return rotate( $val );
|
|
3035
3368
|
}
|
|
3036
3369
|
// sass-lint:enable function-name-format
|
|
3037
3370
|
|
|
3038
|
-
@
|
|
3371
|
+
@mixin kendo-utils--transform--rotate() {
|
|
3372
|
+
|
|
3373
|
+
// Rotate utility classes
|
|
3374
|
+
$kendo-utils-rotate: k-map-get( $kendo-utils, "rotate" ) !default;
|
|
3375
|
+
@include generate-utils( rotate, transform, $kendo-utils-rotate, __rotate );
|
|
3376
|
+
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
// #endregion
|
|
3380
|
+
// #region @import "./_scale.scss"; -> packages/utils/scss/transform/_scale.scss
|
|
3381
|
+
/// This is equivalent to `transform: scale( 0, 0 );`. The element is shrunk and no longer visible.
|
|
3382
|
+
/// @name .k-scale-0
|
|
3383
|
+
/// @group transform
|
|
3384
|
+
/// @contextType css
|
|
3385
|
+
|
|
3386
|
+
/// This is equivalent to `transform: scale( 1, 1 );`. The element has its default scale.
|
|
3387
|
+
/// @name .k-scale-1
|
|
3388
|
+
/// @group transform
|
|
3389
|
+
/// @contextType css
|
|
3390
|
+
|
|
3391
|
+
/// This is equivalent to `transform: scale( 2, 2 );`. The element is scaling two times in both directions.
|
|
3392
|
+
/// @name .k-scale-2
|
|
3393
|
+
/// @group transform
|
|
3394
|
+
/// @contextType css
|
|
3395
|
+
|
|
3396
|
+
// sass-lint:disable function-name-format
|
|
3397
|
+
@function __scale( $val ) {
|
|
3398
|
+
@return scale( $val );
|
|
3399
|
+
}
|
|
3400
|
+
@function __scale-x( $val ) {
|
|
3401
|
+
@return scaleX( $val );
|
|
3402
|
+
}
|
|
3403
|
+
@function __scale-y( $val ) {
|
|
3404
|
+
@return scaleY( $val );
|
|
3405
|
+
}
|
|
3406
|
+
// sass-lint:enable function-name-format
|
|
3407
|
+
|
|
3408
|
+
@mixin kendo-utils--transform--scale() {
|
|
3409
|
+
|
|
3410
|
+
// Scale utility classes
|
|
3411
|
+
$kendo-utils-scale: k-map-get( $kendo-utils, "scale" ) !default;
|
|
3412
|
+
@include generate-utils( scale, transform, $kendo-utils-scale, __scale );
|
|
3413
|
+
@include generate-utils( scale-x, transform, $kendo-utils-scale, __scale-x );
|
|
3414
|
+
@include generate-utils( scale-y, transform, $kendo-utils-scale, __scale-y );
|
|
3415
|
+
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
// #endregion
|
|
3419
|
+
// #region @import "./_skew.scss"; -> packages/utils/scss/transform/_skew.scss
|
|
3420
|
+
// TODO: docs
|
|
3421
|
+
|
|
3422
|
+
// sass-lint:disable function-name-format
|
|
3423
|
+
@function __skew-x( $val ) {
|
|
3424
|
+
@return skewX( $val );
|
|
3425
|
+
}
|
|
3426
|
+
@function __skew-y( $val ) {
|
|
3427
|
+
@return skewY( $val );
|
|
3428
|
+
}
|
|
3429
|
+
// sass-lint:enable function-name-format
|
|
3430
|
+
|
|
3431
|
+
@mixin kendo-utils--transform--skew() {
|
|
3432
|
+
|
|
3433
|
+
// Transform skew utility classes
|
|
3434
|
+
$kendo-utils-skew: k-map-get( $kendo-utils, "skew" ) !default;
|
|
3435
|
+
@include generate-utils( skew-x, transform, $kendo-utils-skew, __skew-x );
|
|
3436
|
+
@include generate-utils( skew-y, transform, $kendo-utils-skew, __skew-y );
|
|
3437
|
+
|
|
3438
|
+
}
|
|
3039
3439
|
|
|
3040
3440
|
// #endregion
|
|
3041
3441
|
// #region @import "./_translate.scss"; -> packages/utils/scss/transform/_translate.scss
|
|
@@ -3084,19 +3484,6 @@ $kendo-utils-rotate: k-map-get( $kendo-utils, "rotate" ) !default;
|
|
|
3084
3484
|
/// @group transform
|
|
3085
3485
|
/// @contextType css
|
|
3086
3486
|
|
|
3087
|
-
$kendo-utils-translate: k-map-get( $kendo-utils, "translate" ) !default;
|
|
3088
|
-
$kendo-utils-translate-xy: (
|
|
3089
|
-
"0": ( 0, 0 ),
|
|
3090
|
-
"0-50": ( 0, 50% ),
|
|
3091
|
-
"0-100": ( 0, 100% ),
|
|
3092
|
-
"50-0": ( 50%, 0 ),
|
|
3093
|
-
"50-50": ( 50%, 50% ),
|
|
3094
|
-
"50-100": ( 50%, 100% ),
|
|
3095
|
-
"100-0": ( 100%, 0 ),
|
|
3096
|
-
"100-50": ( 100%, 50% ),
|
|
3097
|
-
"100-100": ( 100%, 100% )
|
|
3098
|
-
) !default;
|
|
3099
|
-
|
|
3100
3487
|
// sass-lint:disable function-name-format
|
|
3101
3488
|
@function __translate( $val ) {
|
|
3102
3489
|
@return translate( $val );
|
|
@@ -3109,46 +3496,51 @@ $kendo-utils-translate-xy: (
|
|
|
3109
3496
|
}
|
|
3110
3497
|
// sass-lint:enable function-name-format
|
|
3111
3498
|
|
|
3112
|
-
@
|
|
3113
|
-
@include generate-utils( translate-x, transform, $kendo-utils-translate, __translate-x );
|
|
3114
|
-
@include generate-utils( translate-y, transform, $kendo-utils-translate, __translate-y );
|
|
3499
|
+
@mixin kendo-utils--transform--translate() {
|
|
3115
3500
|
|
|
3116
|
-
//
|
|
3117
|
-
|
|
3118
|
-
|
|
3501
|
+
// Translate utility classes
|
|
3502
|
+
$kendo-utils-translate: k-map-get( $kendo-utils, "translate" ) !default;
|
|
3503
|
+
$kendo-utils-translate-xy: (
|
|
3504
|
+
"0": ( 0, 0 ),
|
|
3505
|
+
"0-50": ( 0, 50% ),
|
|
3506
|
+
"0-100": ( 0, 100% ),
|
|
3507
|
+
"50-0": ( 50%, 0 ),
|
|
3508
|
+
"50-50": ( 50%, 50% ),
|
|
3509
|
+
"50-100": ( 50%, 100% ),
|
|
3510
|
+
"100-0": ( 100%, 0 ),
|
|
3511
|
+
"100-50": ( 100%, 50% ),
|
|
3512
|
+
"100-100": ( 100%, 100% )
|
|
3513
|
+
) !default;
|
|
3514
|
+
@include generate-utils( translate, transform, $kendo-utils-translate-xy, __translate );
|
|
3515
|
+
@include generate-utils( translate-x, transform, $kendo-utils-translate, __translate-x );
|
|
3516
|
+
@include generate-utils( translate-y, transform, $kendo-utils-translate, __translate-y );
|
|
3119
3517
|
|
|
3120
|
-
$kendo-utils-skew: k-map-get( $kendo-utils, "skew" ) !default;
|
|
3121
|
-
|
|
3122
|
-
// sass-lint:disable function-name-format
|
|
3123
|
-
@function __skew-x( $val ) {
|
|
3124
|
-
@return skewX( $val );
|
|
3125
3518
|
}
|
|
3126
|
-
@function __skew-y( $val ) {
|
|
3127
|
-
@return skewY( $val );
|
|
3128
|
-
}
|
|
3129
|
-
// sass-lint:enable function-name-format
|
|
3130
|
-
|
|
3131
|
-
@include generate-utils( skew-x, transform, $kendo-utils-skew, __skew-x );
|
|
3132
|
-
@include generate-utils( skew-y, transform, $kendo-utils-skew, __skew-y );
|
|
3133
3519
|
|
|
3134
3520
|
// #endregion
|
|
3135
|
-
// #region @import "./_origin.scss"; -> packages/utils/scss/transform/_origin.scss
|
|
3136
|
-
// TODO DOCS
|
|
3137
3521
|
|
|
3138
|
-
$kendo-utils-origin: k-map-get( $kendo-utils, "origin" ) !default;
|
|
3139
3522
|
|
|
3140
|
-
@
|
|
3141
|
-
|
|
3142
|
-
|
|
3523
|
+
@mixin kendo-utils--transform() {
|
|
3524
|
+
@include kendo-utils--transform--flip();
|
|
3525
|
+
@include kendo-utils--transform--origin();
|
|
3526
|
+
@include kendo-utils--transform--rotate();
|
|
3527
|
+
@include kendo-utils--transform--scale();
|
|
3528
|
+
@include kendo-utils--transform--skew();
|
|
3529
|
+
@include kendo-utils--transform--translate();
|
|
3530
|
+
}
|
|
3143
3531
|
|
|
3144
3532
|
// #endregion
|
|
3145
3533
|
// #region @import "./interactivity/index.import.scss"; -> packages/utils/scss/interactivity/index.import.scss
|
|
3146
3534
|
// #region @import "./_accent-color.scss"; -> packages/utils/scss/interactivity/_accent-color.scss
|
|
3147
|
-
// TODO
|
|
3535
|
+
// TODO: docs
|
|
3536
|
+
|
|
3537
|
+
@mixin kendo-utils--interactivity--accent-color() {
|
|
3148
3538
|
|
|
3149
|
-
|
|
3539
|
+
// Accent color utility classes
|
|
3540
|
+
$kendo-utils-accent-color: k-map-get( $kendo-utils, "accent-color" ) !default;
|
|
3541
|
+
@include generate-utils( accent-color, accent-color, $kendo-utils-accent-color );
|
|
3150
3542
|
|
|
3151
|
-
|
|
3543
|
+
}
|
|
3152
3544
|
|
|
3153
3545
|
// #endregion
|
|
3154
3546
|
// #region @import "./_appearance.scss"; -> packages/utils/scss/interactivity/_appearance.scss
|
|
@@ -3162,26 +3554,37 @@ $kendo-utils-accent-color: k-map-get( $kendo-utils, "accent-color" ) !default;
|
|
|
3162
3554
|
/// @group appearance
|
|
3163
3555
|
/// @contextType css
|
|
3164
3556
|
|
|
3165
|
-
|
|
3166
|
-
$kendo-utils-appearance: k-map-get( $kendo-utils, "appearance" ) !default;
|
|
3557
|
+
@mixin kendo-utils--interactivity--appearance() {
|
|
3167
3558
|
|
|
3168
|
-
|
|
3559
|
+
// Appearance utility classes
|
|
3560
|
+
$kendo-utils-appearance: k-map-get( $kendo-utils, "appearance" ) !default;
|
|
3561
|
+
@include generate-utils( appearance, appearance, $kendo-utils-appearance );
|
|
3562
|
+
|
|
3563
|
+
}
|
|
3169
3564
|
|
|
3170
3565
|
// #endregion
|
|
3171
|
-
// #region @import "./
|
|
3172
|
-
// TODO
|
|
3566
|
+
// #region @import "./_caret-color.scss"; -> packages/utils/scss/interactivity/_caret-color.scss
|
|
3567
|
+
// TODO: docs
|
|
3173
3568
|
|
|
3174
|
-
|
|
3569
|
+
@mixin kendo-utils--interactivity--caret-color() {
|
|
3175
3570
|
|
|
3176
|
-
|
|
3571
|
+
// Caret color utility classes
|
|
3572
|
+
$kendo-utils-caret-color: k-map-get( $kendo-utils, "caret-color" ) !default;
|
|
3573
|
+
@include generate-utils( caret, caret-color, $kendo-utils-caret-color );
|
|
3574
|
+
|
|
3575
|
+
}
|
|
3177
3576
|
|
|
3178
3577
|
// #endregion
|
|
3179
|
-
// #region @import "./
|
|
3180
|
-
// TODO
|
|
3578
|
+
// #region @import "./_cursor.scss"; -> packages/utils/scss/interactivity/_cursor.scss
|
|
3579
|
+
// TODO: docs
|
|
3181
3580
|
|
|
3182
|
-
|
|
3581
|
+
@mixin kendo-utils--interactivity--cursor() {
|
|
3183
3582
|
|
|
3184
|
-
|
|
3583
|
+
// Cursor utility classes
|
|
3584
|
+
$kendo-utils-cursor: k-map-get( $kendo-utils, "cursor" ) !default;
|
|
3585
|
+
@include generate-utils( cursor, cursor, $kendo-utils-cursor );
|
|
3586
|
+
|
|
3587
|
+
}
|
|
3185
3588
|
|
|
3186
3589
|
// #endregion
|
|
3187
3590
|
// #region @import "./_pointer-events.scss"; -> packages/utils/scss/interactivity/_pointer-events.scss
|
|
@@ -3197,10 +3600,13 @@ $kendo-utils-caret-color: k-map-get( $kendo-utils, "caret-color" ) !default;
|
|
|
3197
3600
|
/// @group pointer-events
|
|
3198
3601
|
/// @contextType css
|
|
3199
3602
|
|
|
3200
|
-
|
|
3201
|
-
$kendo-utils-pointer-events: k-map-get( $kendo-utils, "pointer-events" ) !default;
|
|
3603
|
+
@mixin kendo-utils--interactivity--pointer-events() {
|
|
3202
3604
|
|
|
3203
|
-
|
|
3605
|
+
// Pointer events utility classes
|
|
3606
|
+
$kendo-utils-pointer-events: k-map-get( $kendo-utils, "pointer-events" ) !default;
|
|
3607
|
+
@include generate-utils( pointer-events, pointer-events, $kendo-utils-pointer-events );
|
|
3608
|
+
|
|
3609
|
+
}
|
|
3204
3610
|
|
|
3205
3611
|
// #endregion
|
|
3206
3612
|
// #region @import "./_resize.scss"; -> packages/utils/scss/interactivity/_resize.scss
|
|
@@ -3226,62 +3632,70 @@ $kendo-utils-pointer-events: k-map-get( $kendo-utils, "pointer-events" ) !defaul
|
|
|
3226
3632
|
/// @group resize
|
|
3227
3633
|
/// @contextType css
|
|
3228
3634
|
|
|
3229
|
-
|
|
3230
|
-
|
|
3635
|
+
@mixin kendo-utils--interactivity--resize() {
|
|
3636
|
+
|
|
3637
|
+
// Resize utility classes
|
|
3638
|
+
$kendo-utils-resize: k-map-get( $kendo-utils, "resize" ) !default;
|
|
3639
|
+
@include generate-utils( resize, resize, $kendo-utils-resize );
|
|
3231
3640
|
|
|
3232
|
-
|
|
3641
|
+
}
|
|
3233
3642
|
|
|
3234
3643
|
// #endregion
|
|
3235
3644
|
// #region @import "./_scroll.scss"; -> packages/utils/scss/interactivity/_scroll.scss
|
|
3236
|
-
// TODO
|
|
3237
|
-
|
|
3238
|
-
$kendo-utils-scroll-behavior: k-map-get( $kendo-utils, "scroll-behavior" ) !default;
|
|
3645
|
+
// TODO: docs
|
|
3239
3646
|
|
|
3240
|
-
@
|
|
3647
|
+
@mixin kendo-utils--interactivity--scroll() {
|
|
3241
3648
|
|
|
3649
|
+
// Scroll behavior utility classes
|
|
3650
|
+
$kendo-utils-scroll-behavior: k-map-get( $kendo-utils, "scroll-behavior" ) !default;
|
|
3651
|
+
@include generate-utils( scroll, scroll-behavior, $kendo-utils-scroll-behavior );
|
|
3242
3652
|
|
|
3243
|
-
$kendo-utils-scroll-snap-type: k-map-get( $kendo-utils, "scroll-snap-type" ) !default;
|
|
3244
3653
|
|
|
3245
|
-
|
|
3654
|
+
// Scroll snap type utility classes
|
|
3655
|
+
$kendo-utils-scroll-snap-type: k-map-get( $kendo-utils, "scroll-snap-type" ) !default;
|
|
3656
|
+
@include generate-utils( scroll-snap, scroll-snap-type, $kendo-utils-scroll-snap-type );
|
|
3246
3657
|
|
|
3247
|
-
|
|
3248
|
-
.#{$kendo-prefix}scroll-snap-
|
|
3658
|
+
// Custom scroll snap type utility classes
|
|
3659
|
+
.#{$kendo-prefix}scroll-snap-mandatory { #{--#{$kendo-prefix}scroll-snap-strictness}: mandatory; }
|
|
3660
|
+
.#{$kendo-prefix}scroll-snap-proximity { #{--#{$kendo-prefix}scroll-snap-strictness}: proximity; }
|
|
3249
3661
|
|
|
3250
3662
|
|
|
3251
|
-
|
|
3663
|
+
// Scroll snap stop utility classes
|
|
3664
|
+
$kendo-utils-scroll-snap-stop: k-map-get( $kendo-utils, "scroll-snap-stop" ) !default;
|
|
3665
|
+
@include generate-utils( scroll-snap-stop, scroll-snap-stop, $kendo-utils-scroll-snap-stop );
|
|
3252
3666
|
|
|
3253
|
-
@include generate-utils( scroll-snap-stop, scroll-snap-stop, $kendo-utils-scroll-snap-stop );
|
|
3254
3667
|
|
|
3668
|
+
// Scroll snap align utility classes
|
|
3669
|
+
$kendo-utils-scroll-snap-align: k-map-get( $kendo-utils, "scroll-snap-align" ) !default;
|
|
3670
|
+
@include generate-utils( scroll-snap-align, scroll-snap-align, $kendo-utils-scroll-snap-align );
|
|
3255
3671
|
|
|
3256
|
-
$kendo-utils-scroll-snap-align: k-map-get( $kendo-utils, "scroll-snap-align" ) !default;
|
|
3257
3672
|
|
|
3258
|
-
|
|
3673
|
+
// Scroll margin utility classes
|
|
3674
|
+
$kendo-utils-scroll-margin: k-map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
3675
|
+
@include generate-utils( scroll-m, scroll-margin, $kendo-utils-scroll-margin );
|
|
3676
|
+
@include generate-utils( scroll-mt, scroll-margin-top, $kendo-utils-scroll-margin );
|
|
3677
|
+
@include generate-utils( scroll-mr, scroll-margin-right, $kendo-utils-scroll-margin );
|
|
3678
|
+
@include generate-utils( scroll-mb, scroll-margin-bottom, $kendo-utils-scroll-margin );
|
|
3679
|
+
@include generate-utils( scroll-ml, scroll-margin-left, $kendo-utils-scroll-margin );
|
|
3680
|
+
@include generate-utils( scroll-mx, scroll-margin-inline, $kendo-utils-scroll-margin );
|
|
3681
|
+
@include generate-utils( scroll-my, scroll-margin-block, $kendo-utils-scroll-margin );
|
|
3259
3682
|
|
|
3260
3683
|
|
|
3261
|
-
|
|
3684
|
+
// Scroll padding utility classes
|
|
3685
|
+
$kendo-utils-scroll-padding: k-map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
3686
|
+
@include generate-utils( scroll-p, scroll-padding, $kendo-utils-scroll-padding );
|
|
3687
|
+
@include generate-utils( scroll-pt, scroll-padding-top, $kendo-utils-scroll-padding );
|
|
3688
|
+
@include generate-utils( scroll-pr, scroll-padding-right, $kendo-utils-scroll-padding );
|
|
3689
|
+
@include generate-utils( scroll-pb, scroll-padding-bottom, $kendo-utils-scroll-padding );
|
|
3690
|
+
@include generate-utils( scroll-pl, scroll-padding-left, $kendo-utils-scroll-padding );
|
|
3691
|
+
@include generate-utils( scroll-px, scroll-padding-inline, $kendo-utils-scroll-padding );
|
|
3692
|
+
@include generate-utils( scroll-py, scroll-padding-block, $kendo-utils-scroll-padding );
|
|
3262
3693
|
|
|
3263
|
-
|
|
3264
|
-
@include generate-utils( scroll-mt, scroll-margin-top, $kendo-utils-scroll-margin );
|
|
3265
|
-
@include generate-utils( scroll-mr, scroll-margin-right, $kendo-utils-scroll-margin );
|
|
3266
|
-
@include generate-utils( scroll-mb, scroll-margin-bottom, $kendo-utils-scroll-margin );
|
|
3267
|
-
@include generate-utils( scroll-ml, scroll-margin-left, $kendo-utils-scroll-margin );
|
|
3268
|
-
@include generate-utils( scroll-mx, scroll-margin-inline, $kendo-utils-scroll-margin );
|
|
3269
|
-
@include generate-utils( scroll-my, scroll-margin-block, $kendo-utils-scroll-margin );
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
$kendo-utils-scroll-padding: k-map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
3273
|
-
|
|
3274
|
-
@include generate-utils( scroll-p, scroll-padding, $kendo-utils-scroll-padding );
|
|
3275
|
-
@include generate-utils( scroll-pt, scroll-padding-top, $kendo-utils-scroll-padding );
|
|
3276
|
-
@include generate-utils( scroll-pr, scroll-padding-right, $kendo-utils-scroll-padding );
|
|
3277
|
-
@include generate-utils( scroll-pb, scroll-padding-bottom, $kendo-utils-scroll-padding );
|
|
3278
|
-
@include generate-utils( scroll-pl, scroll-padding-left, $kendo-utils-scroll-padding );
|
|
3279
|
-
@include generate-utils( scroll-px, scroll-padding-inline, $kendo-utils-scroll-padding );
|
|
3280
|
-
@include generate-utils( scroll-py, scroll-padding-block, $kendo-utils-scroll-padding );
|
|
3694
|
+
}
|
|
3281
3695
|
|
|
3282
3696
|
// #endregion
|
|
3283
3697
|
// #region @import "./_touch-action.scss"; -> packages/utils/scss/interactivity/_touch-action.scss
|
|
3284
|
-
// TODO
|
|
3698
|
+
// TODO: docs
|
|
3285
3699
|
|
|
3286
3700
|
/// This is equivalent to `touch-action: none;`. Disable browser handling of all panning and zooming gestures.
|
|
3287
3701
|
/// @name .k-touch-action-none
|
|
@@ -3293,10 +3707,13 @@ $kendo-utils-scroll-padding: k-map-get( $kendo-utils, "scroll-padding" ) !defaul
|
|
|
3293
3707
|
/// @group touch-action
|
|
3294
3708
|
/// @contextType css
|
|
3295
3709
|
|
|
3296
|
-
|
|
3297
|
-
$kendo-utils-touch-action: k-map-get( $kendo-utils, "touch-action" ) !default;
|
|
3710
|
+
@mixin kendo-utils--interactivity--touch-action() {
|
|
3298
3711
|
|
|
3299
|
-
|
|
3712
|
+
// Touch-action utility classes
|
|
3713
|
+
$kendo-utils-touch-action: k-map-get( $kendo-utils, "touch-action" ) !default;
|
|
3714
|
+
@include generate-utils( touch-action, touch-action, $kendo-utils-touch-action );
|
|
3715
|
+
|
|
3716
|
+
}
|
|
3300
3717
|
|
|
3301
3718
|
// #endregion
|
|
3302
3719
|
// #region @import "./_user-select.scss"; -> packages/utils/scss/interactivity/_user-select.scss
|
|
@@ -3327,21 +3744,60 @@ $kendo-utils-touch-action: k-map-get( $kendo-utils, "touch-action" ) !default;
|
|
|
3327
3744
|
/// @group user-select
|
|
3328
3745
|
/// @contextType css
|
|
3329
3746
|
|
|
3330
|
-
|
|
3331
|
-
|
|
3747
|
+
@mixin kendo-utils--interactivity--user-select() {
|
|
3748
|
+
|
|
3749
|
+
// User select utility classes
|
|
3750
|
+
$kendo-utils-user-select: k-map-get( $kendo-utils, "user-select" ) !default;
|
|
3751
|
+
@include generate-utils( user-select, user-select, $kendo-utils-user-select );
|
|
3332
3752
|
|
|
3333
|
-
|
|
3753
|
+
}
|
|
3334
3754
|
|
|
3335
3755
|
// #endregion
|
|
3336
3756
|
// #region @import "./_will-change.scss"; -> packages/utils/scss/interactivity/_will-change.scss
|
|
3337
|
-
// TODO
|
|
3757
|
+
// TODO: docs
|
|
3338
3758
|
|
|
3339
|
-
|
|
3759
|
+
@mixin kendo-utils--interactivity--will-change() {
|
|
3340
3760
|
|
|
3341
|
-
|
|
3761
|
+
// Will change utility classes
|
|
3762
|
+
$kendo-utils-will-change: k-map-get( $kendo-utils, "will-change" ) !default;
|
|
3763
|
+
@include generate-utils( will-change, will-change, $kendo-utils-will-change );
|
|
3764
|
+
|
|
3765
|
+
}
|
|
3342
3766
|
|
|
3343
3767
|
// #endregion
|
|
3344
3768
|
|
|
3769
|
+
|
|
3770
|
+
@mixin kendo-utils--interactivity() {
|
|
3771
|
+
@include kendo-utils--interactivity--accent-color();
|
|
3772
|
+
@include kendo-utils--interactivity--appearance();
|
|
3773
|
+
@include kendo-utils--interactivity--caret-color();
|
|
3774
|
+
@include kendo-utils--interactivity--cursor();
|
|
3775
|
+
@include kendo-utils--interactivity--pointer-events();
|
|
3776
|
+
@include kendo-utils--interactivity--resize();
|
|
3777
|
+
@include kendo-utils--interactivity--scroll();
|
|
3778
|
+
@include kendo-utils--interactivity--touch-action();
|
|
3779
|
+
@include kendo-utils--interactivity--user-select();
|
|
3780
|
+
@include kendo-utils--interactivity--will-change();
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3345
3783
|
// #endregion
|
|
3346
3784
|
|
|
3785
|
+
|
|
3786
|
+
// Mixin for all styles
|
|
3787
|
+
@mixin kendo-utils() {
|
|
3788
|
+
@include kendo-utils--accessibility();
|
|
3789
|
+
@include kendo-utils--layout();
|
|
3790
|
+
@include kendo-utils--flex-grid();
|
|
3791
|
+
@include kendo-utils--spacing();
|
|
3792
|
+
@include kendo-utils--sizing();
|
|
3793
|
+
@include kendo-utils--typography();
|
|
3794
|
+
@include kendo-utils--background();
|
|
3795
|
+
@include kendo-utils--border();
|
|
3796
|
+
@include kendo-utils--table();
|
|
3797
|
+
@include kendo-utils--transform();
|
|
3798
|
+
@include kendo-utils--interactivity();
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3347
3801
|
// #endregion
|
|
3802
|
+
|
|
3803
|
+
@include kendo-utils();
|