From 281790ff0aab9d6890e649b5ae3894fb25065725 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 26 Jun 2013 16:48:48 -0700 Subject: [PATCH] Smaller headers on settings cards --- UI/Settings/Indexers/ItemTemplate.html | 9 ++++++++- UI/Settings/Indexers/indexers.less | 11 ++++++++++- .../Quality/Profile/QualityProfileTemplate.html | 6 +++--- UI/Settings/Quality/quality.less | 10 +++++++--- 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/UI/Settings/Indexers/ItemTemplate.html b/UI/Settings/Indexers/ItemTemplate.html index bfd26351b..b88224700 100644 --- a/UI/Settings/Indexers/ItemTemplate.html +++ b/UI/Settings/Indexers/ItemTemplate.html @@ -1,5 +1,12 @@ 
-

{{name}}

+
+

{{name}}

+ {{#if isNewznab}} + + + + {{/if}} +
diff --git a/UI/Settings/Indexers/indexers.less b/UI/Settings/Indexers/indexers.less index 5ff59a40e..7f51b7c39 100644 --- a/UI/Settings/Indexers/indexers.less +++ b/UI/Settings/Indexers/indexers.less @@ -15,7 +15,16 @@ height: 260px; padding: 10px 15px; - h2 { + h3 { margin-top: 0px; + display: inline-block; + width: 190px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + + .btn-group { + margin-top: 8px; } } \ No newline at end of file diff --git a/UI/Settings/Quality/Profile/QualityProfileTemplate.html b/UI/Settings/Quality/Profile/QualityProfileTemplate.html index 08a1647b6..da6043665 100644 --- a/UI/Settings/Quality/Profile/QualityProfileTemplate.html +++ b/UI/Settings/Quality/Profile/QualityProfileTemplate.html @@ -1,9 +1,9 @@ 
-

+

- - + +
diff --git a/UI/Settings/Quality/quality.less b/UI/Settings/Quality/quality.less index 1c414d82c..c80a17c88 100644 --- a/UI/Settings/Quality/quality.less +++ b/UI/Settings/Quality/quality.less @@ -15,13 +15,17 @@ height: 120px; padding: 10px 15px; - h2 { + h3 { margin-top: 0px; display: inline-block; + width: 200px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .btn-group { - margin-top: 10px; + margin-top: 8px; } } @@ -33,7 +37,7 @@ height: 200px; padding: 10px 15px; - h2 { + h3 { margin-top: 0px; text-align: center; }