mirror of
https://github.com/material-components/material-web.git
synced 2024-09-17 16:48:02 +03:00
5618b5e23f
BREAKING CHANGE: Rename `@material/web/fab/lib` to `@material/web/fab/internal`. Prefer not using internal files. PiperOrigin-RevId: 550038346
30 lines
581 B
SCSS
30 lines
581 B
SCSS
//
|
|
// Copyright 2023 Google LLC
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// go/keep-sorted start
|
|
@use '../../focus/focus-ring';
|
|
// go/keep-sorted end
|
|
|
|
@media (forced-colors: active) {
|
|
.fab {
|
|
border: 1px solid ButtonText;
|
|
|
|
&.extended {
|
|
// Adjust the padding-inline to account for the 1px border in HCM.
|
|
padding-inline-start: 15px;
|
|
padding-inline-end: 19px;
|
|
}
|
|
}
|
|
|
|
md-focus-ring {
|
|
// Adjust the focus ring padding to account for the 1px border in HCM.
|
|
@include focus-ring.theme(
|
|
(
|
|
'outward-offset': 3px,
|
|
)
|
|
);
|
|
}
|
|
}
|