|
3 | 3 | height: 688px;
|
4 | 4 | font-family: $font__open-sans;
|
5 | 5 |
|
| 6 | + > div { |
| 7 | + background-color: transparent; |
| 8 | + } |
| 9 | + |
6 | 10 | a {
|
7 | 11 | color: $color__navy;
|
8 | 12 | font-weight: $font-weight-bold;
|
|
12 | 16 | font-family: $font__supria-sans;
|
13 | 17 | }
|
14 | 18 |
|
| 19 | + // Buttons |
| 20 | + |
| 21 | + .imageBtn { |
| 22 | + border: 1px solid $color__black; |
| 23 | + background-color: $color__grey-200; |
| 24 | + border-radius: 0; |
| 25 | + color: $color__black; |
| 26 | + text-align: center; |
| 27 | + line-height: 100%; |
| 28 | + |
| 29 | + &.disabled { |
| 30 | + opacity: 0.25; |
| 31 | + } |
| 32 | + |
| 33 | + i { |
| 34 | + background-color: $color__grey-200; |
| 35 | + } |
| 36 | + } |
| 37 | + |
| 38 | + .btn { |
| 39 | + @include typography.relative-font-size(14); |
| 40 | + box-sizing: content-box; |
| 41 | + padding: 5px; |
| 42 | + margin: 0 5px; |
| 43 | + |
| 44 | + &.go { |
| 45 | + display: inline-block; |
| 46 | + width: 30px; |
| 47 | + height: 30px; |
| 48 | + line-height: 30px; |
| 49 | + border: 1px solid $color__black; |
| 50 | + color: $color__black; |
| 51 | + background-color: $color__grey-200; |
| 52 | + } |
| 53 | + |
| 54 | + &.settings, |
| 55 | + &.fullScreen { |
| 56 | + margin-right: 0; |
| 57 | + } |
| 58 | + |
| 59 | + &.download { |
| 60 | + margin-left: 0; |
| 61 | + } |
| 62 | + |
| 63 | + &:focus { |
| 64 | + outline: 0.3125rem solid $color__blue; |
| 65 | + outline-offset: 0.125rem; |
| 66 | + |
| 67 | + i { |
| 68 | + outline: 0; |
| 69 | + } |
| 70 | + } |
| 71 | + } |
| 72 | + |
| 73 | + .btn-primary { |
| 74 | + background-color: $color__navy; |
| 75 | + border-color: $color__white; |
| 76 | + font-family: $font__open-sans; |
| 77 | + } |
| 78 | + |
15 | 79 | // Header Panel (navigation)
|
16 | 80 |
|
17 | 81 | .headerPanel {
|
18 |
| - background-color: $color__grey-200; |
| 82 | + background-color: transparent; |
19 | 83 | height: auto;
|
20 |
| - padding: 1rem 0.5rem; |
| 84 | + padding: 1rem 0; |
21 | 85 |
|
22 | 86 | .search {
|
23 | 87 | margin-top: 0;
|
|
37 | 101 | }
|
38 | 102 |
|
39 | 103 | .options {
|
40 |
| - background-color: $color__grey-200; |
| 104 | + background-color: transparent; |
41 | 105 |
|
42 | 106 | .centerOptions,
|
43 | 107 | .search {
|
|
141 | 205 | // Center Panel (viewer)
|
142 | 206 |
|
143 | 207 | .centerPanel {
|
| 208 | + background-color: transparent; |
| 209 | + |
144 | 210 | .content {
|
145 | 211 | padding: 0;
|
146 | 212 |
|
|
177 | 243 | }
|
178 | 244 | }
|
179 | 245 |
|
180 |
| - // Buttons |
| 246 | + // Footer |
181 | 247 |
|
182 |
| - .imageBtn { |
183 |
| - border: 1px solid $color__black; |
184 |
| - background-color: $color__grey-200; |
185 |
| - border-radius: 0; |
186 |
| - color: $color__black; |
187 |
| - text-align: center; |
188 |
| - line-height: 100%; |
189 |
| - |
190 |
| - &.disabled { |
191 |
| - opacity: 0.25; |
192 |
| - } |
193 |
| - |
194 |
| - i { |
195 |
| - background-color: $color__grey-200; |
196 |
| - } |
197 |
| - } |
198 |
| - |
199 |
| - .btn { |
200 |
| - @include typography.relative-font-size(14); |
201 |
| - box-sizing: content-box; |
202 |
| - padding: 5px; |
203 |
| - margin: 0 5px; |
| 248 | + .mobileFooterPanel { |
| 249 | + background-color: transparent; |
| 250 | + height: auto; |
| 251 | + margin-bottom: 1rem; |
| 252 | + position: relative; |
204 | 253 |
|
205 |
| - &.go { |
206 |
| - display: inline-block; |
207 |
| - width: 30px; |
208 |
| - height: 30px; |
209 |
| - line-height: 30px; |
210 |
| - border: 1px solid $color__black; |
211 |
| - color: $color__black; |
| 254 | + .options { |
212 | 255 | background-color: $color__grey-200;
|
| 256 | + padding: 1rem 0; |
| 257 | + text-align: center; |
| 258 | + position: relative; |
| 259 | + height: auto; |
| 260 | + display: block; |
213 | 261 | }
|
214 | 262 |
|
215 |
| - &:focus { |
216 |
| - outline: 0.3125rem solid $color__blue; |
217 |
| - outline-offset: 0.125rem; |
218 |
| - |
219 |
| - i { |
220 |
| - outline: 0; |
221 |
| - } |
| 263 | + .imageBtn { |
| 264 | + margin-bottom: 0.5rem; |
222 | 265 | }
|
223 | 266 | }
|
224 | 267 |
|
225 |
| - .btn-primary { |
226 |
| - background-color: $color__navy; |
227 |
| - border-color: $color__white; |
228 |
| - font-family: $font__open-sans; |
| 268 | + .footerPanel { |
| 269 | + padding: 1rem 0; |
| 270 | + margin: 0; |
229 | 271 | }
|
230 | 272 |
|
231 | 273 | // Icons
|
|
286 | 328 | width: 30px;
|
287 | 329 | }
|
288 | 330 |
|
| 331 | + .uv-icon-download { |
| 332 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M480-352.923 346.461-486.462l23.308-21.769L464-414v-362h32v362l94.231-94.231 23.308 21.769L480-352.923ZM288.332-232Q264-232 248-248.15t-16-40.465v-48.923h32v48.923q0 9.23 7.692 16.923Q279.385-264 288.615-264h382.77q9.23 0 16.923-7.692Q696-279.385 696-288.615v-48.923h32v48.923q0 24.315-16.162 40.465Q695.676-232 671.344-232H288.332Z'/%3E%3C/svg%3E"); |
| 333 | + background-position: center; |
| 334 | + background-size: 25px 25px; |
| 335 | + height: 30px; |
| 336 | + width: 30px; |
| 337 | + } |
| 338 | + |
| 339 | + .uv-icon-share { |
| 340 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M696.091-116q-41.63 0-70.86-29.167Q596-174.333 596-216q0-8.979 1.385-16.528 1.384-7.549 4.153-17.087L335.846-413.077q-12.692 17.539-31.508 25.308Q285.523-380 264-380q-41.667 0-70.833-29.14Q164-438.28 164-479.91q0-41.629 29.167-70.859Q222.333-580 264-580q21.231 0 40.192 8.269 18.962 8.269 31.654 24.808l265.692-163.462q-2.769-9.538-4.153-17.087Q596-735.021 596-744q0-41.667 29.14-70.833Q654.281-844 695.909-844q41.63 0 70.86 29.14Q796-785.719 796-744.091q0 41.63-29.167 70.86Q737.667-644 696-644q-21.523 0-40.339-7.769-18.815-7.769-31.507-25.308L358.462-513.615q2.769 9.538 4.154 17.033Q364-489.088 364-480.159q0 8.928-1.384 16.582-1.385 7.654-4.154 17.192l265.692 163.462q12.692-18.539 31.507-25.808Q674.477-316 696-316q41.667 0 70.833 29.14Q796-257.72 796-216.09q0 41.629-29.14 70.859Q737.719-116 696.091-116ZM696-676q28.092 0 48.046-19.954T764-744q0-28.092-19.954-48.046T696-812q-28.092 0-48.046 19.954T628-744q0 28.092 19.954 48.046T696-676ZM264-412q28.092 0 48.046-19.954T332-480q0-28.092-19.954-48.046T264-548q-28.092 0-48.046 19.954T196-480q0 28.092 19.954 48.046T264-412Zm432 264q28.092 0 48.046-19.954T764-216q0-28.092-19.954-48.046T696-284q-28.092 0-48.046 19.954T628-216q0 28.092 19.954 48.046T696-148Zm0-596ZM264-480Zm432 264Z'/%3E%3C/svg%3E"); |
| 341 | + background-position: center; |
| 342 | + background-size: 25px 25px; |
| 343 | + height: 30px; |
| 344 | + width: 30px; |
| 345 | + } |
| 346 | + |
| 347 | + .uv-icon-fullscreen { |
| 348 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M184-184v-168.923h32V-216h136.923v32H184Zm423.846 0v-32h136.923v-136.923h32V-184H607.846ZM184-607.077V-776h168.923v32H216v136.923h-32Zm560.769 0V-744H607.846v-32h168.923v168.923h-32Z'/%3E%3C/svg%3E"); |
| 349 | + background-position: center; |
| 350 | + background-size: 25px 25px; |
| 351 | + height: 30px; |
| 352 | + width: 30px; |
| 353 | + } |
| 354 | + |
| 355 | + .uv-icon-zoom-in { |
| 356 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M464-464H280v-32h184v-184h32v184h184v32H496v184h-32v-184Z'/%3E%3C/svg%3E") !important; |
| 357 | + background-position: center; |
| 358 | + background-size: 25px 25px; |
| 359 | + height: 30px; |
| 360 | + width: 30px; |
| 361 | + } |
| 362 | + |
| 363 | + .uv-icon-zoom-out { |
| 364 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M272-464v-32h416v32H272Z'/%3E%3C/svg%3E") !important; |
| 365 | + background-position: center; |
| 366 | + background-size: 25px 25px; |
| 367 | + height: 30px; |
| 368 | + width: 30px; |
| 369 | + } |
| 370 | + |
| 371 | + .uv-icon-rotate { |
| 372 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M516-93v-33q41-6 79-24t70-49l23.308 21.769q-34.308 35.847-79.269 56.27Q564.077-100.538 516-93Zm-72 0q-111.308-11.692-185.654-95.038Q184-271.385 184-387q0-61.539 23.038-115.231 23.039-53.692 63.539-94.192 40.5-40.5 94.192-63.039Q418.461-682 480-682h63.615L432.077-792.539l23.308-21.769L597.693-672 455.385-530.692 432.077-554l97-96H479q-110 0-186.5 76.5T216-387q0 101 64 174t164 88.538V-93Zm288.769-138.692L708-257q19-33 27.385-68.615 8.384-35.616 9.153-73.385H776q0 43.308-9.807 86.269-9.808 42.962-33.424 81.039ZM765-471h-34.462q-9.769-28.769-25.153-54.385Q690-551 667-574l21.769-22.308q26.847 26.077 46.039 57.769Q754-506.846 765-471Z'/%3E%3C/svg%3E") !important; |
| 373 | + background-position: center; |
| 374 | + background-size: 25px 25px; |
| 375 | + height: 30px; |
| 376 | + width: 30px; |
| 377 | + } |
| 378 | + |
| 379 | + .uv-icon-more-info { |
| 380 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M464-308h32v-220h-32v220Zm15.789-268.923q8.673 0 14.75-5.867 6.076-5.866 6.076-14.538t-5.866-14.749q-5.866-6.077-14.538-6.077-8.673 0-14.75 5.866-6.076 5.867-6.076 14.539T465.251-583q5.866 6.077 14.538 6.077Zm.62 440.923q-70.948 0-133.685-26.839-62.737-26.84-109.865-73.922-47.127-47.082-73.993-109.716Q136-409.111 136-480.325q0-71.214 26.839-133.451 26.84-62.237 73.922-109.365 47.082-47.127 109.716-73.993Q409.111-824 480.325-824q71.214 0 133.451 26.839 62.237 26.84 109.365 73.922 47.127 47.082 73.993 109.482Q824-551.357 824-480.409q0 70.948-26.839 133.685-26.84 62.737-73.922 109.865-47.082 47.127-109.482 73.993Q551.357-136 480.409-136ZM480-168q130 0 221-91t91-221q0-130-91-221t-221-91q-130 0-221 91t-91 221q0 130 91 221t221 91Zm0-312Z'/%3E%3C/svg%3E"); |
| 381 | + background-position: center; |
| 382 | + background-size: 25px 25px; |
| 383 | + height: 30px; |
| 384 | + width: 30px; |
| 385 | + } |
| 386 | + |
289 | 387 | // Overlay window
|
290 | 388 | .overlays {
|
291 | 389 | @include typography.relative-font-size(14);
|
292 | 390 | font-family: $font__open-sans;
|
293 | 391 | }
|
294 |
| - |
295 |
| - // Mobile footer |
296 |
| - .mobileFooterPanel { |
297 |
| - height: auto; |
298 |
| - } |
299 | 392 | }
|
300 | 393 |
|
301 | 394 | // Override OpenSeaDragon styling (...sorry)
|
|
0 commit comments