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/APIConfig.module.scss | |
| parent | 25dbe5eff483bfdceec677b13ad4ec905c5fe566 (diff) | |
Stop use postcss-nested postcss-extend-rule
Diffstat (limited to 'src/components/APIConfig.module.scss')
| -rw-r--r-- | src/components/APIConfig.module.scss | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/components/APIConfig.module.scss b/src/components/APIConfig.module.scss new file mode 100644 index 0000000..afc2d53 --- /dev/null +++ b/src/components/APIConfig.module.scss @@ -0,0 +1,51 @@ +.root { + &:focus { + outline: none; + } +} + +.header { + display: flex; + justify-content: center; + align-items: center; + + .icon { + color: #2d2d30; + opacity: 0.4; + transition: opacity 400ms; + &:hover { + opacity: 0.7; + } + } +} + +.body { + padding: 15px 0 0; +} + +.hostnamePort { + display: flex; + + div { + flex: 1 1 auto; + } + + div:nth-child(2) { + flex-grow: 0; + flex-basis: 120px; + margin-left: 10px; + } +} + +.error { + height: 20px; + font-size: 0.8em; + color: #ff8b8b; +} + +.footer { + padding: 5px 0 10px; + display: flex; + justify-content: flex-end; + align-items: center; +} |
