Fixed adding of existing series, whoops.

Buttons do not have a height globally assigned anymore (no more CSS tweaking all over the place), this means they are larger than textboxes and selects, but it looks good.
pull/4/head
Mark McDowall 13 years ago
parent d2779d2cdf
commit def86f90f5

@ -180,18 +180,30 @@ input[type=text], select
height: 20px; height: 20px;
} }
select, button, input[type="button"], input[type="submit"], input[type="reset"] select
{ {
height: 26px; height: 26px;
min-width: 50px; min-width: 50px;
margin-left: 10px; margin-left: 10px;
} }
/*This allows us to override center the text on the jQuery UI Buttons when we set the height above*/ button, input[type="button"], input[type="submit"], input[type="reset"]
{
margin-left: 10px;
}
/*select, button, input[type="button"], input[type="submit"], input[type="reset"]
{
height: 26px;
min-width: 50px;
margin-left: 10px;
}
/*This allows us to override center the text on the jQuery UI Buttons when we set the height above*
button span, input[type="button"] span, input[type="submit"] span, input[type="reset"] span button span, input[type="button"] span, input[type="submit"] span, input[type="reset"] span
{ {
margin-top: -3px; margin-top: -3px;
} }*/
.listButton .listButton
{ {

@ -29,6 +29,11 @@
{ {
display: block; display: block;
} }
.existingSeriesContainer
{
position: relative;
}
</style> </style>
@if (Model.ExistingSeries.Count == 0) @if (Model.ExistingSeries.Count == 0)
@ -55,12 +60,12 @@ else
<span class="seriesPathValue"> <span class="seriesPathValue">
@Html.Label(series.Item1) @Html.Label(series.Item1)
</span> </span>
<div> <div class="existingSeriesContainer">
<input class="seriesLookup" type="text" style="width: 400px" value="@series.Item2" /> <input class="seriesLookup" type="text" style="width: 400px;" value="@series.Item2" />
@Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" }) @Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" })
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" }) @Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
<button>Add</button> <button class="addExistingButton">Add</button>
</div> </div>
</div> </div>
} }

@ -1,13 +1,4 @@
<style> <style>
#saveDir
{
padding-bottom: 1px;
}
#saveDir span
{
margin-top: -2px;
}
</style> </style>
<span> <span>

Loading…
Cancel
Save