Added native `[html]` bbcode
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / bbcode / code.scss
index 9173260184c90f6ade58906d86562bd88c2edc2e..ab2f3b7ed865a06fbd09027b40a8677566adbfbc 100644 (file)
@@ -11,7 +11,8 @@
        word-break: break-all;
        word-wrap: break-word;
        
-       &:not(.redactorCalcHeight)::before {
+       &:not(.redactorCalcHeight)::before,
+       &.woltlabHtml::before {
                color: $wcfContentLink;
                content: attr(data-title);
                cursor: pointer;
                
                @include wcfFontHeadline;
        }
+       
+       &.woltlabHtml {
+               &::before {
+                       margin-bottom: 30px;
+               }
+               
+               &::after {
+                       color: $wcfContentDimmedText;
+                       content: attr(data-description);
+                       cursor: pointer;
+                       display: block;
+                       font-family: $wcfFontFamily;
+                       position: absolute;
+                       top: 32px;
+                       
+                       @include wcfFontSmall;
+               }
+       }
 }
 
 .codeBox {