From: Aline Manera <alinefm(a)br.ibm.com>
While creating a new storage pool the supported types are listed in a
combo box which does not have the default style used in Kimchi.
Fix it.
Signed-off-by: Aline Manera <alinefm(a)br.ibm.com>
---
ui/css/theme-default/button.css | 4 ++++
ui/js/widgets/select-menu.js | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ui/css/theme-default/button.css b/ui/css/theme-default/button.css
index 014ad20..3437c62 100644
--- a/ui/css/theme-default/button.css
+++ b/ui/css/theme-default/button.css
@@ -121,6 +121,10 @@
right: 10px;
}
+.btn .input {
+ margin-left: 10px;
+}
+
/* Generated at
http://colorzilla.com/gradient-editor/ */
.btn-tool {
display: inline-block;
diff --git a/ui/js/widgets/select-menu.js b/ui/js/widgets/select-menu.js
index c213f3c..449104d 100644
--- a/ui/js/widgets/select-menu.js
+++ b/ui/js/widgets/select-menu.js
@@ -27,7 +27,7 @@
this.listControl.html('');
this.target = this.selectDiv.find('input').first();
this.label = this.selectDiv.find('span').first();
- this.selectDiv.addClass('btn-select dropdown popable');
+ this.selectDiv.addClass('btn dropdown popable');
this.target.addClass('input');
this.label.addClass('input');
this.listControl.addClass('select-list');
@@ -75,7 +75,7 @@
},
destroy : function() {
- this.selectDiv.removeClass('btn-select dropdown popable');
+ this.selectDiv.removeClass('btn dropdown popable');
this.target.removeClass('input');
this.label.removeClass('input');
this.listControl.removeClass('select-list');
--
1.7.10.4