diff src/browser/public/libervia.css @ 729:273b39f04d8e

browser_side: change login and register panels (makes it more visible and less confusing)
author souliane <souliane@mailoo.org>
date Wed, 21 Oct 2015 14:23:53 +0200
parents c2f22ca12e23
children fe3c2357a8c9
line wrap: on
line diff
--- a/src/browser/public/libervia.css	Tue Oct 06 16:38:41 2015 +0200
+++ b/src/browser/public/libervia.css	Wed Oct 21 14:23:53 2015 +0200
@@ -416,6 +416,8 @@
 .formWarning { /* used when a form is not valid and must be corrected before submission */
     font-weight: bold;
     color: red !important;
+    height: 30px;
+    text-align: center;
 }
 
 .contactsChooser {
@@ -639,35 +641,28 @@
     box-shadow: 0px 1px 4px #000;
 }
 
-.registerPanel_tabs .gwt-Label {
-    margin: 20px 0px 0px 15px;
-    cursor: pointer;
-    font-size: larger;
-}
-
-.registerPanel_tabs .gwt-TabBarItem div {
-    color: #444;
-}
-
-.registerPanel_tabs .gwt-TabBarItem div:hover {
-    color: #fff;
-}
-
-.registerPanel_tabs .gwt-TabBarItem-selected div {
-    color: #fff;
-}
-
-.registerPanel_tabs .gwt-TabBarRest {
-}
-
 .registerPanel_right_side {
     background: #111 url('media/libervia/register_right.png');
     height: 100%;
     width: 100%;
 }
+
+.registerPanel_right_side .gwt-StackPanelItem {
+    margin: 15px;
+    height: auto;
+    text-align: center;
+    cursor: pointer;
+    color: #fff;
+	display: block;
+	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2);
+}
+
+.registerPanel_right_side .gwt-StackPanelItem-selected {
+    display: none;
+}
+
 .registerPanel_content {
-    margin-left: 50px;
-    margin-top: 30px;
+    margin: auto 50px;
 }
 
 .registerPanel_content div {
@@ -675,7 +670,7 @@
     margin-left: 10px;
     margin-top: 15px;
     font-weight: bold;
-    color: #888;
+    color: #aaa;
 }
 
 .registerPanel_content input {
@@ -696,12 +691,12 @@
 
 .registerPanel_content .button, .registerPanel_content .button:visited {
     background: #222 url('media/libervia/gradient.png') repeat-x;
-    display: inline-block;
+    display: block;
     text-decoration: none;
     border-radius: 6px 6px 6px 6px;
     border-bottom: 1px solid rgba(0,0,0,0.25);
     cursor: pointer;
-    margin-top: 30px;
+    margin: 30px auto;
 }
 
 /* Fix for Opera */