summaryrefslogtreecommitdiff
path: root/src/components/Config.module.scss
diff options
context:
space:
mode:
authorHaishan <[email protected]>2021-06-05 16:40:07 +0800
committerHaishan <[email protected]>2021-06-05 16:40:07 +0800
commita18efa9723a0b181e7f90206bc0bd13d6c4a30fd (patch)
tree80626c12adf0c6577d6c419a1f03936f23339eee /src/components/Config.module.scss
parentfcab7cad4f4cc65a7f30427be35c12a909633e2e (diff)
Update config page style
Diffstat (limited to 'src/components/Config.module.scss')
-rw-r--r--src/components/Config.module.scss39
1 files changed, 39 insertions, 0 deletions
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;
+}