actionbar: css für combobox
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 17 Oct 2016 11:36:08 +0000 (13:36 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:04:33 +0000 (10:04 +0100)
css/lx-office-erp/main.css

index db3536b..5df6e6c 100644 (file)
@@ -559,7 +559,9 @@ div.layout-actionbar div.layout-actionbar-scriptbutton,
 div.layout-actionbar div.layout-actionbar-submit:focus,
 div.layout-actionbar div.layout-actionbar-scriptbutton:focus {
   display: inline-block;
+  width: 120px;
   box-sizing: border-box;
+  text-align: center;
   border: 1px;
   border-color: darkgray;
   border-style: solid;
@@ -588,3 +590,35 @@ div.layout-actionbar div.layout-actionbar-action-disabled:hover {
   background-color: whitesmoke;
   border-color: lightgray;
 }
+
+div.layout-actionbar-combobox {
+  position: relative;
+  display: inline-block;
+}
+
+div.layout-actionbar-combobox:hover {
+  position: relative;
+}
+
+div.layout-actionbar-combobox div.layout-actionbar-combobox-head {
+  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;
+}
+
+div.layout-actionbar-combobox:hover div.layout-actionbar-combobox-list {
+  display: block;
+  z-index: 10;
+}