diff options
author | Jan C. Borchardt <hey@jancborchardt.net> | 2021-04-15 19:48:00 +0300 |
---|---|---|
committer | Jan C. Borchardt <hey@jancborchardt.net> | 2021-04-19 22:02:54 +0300 |
commit | 738ac612d2535b8fb0d9cbc705937df78771f6af (patch) | |
tree | 1801284f79a970bf9974f5b95903bd3044c37769 /apps/settings/css/settings.scss | |
parent | 64e90cdc6685c96f3f490e00f0fd116dabf67753 (diff) |
Fix accessibility of federation menu privacy buttons
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/settings/css/settings.scss')
-rw-r--r-- | apps/settings/css/settings.scss | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss index e5d9071d5e9..88c5e4dbcf9 100644 --- a/apps/settings/css/settings.scss +++ b/apps/settings/css/settings.scss @@ -121,9 +121,19 @@ input { width: 100%; } -.personal-settings-setting-box input { - &[type='text'], &[type='email'], &[type='tel'], &[type='url'] { - width: 100%; +.personal-settings-setting-box { + .section { + padding: 10px 30px; + + h3 { + margin-bottom: 0; + } + + input { + &[type='text'], &[type='email'], &[type='tel'], &[type='url'] { + width: 100%; + } + } } } @@ -364,11 +374,20 @@ select { .federation-menu { position: relative; cursor: pointer; - margin-left: 10px; + width: 44px; + height: 44px; + padding: 10px; + margin: -12px 0 0 8px; + background: none; + border: none; + &:hover, &:focus { + background-color: var(--color-background-hover); + border-radius: var(--border-radius-pill); + .icon-federation-menu { - opacity: 0.7; + opacity: 0.8; } } @@ -931,10 +950,6 @@ span.version { } } -.personal-settings-setting-box .section { - padding: 10px 30px; -} - .followupsection { display: block; padding: 0 30px 30px 30px; |