Add the new variable `FileProcessorFormField::$bigPreview` with getter and setter.
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / bbcode / media.scss
CommitLineData
ae911c33 1.mediaBBCode {
3897dfcc 2 display: inline-table;
3ae040fc 3 max-width: 100%;
8a52619a 4
bac7aefb 5 .mediaBBCodeCaption {
1a75e228 6 color: var(--wcfContentDimmedText);
9b6a008c
TD
7 // https://stackoverflow.com/a/11652170/782822
8 display: table-caption;
9 caption-side: bottom;
ae911c33
MW
10 margin-top: 5px;
11 text-align: center;
8a52619a 12
ae911c33 13 @include wcfFontSmall;
8a52619a 14
9b6a008c
TD
15 .mediaBBCodeCaptionAlignment {
16 // https://stackoverflow.com/a/43627669/782822
17 display: inline-block;
18 text-align: justify;
19 }
ae911c33 20 }
8a52619a 21
5d99de07 22 video {
23 max-width: 100%;
9fe96a54 24 max-height: 72vh;
5d99de07 25 }
ae911c33 26}
09d32a6e 27
09d32a6e 28iframe.instagram-media {
8001bb77 29 /* workaround for broken iframes without height on mobile */
09d32a6e 30 min-height: 530px;
8001bb77
AE
31
32 /* Prevent the <iframe> from overlapping adjacent elements. */
33 position: relative !important;
09d32a6e 34}
b2587b65
MW
35
36.twitter-tweet > iframe {
37 /* Workaround for ugly border in embedded tweets. */
38 border-radius: 13px;
39}
700f57ee
C
40
41.mediaBBCodeContainerLeft {
42 display: flex;
43 justify-content: start;
44}
45
46.mediaBBCodeContainerRight {
47 display: flex;
48 justify-content: end;
49}
50
51.mediaBBCodeContainerCenter {
52 display: flex;
53 justify-content: center;
54}