Browse Source

[svn r18294] highlight the field where the user is

Juan Carlos Raña 16 years ago
parent
commit
b9ae127a2f
2 changed files with 81 additions and 77 deletions
  1. 81 77
      main/css/public_admin/default.css
  2. BIN
      main/css/public_admin/images/shadow.gif

+ 81 - 77
main/css/public_admin/default.css

@@ -2,8 +2,8 @@
  *  MAIN  - PUBLIC ADMIN CSS		                 *                   
  *****************************************************/
 body {
-        /* hack ignored by non-IE to enable ie to support :hover on button */
-        behavior:url("/main/css/csshover3.htc");
+        /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: bold arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	color: #000;
@@ -12,6 +12,10 @@ body {
 	background-color: #ffffff;
 }
 
+input[type="text"]:focus,input[type="password"]:focus,textarea:focus{
+background-image:url(images/shadow.gif);
+}
+
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
 	background-color: #fff;	
@@ -1879,7 +1883,7 @@ padding-top: 0px;	padding-right: 0px;	padding-bottom: 0px;	padding-left: 0px;}
 .actions a {
 	margin-right: 10px;
 	vertical-align:middle;
-}
+}
 
 /**********************************************
  *  MESSAGE TOOL                           *
@@ -2019,7 +2023,7 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-
+
 
 /*SOCIAL TOOL*/
 .image-social-content {
@@ -2095,76 +2099,76 @@ span.radio {
 	background:#ffffff;
 	border-top:1px #9DACBF solid;
 	border-bottom:1px #9DACBF solid;
-}
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-    margin:0 5px 3px 3px !important;
-    background-color: #DFDFDF;
-    border-width: 1px;
-/*    -moz-border-radius-topright : 5px;
-    -moz-border-radius-topleft : 5px;
-    -moz-border-radius-bottomright : 5px;
-    -moz-border-radius-bottomleft : 5px;
-*/
-    font-family: bold arial,verdana,helvetica,sans-serif;
-    font-size: 100%;
-    line-height :130%;
-    text-decoration: none;
-    color: black;
-    cursor: pointer;
-    padding:5px 15px 5px 15px;
-}
-button:hover {
-    background-color:#cbcbcb;
-    color:#545454; 
-    border-style: inset;
-}
-/* button with image */
-button.add, button.save, button.cancel, button.search, button.login {
-    padding-left:30px;
-    background-position:10px;
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-button.save, button.add, button.search, button.login {
-    background-color:#E5EDF9;
-    border-color: #D4E2F6;
-}
-button.save:hover, button.add:hover, button.search:hover, button.login:hover {
-    border-color: #D4E2F6;    
-    background-color:#D4E2F6;
-}
-/* NEGATIVE */
-button.cancel {
-    background-color:#F8E8E6;
-    border-color: #FFE3DE;
-}
-
-button.cancel:hover {
-    border-color: #F4E1D0;    
-    background-color: #FFE3DE;
-}
-/*including "save" image*/
-button.save {
-    background-image:url(/main/img/button_accept.gif);
-}
-/*including "add" image*/
-button.add {
-    background-image:url(/main/img/button_add.gif);
-}
-
-/*including "cancel" image*/
-button.cancel {
-    background-image:url(/main/img/button_delete.gif);
-}
-/*including "search" image*/
-button.search {
-    background-image:url(/main/img/button_search.gif);
-}
-/*including "login" image*/
-button.login {
-    background-image:url(/main/img/button_login.gif);
-}
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}

BIN
main/css/public_admin/images/shadow.gif