diff options
-rw-r--r-- | views/default/css/elements/buttons.php | 2 | ||||
-rw-r--r-- | views/default/css/elements/forms.php | 29 |
2 files changed, 20 insertions, 11 deletions
diff --git a/views/default/css/elements/buttons.php b/views/default/css/elements/buttons.php index 359d2f3..323448e 100644 --- a/views/default/css/elements/buttons.php +++ b/views/default/css/elements/buttons.php @@ -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 { diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php index 33e9c1e..3054805 100644 --- a/views/default/css/elements/forms.php +++ b/views/default/css/elements/forms.php @@ -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; } /* *************************************** |