summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-18 21:30:56 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-04-19 12:42:23 -0500
commit4be923e45974e04529c3a0e002882d46ee4d3ca9 (patch)
treed2ff34a5ab9bc1897080a7257a936270922507f8 /core
parentac9d0fd14cd466a4bbee73035ca7276e829656dc (diff)
downloadnextcloud-server-4be923e45974e04529c3a0e002882d46ee4d3ca9.tar.gz
nextcloud-server-4be923e45974e04529c3a0e002882d46ee4d3ca9.zip
Improve menu CSS
* fix mess with menus and actions in the files app * reduces amount of !important usages * keeps the behaviour on mobile as well as on desktop Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss12
-rw-r--r--core/css/share.scss1
2 files changed, 6 insertions, 7 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 399d630538c..e11e6a319b3 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -694,13 +694,13 @@ kbd {
}
.menuitem {
width: 100%;
- -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)' !important;
- filter: alpha(opacity = 50) !important;
- opacity: .5 !important;
+ -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
+ filter: alpha(opacity = 50);
+ opacity: .5;
&:hover, &:focus, &.active {
- -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)' !important;
- filter: alpha(opacity = 100) !important;
- opacity: 1 !important;
+ -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
+ filter: alpha(opacity = 100);
+ opacity: 1;
}
}
[class^='icon-'],
diff --git a/core/css/share.scss b/core/css/share.scss
index de545955aa9..552e20c80cc 100644
--- a/core/css/share.scss
+++ b/core/css/share.scss
@@ -106,7 +106,6 @@
.shareOption {
white-space: nowrap;
display: inline-block;
- opacity: 1 !important;
}
.unshare img,
.showCruds img {