From 9ed7c03d48c39c664e777794ca3d5d76df05b0e5 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Mon, 25 Feb 2013 19:54:58 -0800 Subject: [PATCH] some css cleanup. --- .../RootFolderCompositeViewTemplate.html | 8 ++- ...UnmappedFolderCompositeViewTemplatate.html | 10 +-- .../AddSeries/New/AddNewSeriesTemplate.html | 10 +-- .../RootFolders/RootFolderTemplate.html | 6 +- NzbDrone.Backbone/AddSeries/addSeries.css | 9 ++- NzbDrone.Backbone/Content/base.css | 70 +++++++++---------- NzbDrone.Backbone/Index.html | 1 + 7 files changed, 62 insertions(+), 52 deletions(-) diff --git a/NzbDrone.Backbone/AddSeries/Existing/RootFolderCompositeViewTemplate.html b/NzbDrone.Backbone/AddSeries/Existing/RootFolderCompositeViewTemplate.html index f0a45171c..5e0fceb9e 100644 --- a/NzbDrone.Backbone/AddSeries/Existing/RootFolderCompositeViewTemplate.html +++ b/NzbDrone.Backbone/AddSeries/Existing/RootFolderCompositeViewTemplate.html @@ -1,4 +1,6 @@ -
-

{{path}}

-
+
+
+

{{path}}

+
+
diff --git a/NzbDrone.Backbone/AddSeries/Existing/UnmappedFolderCompositeViewTemplatate.html b/NzbDrone.Backbone/AddSeries/Existing/UnmappedFolderCompositeViewTemplatate.html index 102c6cd63..4080f312f 100644 --- a/NzbDrone.Backbone/AddSeries/Existing/UnmappedFolderCompositeViewTemplatate.html +++ b/NzbDrone.Backbone/AddSeries/Existing/UnmappedFolderCompositeViewTemplatate.html @@ -1,5 +1,5 @@ 
-
+
+
+
-
+
diff --git a/NzbDrone.Backbone/AddSeries/RootFolders/RootFolderTemplate.html b/NzbDrone.Backbone/AddSeries/RootFolders/RootFolderTemplate.html index f4c7a9f4b..10392ff65 100644 --- a/NzbDrone.Backbone/AddSeries/RootFolders/RootFolderTemplate.html +++ b/NzbDrone.Backbone/AddSeries/RootFolders/RootFolderTemplate.html @@ -1,7 +1,7 @@ -
-
+
+
- +
diff --git a/NzbDrone.Backbone/AddSeries/addSeries.css b/NzbDrone.Backbone/AddSeries/addSeries.css index 1dd516464..304cabcd7 100644 --- a/NzbDrone.Backbone/AddSeries/addSeries.css +++ b/NzbDrone.Backbone/AddSeries/addSeries.css @@ -4,7 +4,7 @@ } .nz-input-large input { - height: 40px; + height: 50px; } .nz-input-large *[class*='icon-'] { @@ -58,8 +58,8 @@ } .unmapped-folder-view .folder-header { - font-size: 30px; font-weight: 300; + padding-left: 20px; } .unmapped-folder-view .folder-header input { @@ -74,3 +74,8 @@ .existing-root-folder-view, h1 { padding: 10px 0 20px 0; } + +.folder-name-matches { + padding-left: 20px; + padding-top: 10px; +} diff --git a/NzbDrone.Backbone/Content/base.css b/NzbDrone.Backbone/Content/base.css index 510842f97..b71b9a3b3 100644 --- a/NzbDrone.Backbone/Content/base.css +++ b/NzbDrone.Backbone/Content/base.css @@ -1,4 +1,10 @@ -#localSeriesLookup { +/*make the main scrollbar always visible*/ +html { + overflow: -moz-scrollbars-vertical; + overflow-y: scroll; +} + +#localSeriesLookup { width: 220px; border: 0px; background: rgb(75, 75, 75); @@ -7,13 +13,8 @@ font-size: 13px; } -.nz-center { - text-align: center; - overflow: hidden; -} - -.nz-center .typeahead { - text-align: left; +.input-append .add-on { + margin-left: 0; } #footer-region { @@ -43,15 +44,12 @@ padding-right: 10px; } -#notification-region pre{ +#notification-region pre { font-size: 12px; } -.line { - height: 4em; - line-height: 4em; -} + .line > [class^="icon-"], .line > [class*=" icon-"] { margin-top: 1em; @@ -66,23 +64,25 @@ margin-bottom: 2px; } -.progress .bar { - position: absolute; - overflow: hidden; -} -.progress .progressbar-back-text { - position: absolute; - width: 100%; - height: 100%; - font-size: 12px; - text-align: center; -} -.progress .progressbar-front-text { - display: block; - width: 125px; - font-size: 12px; - text-align: center; -} + .progress .bar { + position: absolute; + overflow: hidden; + } + + .progress .progressbar-back-text { + position: absolute; + width: 100%; + height: 100%; + font-size: 12px; + text-align: center; + } + + .progress .progressbar-front-text { + display: block; + width: 125px; + font-size: 12px; + text-align: center; + } /* Todo: Should move this to somehting modal/form specific */ @@ -97,8 +97,8 @@ label, .form-horizontal input, .form-horizontal select { line-height: 14px; } -label.control-label { - font-size: 16px; - line-height: 16px; - font-weight: bold; -} + label.control-label { + font-size: 16px; + line-height: 16px; + font-weight: bold; + } diff --git a/NzbDrone.Backbone/Index.html b/NzbDrone.Backbone/Index.html index 51ba65d29..c446dac30 100644 --- a/NzbDrone.Backbone/Index.html +++ b/NzbDrone.Backbone/Index.html @@ -10,6 +10,7 @@ +