diff options
| author | Larvan2 <[email protected]> | 2026-01-01 15:52:18 +0800 |
|---|---|---|
| committer | Larvan2 <[email protected]> | 2026-01-01 15:52:18 +0800 |
| commit | a547b3c8dc48791c4f767da0314d907eba543cc1 (patch) | |
| tree | 70a0d500147dcb972574e9a9641da956e033a963 /src/components/Config.module.scss | |
| parent | 6768024fc9460f7f5a459de32de4cf771c75e19c (diff) | |
chore: adjust style
Diffstat (limited to 'src/components/Config.module.scss')
| -rw-r--r-- | src/components/Config.module.scss | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/src/components/Config.module.scss b/src/components/Config.module.scss index 7d7083c..9bc3f08 100644 --- a/src/components/Config.module.scss +++ b/src/components/Config.module.scss @@ -7,6 +7,10 @@ display: flex; flex-direction: column; gap: 24px; + + @media (max-width: 768px) { + padding: 15px 10px; + } } .section { @@ -14,6 +18,10 @@ grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; align-items: start; + + @media (max-width: 768px) { + grid-template-columns: 1fr; + } } .wrapSwitch { @@ -29,7 +37,7 @@ padding: 0 40px; } > div { - border-top: 1px dashed #373737; + border-top: 1px dashed var(--color-separator); } } @@ -49,20 +57,20 @@ display: flex; align-items: center; gap: 10px; - color: var(--color-text-main); + color: var(--color-text-highlight); } .card { - background: var(--bg-near-transparent, rgba(255, 255, 255, 0.03)); - border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08)); - border-radius: 16px; + background: var(--bg-log-info-card); + border: 1px solid var(--color-separator); + border-radius: 12px; padding: 24px; margin-bottom: 24px; - backdrop-filter: blur(10px); - transition: transform 0.2s ease, box-shadow 0.2s ease; + box-shadow: var(--shadow-card); + transition: border-color 0.2s ease, box-shadow 0.2s ease; &:hover { - border-color: var(--border-color-hover, rgba(255, 255, 255, 0.15)); - box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); + border-color: var(--color-focus-blue); + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); } } |
