aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/css
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2021-04-15 18:48:00 +0200
committerJoas Schilling <coding@schilljs.com>2021-06-15 13:55:21 +0200
commitb2765939bd805e96caffe719bc2562d5655144cd (patch)
tree4526b6a66f570c601508c8ebf080a2f59526cf11 /apps/settings/css
parent9bb2e8d3dea7c19011bedcebdfc408237899ae31 (diff)
downloadnextcloud-server-b2765939bd805e96caffe719bc2562d5655144cd.tar.gz
nextcloud-server-b2765939bd805e96caffe719bc2562d5655144cd.zip
Fix accessibility of federation menu privacy buttons
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/settings/css')
-rw-r--r--apps/settings/css/settings.scss33
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;