From a18efa9723a0b181e7f90206bc0bd13d6c4a30fd Mon Sep 17 00:00:00 2001 From: Haishan Date: Sat, 5 Jun 2021 16:40:07 +0800 Subject: Update config page style --- src/components/Config.module.scss | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/components/Config.module.scss (limited to 'src/components/Config.module.scss') diff --git a/src/components/Config.module.scss b/src/components/Config.module.scss new file mode 100644 index 0000000..49e2a4a --- /dev/null +++ b/src/components/Config.module.scss @@ -0,0 +1,39 @@ +.root, +.section { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(345px, 1fr)); + max-width: 900px; + gap: 5px; + @media (--breakpoint-not-small) { + gap: 15px; + } +} + +.root, +.section { + padding: 6px 15px 10px; + @media (--breakpoint-not-small) { + padding: 10px 40px 15px; + } +} + +.wrapSwitch { + height: 40px; + display: flex; + align-items: center; +} + +.sep { + max-width: 900px; + padding: 0 15px; + @media (--breakpoint-not-small) { + padding: 0 40px; + } + > div { + border-top: 1px dashed #373737; + } +} + +.label { + padding: 11px 0; +} -- cgit v1.3.1