From 50b9838eec073662e204b2cea395162baa12ee7f Mon Sep 17 00:00:00 2001 From: dojineko Date: Mon, 25 Apr 2016 19:45:45 +0900 Subject: [PATCH] Apply dark theme to delete article modal --- browser/styles/theme/dark.styl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/browser/styles/theme/dark.styl b/browser/styles/theme/dark.styl index a993c3b7..f39fe24c 100644 --- a/browser/styles/theme/dark.styl +++ b/browser/styles/theme/dark.styl @@ -16,6 +16,8 @@ themeDarkTableOdd = themeDarkPreview themeDarkTableEven = darken(themeDarkPreview, 10%) themeDarkTableHead = themeDarkTableEven themeDarkTableBorder = themeDarkBorder +themeDarkModalButtonDefault = themeDarkPreview +themeDarkModalButtonDanger = #BF360C body[data-theme="dark"] .Main @@ -248,6 +250,30 @@ body[data-theme="dark"] &:hover background-color brandColor + .DeleteArticleModal.modal + .control + button + transition 0.1s + color themeDarkText + border-color lighten(themeDarkModalButtonDefault, 20%) + background-color themeDarkModalButtonDefault + + &:hover + background-color: lighten(themeDarkModalButtonDefault, 10%) + + &:focus + border-color themeDarkTopicColor + + &.danger + background-color themeDarkModalButtonDanger + border-color lighten(themeDarkModalButtonDanger, 30%) + + &:hover + background-color: lighten(themeDarkModalButtonDanger, 10%) + + &:focus + border-color lighten(themeDarkModalButtonDanger, 50%) + .Preferences.modal .sectionInput input, .sectionSelect select