From 92f4f20eccba2441642f33010d15b336d9a35248 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 20 Jan 2013 19:41:37 -0800 Subject: [PATCH] more add series styling --- NzbDrone.Web/AddSeries/Views/addSeries.css | 14 ++++++++++++++ NzbDrone.Web/CassetteConfiguration.cs | 2 +- NzbDrone.Web/Content2/base.css | 1 + NzbDrone.Web/NzbDrone.Web.csproj | 1 + NzbDrone.Web/Views/AddSeries/bt.cshtml | 15 ++++++++++++--- 5 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 NzbDrone.Web/AddSeries/Views/addSeries.css diff --git a/NzbDrone.Web/AddSeries/Views/addSeries.css b/NzbDrone.Web/AddSeries/Views/addSeries.css new file mode 100644 index 000000000..a0b193d13 --- /dev/null +++ b/NzbDrone.Web/AddSeries/Views/addSeries.css @@ -0,0 +1,14 @@ +.search { + margin-top: 20px; +} + + .search input { + height: 40px; + } + + .search .add-on { + font-size: 30px; + height: 30px; + width: 40px; + padding-top: 14px; + } diff --git a/NzbDrone.Web/CassetteConfiguration.cs b/NzbDrone.Web/CassetteConfiguration.cs index 7e83dd1a7..7187f9276 100644 --- a/NzbDrone.Web/CassetteConfiguration.cs +++ b/NzbDrone.Web/CassetteConfiguration.cs @@ -47,8 +47,8 @@ namespace NzbDrone.Web "AddSeries\\Views\\addSeriesView.js"}, bundle => bundle.AddReference("/" + BASE_SCRIPT)); - + bundles.AddPerSubDirectory("AddSeries", bundle => bundle.AddReference("/" + BASE_STYLE)); bundles.Add(FILEBROWSER_STYLE, new[]{ diff --git a/NzbDrone.Web/Content2/base.css b/NzbDrone.Web/Content2/base.css index 9ae5278f1..47fd8b2b6 100644 --- a/NzbDrone.Web/Content2/base.css +++ b/NzbDrone.Web/Content2/base.css @@ -33,6 +33,7 @@ body { #main-region { min-height: 600px; + text-align: center; } #footer { diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index 03ed5a9d6..9b66b72ee 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -190,6 +190,7 @@ + diff --git a/NzbDrone.Web/Views/AddSeries/bt.cshtml b/NzbDrone.Web/Views/AddSeries/bt.cshtml index a730c8922..bede7a2f1 100644 --- a/NzbDrone.Web/Views/AddSeries/bt.cshtml +++ b/NzbDrone.Web/Views/AddSeries/bt.cshtml @@ -1,6 +1,8 @@ -@{ +@using Cassette.Stylesheets +@{ ViewBag.Title = "Add Series"; Layout = "~/Views/Shared/_Bootstrap.cshtml"; + Bundles.Reference("AddSeries\\Views\\"); } @@ -9,10 +11,17 @@
-
Add new series!
-
Import exisintg.
+
+ +
+
Import existing.
+
Manage root folders
@*