[Kimchi-devel] [PATCH 8/8] UI: temp fix for the buttons
Wen Wang
wenwang at linux.vnet.ibm.com
Mon Mar 2 08:50:45 UTC 2015
Signed-off-by: Wen Wang <wenwang at linux.vnet.ibm.com>
---
ui/css/theme-default/button.css | 27 +++++++++++++++++++++++++++
ui/pages/login.html.tmpl | 2 +-
ui/pages/tabs/host.html.tmpl | 6 +++---
3 files changed, 31 insertions(+), 4 deletions(-)
diff --git a/ui/css/theme-default/button.css b/ui/css/theme-default/button.css
index 3bd49c0..8b77b60 100644
--- a/ui/css/theme-default/button.css
+++ b/ui/css/theme-default/button.css
@@ -458,6 +458,33 @@
cursor: default;
}
+.btn-normal-1 {
+ display: inline-block;
+ height: 38px;
+ margin: 9px 3px;
+ vertical-align: top;
+ background: #008abf;
+ line-height: 38px;
+ padding: 0 20px;
+ color: #FFFFFF;
+ font-size: 13px;
+ cursor: pointer;
+}
+
+.btn-normal-1 span {
+ font-family: 'Helvetica Neue', Helvetica, Arial;
+ font-weight: lighter;
+}
+
+.btn-normal-1:not([disabled]):active {
+ background: #999999;
+}
+
+.btn-normal-1[disabled] {
+ background: #999999;
+ cursor: default;
+}
+
.btn-group {
float: left;
padding: 0 10px;
diff --git a/ui/pages/login.html.tmpl b/ui/pages/login.html.tmpl
index e2f6855..c94033b 100644
--- a/ui/pages/login.html.tmpl
+++ b/ui/pages/login.html.tmpl
@@ -89,7 +89,7 @@
<div id="password-msg" class="msg-required"></div>
</div>
<div class="row">
- <button id="btn-login" class="btn-normal">
+ <button id="btn-login" class="btn-normal-1">
<label id="login">$_("Log in")</label>
<label id="logging" style="display: none;">$_("Logging in...")</label>
</button>
diff --git a/ui/pages/tabs/host.html.tmpl b/ui/pages/tabs/host.html.tmpl
index d5a9b1d..64b399b 100644
--- a/ui/pages/tabs/host.html.tmpl
+++ b/ui/pages/tabs/host.html.tmpl
@@ -38,15 +38,15 @@
<div id="host-info-container" class="info-container">
<h2 class="hostname">{hostname}</h2>
<div class="action-panel">
- <button id="host-button-shutdown" class="btn-normal stop">
+ <button id="host-button-shutdown" class="btn-normal-1 stop">
<div class="button-icon action-icon-stop"></div>
$_("Shut down")
</button>
- <button id="host-button-restart" class="btn-normal restart">
+ <button id="host-button-restart" class="btn-normal-1 restart">
<div class="button-icon action-icon-restart"></div>
$_("Restart")
</button>
- <button class="btn-normal connect" disabled="disabled">
+ <button class="btn-normal-1 connect" disabled="disabled">
<div class="button-icon action-icon-connect"></div>
$_("Connect")
</button>
--
2.1.0
More information about the Kimchi-devel
mailing list