aboutsummaryrefslogtreecommitdiff
path: root/views/default/css
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-12 21:40:18 -0400
committercash <cash.costello@gmail.com>2011-10-12 21:40:18 -0400
commit7effddf7a260e9d731fd33914d6ea3121ddb1d84 (patch)
tree6b8f7c7f66ff3b227084cf737f0de4252a5572b5 /views/default/css
parent28da2f9dcb560687d4904e7629ad38049ed3188a (diff)
downloadelgg-7effddf7a260e9d731fd33914d6ea3121ddb1d84.tar.gz
elgg-7effddf7a260e9d731fd33914d6ea3121ddb1d84.tar.bz2
Simple theme for autocomplete
Diffstat (limited to 'views/default/css')
-rw-r--r--views/default/css/elements/forms.php37
1 files changed, 36 insertions, 1 deletions
diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php
index 83ec2f602..fa90f2bfd 100644
--- a/views/default/css/elements/forms.php
+++ b/views/default/css/elements/forms.php
@@ -235,9 +235,43 @@ input[type="radio"] {
}
/* ***************************************
- USER PICKER
+ AUTOCOMPLETE
*************************************** */
+<?php //autocomplete will expand to fullscreen without max-width ?>
+.ui-autocomplete {
+ position: absolute;
+ cursor: default;
+}
+.elgg-autocomplete-item .elgg-body {
+ max-width: 600px;
+}
+.ui-autocomplete {
+ background-color: white;
+ border: 1px solid #ccc;
+ overflow: hidden;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+}
+.ui-autocomplete .ui-menu-item {
+ padding: 0px 4px;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+}
+.ui-autocomplete .ui-menu-item:hover {
+ background-color: #eee;
+}
+.ui-autocomplete a:hover {
+ text-decoration: none;
+ color: #4690D6;
+}
+/* ***************************************
+ USER PICKER
+*************************************** */
.user-picker .user-picker-entry {
clear:both;
height:25px;
@@ -248,6 +282,7 @@ input[type="radio"] {
.user-picker-entry .elgg-button-delete {
margin-right:10px;
}
+
/* ***************************************
DATE PICKER
**************************************** */