1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

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

This commit is contained in:
kay.one 2012-03-01 18:37:43 -08:00
parent f651c0e23d
commit f56358067d
4 changed files with 20 additions and 19 deletions

View File

@ -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;
} }

View File

@ -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);
}; };
}); });

View File

@ -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
{ {

View File

@ -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>
} }