diff options
| author | Haishan <[email protected]> | 2019-04-14 22:56:14 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-04-14 22:56:14 +0800 |
| commit | 7dac1d44c7b13184e4a1cbdb4113df2bb8db9d7e (patch) | |
| tree | 44ca70a51497d5e0dddadaca384ee20541a157fe /src/components/APIConfig.module.css | |
| parent | 4a4f58c88a857d222fbd21749bfd7019eaee8659 (diff) | |
refactor: replace sass with postcss
Diffstat (limited to 'src/components/APIConfig.module.css')
| -rw-r--r-- | src/components/APIConfig.module.css | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/components/APIConfig.module.css b/src/components/APIConfig.module.css new file mode 100644 index 0000000..f6f41f8 --- /dev/null +++ b/src/components/APIConfig.module.css @@ -0,0 +1,45 @@ +.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: 30px 0 10px; +} + +.hostnamePort { + display: flex; + + div { + flex: 1 1 auto; + } + + div:nth-child(2) { + flex-grow: 0; + flex-basis: 120px; + margin-left: 10px; + } +} + +.footer { + padding: 30px 0 10px; + display: flex; + justify-content: flex-end; + align-items: center; +} |
