Use prettier for SCSS (#3895)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / bbcode / quote.scss
CommitLineData
4070d5d4 1woltlab-quote,
b8eab696 2.quoteBox {
d155ee4d 3 background-color: $wcfContentBackground;
8a52619a 4 box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
99c7c89a 5 border-radius: 2px;
72124edf 6 clear: both;
4070d5d4 7 display: block;
de48157a 8 font-style: italic;
0663e9fb 9 margin: 1em 0;
72124edf 10 overflow: hidden;
8a52619a 11
b8eab696
AE
12 &:first-child {
13 margin-top: 0;
14 }
8a52619a 15
ba32bab4 16 // hide nested icons
b8eab696 17 .quoteBox {
ba32bab4 18 clear: both;
8a52619a 19
ba32bab4 20 .quoteBoxIcon {
b8eab696
AE
21 display: none;
22 }
23 }
8a52619a 24
8636ad9b
MW
25 @include screen-md-up {
26 padding: 20px;
27 }
8a52619a 28
8636ad9b
MW
29 @include screen-sm-down {
30 padding: 10px;
31 }
b8eab696
AE
32}
33
f63e47e6 34.quoteBox {
8636ad9b
MW
35 @include screen-md-up {
36 min-height: 104px;
37 }
8a52619a 38
a26b3658
AE
39 &.collapsed {
40 position: relative;
8a52619a 41
a26b3658
AE
42 > .quoteBoxContent {
43 overflow: hidden;
44 max-height: 100px;
45 }
8a52619a 46
a26b3658
AE
47 > .toggleButton {
48 bottom: 0;
8a52619a 49 box-shadow: 0 -10px 50px 10px opacify($wcfContentBackground, 0.9);
a26b3658
AE
50 left: 0;
51 padding-bottom: 10px;
52 position: absolute;
53 right: 0;
54 z-index: 1;
55 }
56 }
8a52619a 57
a26b3658 58 > .toggleButton {
8a52619a 59 background-color: opacify($wcfContentBackground, 0.9);
a26b3658
AE
60 cursor: pointer;
61 display: block;
62 padding: 10px 20px 0 10px;
63 text-align: center;
8a52619a 64
a26b3658
AE
65 @include wcfFontSmall;
66 }
8a52619a 67
f63e47e6
MW
68 .quoteBox {
69 min-height: 0;
70 }
71}
72
adb94be6 73woltlab-quote:not(.redactorCalcHeight)::before {
333f26a7 74 color: $wcfContentLink;
61328173
AE
75 content: attr(data-title);
76 cursor: pointer;
77 display: block;
78 font-style: normal;
79 margin-bottom: 20px;
8a52619a 80
61328173
AE
81 @include wcfFontHeadline;
82}
83
4b77aefa 84.quoteBoxTitle {
de48157a
AE
85 font-style: normal;
86 margin-bottom: 20px;
8a52619a 87
4b77aefa
AE
88 @include wcfFontHeadline;
89}
90
91.quoteBoxIcon {
92 float: right;
93 margin: 0 0 10px 10px;
8a52619a 94
4b77aefa
AE
95 > a {
96 display: block;
97 font-size: 0;
b8eab696 98 }
8a52619a 99
4b77aefa
AE
100 > .quoteBoxQuoteSymbol {
101 color: $wcfContentDimmedText;
102 display: block;
103 font-family: Georgia, "Times New Roman", serif;
4b77aefa 104 font-style: normal;
4b77aefa 105 text-align: center;
8a52619a 106
8636ad9b
MW
107 @include screen-md-up {
108 font-size: 160px;
109 line-height: 160px;
110 height: 64px;
111 width: 64px;
112 }
8a52619a 113
8636ad9b
MW
114 @include screen-sm-down {
115 font-size: 80px;
116 line-height: 80px;
117 height: 32px;
118 width: 32px;
119 }
8a52619a 120
4b77aefa
AE
121 &::before {
122 content: "\201c";
123 position: relative;
8a52619a 124
8636ad9b
MW
125 @include screen-md-up {
126 top: -5px;
127 }
128 }
129 }
8a52619a 130
8636ad9b
MW
131 @include screen-sm-down {
132 .userAvatarImage {
133 width: 32px !important;
134 height: 32px !important;
4b77aefa 135 }
b8eab696
AE
136 }
137}