Fix one more css url
authorCharles Connell <charles@connells.org>
Thu, 24 Apr 2014 12:48:10 +0000 (08:48 -0400)
committerCharles Connell <charles@connells.org>
Thu, 24 Apr 2014 12:48:10 +0000 (08:48 -0400)
karmaworld/assets/css/ajax_select.css [new file with mode: 0644]
karmaworld/assets/css/images/loading-indicator.gif [new file with mode: 0644]
karmaworld/templates/base.html

diff --git a/karmaworld/assets/css/ajax_select.css b/karmaworld/assets/css/ajax_select.css
new file mode 100644 (file)
index 0000000..f751a0a
--- /dev/null
@@ -0,0 +1,46 @@
+.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('//karma-prod.s3.amazonaws.com/css/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;
+}
diff --git a/karmaworld/assets/css/images/loading-indicator.gif b/karmaworld/assets/css/images/loading-indicator.gif
new file mode 100644 (file)
index 0000000..085ccae
Binary files /dev/null and b/karmaworld/assets/css/images/loading-indicator.gif differ
index 2a5a8a4db20c02e200b7d9fe5920c4d249203967..52862b6697b4887afbaa6003a00d97f48a4f9ca6 100644 (file)
@@ -14,7 +14,7 @@
     <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/jquery-ui.css">
     <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/font-awesome.css">
     <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/opentip.css">
-    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}ajax_select/css/ajax_select.css">
+    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/ajax_select.css">
     <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/jquery.dataTables.css">
     <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/global.css">
   {% endcompress %}
@@ -29,7 +29,6 @@
 
   {% include 'partial/trackers.html' %}
 
-       
 </head>
 <body>