diff options
| author | Haishan <[email protected]> | 2021-06-06 00:32:24 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2021-06-06 00:33:22 +0800 |
| commit | 5ff2f89afb71fd2976c487692ec73085241e09c7 (patch) | |
| tree | fe7a53d8839b1406e4ff31a2fa8a543669c7693f /src/components/CollapsibleSectionHeader.module.scss | |
| parent | 25dbe5eff483bfdceec677b13ad4ec905c5fe566 (diff) | |
Stop use postcss-nested postcss-extend-rule
Diffstat (limited to 'src/components/CollapsibleSectionHeader.module.scss')
| -rw-r--r-- | src/components/CollapsibleSectionHeader.module.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/components/CollapsibleSectionHeader.module.scss b/src/components/CollapsibleSectionHeader.module.scss new file mode 100644 index 0000000..b654f35 --- /dev/null +++ b/src/components/CollapsibleSectionHeader.module.scss @@ -0,0 +1,39 @@ +.header { + display: flex; + align-items: center; + + &:focus { + outline: none; + } + + .arrow { + display: inline-flex; + transform: rotate(0deg); + transition: transform 0.3s; + + &.isOpen { + transform: rotate(180deg); + } + + &:focus { + outline: var(--color-focus-blue) solid 1px; + } + } +} + +.btn { + margin-left: 5px; +} + +/* TODO duplicate with connQty in Connections.module.css */ +.qty { + font-family: var(--font-normal); + font-size: 0.75em; + margin-left: 3px; + padding: 2px 7px; + display: inline-flex; + justify-content: center; + align-items: center; + background-color: var(--bg-near-transparent); + border-radius: 30px; +} |
