1 /* attachment list in messages */
3 > ul > li:not(:last-child) {
8 /* attachment in messages */
9 .attachmentThumbnailList > ul {
12 @include screen-sm-up {
17 .attachmentThumbnail {
18 box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
19 margin-bottom: 15px !important;
22 @include screen-sm-up {
23 margin-right: 10px !important;
27 margin-right: 0 !important;
31 .attachmentThumbnailContainer {
36 .attachmentThumbnailImage {
38 background-color: #333;
40 justify-content: center;
44 @include screen-sm-up {
45 height: #{$wcf_option_attachment_thumbnail_height}px;
46 width: #{$wcf_option_attachment_thumbnail_width}px;
50 max-height: #{$wcf_option_attachment_thumbnail_height}px;
55 backface-visibility: hidden;
58 transform: translate3d(0, 0, 0);
59 transition: 0.2s ease opacity;
62 .attachmentThumbnailImageScalable {
69 .attachmentThumbnailData {
70 backface-visibility: hidden;
71 background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
78 transform: translate3d(0, 0, 0);
87 text-overflow: ellipsis;
88 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
89 transition: 0.2s ease opacity;
93 @include wcfFontHeadline;
97 color: $wcfContentDimmedText;
100 li:not(:last-child) {
110 .attachmentThumbnailImage {
116 .attachmentFilename {
122 /* attachments tab in editor */
123 .formAttachmentContent {
124 .formAttachmentList {
127 margin-left: 0 !important;
134 > .attachmentTinyThumbnail {
135 border-bottom-width: 0;
140 @include screen-md-up {
141 .formAttachmentList {
145 /* Safari sometimes trips over fractional values, causing two
146 items to be exactly 1 pixel wider than the available space.
147 Reserving 21px covers all sort of rounding errors, without
148 being visually noticeable */
149 /* The `flex` shorthand fails in IE11 if `calc()` is used. */
152 flex-basis: calc(50% - 21px);
159 margin-top: 0 !important;
163 .formAttachmentButtons {
170 &:not(:first-child) {
176 margin-top: 10px !important;
181 .attachmentTinyThumbnail {
186 /* embedded images */
187 .embeddedAttachmentLink,
189 border: 1px solid $wcfContentBorderInner;
190 display: inline-block;
198 background-color: rgba(0, 0, 0, 0.8);
200 box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
203 content: $fa-var-search;
205 font-family: FontAwesome;
213 text-decoration: none;
214 transition: 0.2s ease opacity;
224 .popoverContent .embeddedAttachmentLink,
225 .popoverContent .embeddedImageLink {
226 /* this will also suppress the link being displayed in the browser's "status bar" on hover */
227 pointer-events: none;