primevue-mirror/assets/styles/layout/_mixins.scss

26 lines
510 B
SCSS
Raw Normal View History

2024-02-11 21:25:50 +00:00
@mixin focus-visible() {
2023-10-13 22:09:30 +00:00
&:focus-visible {
2024-02-11 21:25:50 +00:00
outline: 1px solid var(--primary-color);
2024-04-02 07:44:31 +00:00
outline-offset: var(--p-focus-ring-offset);
2023-10-13 22:09:30 +00:00
}
}
@mixin doc-link() {
2024-02-11 21:25:50 +00:00
color: var(--primary-text-color);
font-weight: 500;
2024-02-11 21:25:50 +00:00
transition: outline-color .2s, border-color .2s;
outline-color: transparent;
border-radius: 6px;
@include focus-visible();
&:hover {
text-decoration: underline;
}
2024-04-08 05:20:44 +00:00
}
@mixin mobile {
@media (max-width: 900px) {
@content;
}
}