diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-28 12:07:05 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-28 12:07:05 +0000 |
commit | 04e181b8b05d00a95d49aea0435f8542914b0fbc (patch) | |
tree | ebd9c00a13a4655b33df9a0d94bbae0272116954 /public | |
parent | b4be8849c0de81841c458c0f059787a9cc9bc022 (diff) | |
download | redmine-04e181b8b05d00a95d49aea0435f8542914b0fbc.tar.gz redmine-04e181b8b05d00a95d49aea0435f8542914b0fbc.zip |
Adds a user search field with autocompleter on project members screen.
User selection with checkboxes is disabled if there are more than 300 users available (#2993).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2638 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/stylesheets/application.css | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index f156b5fc4..a8d8736fd 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -327,7 +327,7 @@ a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px /* Project members tab */ div#tab-content-members .splitcontentleft { width: 64% } div#tab-content-members .splitcontentright { width: 34% } -div#tab-content-members fieldset { margin-top: -8px; padding-top:0.6em; margin-bottom: 1em; } +div#tab-content-members fieldset { padding:1em; margin-bottom: 1em; } div#tab-content-members fieldset legend { font-weight: bold; } div#tab-content-members fieldset label { display: block; } div#tab-content-members fieldset div { max-height: 400px; overflow:auto; } @@ -486,6 +486,36 @@ border-bottom: 1px solid #fff; background-color: #fff; } +/***** Auto-complete *****/ +div.autocomplete { + position:absolute; + width:250px; + background-color:white; + margin:0; + padding:0; +} +div.autocomplete ul { + list-style-type:none; + margin:0; + padding:0; +} +div.autocomplete ul li.selected { background-color: #ffb;} +div.autocomplete ul li { + list-style-type:none; + display:block; + margin:0; + padding:2px; + cursor:pointer; + font-size: 90%; + border-bottom: 1px solid #ccc; + border-left: 1px solid #ccc; + border-right: 1px solid #ccc; +} +div.autocomplete ul li span.informal { + font-size: 80%; + color: #aaa; +} + /***** Diff *****/ .diff_out { background: #fcc; } .diff_in { background: #cfc; } |