From d155ee4d44d9aff9106e83214db54353766b81d5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 17 Jun 2016 13:10:50 +0200 Subject: [PATCH] Unified styling of quotes and spoilers --- wcfsetup/install/files/style/bbcode/quote.scss | 3 ++- wcfsetup/install/files/style/bbcode/spoiler.scss | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/style/bbcode/quote.scss b/wcfsetup/install/files/style/bbcode/quote.scss index cc537f81cb..422badb0db 100644 --- a/wcfsetup/install/files/style/bbcode/quote.scss +++ b/wcfsetup/install/files/style/bbcode/quote.scss @@ -1,6 +1,7 @@ .redactor-editor blockquote, .quoteBox { - border: 1px solid $wcfContentBorderInner; + background-color: $wcfContentBackground; + box-shadow: 0 0 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24); font-style: italic; margin: 20px 0; padding: 10px 20px; diff --git a/wcfsetup/install/files/style/bbcode/spoiler.scss b/wcfsetup/install/files/style/bbcode/spoiler.scss index 6da045d143..8e7414c9bb 100644 --- a/wcfsetup/install/files/style/bbcode/spoiler.scss +++ b/wcfsetup/install/files/style/bbcode/spoiler.scss @@ -1,6 +1,6 @@ .redactor-editor woltlab-spoiler { - background-color: rgb(255, 255, 255) !important; - border: 1px solid rgb(196, 196, 196) !important; + background-color: $wcfContentBackground; + box-shadow: 0 0 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24); border-radius: 2px; display: block; margin: 1em 0; @@ -18,11 +18,11 @@ } } - .spoilerBox > div { - border-left: 5px solid $wcfContentBorderInner; + background-color: $wcfContentBackground; + box-shadow: 0 0 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24); + padding: 10px 20px; margin-top: 10px; - padding: 10px 0 10px 20px; > p:first-child { margin-top: 0; -- 2.20.1