From d9b7dd257e3b641677daf263c15473aa727d39ee Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 21 Nov 2013 18:29:49 -0800 Subject: [PATCH] Couple touch ups --- src/NzbDrone.Core/Organizer/FileNameBuilder.cs | 4 ++-- src/UI/Content/checkbox-button.less | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs index db540b5c4..9d10eb608 100644 --- a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs +++ b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs @@ -105,7 +105,7 @@ namespace NzbDrone.Core.Organizer } } - var episodeFormat = GetSeasonEpisodePattern(pattern); + var episodeFormat = GetEpisodeFormat(pattern); if (episodeFormat != null) { @@ -246,7 +246,7 @@ namespace NzbDrone.Core.Organizer return value.ToString(split[1]); } - private EpisodeFormat GetSeasonEpisodePattern(string pattern) + private EpisodeFormat GetEpisodeFormat(string pattern) { return _patternCache.Get(pattern, () => { diff --git a/src/UI/Content/checkbox-button.less b/src/UI/Content/checkbox-button.less index 4d12317fb..becb5a7df 100644 --- a/src/UI/Content/checkbox-button.less +++ b/src/UI/Content/checkbox-button.less @@ -18,9 +18,14 @@ } .btn { - .buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight); + .buttonBackground(@btnBackground, @btnBackgroundHighlight); + color: #333333; } + .btn:hover { + color: #333333; + } + input:first-of-type:checked ~ .btn { .buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight); }