From: Alexander Ebert Date: Fri, 17 Jun 2016 11:10:50 +0000 (+0200) Subject: Unified styling of quotes and spoilers X-Git-Tag: 3.0.0_Beta_1~1407 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d155ee4d44d9aff9106e83214db54353766b81d5;p=GitHub%2FWoltLab%2FWCF.git Unified styling of quotes and spoilers --- 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;