Fix: Added loading spinner to all autocomplete lists, better list text color

pull/4/head
kay.one 13 years ago
parent f651c0e23d
commit f56358067d

@ -18,13 +18,9 @@
.ui-autocomplete .ui-state-hover .ui-autocomplete .ui-state-hover
{ {
background: #333333; background: #333333;
border-color: #065EFE; border-color: lightgrey;
} }
.ui-menu-item .ui-corner-all
{
color: #065EFE;
}
.ui-progressbar-value .ui-progressbar-value
{ {
@ -42,12 +38,26 @@
padding-left: 10px; padding-left: 10px;
} }
.ui-autocomplete-loading
{
background: white url('/Content/Images/ajax-loader.gif') 99% center no-repeat;
background-size: 18px 18px;
}
.ui-menu-item .ui-corner-all
{
font-size: 110%;
font-family: "Segoe UI" , "Open Sans" , "Segoe UI" , sans-serif;
color: lightgrey;
}
.jquery-tabs .jquery-tabs
{ {
margin-top: 10px; margin-top: 10px;
} }
.ui-button .ui-state-default{ .ui-button .ui-state-default
{
background: none; background: none;
} }

@ -65,7 +65,7 @@ function bindSeriesAutoComplete(selector) {
.data("autocomplete")._renderItem = function (ul, item) { .data("autocomplete")._renderItem = function (ul, item) {
return $("<li></li>") return $("<li></li>")
.data("item.autocomplete", item) .data("item.autocomplete", item)
.append("<a><div class=seriesLookupTitle>" + item.DisplayedTitle + "</div></a>") .append("<a>" + item.DisplayedTitle + "</a>")
.appendTo(ul); .appendTo(ul);
}; };
}); });

@ -8,9 +8,9 @@
@if (Model.ExistingSeries.Count == 0) @if (Model.ExistingSeries.Count == 0)
{ {
<h3 style="color: tomato"> <h2 style="color: tomato">
No series available. Try adding a new Root Folder. No series available. Try adding a new Root Folder.
</h3> </h2>
} }
else else
{ {

@ -37,16 +37,7 @@
overflow-x: hidden; overflow-x: hidden;
} }
.seriesLookup.ui-autocomplete-loading {
background: white url('../../Content/Images/ajax-loader.gif') 99% center no-repeat;
background-size: 18px 18px
}
.ui-autocomplete .seriesLookupTitle{
font-size: 110%;
font-family: "Segoe UI", "Open Sans", "Segoe UI", sans-serif;
color: lightgrey;
}
</style> </style>
} }

Loading…
Cancel
Save