cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/ui-restyle to 46e1534
Date Thu, 26 Sep 2013 22:39:08 GMT
Updated Branches:
  refs/heads/ui-restyle f55f7144e -> 46e1534d4


Generic style for text fields


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/46e1534d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/46e1534d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/46e1534d

Branch: refs/heads/ui-restyle
Commit: 46e1534d454834ee5ed4b997634af847ef80b5b6
Parents: f55f714
Author: Brian Federle <brian.federle@citrix.com>
Authored: Thu Sep 26 15:39:01 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Thu Sep 26 15:39:01 2013 -0700

----------------------------------------------------------------------
 ui/stylesheets/csui/_form.scss  | 19 ++++++++++++++++++-
 ui/stylesheets/csui/_login.scss | 19 ++++---------------
 2 files changed, 22 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/46e1534d/ui/stylesheets/csui/_form.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/csui/_form.scss b/ui/stylesheets/csui/_form.scss
index bc077a6..84965ce 100644
--- a/ui/stylesheets/csui/_form.scss
+++ b/ui/stylesheets/csui/_form.scss
@@ -55,7 +55,24 @@
     top: 7px;
 }
 
+@mixin csui-textfield {
+    font-size: 13px;
+    padding: 10px;
+    margin-top: 10px;
+    margin-bottom: 10px;
+    border: 2px solid gray;
+
+    @include transition(100ms);
+
+    &:focus {
+        border: 1px solid #15aaf3;
+        border-left-width: 10px;
+        outline: none;
+    }
+}
+
 
 // Defaults
 label { @include csui-label; }
-select { @include csui-dropdown; }
\ No newline at end of file
+select { @include csui-dropdown; }
+input[type=text], input[type=password] { @include csui-textfield; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/46e1534d/ui/stylesheets/csui/_login.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/csui/_login.scss b/ui/stylesheets/csui/_login.scss
index 51707f3..49c6a3e 100644
--- a/ui/stylesheets/csui/_login.scss
+++ b/ui/stylesheets/csui/_login.scss
@@ -58,25 +58,14 @@
 
             color: white;
 
-            input[type=text],
-            input[type=password] {
-                font-size: 13px;
-                width: 100%;
-                padding: 10px;
-                margin-top: 10px;
-                margin-bottom: 10px;
-                border: 2px solid gray;
-
-                &:focus {
-                    border: 2px solid #6aa6e9;
-                    outline: none;
-                }
-            }
-
             input[type=submit] {
                 @include csui-button-cta;
             }
 
+            input[type=text], input[type=password] {
+                width: 100%;
+            }
+
             select {
                 @include csui-dropdown-dark;
 


Mime
View raw message