1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
6 font-family: sans-serif;
8 background: url("loading.png") repeat;
23 /* Main window UI areas */
44 transition-property: opacity;
45 transition-duration: .2s;
50 transition-duration: 1s;
66 .autoFade > input[type="button"],
67 .autoFade > .controlButton {
73 background-color: rgba(255, 255, 255, .25);
74 background-image: radial-gradient(circle 1.5em, #FFFFFF, transparent);
81 #zoomArea > input[type="button"] {
82 border: 2px solid #0000FF;
85 .autoFade > input[type="button"]:hover,
86 .autoFade > .controlButton:hover {
87 background-color: rgba(255, 255, 255, .8);
90 .autoFade > input[type="button"]:active,
91 .autoFade > .controlButton:active {
92 background-color: rgba(255, 255, 127, .8);
95 .autoFade > input[type="button"]:focus,
96 .autoFade > .controlButton:focus {
97 background-color: rgba(255, 255, 255, .5);
107 /* background-color: rgba(255, 255, 255, .8); */
108 background-image: radial-gradient(circle 1.5em, #FFFFFF, transparent);
120 background-color: rgba(255, 255, 255, .8);
126 vertical-align: text-bottom;
136 background-color: rgba(255, 255, 255, 1);
146 /* non-standard touch screen detection for Mozilla browsers */
147 .overlayArea:-moz-system-metric(touch-enabled),
148 .menuDrawer:-moz-system-metric(touch-enabled) {
152 /* Standard, Media Queries Level 4 touch screen detection */
153 @media (pointer:coarse) {
160 .overlayArea input[type="button"],
163 .menuDrawer input[type="button"],
165 .menuDrawer input[type="text"],
166 .menuDrawer input[type="number"],
177 transform: translateX(calc(-40ch - 1ch)); /* account for padding */
179 max-width: 95%; /* make sure we don't overflow the screen */
181 padding: 0 .5ch; /* account for legend */
184 transition-property: transform;
185 transition-duration: 1s;
186 transition-timing-function: ease;
189 .menuDrawer:not(.hidden) {
190 transform: translateX(0);
193 @media screen and (max-width: 330px) {
195 transform: translateX(calc(-300px - 1ch)); /* account for padding */
209 background-color: #CCCCCC;
215 .menuDrawer > h2 > img {
216 vertical-align: text-top;
220 /* For optical conveniece, display an "x" for closing. */
221 .menuDrawer > h2:after {
222 content: '\00D7'; /* multiplication sign */
223 display: inline-block;
224 vertical-align: text-top;
242 border-top: 2px solid;
243 border-bottom: 2px solid;
251 /* Secondary UI: menu drawers, full screen overlays, etc. */
253 background-color: rgba(15, 15, 15, .9);
257 /* Custom checkbox design */
258 .secondaryUI input[type="checkbox"] {
262 .secondaryUI input[type="checkbox"] + label:before {
263 content: '\00A0'; /* non-breaking space */
264 display: inline-block;
269 vertical-align: middle;
270 background-color: rgba(204, 204, 204, .2);
271 border: 1px solid #CCCCCC;
275 .secondaryUI input[type="checkbox"]:hover + label:before {
276 background-color: rgba(204, 204, 204, .4);
277 border: 1px solid #FFFFFF;
279 .secondaryUI input[type="checkbox"]:hover + label {
285 .secondaryUI input[type="checkbox"]:active + label:before {
286 background-color: rgba(204, 204, 255, .3);
287 border: 1px solid #FFCCAA;
289 .secondaryUI input[type="checkbox"]:active + label {
293 .secondaryUI input[type="checkbox"]:checked + label:before {
294 content: '\2714'; /* tick mark */
297 /* Custom button design */
298 .secondaryUI input[type="button"],
299 .secondaryUI button {
301 vertical-align: middle;
302 background-image: none;
303 background-color: rgba(204, 204, 204, .2);
306 border: 1px solid #CCCCCC;
310 .secondaryUI input[type="button"]:disabled,
311 .secondaryUI button:disabled {
312 background-color: rgba(204, 204, 204, .1);
313 color: rgba(204, 204, 204, .5);
314 border: 1px solid rgba(255, 255, 255, .5);
317 .secondaryUI input[type="button"]:not(:disabled):hover,
318 .secondaryUI button:not(:disabled):hover {
319 background-color: rgba(204, 204, 204, .4);
320 border: 1px solid #FFFFFF;
323 .secondaryUI input[type="button"]:not(:disabled):active,
324 .secondaryUI button:not(:disabled):active {
325 background-color: rgba(204, 204, 255, .3);
328 padding-right: calc(.5em - 1px);
330 padding-left: calc(.5em + 1px);
333 /* Custom select design */
334 .secondaryUI select {
336 vertical-align: middle;
337 background-image: none;
338 background-color: rgba(204, 204, 204, .2);
341 border: 1px solid #CCCCCC;
345 .secondaryUI select:hover {
346 background-color: rgba(204, 204, 204, .4);
347 border: 1px solid #FFFFFF;
350 .secondaryUI select:active {
351 background-color: rgba(204, 204, 255, .3);
355 .secondaryUI option:checked:not(:hover) {
356 background-color: rgba(204, 204, 204, .1);
359 .secondaryUI option:hover {
360 background-color: #CCCCCC;
364 /* Custom textbox design */
365 .secondaryUI input[type="text"],
366 .secondaryUI input[type="number"] {
368 vertical-align: middle;
369 background-image: none;
370 background-color: rgba(204, 204, 204, .7);
373 border: 1px solid #CCCCCC;
377 .secondaryUI input[type="text"] {
381 .secondaryUI input[type="number"] {
385 .secondaryUI input[type="text"]:disabled,
386 .secondaryUI input[type="number"]:disabled {
387 background-color: rgba(204, 204, 204, .1);
388 color: rgba(204, 204, 204, .5);
389 border: 1px solid rgba(255, 255, 255, .5);
392 .secondaryUI input[type="text"]:not(:disabled):hover,
393 .secondaryUI input[type="number"]:not(:disabled):hover {
394 border: 1px solid #FFFFFF;
397 .secondaryUI input[type="text"]:not(:disabled):focus,
398 .secondaryUI input[type="number"]:not(:disabled):focus {
399 background-color: rgba(204, 204, 255, .8);
400 border: 1px solid #FFFFFF;
404 /* custom style for paragraphs and links */
405 .secondaryUI p.subTitle {
406 margin: .75em 0 .5em;
410 .secondaryUI a:link {
414 .secondaryUI a:visited {
418 .secondaryUI a:hover {
422 .overlayArea .minorbutton {
424 border: none !important;
427 .overlayArea .minorbutton:not(:disabled):active {
428 padding: 0 1px 0 3px;
430 .overlayArea .statusmsg {
433 .overlayArea .statusmsg.error {
443 /* dialog area - for loading error and welcome messages */
452 background-color: rgba(255, 255, 255, .8);
473 /* full screen overlay - library, etc. */
481 background-color: rgba(15, 15, 15, 1.0);
488 .fullScreenOverlay.hidden {
495 .fullScreenOverlay > .closeButtonContainer {
504 .fullScreenOverlay > .closeButtonContainer > .closeButton {
509 .fullScreenOverlay p {
513 .fullScreenOverlay > p:first-child {
515 /* leave space for close button */
521 /* 2em is top/bottom margin, and one line is shown above and below, with .5em margin each */
522 height: calc(100% - 5em);
529 /* small screen media adaptations */
530 @media screen and (max-width: 500px),
531 screen and (max-height: 500px) {