diff options
| author | Haishan <[email protected]> | 2020-02-10 22:53:14 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-02-10 23:04:57 +0800 |
| commit | e85116bf717b51c0d4aa4f07c91944414f0a4b4e (patch) | |
| tree | 63a6167eaeb7b1da842caafe47947d3997a65a38 /src/components/CollapsibleSectionHeader.module.css | |
| parent | bd82b8c5e3bad3efeecd9e2599b07128d290bea6 (diff) | |
refactor(Proxies): UI revamp
Diffstat (limited to 'src/components/CollapsibleSectionHeader.module.css')
| -rw-r--r-- | src/components/CollapsibleSectionHeader.module.css | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/components/CollapsibleSectionHeader.module.css b/src/components/CollapsibleSectionHeader.module.css new file mode 100644 index 0000000..de24eec --- /dev/null +++ b/src/components/CollapsibleSectionHeader.module.css @@ -0,0 +1,30 @@ +.header { + display: flex; + align-items: center; + + .arrow { + display: inline-flex; + transform: rotate(0deg); + transition: transform 0.3s; + &.isOpen { + transform: rotate(180deg); + } + + &:focus { + outline: var(--color-focus-blue) solid 1px; + } + } +} + +/* 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; +} |
