2013-07-05 19:23:28 +02:00
|
|
|
body {
|
|
|
|
/* This chops off any overhanging divs */
|
2013-07-26 23:54:21 +02:00
|
|
|
overflow:hidden;
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Portrait */
|
|
|
|
@media screen and (orientation:portrait) {
|
|
|
|
body {
|
|
|
|
/* background-color: #08F;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
#landscape {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#portrait {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Landscape */
|
|
|
|
@media screen and (orientation:landscape) {
|
|
|
|
body {
|
|
|
|
/* background-color: #8F0;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
#landscape {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#portrait {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-18 10:46:36 +02:00
|
|
|
/*
|
2013-07-05 19:23:28 +02:00
|
|
|
|
2013-09-18 10:46:36 +02:00
|
|
|
Containers and content blocks
|
|
|
|
|
|
|
|
*/
|
|
|
|
#landscape {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2013-09-18 16:02:51 +02:00
|
|
|
max-width: 1024px;
|
2013-09-27 18:15:33 +02:00
|
|
|
min-width: 900px;
|
|
|
|
min-height: 500px;
|
2013-09-18 16:02:51 +02:00
|
|
|
max-height: 768px;
|
2013-09-18 10:46:36 +02:00
|
|
|
margin: 0px auto;
|
|
|
|
}
|
|
|
|
/* http://stackoverflow.com/questions/8129524/simulate-inner-border-in-css */
|
2013-09-18 16:02:51 +02:00
|
|
|
#landscape:before {
|
2013-09-18 10:46:36 +02:00
|
|
|
content:' ';
|
|
|
|
display:block;
|
|
|
|
position:absolute;
|
|
|
|
left:0;
|
|
|
|
top:0;
|
|
|
|
right:0;
|
|
|
|
bottom:0;
|
|
|
|
border: 2px solid #333;
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
2013-09-18 19:08:58 +02:00
|
|
|
.uiButtonsContainer {
|
2013-09-18 10:46:36 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#drawAreaContainer {
|
|
|
|
position: absolute;
|
2013-09-18 10:46:36 +02:00
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2013-08-30 09:51:05 +02:00
|
|
|
background-color: #fff;
|
2013-09-18 16:02:51 +02:00
|
|
|
width: 65%;
|
2013-09-27 18:15:33 +02:00
|
|
|
min-width: 500px;
|
2013-09-18 10:46:36 +02:00
|
|
|
max-width: 650px;
|
2013-09-18 16:02:51 +02:00
|
|
|
height: 60%;
|
2013-09-18 10:46:36 +02:00
|
|
|
min-height: 150px;
|
2013-09-18 16:02:51 +02:00
|
|
|
max-height: 450px;
|
2013-09-18 19:08:58 +02:00
|
|
|
border: 4px solid #000;
|
|
|
|
border-radius: 15px;
|
2013-09-27 18:15:33 +02:00
|
|
|
/*overflow: hidden;*/
|
|
|
|
z-index: 15;
|
|
|
|
display: none;
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
2013-09-18 16:02:51 +02:00
|
|
|
#canvasContainers {
|
2013-09-18 17:45:02 +02:00
|
|
|
display:table;
|
2013-08-21 17:37:20 +02:00
|
|
|
position: absolute;
|
2013-09-18 16:02:51 +02:00
|
|
|
top: 0;
|
2013-09-18 17:45:02 +02:00
|
|
|
bottom: 0;
|
2013-09-18 16:02:51 +02:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
2013-09-18 17:45:02 +02:00
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2013-09-18 16:02:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#mycanvasContainer {
|
2013-09-18 17:45:02 +02:00
|
|
|
display:table-cell;
|
|
|
|
width: auto;
|
|
|
|
height: 100%;
|
2013-09-18 16:02:51 +02:00
|
|
|
}
|
2013-09-18 17:45:02 +02:00
|
|
|
#mycanvas {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
/*float: left;*/
|
|
|
|
border-right: 2px solid #333;
|
2013-07-26 23:54:21 +02:00
|
|
|
}
|
|
|
|
|
2013-09-18 19:08:58 +02:00
|
|
|
#previewContainer {
|
|
|
|
display:table-cell;
|
|
|
|
width: 150px;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2013-07-05 19:23:28 +02:00
|
|
|
#preview {
|
2013-09-18 16:02:51 +02:00
|
|
|
width: 150px;
|
|
|
|
height: 100%;
|
2013-09-18 17:45:02 +02:00
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-09-18 16:02:51 +02:00
|
|
|
}
|
2013-09-18 10:46:36 +02:00
|
|
|
|
2013-09-18 19:08:58 +02:00
|
|
|
/* DEBUG THING */
|
2013-09-18 16:02:51 +02:00
|
|
|
#preview_tmp {
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
z-index: 500;
|
|
|
|
border: 1px solid #f80;
|
|
|
|
display: none;
|
2013-09-18 10:46:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
Buttons and logo's
|
|
|
|
|
|
|
|
*/
|
|
|
|
.button {
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
#d3dlogo {
|
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
left: 31%;
|
|
|
|
width: 399px;
|
|
|
|
height: 139px;
|
|
|
|
background-image: url('../img/logo_full.png');
|
|
|
|
cursor: pointer;
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.vertImage {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2013-07-26 23:54:21 +02:00
|
|
|
/*border: 2px solid #f0f;*/
|
2013-07-05 19:23:28 +02:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
width: auto; /* for ie9 */
|
|
|
|
}
|
|
|
|
|
|
|
|
.bgTop {
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
z-index: -5;
|
|
|
|
}
|
|
|
|
.bgMiddle {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 30%;
|
|
|
|
left: 0px;
|
|
|
|
z-index: -5;
|
|
|
|
}
|
|
|
|
.bgBottom {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
z-index: -5;
|
|
|
|
}
|
|
|
|
|
2013-09-17 13:08:52 +02:00
|
|
|
/* PRINT PROGRESS DISPLAY */
|
|
|
|
#printProgressContainer {
|
|
|
|
position: absolute;
|
|
|
|
right: 30px;
|
|
|
|
top: 370px;
|
|
|
|
width: 110px;
|
|
|
|
margin: 5px 0px;
|
|
|
|
font-weight: bold;
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
#progressbarContainer {
|
|
|
|
margin: 3px 0px;
|
|
|
|
width: inherit;
|
|
|
|
height: 20px;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 2px solid #333;
|
|
|
|
border-radius: 5px;
|
|
|
|
-o-border-radius: 5px;
|
|
|
|
-moz-border-radius: 5px;
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
}
|
|
|
|
.progressAmount {
|
|
|
|
margin: 0px 5px;
|
|
|
|
}
|
|
|
|
#progressbar {
|
|
|
|
position: relative;
|
|
|
|
/*margin-bottom: -20px;*/
|
|
|
|
width: 0%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: #4c4;
|
|
|
|
border: 0px solid #f0f;
|
|
|
|
border-radius: 3px;
|
|
|
|
-o-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* THERMOMETER */
|
|
|
|
#thermometerContainer {
|
|
|
|
position: absolute;
|
2013-09-18 16:19:06 +02:00
|
|
|
right: 25px;
|
|
|
|
top: 370px;
|
2013-09-17 13:08:52 +02:00
|
|
|
}
|
|
|
|
#thermometerCanvas {
|
|
|
|
/*background: #59b2b8;*/
|
|
|
|
/*zoom: 2;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-07-26 23:54:21 +02:00
|
|
|
/* The code below is for resizing UI elements as the viewport becomes less high (suitable for tablets & smartphones) */
|
2013-07-27 18:19:50 +02:00
|
|
|
@media screen and (max-height: 675px) {
|
2013-07-05 19:23:28 +02:00
|
|
|
.bgMiddle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#d3dlogo {
|
2013-09-17 13:08:52 +02:00
|
|
|
width: 399px;
|
|
|
|
height: 74px;
|
|
|
|
background-image: url('../img/logo_small.png');
|
|
|
|
margin-top: 9px;
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#btnsUpDown, #btnsTurnLeftRight {
|
2013-07-27 18:19:50 +02:00
|
|
|
zoom: 0.94;
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: translate(0px,-5px) scale(.94);
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
2013-07-28 02:46:32 +02:00
|
|
|
#btnNew {
|
|
|
|
zoom: 0.94;
|
|
|
|
-moz-transform: translate(-5px,-5px) scale(.94);
|
|
|
|
}
|
|
|
|
#btnOops {
|
|
|
|
zoom: 0.94;
|
|
|
|
-moz-transform: translate(-5px,-10px) scale(0.94);
|
|
|
|
}
|
|
|
|
|
2013-07-05 19:23:28 +02:00
|
|
|
#btnPrint {
|
|
|
|
right: 10px;
|
|
|
|
top: 10px;
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: translate(5px,-5px);
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
2013-07-28 02:46:32 +02:00
|
|
|
|
2013-07-05 19:23:28 +02:00
|
|
|
.btn {
|
2013-07-27 18:19:50 +02:00
|
|
|
zoom: 0.94;
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: scale(.94);
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
2013-09-18 16:02:51 +02:00
|
|
|
/*#drawAreaContainer {*/
|
|
|
|
/*top: 128px;*/
|
|
|
|
/*height: 350px;*/
|
|
|
|
/*}*/
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
2013-07-27 18:19:50 +02:00
|
|
|
@media screen and (max-height: 560px) {
|
2013-07-05 19:23:28 +02:00
|
|
|
#d3dlogo {
|
2013-09-17 13:08:52 +02:00
|
|
|
width: 399px;
|
|
|
|
height: 57px;
|
|
|
|
background-image: url('../img/logo_smaller_wide.png');
|
|
|
|
margin-top: 14px;
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#btnsUpDown, #btnsTurnLeftRight {
|
2013-07-27 18:19:50 +02:00
|
|
|
zoom: 0.86;
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: translate(0px,-7px) scale(0.86);
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#btnPrint {
|
|
|
|
right: 6px;
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: translate(10px,-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#btnNew {
|
|
|
|
zoom: 0.86;
|
|
|
|
-moz-transform: translate(-10px,-10px) scale(.86);
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2013-07-27 18:19:50 +02:00
|
|
|
zoom: 0.86;
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: scale(.86);
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
2013-07-27 18:19:50 +02:00
|
|
|
#btnOops {
|
|
|
|
top: 350px;
|
2013-07-28 02:46:32 +02:00
|
|
|
zoom: 0.86;
|
|
|
|
-moz-transform: translate(-10px,-25px) scale(.86);
|
2013-07-27 18:19:50 +02:00
|
|
|
}
|
|
|
|
#btnSave {
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: translate(-5px,-13px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#btnPrevious, #btnNext {
|
|
|
|
-moz-transform: translate(-5px,-10px);
|
2013-07-27 18:19:50 +02:00
|
|
|
}
|
|
|
|
|
2013-09-18 16:02:51 +02:00
|
|
|
/*#drawAreaContainer {*/
|
|
|
|
/*top: 110px;*/
|
|
|
|
/*height: 350px;*/
|
|
|
|
/*}*/
|
2013-07-05 19:23:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|