From 748ca710f6ef29d383744624766d7c5a6e7969a7 Mon Sep 17 00:00:00 2001 From: Ash Monty Date: Wed, 8 Dec 2021 11:11:02 +0100 Subject: [PATCH] styles: Display not-allowed cursor on disabled toggle, minor changes --- public/assets/css/account.css | 28 +++++++++++++++++++--------- public/assets/css/main.css | 3 +++ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/public/assets/css/account.css b/public/assets/css/account.css index 25ab578..9e2515b 100644 --- a/public/assets/css/account.css +++ b/public/assets/css/account.css @@ -96,6 +96,9 @@ fieldset { padding: 0; border: none; } +fieldset:disabled form label { + cursor: not-allowed; +} .setting-card .server-selection { display: flex; @@ -158,10 +161,18 @@ fieldset { } @keyframes banner-notice { - 0% {top: -150px} - 20% {top: 35px} - 80% {top: 35px} - 100% {top: -150px} + 0% { + top: -150px; + } + 20% { + top: 35px; + } + 80% { + top: 35px; + } + 100% { + top: -150px; + } } .banner-notice { display: flex; @@ -177,10 +188,10 @@ fieldset { z-index: 3; } .banner-notice.success div { - background: #37A985; + background: #37a985; } .banner-notice.error div { - background: #A9375B; + background: #a9375b; } footer { @@ -230,7 +241,7 @@ footer { .setting-card .edit { top: 20px; right: 20px; - transform: scale(0.85); + transform: scale(0.85); } .setting-card .server-selection { @@ -238,9 +249,8 @@ footer { } } - @media screen and (max-width: 350px) { .setting-card .setting-list { grid-template-columns: auto; } -} \ No newline at end of file +} diff --git a/public/assets/css/main.css b/public/assets/css/main.css index 905bc78..2c99878 100644 --- a/public/assets/css/main.css +++ b/public/assets/css/main.css @@ -71,6 +71,9 @@ header { align-items: center; margin-top: 35px; } +header a { + text-decoration: none; +} header .logo-link, header .logo-link svg { display: block; }