From a6e54a627e421efaaaf97bcc2736802c4b9c95ec Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 12 Aug 2013 23:08:39 -0700 Subject: [PATCH] btn-danger on switch will make it red for on and black for off --- UI/Content/Overrides/bootstrap.toggle-switch.less | 8 ++++++++ UI/Series/Delete/DeleteSeriesTemplate.html | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/UI/Content/Overrides/bootstrap.toggle-switch.less b/UI/Content/Overrides/bootstrap.toggle-switch.less index 57a7f4ae8..153ff546d 100644 --- a/UI/Content/Overrides/bootstrap.toggle-switch.less +++ b/UI/Content/Overrides/bootstrap.toggle-switch.less @@ -4,9 +4,17 @@ .toggle { .slide-button { .buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight); + + &.btn-danger { + .buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight); + } } input:first-of-type:checked ~ .slide-button { .buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight); + + &.btn-danger { + .buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight); + } } } \ No newline at end of file diff --git a/UI/Series/Delete/DeleteSeriesTemplate.html b/UI/Series/Delete/DeleteSeriesTemplate.html index 98d905977..261f82230 100644 --- a/UI/Series/Delete/DeleteSeriesTemplate.html +++ b/UI/Series/Delete/DeleteSeriesTemplate.html @@ -23,7 +23,7 @@ No

-
+