mirror of
https://github.com/outline/outline.git
synced 2026-12-01 17:32:49 +03:00
* fix: Highlight the current selection in the icon picker * fix: Highlight the selected icon in only one category
24 lines
566 B
TypeScript
24 lines
566 B
TypeScript
import styled from "styled-components";
|
|
import { breakpoints, s, hover } from "@shared/styles";
|
|
import NudeButton from "~/components/NudeButton";
|
|
|
|
export const IconButton = styled(NudeButton)<{ delay?: number }>`
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 4px;
|
|
|
|
&: ${hover} {
|
|
background: ${s("listItemHoverBackground")};
|
|
}
|
|
|
|
&[aria-current="true"] {
|
|
background: ${s("listItemHoverBackground")};
|
|
box-shadow: inset 0 0 0 1px ${s("inputBorderFocused")};
|
|
}
|
|
|
|
@media (max-width: ${breakpoints.tablet - 1}px) {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
`;
|