From 69f4ba46d9fae7a1dbca21cb0c92d01d69ad295c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 17 Oct 2016 15:43:10 +0200 Subject: [PATCH] =?utf8?q?actionbar:=20funktionierendes=20styling=20f?= =?utf8?q?=C3=BCr=20combobox?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- css/lx-office-erp/main.css | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/css/lx-office-erp/main.css b/css/lx-office-erp/main.css index 5df6e6c54..5d981ff93 100644 --- a/css/lx-office-erp/main.css +++ b/css/lx-office-erp/main.css @@ -539,7 +539,7 @@ a.red { /* actionbar styling */ div.layout-actionbar { - background-color: whitesmoke; +/* background-color: whitesmoke; */ } div.layout-actionbar-action { @@ -570,7 +570,7 @@ div.layout-actionbar div.layout-actionbar-scriptbutton:focus { -moz-border-radius: 2px; border-radius: 2px; background-color: whitesmoke; - cursor:default; + cursor: default; } div.layout-actionbar div.layout-actionbar-submit:hover, @@ -596,29 +596,31 @@ div.layout-actionbar-combobox { display: inline-block; } -div.layout-actionbar-combobox:hover { - position: relative; -} - div.layout-actionbar-combobox div.layout-actionbar-combobox-head { + white-space: nowrap; display: block; - width: 100%; } div.layout-actionbar-combobox div.layout-actionbar-combobox-head div.layout-actionbar-action::after { content: "…"; } -div.layout-actionbar-combobox:hover div.layout-actionbar-combobox-head { -} - div.layout-actionbar-combobox div.layout-actionbar-combobox-list { - width: 120px; position: absolute; display: none; + min-width: 120px; } div.layout-actionbar-combobox:hover div.layout-actionbar-combobox-list { - display: block; + display: inline-block; z-index: 10; } + +div.layout-actionbar-combobox-list div.layout-actionbar-action { + white-space: nowrap; + display: block; + position: relative; + width: 100%; + text-align: left; + padding: 4px; +} -- 2.20.1