From 40914ed0bbdc9813b0be1020826fa32639b7db4f Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 30 Jul 2015 17:30:37 +0530 Subject: [PATCH] quota: improve css and element usage; align inputs below labels Signed-off-by: Rohit Yadav --- ui/plugins/quota/quota.css | 5 ++- ui/plugins/quota/quota.js | 75 ++++++++++++++++++++++---------------- 2 files changed, 46 insertions(+), 34 deletions(-) diff --git a/ui/plugins/quota/quota.css b/ui/plugins/quota/quota.css index 9934cf05ea1..e9c0d8ff358 100644 --- a/ui/plugins/quota/quota.css +++ b/ui/plugins/quota/quota.css @@ -33,7 +33,7 @@ } .quota-element { - margin: 8px; + margin: 5px; margin-left: 13px; } @@ -46,7 +46,8 @@ .quota-button { border:1px solid #0077c7; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; font-size:11px; - padding: 6px; + padding: 8px; + margin-top: 12px; text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF; background-color: #0099FF; background-image: -webkit-gradient(linear, left top, left bottom, from(#0099FF), to(#004FF7)); background-image: -webkit-linear-gradient(top, #0099FF, #004FF7); diff --git a/ui/plugins/quota/quota.js b/ui/plugins/quota/quota.js index 797ddc819c1..01b86ba8f64 100644 --- a/ui/plugins/quota/quota.js +++ b/ui/plugins/quota/quota.js @@ -38,11 +38,11 @@ var g_quotaCurrency = ''; var generatedStatement = $('
'); var generatedBalanceStatement = $('
'); - var statementForm = $('
'); + var statementForm = $('
'); var domainDropdown = $('
'); var accountDropdown = $('