From f2f5774a62c96aef49d93d7232ecd25e5b5faf56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Mon, 7 Nov 2016 17:53:20 +0100 Subject: [PATCH] Fix popover layout fix for files and global MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/css/files.css | 18 ------------------ core/css/apps.css | 18 ++++-------------- settings/css/settings.css | 3 ++- 3 files changed, 6 insertions(+), 33 deletions(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 9b844919c4e8d..8d37f0ce533cd 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -625,13 +625,6 @@ html.ie8 .column-mtime .selectedActions { padding-right: 14px; } -#fileList .popovermenu { - margin-right: 6px; -} -.ie8 #fileList .popovermenu { - margin-top: -10px; -} - .ie8 #fileList a.action img, #fileList tr:hover a.action, #fileList a.action.permanent, @@ -649,7 +642,6 @@ html.ie8 .column-mtime .selectedActions { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; filter: alpha(opacity=30); opacity: .3; - display:inline; } .ie8 #fileList a.action:hover img, #fileList tr a.action.disabled.action-download, @@ -661,7 +653,6 @@ html.ie8 .column-mtime .selectedActions { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter: alpha(opacity=70); opacity: 7; - display:inline; } #fileList tr a.action.disabled { background: none; @@ -775,11 +766,6 @@ table.dragshadow td.size { padding: initial; } -#fileList .popovermenu a.action { - padding: 10px; - margin: -10px; -} - html.ie8 #controls .button.new { padding-right: 0; } @@ -826,11 +812,7 @@ html.ie8 #controls .button.new { } #fileList .popovermenu .action { - display: block; - line-height: 30px; - padding-left: 5px; color: #000; - padding: 0; } #filestable .filename .action .icon, diff --git a/core/css/apps.css b/core/css/apps.css index bbf133795d499..b4da984198411 100644 --- a/core/css/apps.css +++ b/core/css/apps.css @@ -289,7 +289,7 @@ border-radius: 3px; border-top-right-radius: 0; z-index: 110; - margin: -5px 14px 5px 10px; + margin-top: -5px; right: 0; -webkit-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75)); -moz-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75)); @@ -655,14 +655,6 @@ em { opacity: 1; } -.popovermenu { - padding: 4px 12px; -} - -.popovermenu li { - padding: 5px 0; -} - .popovermenu .menuitem img { padding: initial; } @@ -670,8 +662,8 @@ em { .popovermenu a.menuitem, .popovermenu label.menuitem, .popovermenu .menuitem { - padding: 10px; - margin: -10px; + padding: 10px !important; + width: auto; } .popovermenu.hidden { @@ -679,11 +671,9 @@ em { } .popovermenu .menuitem { - display: flex; + display: flex !important; line-height: 30px; - padding-left: 5px; color: #000; - padding: 0; align-items: center; } diff --git a/settings/css/settings.css b/settings/css/settings.css index 1ba8214346602..bc3f969a3c0e9 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -109,7 +109,8 @@ input#openid, input#webdav { width:20em; } top: 44px; } .federationScopeMenu.bubble::after { - left: 45px; + right: 50%; + margin-right: -14px; } .federationScopeMenu.popovermenu { font-weight: 100;