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, .12), 0 1px 2px rgba(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: .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, .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: .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 flex: 0 0 calc(50% - 21px);
150 max-width: calc(50% - 21px); /* IE fix */
157 margin-top: 0 !important;
166 &:not(:first-child) {
172 margin-top: 10px !important;
178 .attachmentTinyThumbnail {
183 /* embedded images */
184 .embeddedAttachmentLink,
186 border: 1px solid $wcfContentBorderInner;
187 display: inline-block;
194 background-color: rgba(0, 0, 0, .8);
196 box-shadow: 0 0 0 3px rgba(0, 0, 0, .15);
199 content: $fa-var-search;
201 font-family: FontAwesome;
209 text-decoration: none;
210 transition: .2s ease opacity;
220 .popoverContent .embeddedAttachmentLink,
221 .popoverContent .embeddedImageLink {
222 /* this will also suppress the link being displayed in the browser's "status bar" on hover */
223 pointer-events: none;