1 | #imageHeaderBar .imageNumber { |
---|
2 | /* moved by prefilter from imageToolBar*/ |
---|
3 | float: right; |
---|
4 | } |
---|
5 | |
---|
6 | #imageHeaderBar H2 { |
---|
7 | display: inline; |
---|
8 | text-align: center; |
---|
9 | padding: 0; |
---|
10 | } |
---|
11 | |
---|
12 | #imageToolBar { |
---|
13 | text-align: center; |
---|
14 | margin-bottom: 2px; |
---|
15 | padding-top: 2px; |
---|
16 | height: 28px; |
---|
17 | {if !empty($skin.pictureBar.backgroundColor)} |
---|
18 | background-color: {$skin.pictureBar.backgroundColor}; |
---|
19 | {/if} |
---|
20 | } |
---|
21 | |
---|
22 | #imageToolBar .actionButtons { |
---|
23 | float: left; |
---|
24 | } |
---|
25 | |
---|
26 | #imageToolBar .navigationButtons { |
---|
27 | float: right; |
---|
28 | } |
---|
29 | |
---|
30 | #imageToolBar .pwg-button { |
---|
31 | width:42px; |
---|
32 | } |
---|
33 | |
---|
34 | #theImage { |
---|
35 | text-align: center; |
---|
36 | } |
---|
37 | |
---|
38 | #imageInfos { |
---|
39 | position: relative; /*for IE7 positioning of "who can see this photo"*/ |
---|
40 | min-height: 166px; |
---|
41 | } |
---|
42 | |
---|
43 | #linkPrev { |
---|
44 | float: left; |
---|
45 | margin: 0 10px 0 5px; |
---|
46 | } |
---|
47 | |
---|
48 | #linkNext { |
---|
49 | float: right; |
---|
50 | margin: 0 5px 0 10px; |
---|
51 | text-align: right; |
---|
52 | } |
---|
53 | |
---|
54 | DIV.thumbHover { /* first & last holders only*/ |
---|
55 | width: {$SQUARE_WIDTH}px; |
---|
56 | height: {$SQUARE_WIDTH}px; |
---|
57 | border: 1px solid #ccc; |
---|
58 | padding: 0 5px; |
---|
59 | -moz-box-sizing: border-box; |
---|
60 | box-sizing: border-box; |
---|
61 | } |
---|
62 | |
---|
63 | .imageInfoTable UL { /*this is the album list*/ |
---|
64 | margin: 0; |
---|
65 | padding: 0 0 0 1em; |
---|
66 | list-style-type: square; |
---|
67 | } |
---|
68 | |
---|
69 | .rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty { |
---|
70 | padding:0; |
---|
71 | border: 0 !important; |
---|
72 | {if !empty($skin.controls.boxShadow) || !empty($skin.buttons.boxShadow) || !empty($skin.buttonsHover.boxShadow)} |
---|
73 | box-shadow: none !important; |
---|
74 | {/if} |
---|
75 | } |
---|
76 | |
---|
77 | .rateButton, .rateButtonStarFull, .rateButtonStarEmpty { |
---|
78 | cursor: pointer; |
---|
79 | } |
---|
80 | |
---|
81 | .rateButtonSelected { |
---|
82 | font-weight: bold; |
---|
83 | font-size: 120%; |
---|
84 | } |
---|
85 | |
---|
86 | .rateButtonStarFull { |
---|
87 | background: transparent url('../../default/icon/rating-stars.gif') no-repeat -16px center !important; |
---|
88 | width:16px; |
---|
89 | } |
---|
90 | |
---|
91 | .rateButtonStarEmpty { |
---|
92 | background: transparent url('../../default/icon/rating-stars.gif') no-repeat 0 center !important; |
---|
93 | width:16px; |
---|
94 | } |
---|
95 | |
---|
96 | .imageInfoTable { |
---|
97 | display:table; |
---|
98 | margin: auto; |
---|
99 | font-family: Tahoma,Verdana,Helvetica,Arial,sans-serif; |
---|
100 | } |
---|
101 | |
---|
102 | .imageInfo { |
---|
103 | display: table-row; |
---|
104 | line-height: 20px; |
---|
105 | } |
---|
106 | |
---|
107 | .imageInfo DT { |
---|
108 | display:table-cell; |
---|
109 | text-align:right; |
---|
110 | font-weight:bold; |
---|
111 | padding-right:0.5em; |
---|
112 | } |
---|
113 | |
---|
114 | .imageInfo DD { |
---|
115 | display:table-cell; |
---|
116 | text-align:left; |
---|
117 | font-weight:normal; |
---|
118 | } |
---|
119 | |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | @media screen { |
---|
125 | /*picture page wide screen*/ |
---|
126 | .wide #theImage { |
---|
127 | display: inline; |
---|
128 | float: left; |
---|
129 | width: 76.1%; /*min default picture derivative width*/ |
---|
130 | } |
---|
131 | |
---|
132 | .wide #imageInfos { |
---|
133 | margin-left: 76.5%; /*default picture derivative width + ~ 5px; must have enough space for thumbs*/ |
---|
134 | border-radius: 8px 0 0 8px; |
---|
135 | {if !empty($skin.pictureWideInfoTable.backgroundColor)} |
---|
136 | background-color: {$skin.pictureWideInfoTable.backgroundColor}; |
---|
137 | {/if} |
---|
138 | } |
---|
139 | |
---|
140 | .wide .navThumbs { |
---|
141 | min-width: {2*$SQUARE_WIDTH+2}px; |
---|
142 | width: 90%; |
---|
143 | max-width: {2*$SQUARE_WIDTH+40}px; |
---|
144 | height: {$SQUARE_WIDTH+4}px; |
---|
145 | margin: auto; |
---|
146 | padding-top: 10px; |
---|
147 | } |
---|
148 | |
---|
149 | .wide .navThumb { |
---|
150 | width: {$SQUARE_WIDTH}px; |
---|
151 | height: {$SQUARE_WIDTH}px; |
---|
152 | margin: 0 !important; |
---|
153 | overflow: hidden; |
---|
154 | text-align: left; |
---|
155 | } |
---|
156 | |
---|
157 | .wide .thumbHover { |
---|
158 | width: {$SQUARE_WIDTH}px; |
---|
159 | height: {$SQUARE_WIDTH}px; |
---|
160 | position: absolute; |
---|
161 | } |
---|
162 | |
---|
163 | |
---|
164 | .wide .prevThumbHover:hover { background: transparent url(../images/img_prev.png) no-repeat center center;} |
---|
165 | .wide .nextThumbHover:hover { background: transparent url(../images/img_next.png) no-repeat center center;} |
---|
166 | |
---|
167 | .wide .imageInfoTable { |
---|
168 | display: block; |
---|
169 | padding: 0 5px 0 10px; |
---|
170 | margin: 0; /*need this for ie7 override in fix-ie7*/ |
---|
171 | } |
---|
172 | |
---|
173 | .wide .imageInfo DT { |
---|
174 | display: block; |
---|
175 | text-align: left; |
---|
176 | padding: 0; |
---|
177 | } |
---|
178 | |
---|
179 | .wide .imageInfo DD { |
---|
180 | display: block; |
---|
181 | text-align: left; |
---|
182 | margin: 0 0 5px 10px; |
---|
183 | } |
---|
184 | |
---|
185 | {if !empty($skin.widePictureBar)} |
---|
186 | .wide #imageToolBar { |
---|
187 | {if !empty($skin.widePictureBar.backgroundColor)} |
---|
188 | background-color: {$skin.widePictureBar.backgroundColor}; |
---|
189 | {/if} |
---|
190 | } |
---|
191 | {/if} |
---|
192 | } |
---|
193 | |
---|
194 | @media screen and (max-width:800px), |
---|
195 | screen and (-webkit-min-device-pixel-ratio:1.3) { |
---|
196 | .navThumb IMG { |
---|
197 | max-width: {($SQUARE_WIDTH/2)|intval}px; |
---|
198 | height: auto; |
---|
199 | } |
---|
200 | |
---|
201 | .wide .navThumbs { |
---|
202 | height: {18+($SQUARE_WIDTH/2)|intval}px; |
---|
203 | min-width: {$SQUARE_WIDTH+6}px; |
---|
204 | max-width: {$SQUARE_WIDTH+40}px; |
---|
205 | } |
---|
206 | |
---|
207 | .navThumb, .thumbHover { /* applies to wide&non wide including first & last*/ |
---|
208 | width: {($SQUARE_WIDTH/2)|intval}px !important; |
---|
209 | height: {($SQUARE_WIDTH/2)|intval}px !important; |
---|
210 | line-height: 1; /*for first & last*/ |
---|
211 | } |
---|
212 | |
---|
213 | } |
---|
214 | |
---|
215 | |
---|
216 | |
---|
217 | |
---|
218 | #imageActionsSwitch { |
---|
219 | display: none; |
---|
220 | } |
---|
221 | @media screen and (max-width:600px) { |
---|
222 | #imageActionsSwitch { |
---|
223 | display: block; |
---|
224 | text-align: left; |
---|
225 | float: left; |
---|
226 | } |
---|
227 | |
---|
228 | .actionButtonsWrapper { |
---|
229 | position: relative; |
---|
230 | } |
---|
231 | |
---|
232 | .actionButtonsWrapper .actionButtons { |
---|
233 | display: none; |
---|
234 | position: absolute; |
---|
235 | z-index: 1; |
---|
236 | min-width: 200px; |
---|
237 | background-color: {$skin.dropdowns.backgroundColor}; |
---|
238 | padding-top: 10px; |
---|
239 | box-shadow: 2px 2px 5px gray; |
---|
240 | opacity: 0.95; |
---|
241 | } |
---|
242 | |
---|
243 | #imageToolBar .actionButtons .pwg-button { |
---|
244 | display: block; |
---|
245 | width: auto; |
---|
246 | text-align: left; |
---|
247 | height: 32px; |
---|
248 | padding-left: 5px; |
---|
249 | padding-right: 5px; |
---|
250 | } |
---|
251 | |
---|
252 | #imageToolBar .actionButtons .pwg-button-text { |
---|
253 | display: inline; |
---|
254 | margin-left: 5px; |
---|
255 | text-transform: capitalize; |
---|
256 | } |
---|
257 | |
---|
258 | .imageInfoTable { |
---|
259 | padding-top: 5px; |
---|
260 | clear: both; |
---|
261 | } |
---|
262 | } |
---|
263 | |
---|