summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-12 15:04:12 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-12 15:04:12 +0200
commit37145a275f9188290afa38683216c860aea00f91 (patch)
tree341141bdce54d4aaab4002ce87242a40a647d3ab /core/css
parentaf42ca20252b166bec2da34970137ec790a18328 (diff)
downloadnextcloud-server-37145a275f9188290afa38683216c860aea00f91.tar.gz
nextcloud-server-37145a275f9188290afa38683216c860aea00f91.zip
Fix AdBlock blocking share icon, ref #866
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/icons.scss6
-rw-r--r--core/css/inputs.scss5
2 files changed, 5 insertions, 6 deletions
diff --git a/core/css/icons.scss b/core/css/icons.scss
index d6a03b3187b..1ca29f22600 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -326,14 +326,12 @@ img, object, video, button, textarea, input, select {
background-image: url('../img/actions/settings-white.svg?v=1');
}
+/* always use icon-shared, AdBlock blocks icon-share */
+.icon-shared,
.icon-share {
background-image: url('../img/actions/share.svg?v=1');
}
-.icon-shared {
- background-image: url('../img/actions/shared.svg?v=1');
-}
-
.icon-sound {
background-image: url('../img/actions/sound.svg?v=1');
}
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index 13a164e13f2..e76e5bea150 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -206,6 +206,7 @@ input {
height: 1px;
overflow: hidden;
+ label {
+ padding: 6px 0;
user-select: none;
}
&:disabled + label,
@@ -219,8 +220,8 @@ input {
width: 12px;
vertical-align: middle;
border-radius: 50%;
- margin: 3px;
- margin-top: 1px;
+ margin: 6px;
+ margin-top: -2px;
border: 1px solid nc-lighten($color-main-text, 53%);
}
&:not(:disabled):not(:checked) + label:hover:before,