diff --git a/src/material-experimental/mdc-table/table.scss b/src/material-experimental/mdc-table/table.scss index 97ebad2001f5..324dab61510c 100644 --- a/src/material-experimental/mdc-table/table.scss +++ b/src/material-experimental/mdc-table/table.scss @@ -1,5 +1,4 @@ @use '@material/data-table/data-table' as mdc-data-table; -@use '../../material/core/style/vendor-prefixes'; @use '../mdc-helpers/mdc-helpers'; @use '../../material/table/table-flex-styles'; @@ -13,7 +12,7 @@ // Note that the table can either set this class or an inline style to make something sticky. // We set the style as `!important` so that we get an identical specificity in both cases // and to avoid cases where user styles have a higher specificity. - @include vendor-prefixes.position-sticky($important: true); + position: sticky !important; } .mat-mdc-table { diff --git a/src/material/core/style/_vendor-prefixes.scss b/src/material/core/style/_vendor-prefixes.scss index eeedf0d8423d..6ae0403cd3e4 100644 --- a/src/material/core/style/_vendor-prefixes.scss +++ b/src/material/core/style/_vendor-prefixes.scss @@ -1,7 +1,6 @@ // stylelint-disable material/no-prefixes @mixin user-select($value) { -webkit-user-select: $value; - -moz-user-select: $value; user-select: $value; } @@ -25,26 +24,11 @@ } } -@mixin cursor-grab { - cursor: -webkit-grab; - cursor: grab; -} - -@mixin cursor-grabbing { - cursor: -webkit-grabbing; - cursor: grabbing; -} - @mixin backface-visibility($value) { -webkit-backface-visibility: $value; backface-visibility: $value; } -@mixin position-sticky($important: false) { - position: -webkit-sticky #{if($important, '!important', '')}; - position: sticky #{if($important, '!important', '')}; -} - @mixin private-color-adjust($value) { -webkit-print-color-adjust: $value; color-adjust: $value; diff --git a/src/material/slider/slider.scss b/src/material/slider/slider.scss index b7882b82aba3..d5fc5cb410a2 100644 --- a/src/material/slider/slider.scss +++ b/src/material/slider/slider.scss @@ -39,7 +39,7 @@ $focus-ring-size: 30px !default; &:not(.mat-slider-disabled):active, &.mat-slider-sliding:not(.mat-slider-disabled) { - @include vendor-prefixes.cursor-grabbing; + cursor: grabbing; } } @@ -116,7 +116,7 @@ $focus-ring-size: 30px !default; %_mat-slider-cursor { .mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) & { - @include vendor-prefixes.cursor-grab; + cursor: grab; } } diff --git a/src/material/table/table.scss b/src/material/table/table.scss index 52d21b53bf49..fbd82dedd2fd 100644 --- a/src/material/table/table.scss +++ b/src/material/table/table.scss @@ -1,4 +1,3 @@ -@use '../core/style/vendor-prefixes'; @use './table-flex-styles'; @include table-flex-styles.private-table-flex-styles(); @@ -54,7 +53,7 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell { // Note that the table can either set this class or an inline style to make something sticky. // We set the style as `!important` so that we get an identical specificity in both cases // and to avoid cases where user styles have a higher specificity. - @include vendor-prefixes.position-sticky($important: true); + position: sticky !important; } .mat-table-fixed-layout {