Download src/components/tool-select-base/tool-select-base.css from soiz1/s4s-paint: direct link, hf CLI and curl.
- Browser
- Download file 980 Bytes
-
https://huggingface.co/datasets/soiz1/s4s-paint/resolve/main/src/components/tool-select-base/tool-select-base.css
- Command line
-
hf download hf://datasets/soiz1/s4s-paint/src/components/tool-select-base/tool-select-base.css
-
curl -L -o tool-select-base.css https://huggingface.co/datasets/soiz1/s4s-paint/resolve/main/src/components/tool-select-base/tool-select-base.css
980 Bytes
| @import '../../css/colors.css'; | |
| @import "../../css/units.css"; | |
| $border-radius: .25rem; | |
| .mod-tool-select { | |
| display: inline-block; | |
| margin: $grid-unit; | |
| border: none; | |
| border-radius: $border-radius; | |
| outline: none; | |
| background: none; | |
| padding: $grid-unit; | |
| font-size: 0.85rem; | |
| transition: 0.2s; | |
| } | |
| .mod-tool-select.is-selected { | |
| background-color: $motion-primary; | |
| } | |
| .mod-tool-select:focus { | |
| outline: none; | |
| } | |
| img.tool-select-icon { | |
| width: 2rem; | |
| height: 2rem; | |
| flex-grow: 1; | |
| vertical-align: middle; | |
| } | |
| [theme="dark"] img.tool-select-icon { | |
| filter: brightness(1.7); | |
| } | |
| .mod-tool-select.is-selected .tool-select-icon { | |
| /* Make the tool icons white while selected by making them black and inverting */ | |
| filter: brightness(0) invert(1); | |
| } | |
| @media only screen and (max-width: $full-size-paint) { | |
| .mod-tool-select { | |
| margin: 0; | |
| } | |
| img.tool-select-icon { | |
| width: 1rem; | |
| height: 1rem; | |
| } | |
| } |