Commit | Line | Data |
---|---|---|
6088ac61 AE |
1 | #lbOverlay { |
2 | background-color: #000; | |
3 | bottom: 0; | |
6088ac61 AE |
4 | left: 0; |
5 | position: fixed; | |
6 | right: 0; | |
7 | top: 0; | |
8 | z-index: 399; | |
9 | } | |
10 | ||
11 | #lbPrevLink, | |
12 | #lbNextLink { | |
13 | display: block; | |
4c51a0e9 | 14 | opacity: 0; |
6088ac61 AE |
15 | overflow: hidden; |
16 | position: absolute; | |
17 | top: 0; | |
18 | width: 50%; | |
19 | outline: none; | |
9f959ced | 20 | |
4c51a0e9 AE |
21 | .transition(opacity, .2s); |
22 | ||
6088ac61 AE |
23 | > span { |
24 | background-color: #fff; | |
25 | padding: @wcfGapSmall; | |
26 | position: absolute; | |
27 | text-transform: uppercase; | |
28 | top: 20%; | |
29 | } | |
30 | ||
31 | &:hover > span { | |
ecbd8a0b | 32 | .boxShadow(0, 0, @wcfButtonHoverBorderColor, 20px); /* todo */ |
6088ac61 AE |
33 | } |
34 | } | |
35 | ||
36 | #lbPrevLink { | |
37 | left: 0; | |
38 | ||
39 | > span { | |
40 | left: 0; | |
41 | padding-right: @wcfGapMedium; | |
42 | text-align: right; | |
9f959ced | 43 | |
6088ac61 AE |
44 | .borderRadius(0, 30px, 30px, 0); |
45 | } | |
46 | } | |
47 | ||
48 | #lbNextLink { | |
49 | right: 0; | |
9f959ced | 50 | |
6088ac61 AE |
51 | > span { |
52 | padding-left: @wcfGapMedium; | |
53 | right: 0; | |
9f959ced | 54 | |
6088ac61 AE |
55 | .borderRadius(30px, 0, 0, 30px); |
56 | } | |
57 | } | |
58 | ||
59 | #lbEnlarge, | |
60 | #lbCloseLink { | |
61 | cursor: pointer; | |
62 | display: block; | |
63 | float: right; | |
6088ac61 AE |
64 | padding-right: @wcfGapSmall; |
65 | outline: none; | |
66 | } | |
67 | ||
68 | ||
69 | #lbCenter, #lbBottomContainer { | |
70 | background-color: #fff; | |
71 | overflow: hidden; | |
72 | position: absolute; | |
73 | z-index: 400; | |
74 | } | |
75 | ||
341b056c AE |
76 | #lbCenter > .icon-spinner { |
77 | left: 50%; | |
78 | margin: -21px 0 0 -21px; | |
79 | position: absolute; | |
80 | top: 50%; | |
81 | } | |
82 | ||
6088ac61 AE |
83 | .lbLoading { |
84 | background: #fff url(../icon/spinner.svg) no-repeat center; | |
85 | background-size: 48px; | |
86 | } | |
87 | ||
88 | #lbImage { | |
89 | background-repeat: no-repeat; | |
4c51a0e9 | 90 | background-size: cover; |
6088ac61 AE |
91 | border: 10px solid #fff; |
92 | left: 0; | |
93 | position: absolute; | |
94 | top: 0; | |
4c51a0e9 AE |
95 | |
96 | &:hover { | |
97 | #lbNextLink, | |
98 | #lbPrevLink { | |
99 | opacity: 1; | |
9f959ced | 100 | |
4c51a0e9 AE |
101 | .transition(opacity, .2s); |
102 | } | |
103 | } | |
6088ac61 AE |
104 | } |
105 | ||
106 | #lbBottom { | |
107 | border: 10px solid #fff; | |
108 | border-top-style: none; | |
109 | color: #666; | |
110 | } | |
111 | ||
112 | #lbCaption, #lbNumber { | |
113 | margin-right: 71px; | |
114 | } | |
115 | ||
116 | #lbCaption { | |
117 | font-weight: bold; | |
118 | } |