1 /* ImageViewer for WCF */
3 --wcfImageViewerBorderColor: rgba(51, 51, 51, 1);
4 --wcfImageViewerBorderColor-rgb: 51 51 51;
5 --wcfImageViewerFontColor: rgba(211, 211, 211, 1);
7 background-color: rgba(0, 0, 0, 1);
18 color: rgb(158, 158, 158);
26 &.maximized:not(.wcfImageViewerMobile) {
33 border-color: rgba(var(--wcfImageViewerBorderColor-rgb) / 0);
42 &.wcfImageViewerMobile {
45 background-color: rgba(0, 0, 0, 1);
59 visibility 0s linear 0.24s,
63 > div > ul > li.pointer {
74 background-color: rgba(224, 224, 224, 1);
80 transition: opacity 0.24s;
86 &.wcfImageViewerSlideshowButtonFull,
87 &.wcfImageViewerSlideshowButtonNext,
88 &.wcfImageViewerSlideshowButtonPrevious {
89 /* places buttons above images at all times */
93 &.wcfImageViewerSlideshowButtonPrevious {
103 &.wcfImageViewerSlideshowButtonNext {
113 &.wcfImageViewerSlideshowButtonFull {
117 transform: translateX(-50%);
127 &.wcfImageViewerSlideshowButtonToggle,
128 &.wcfImageViewerSlideshowButtonEnlarge {
136 > .wcfImageViewerButtonPrevious,
137 > .wcfImageViewerButtonNext {
150 -moz-box-sizing: border-box;
151 box-sizing: border-box;
174 color: var(--wcfImageViewerFontColor);
177 color: var(--wcfImageViewerFontColor);
183 max-width: calc(100% - 70px);
185 text-overflow: ellipsis;
194 color: var(--wcfImageViewerFontColor);
199 > .wcfImageViewerButtonClose {
207 background-color: rgba(0, 0, 0, 1);
208 border-bottom: 1px solid var(--wcfImageViewerBorderColor);
209 border-top: 1px solid var(--wcfImageViewerBorderColor);
212 transition-property: top, bottom, border-color;
213 transition-timing-function: linear;
214 transition-duration: 0.24s;
219 TODO: Migrate this or replace the image viewer.
224 content: "" !important;
226 left: calc(50% - 34px);
228 top: calc(50% - 34px);
235 transition: opacity 0.24s linear;
238 &.animateTransformation {
254 &:not(.wcfImageViewerMobile) {
255 .pointer:hover fa-icon,
256 .wcfImageViewerButtonClose:hover fa-icon {
257 color: rgb(255, 255, 255);
261 transition: top 0.24s linear;
265 transition: bottom 0.24s linear;
277 background-color: rgba(0, 0, 0, 0.9);
278 border: 1px solid var(--wcfImageViewerBorderColor);
279 border-bottom-width: 0;
280 border-radius: 2px 2px 0 0;
285 transform: translateX(-50%);
292 &:not(.pointer) fa-icon {
293 color: rgb(66, 66, 66) !important;
296 &.wcfImageViewerSlideshowButtonEnlarge,
297 &.wcfImageViewerSlideshowButtonFull {
298 border-left: 1px solid var(--wcfImageViewerBorderColor);
299 box-sizing: border-box;
311 &:hover > div > ul > li > img {
312 -webkit-filter: none;
323 transition: opacity 0.24s;
335 &.wcfImageViewerButtonPrevious {
339 &.wcfImageViewerButtonNext {
356 transition: margin-left cubic-bezier(0.5, 1.595, 0.56, 0.98) 0.24s;
364 transition: opacity 0.24s;
376 -webkit-filter: none;
383 TODO: Migrate this or replace the image viewer.
405 @media only screen and (max-width: 800px) {
410 > .wcfImageViewerButtonClose {