<div class="contentNotVisible">
- <span class="contentNotVisibleTitle">{if $message|isset}{@$message}{else}{lang}wcf.message.content.not.available.title{/lang}{/if}</span>
+ <span class="contentNotVisible__icon">
+ {icon name='face-frown' size=32}
+ </span>
+ <span class="contentNotVisible__title">
+ {if $message|isset}{@$message}{else}{lang}wcf.message.content.not.available.title{/lang}{/if}
+ </span>
</div>
.contentNotVisible {
- display: block;
- background-color: var(--wcfContentBackground);
- border-radius: 2px;
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
- margin: 10px 0;
- padding: 20px;
+ background-color: var(--wcfContentBackground);
+ box-shadow: var(--wcfBoxShadowCard);
+ border: 1px solid var(--wcfContentBorderInner);
+ border-radius: var(--wcfBorderRadius);
+ padding: 20px;
+ max-width: 400px;
+ text-align: center;
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
- @include screen-sm-down {
- padding: 10px;
- }
+ @include screen-xs {
+ padding: 10px;
+ }
}
-.contentNotVisibleTitle {
- font-weight: 600;
- line-height: 1.05;
- margin-bottom: 10px;
+.contentNotVisible__title {
+ @include wcfFontBold;
}