Updated quote styling
authorAlexander Ebert <ebert@woltlab.com>
Sat, 26 Mar 2016 11:40:56 +0000 (12:40 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 26 Mar 2016 18:06:08 +0000 (19:06 +0100)
wcfsetup/install/files/style/bbcode/quote.scss
wcfsetup/install/files/style/ui/redactor.scss

index 1aa6abae7269e7da3e62d81d9c7aa4ec2b0cb09f..871a69944ded419d717110da77b516b53a2c5dc9 100644 (file)
@@ -1,15 +1,14 @@
 .quoteBox {
-       border-left: 2px solid $wcfContentBorder;
-       padding: 10px;
-       margin: 10px 0;
+       border: 1px solid $wcfContentBorderInner;
+       font-style: italic;
+       margin: 20px 0;
+       padding: 10px 20px;
        
        &:first-child {
                margin-top: 0;
        }
        
        .quoteBox {
-               margin-left: 10px;
-               
                > .quoteBoxHeader > .quoteBoxIcon {
                        display: none;
                }
 .quoteBoxHeader {
        align-items: center;
        display: flex;
-       margin-bottom: 10px;
-}
-
-.quoteBoxIcon {
-       flex: 0 0 auto;
-       min-height: 36px;
+       font-style: normal;
+       margin-bottom: 20px;
        
-       > a {
-               display: block;
-               font-size: 0;
-               margin-right: 5px;
+       .quoteBoxIcon {
+               flex: 0 0 auto;
+               
+               > a {
+                       display: block;
+                       font-size: 0;
+                       margin-right: 5px;
+               }
+               
+               > .icon {
+                       margin-right: 7px;
+                       position: relative;
+                       top: 2px;
+               }
        }
        
-       > .icon {
-               margin-right: 7px;
-               position: relative;
-               top: 10px;
+       .quoteBoxTitle {
+               flex: 1 auto;
+               
+               @include wcfFontHeadline;
        }
 }
-
-.quoteBoxTitle {
-       flex: 1 auto;
-       
-       @include wcfFontHeadline;
-}
index b2f5c8ec879ae952184275425120f024e5064ded..6caaac220d6944891067a254bd89ad0bf2c1370a 100644 (file)
                        content: attr(data-quote-header);
                        cursor: pointer;
                        display: block;
-                       margin-bottom: 10px;
-                       padding-right: 20px;
+                       font-style: normal;
+                       margin-bottom: 20px;
+                       padding-right: 25px;
                        
                        @include wcfFontHeadline;
                }
                &::after {
                        content: $fa-var-pencil;
                        font-family: FontAwesome;
-                       font-size: $wcfFontSizeHeadline; // TODO
                        position: absolute;
-                       right: 10px;
-                       top: 10px;
+                       right: 4px;
+                       top: 0;
+                       
+                       @include wcfFontHeadline;
                }
        }