]> gitweb.fluxo.info Git - lorea/saravea_theme.git/commitdiff
fixed submit button style and autocomplete style
authorfoockinho <foockinho@lorea.org>
Wed, 22 Aug 2012 20:03:07 +0000 (22:03 +0200)
committerfoockinho <foockinho@lorea.org>
Wed, 22 Aug 2012 20:03:07 +0000 (22:03 +0200)
views/default/css/elements/buttons.php
views/default/css/elements/forms.php

index 359d2f34c706d6a59aff91bd689fc23ae0fc0e7d..323448e62f28ddd29239b18f7bc8b2010f21d5dc 100644 (file)
@@ -56,7 +56,6 @@ a.elgg-button {
 .elgg-button-submit {
        color: #bbb;
        text-shadow: 0 -1px 0px #000;
-
        
        background: #45484d; /* Old browsers */
        background: -moz-linear-gradient(top, #45484d 0%, #000000 100%); /* FF3.6+ */
@@ -65,6 +64,7 @@ a.elgg-button {
        background: -o-linear-gradient(top, #45484d 0%,#000000 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #45484d 0%,#000000 100%); /* IE10+ */
        background: linear-gradient(to bottom, #45484d 0%,#000000 100%); /* W3C */
+
 }
 
 .elgg-button-submit:hover {
index 33e9c1e6bbb22b0c32c11b537cf6f2cd5c29a30b..30548055648312334c1f5fc5cfaf5d903b6e9659 100644 (file)
@@ -26,18 +26,24 @@ label {
 }
 
 input, textarea {
-       background-color: #f7f7f7;
-       border: 1px solid #ccc;
        color: #666;
        font: 120% Arial, Helvetica, sans-serif;
        padding: 5px;
        width: 100%;    
+}
+
+input[type=text], input[type=password], textarea {
+       background-color: #f7f7f7;
+       border: 1px solid #ccc;
+       
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
+
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
+
        box-shadow: inset 0 2px 3px #999;
 }
 
@@ -47,12 +53,15 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
        color:#333;
 }
 
+input[type=file], input[type=button], input[type=reset], input[type=submit] {
+       border: none;   
+}
+
 input[type=file] {
-       box-shadow: none;
        background: none;
-       border: none;   
 }
 
+
 textarea {
        height: 200px;
 }
@@ -244,6 +253,8 @@ input[type="radio"] {
 *************************************** */
 <?php //autocomplete will expand to fullscreen without max-width ?>
 .ui-autocomplete {
+       font-size: 90%;
+       font-weight: bold;
        position: absolute;
        cursor: default;
 }
@@ -251,7 +262,7 @@ input[type="radio"] {
        max-width: 600px;
 }
 .ui-autocomplete {
-       background-color: white;
+       background-color: #333  ;
        border: 1px solid #ccc;
        overflow: hidden;
 
@@ -266,12 +277,10 @@ input[type="radio"] {
        -moz-border-radius: 5px;
        border-radius: 5px;
 }
-.ui-autocomplete .ui-menu-item:hover {
-       background-color: #eee;
-}
-.ui-autocomplete a:hover {
+.ui-autocomplete .ui-menu-item:hover a {
        text-decoration: none;
-       color: #ff4c12;
+       color: white;
+       text-shadow: 0 0 6px white;
 }
 
 /* ***************************************