diff options
Diffstat (limited to 'ishtar_common/static')
| -rw-r--r-- | ishtar_common/static/ajax_select/css/ajax_select.css | 49 | ||||
| -rw-r--r-- | ishtar_common/static/media/style.css | 9 |
2 files changed, 58 insertions, 0 deletions
diff --git a/ishtar_common/static/ajax_select/css/ajax_select.css b/ishtar_common/static/ajax_select/css/ajax_select.css new file mode 100644 index 000000000..379b5be96 --- /dev/null +++ b/ishtar_common/static/ajax_select/css/ajax_select.css @@ -0,0 +1,49 @@ +.results_on_deck .ui-icon-trash { + float: left; + cursor: pointer; +} +.results_on_deck { + padding: 0.25em 0; +} +form .aligned .results_on_deck { + padding-left: 38px; + margin-left: 7em; +} +.results_on_deck > div { + margin-bottom: 0.5em; +} +.ui-autocomplete-loading { + background: url('../images/loading-indicator.gif') no-repeat; + background-origin: content-box; + background-position: right; +} +ul.ui-autocomplete { + /* + this is the dropdown menu. + + if max-width is not set and you are using django-admin + then the dropdown is the width of your whole page body (totally wrong). + + this sets max-width at 60% which is graceful at full page or in a popup + or on a small width window. + + fixed width is harder see http://stackoverflow.com/questions/4607164/changing-width-of-jquery-ui-autocomplete-widgets-individually + */ + max-width: 60%; + margin: 0; + padding: 0; + position: absolute; +} +ul.ui-autocomplete li { + list-style-type: none; + padding: 0; +} +ul.ui-autocomplete li a { + display: block; + padding: 2px 3px; + cursor: pointer; +} + +.results_on_deck .ajax-label{ + line-height: 18px; +} diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index 468b6557e..4f0330502 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -217,6 +217,10 @@ select{ width:370px; } +.form select.auto{ + width: auto; +} + /*label{display:block}*/ label:first-letter { @@ -858,6 +862,11 @@ ul.form-flex li li label { text-align:left; } +.helptext{ + font-style: italic; + font-size: 0.9em; +} + .help_text{ display:none; font-size:0.9em; |
