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
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.button {
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
2013-07-28 02:46:32 +02:00
|
|
|
/*.big {*/
|
|
|
|
/*background: #a6e19c;*/
|
|
|
|
/*border: 1px solid #222;*/
|
|
|
|
/*height: 64px;*/
|
|
|
|
/*width: 64px;*/
|
|
|
|
/*display: table-cell;*/
|
|
|
|
/*vertical-align: middle;*/
|
|
|
|
/*text-align: center;*/
|
|
|
|
/*border-radius: 32px;*/
|
|
|
|
/*-moz-border-radius: 32px;*/
|
|
|
|
/*-webkit-border-radius: 32px;*/
|
|
|
|
/*}*/
|
|
|
|
/*.small {*/
|
|
|
|
/*background: #a3d5f7;*/
|
|
|
|
/*border: 1px solid #222;*/
|
|
|
|
/*height: 40px;*/
|
|
|
|
/*width: 40px;*/
|
|
|
|
/*display: table-cell;*/
|
|
|
|
/*vertical-align: middle;*/
|
|
|
|
/*text-align: center;*/
|
|
|
|
/*border-radius: 20px;*/
|
|
|
|
/*-moz-border-radius: 20px;*/
|
|
|
|
/*-webkit-border-radius: 20px;*/
|
|
|
|
/*}*/
|
2013-07-05 19:23:28 +02:00
|
|
|
|
|
|
|
#logo {
|
|
|
|
position: absolute;
|
|
|
|
/*left: 50%;*/
|
|
|
|
/*margin-left: -220px;*/
|
|
|
|
top: 20px;
|
|
|
|
left: 315px;
|
|
|
|
width: 400px;
|
|
|
|
height: 140px;
|
|
|
|
}
|
|
|
|
|
2013-07-26 23:54:21 +02:00
|
|
|
/*ha {*/
|
|
|
|
/*background: #f5f5f5 url('../images/bg.jpg') no-repeat;*/
|
|
|
|
/*}*/
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
position: fixed;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
border: 2px solid #333;
|
|
|
|
width: 1024px;
|
|
|
|
min-height: 500px;
|
|
|
|
max-height: 768px;
|
|
|
|
height: 100%;
|
|
|
|
/* height: 768px;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
#d3dlogo {
|
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
left: 31%;
|
|
|
|
content:url("../img/logo_full.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#svg {
|
|
|
|
cursor: hand;
|
|
|
|
}
|
|
|
|
|
|
|
|
#drawAreaContainer {
|
|
|
|
position: absolute;
|
|
|
|
top: 193px;
|
|
|
|
left: 193px;
|
|
|
|
width: 650px;
|
|
|
|
height: 450px;
|
|
|
|
background-color: white;
|
|
|
|
border: 4px solid black;
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
2013-08-16 22:26:00 +02:00
|
|
|
#preview_tmp {
|
2013-08-21 17:37:20 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
z-index: 500;
|
|
|
|
border: 1px solid #f80;
|
2013-08-16 22:26:00 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-07-26 23:54:21 +02:00
|
|
|
#mycanvas, #preview {
|
|
|
|
/*border: 1px solid #08c;*/
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mycanvas {
|
|
|
|
width: 500px;
|
|
|
|
height: 450px;
|
|
|
|
border: 0px solid #333;
|
|
|
|
border-right: 2px solid #333;
|
|
|
|
}
|
|
|
|
|
2013-07-05 19:23:28 +02:00
|
|
|
#preview {
|
2013-07-26 23:54:21 +02:00
|
|
|
/*border: 1px solid #f8c;*/
|
2013-07-05 19:23:28 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
2013-07-26 23:54:21 +02:00
|
|
|
width: 150px;
|
|
|
|
height: 450px;
|
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-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 {
|
|
|
|
content:url("../img/logo_small.png");
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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);
|
|
|
|
/*-moz-transform: translate(-3px,-3px);*/
|
|
|
|
}
|
|
|
|
#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
|
|
|
}
|
|
|
|
|
|
|
|
#drawAreaContainer {
|
|
|
|
top: 128px;
|
|
|
|
height: 350px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-27 18:19:50 +02:00
|
|
|
@media screen and (max-height: 560px) {
|
2013-07-05 19:23:28 +02:00
|
|
|
#d3dlogo {
|
|
|
|
zoom: 0.8;
|
2013-07-28 02:46:32 +02:00
|
|
|
-moz-transform: translate(-20px,-15px) scale(.8);
|
|
|
|
/*-moz-transform: ;*/
|
|
|
|
left: 34%;
|
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 {
|
|
|
|
/*top: 200px;*/
|
|
|
|
-moz-transform: translate(-5px,-10px);
|
2013-07-27 18:19:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#drawAreaContainer {
|
2013-07-05 19:23:28 +02:00
|
|
|
top: 110px;
|
|
|
|
height: 350px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|