diff --git a/css/d3d_btns.css b/css/d3d_btns.css deleted file mode 100644 index da0f5a1..0000000 --- a/css/d3d_btns.css +++ /dev/null @@ -1,173 +0,0 @@ -/*.logo { - background: #f5f5f5 url('../img/logo_full.png') no-repeat left top; -} - -@media screen and (max-width: 500px) { - .logo { - background: #f5f5f5 url('../img/logo_small.png') no-repeat left top; - } -}*/ - -body { - -moz-user-select: none; /* disable cut copy paste */ - -webkit-user-select: none; /* disable cut copy paste */ -} - -img { - z-index: 5; - /*pointer-events:none;*/ - /*-webkit-touch-callout: none; *//*disable callout, image save panel */ - /*-webkit-tap-highlight-color: transparent; *//* "turn off" link highlight */ -} - -/* http://stackoverflow.com/questions/5348092/prevent-default-press-but-not-default-drag-in-ios-mobilesafari */ -.btn { - background-repeat: no-repeat; - cursor: pointer -} - -/* - - INTERFACE BUTTONS - -*/ - -#btnNew { - left: 10px; - top: 10px; - width: 194px; - height: 170px; - background: url('../img/buttons/btnNew.png') no-repeat; -} - -#btnPrevious { - left: 20px; - top: 180px; - z-index: 10; -} - -#btnNext { - left: 126px; - top: 186px; - z-index: 10; -} - -#btnSave { - left: 20px; - top: 240px; -} - -#btnOops { - left: 20px; - top: 450px; -/* bottom: 150px;*/ - width: 146px; - height: 144px; - background: url('../img/buttons/btnOops.png') no-repeat; -} - -#btnPrint { - right: 15px; - top: 15px; -} - -#btnStop { - right: 20px; - top: 200px; -} - -#btnInfo { - right: 25px; - bottom: 90px; -} - -#btnSettings { - right: 25px; - bottom: 20px; -} - - - -/* - - DRAW AREA - -*/ - - -#drawAreaContainer > .manipulationBtns { - margin: 5px; -} - -.manipulationBtn { - cursor: pointer; -} - -#btnsUpDown { - position: absolute; - right: 200px; - bottom: -75px; -} -#btnsUpDown > div { - float: left; - padding-right: 8px; - background-repeat: no-repeat; -} - -#btnsTurnLeftRight { - position: absolute; - right: 20px; - bottom: -75px; -} -#btnsTurnLeftRight >div { - float: left; - padding-right: 8px; - background-repeat: no-repeat; -} - -#btnMoveUp { - width: 65px; - height: 61px; - background: url('../img/buttons/btnUp.png'); -} - -#btnMoveDown { - width: 64px; - height: 63px; - background: url('../img/buttons/btnDown.png'); -} - -#btnTwistLeft { - width: 59px; - height: 61px; - background: url('../img/buttons/btnTurnLeft.png'); -} - -#btnTwistRight { - width: 64px; - height: 56px; - background: url('../img/buttons/btnTurnRight.png'); -} - -.btn { - position: absolute; - -webkit-user-select: none; - cursor: pointer; -} -#displayTemp { - position: absolute; - right: 55px; - top: 334px; - font-weight: bold; - background: white; - display:none; -} - -.disabled { - opacity: 0.3; - cursor: default; -} - -#btnStop.disabled { - display: none; -} \ No newline at end of file diff --git a/css/debug.css b/css/debug.css index 3b619d4..0f0de5e 100644 --- a/css/debug.css +++ b/css/debug.css @@ -1,15 +1,17 @@ .debugContainer { position: absolute; - top: 0px; - left: 0px; + top: 0; + left: 0; z-index: 500; + background-color: #f0f; display: none; } #debug_textArea { position:absolute; bottom: 0; - width: 800px; + /*width: 800px; */ + z-index: 500; display: none; } diff --git a/css/fixedPosInterface.css b/css/fixedPosInterface.css deleted file mode 100644 index eb071f2..0000000 --- a/css/fixedPosInterface.css +++ /dev/null @@ -1,329 +0,0 @@ -body { -/* This chops off any overhanging divs */ - overflow:hidden; -} - -.button { - display: table; -} - -/*#landscape {*/ - /*position:relative;*/ - /*width: 1024px;*/ - /*max-height: 768px;*/ - /*background-color: #808;*/ - /*border: 10px solid #ff0;*/ - /*margin: 0px auto;*/ -/*}*/ - - -#verticalShapes { - position:absolute; - right: -56px; - bottom: 15px; - /*background-color: #fff;*/ -} - -.verticalshape { - width: 50px; - height: 50px; - border: 2px solid #333; - border-radius: 0px 5px 5px 0px; - margin-top: 4px; - /*background-color: #f0f;*/ - cursor: pointer; -} - -.straight { - background: url('../img/vertical_shape_icons/straight.png') no-repeat; -} -.diverging { - background: url('../img/vertical_shape_icons/diverging.png') no-repeat; -} -.converging { - background: url('../img/vertical_shape_icons/converging.png') no-repeat; -} -.sinus { - background: url('../img/vertical_shape_icons/sinus.png') no-repeat; -} - - -/* 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; - } -} - -.uiButtonsContainer { - position: fixed; - top: 0px; - left: 0px; - width: 1024px; - min-height: 500px; - max-height: 768px; - height: 100%; - /* height: 768px;*/ -} -.uiButtonsContainer:before { - content:' '; - display:block; - position:absolute; - left:0; - top:0; - right:0; - bottom:0; - border: 2px solid #333; -} - -#d3dlogo { - position: absolute; - top: 15px; - left: 31%; - width: 399px; - height: 139px; - background-image: url('../img/logo_full.png'); - cursor: pointer; -} - -#drawAreaContainer { - position: absolute; - top: 193px; - left: 193px; - width: 650px; - height: 450px; - background-color: #fff; - border: 4px solid #000; - border-radius: 15px; -} - -#preview_tmp { - position: absolute; - top: 0px; - left: 0px; - z-index: 500; - border: 1px solid #f80; - display: none; -} - -#mycanvas, #preview { - /*border: 1px solid #08c;*/ - float: left; -} - -#mycanvas { - width: 500px; - height: 450px; - border: 0px solid #333; - border-right: 2px solid #333; -} - -#preview { - /*border: 1px solid #f8c;*/ - position: absolute; - right: 0px; - top: 0px; - width: 150px; - height: 450px; -} - -.vertImage { - margin: 0px; - padding: 0px; - /*border: 2px solid #f0f;*/ - 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; -} - -/* 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; - right: 5px; - top: 360px; -} -#thermometerCanvas { - /*background: #59b2b8;*/ - /*zoom: 2;*/ -} - - -/* The code below is for resizing UI elements as the viewport becomes less high (suitable for tablets & smartphones) */ - -@media screen and (max-height: 675px) { - .bgMiddle { - display: none; - } - - #d3dlogo { - width: 399px; - height: 74px; - background-image: url('../img/logo_small.png'); - margin-top: 9px; - } - - #btnsUpDown, #btnsTurnLeftRight { - zoom: 0.94; - -moz-transform: translate(0px,-5px) scale(.94); - } - - #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); - } - - #btnPrint { - right: 10px; - top: 10px; - -moz-transform: translate(5px,-5px); - } - - - .btn { - zoom: 0.94; - -moz-transform: scale(.94); - } - - #drawAreaContainer { - top: 128px; - height: 350px; - } -} - -@media screen and (max-height: 560px) { - #d3dlogo { - width: 399px; - height: 57px; - background-image: url('../img/logo_smaller_wide.png'); - margin-top: 14px; - /*zoom: 0.8;*/ - /*-moz-transform: translate(-20px,-15px) scale(.8);*/ - /*-moz-transform: ;*/ - /*left: 34%;*/ - } - - #btnsUpDown, #btnsTurnLeftRight { - zoom: 0.86; - -moz-transform: translate(0px,-7px) scale(0.86); - } - - #btnPrint { - right: 6px; - -moz-transform: translate(10px,-10px); - } - - #btnNew { - zoom: 0.86; - -moz-transform: translate(-10px,-10px) scale(.86); - } - - .btn { - zoom: 0.86; - -moz-transform: scale(.86); - } - - #btnOops { - top: 350px; - zoom: 0.86; - -moz-transform: translate(-10px,-25px) scale(.86); - } - #btnSave { - -moz-transform: translate(-5px,-13px); - } - - #btnPrevious, #btnNext { - /*top: 200px;*/ - -moz-transform: translate(-5px,-10px); - } - - #drawAreaContainer { - top: 110px; - height: 350px; - } -} - - - diff --git a/css/settings.css b/css/settings.css index 829c410..55cc34d 100644 --- a/css/settings.css +++ b/css/settings.css @@ -9,17 +9,28 @@ body,th,td { font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif; font-size: 13px; } +.settingsContainer { + position:relative; + max-width: 600px; + /*min-width: 370px;*/ + width: 100%; + height: 100%; +} +/*form#settingsForm {*/ + /*width: 100% auto;*/ +/*}*/ form fieldset { - width: 600px; + max-width: 600px; border: 1px solid rgb(187, 187, 187); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-bottom: 20px; - padding: 8px 0 8px 8px; + padding: 8px; + /*padding-right: 8px;*/ } form fieldset fieldset{ - width: 580px; + max-width: 580px; margin: 15px 0 5px 0; clear: left; float: left; @@ -60,11 +71,15 @@ form textarea { -moz-border-radius: 5px; border-radius: 5px; } -form textarea.gcode { - width: 270px; - height: 150px; +form .startgcode_left { + float:left; margin-right: 20px; } +form textarea.gcode { + max-width: 262px; + min-width: 200px; + height: 150px; +} form small { margin: 3px 0 0 0; display: block; diff --git a/css/styles.css b/css/styles.css new file mode 100644 index 0000000..534e858 --- /dev/null +++ b/css/styles.css @@ -0,0 +1,809 @@ +/* + +GLOBAL CONTAINER + + */ +body { + background-color: #fcfcfc; + + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; /* disable cut copy paste */ +/* disable cut copy paste */ +overflow: hidden; /* This chops off any overhanging divs */ +} + +img { + z-index: 5; /*pointer-events: none; + */ +/*-webkit-touch-callout: none; + */ +/*disable callout, image save panel */ +/*-webkit-tap-highlight-color: transparent; + */ +/* "turn off" link highlight */ +} + +/* http://stackoverflow.com/questions/5348092/prevent-default-press-but-not-default-drag-in-ios-mobilesafari */ +.btn { + background-repeat: no-repeat; /* -webkit-user-select: none; + */ +cursor: pointer; +} + +#landscape { + position: absolute; + background-color: #fff; + width: 100%; + max-width: 1024px; + max-height: 768px; + top: 0px; + bottom: 0px; + left: 0px; + right: 0px; + z-index: 5; + overflow: hidden; + margin: 0px auto; + outline: 2px solid #5e8c71; + + -webkit-box-shadow: 0 0 8px rgba(8, 8, 8, 0.25); + box-shadow: 0 0 8px rgba(8, 8, 8, 0.25); +} + +#portrait { + display: none; +} + +.bgContainer { + position: absolute; + width: 100%; + height: 100%; + overflow: hidden; +} + +.bgTop,.bgMiddle,.bgBottom { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; + filter: alpha(opacity=100); + opacity: 1.0; + + -webkit-transition: opacity .35s linear; + -moz-transition: opacity .35s linear; + -o-transition: opacity .35s linear; + -ms-transition: opacity .35s linear; + transition: opacity .35s linear; + position: absolute; + left: 0px; + z-index: -5; +} + +.bgTop { + top: 0px; +} + +.bgMiddle { + top: 30%; +} + +.bgBottom { + bottom: 0px; +} + +.rightpanel img,.leftpanel img { + cursor: pointer; +} + +/* + +CENTER PANEL + + */ +.centerpanel { + position: absolute; + left: 50%; + margin-left: -33%; + width: 66%; + height: 100%; + z-index: 5; +} + +.logopanel { + height: 25%; +} + +.d3dlogo { + position: relative; + top: 15%; + width: 100%; + height: 100%; + margin: 0px auto; + max-width: 399px; + height: 139px; + background: url('../img/logo/logo_full.png') no-repeat center center; + cursor: pointer; +} + +#verticalShapes { + position: absolute; + right: -56px; + bottom: 15px; +} + +#verticalShapes .verticalshape { + width: 50px; + height: 50px; + border: 2px solid #333; + border-radius: 0px 5px 5px 0px; + margin-top: 4px; /*background-color: #f0f; + */ +cursor: pointer; +} + +#verticalShapes .verticalshape.straight { + background: url('../img/vertical_shape_icons/straight.png') no-repeat; +} + +#verticalShapes .verticalshape.diverging { + background: url('../img/vertical_shape_icons/diverging.png') no-repeat; +} + +#verticalShapes .verticalshape.converging { + background: url('../img/vertical_shape_icons/converging.png') no-repeat; +} + +#verticalShapes .verticalshape.sinus { + background: url('../img/vertical_shape_icons/sinus.png') no-repeat; +} + +.drawareacontainer { + position: relative; + width: 100%; + height: 65%; + background-color: #fff; + border: 4px solid #000; + border-radius: 15px; + + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + z-index: 15px; +} + +#canvasContainers { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + height: 100%; + padding: 0; + margin: 0; +} + +#mycanvasContainer { + position: absolute; + top: 0; + left: 0; + width: 78%; + height: 100%; +} + +#mycanvas { + width: 100%; + height: 100%; + margin: 0; + padding: 0; + border-right: 2px solid #333; +} + +#previewContainer { + position: absolute; + top: 0; + right: 0; + width: 22%; + height: 100%; +} + +#preview { + min-width: 50px; + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} + +/* DEBUG THING */ +#preview_tmp { + position: absolute; + top: 0px; + left: 0px; + z-index: 500; + border: 1px solid #f80; + display: none; +} + +.bottompanel { + position: relative; + bottom: 0px; + width: 100%; + height: 10%; +} + +/* +DOODLE UP/DOWN/LEFT/RIGHT buttons + */ +.manipulationBtns { + margin: 2px 5px; + position: absolute; + right: 0; + top: 0; + max-width: 340px; + max-height: 70px; + width: 45%; +} + +.manipulationBtn { + width: 45%; + height: auto; + cursor: pointer; +} + +#btnsUpDown { + float: left; + width: 45%; +} + +#btnsUpDown > div { + float: left; + padding-right: 8px; + background-repeat: no-repeat; +} + +#btnsTurnLeftRight { + float: right; + width: 45%; +} + +#btnsTurnLeftRight > div { + float: left; + padding-right: 8px; + background-repeat: no-repeat; +} + +#btnMoveUp { + max-width: 65px; +} + +#btnMoveDown { + max-width: 64px; +} + +#btnTwistLeft { + max-width: 59px; +} + +#btnTwistRight { + max-width: 64px; +} + +/* +HEIGHT-related RESPONSIVE STUFF + */ +@media screen and (max-height: 700px) { + .logopanel { + height: 22%; +} + +.doodlecontainer { + height: 68%; +} + +.d3dlogo { + top: 25%; + max-width: 399px; + height: 74px; + background-image: url('../img/logo/logo_small.png'); +} + +} + +@media screen and (max-height: 655px) { + .bgMiddle { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + opacity: 0; +} + +} + +@media screen and (max-height: 525px) { + .d3dlogo { + max-width: 399px; + top: 20%; + height: 57px; + background-image: url('../img/logo/logo_smaller_wide.png'); +} + +} + +@media screen and (max-height: 375px) { + .d3dlogo { + max-width: 399px; + height: 40px; + background-image: url('../img/logo/logo_smallest_wide.png'); +} + +} + +/* + +LEFT PANEL + + */ +.leftpanel { + position: absolute; + width: 17%; /* background-color: rgba(67, 204, 67, 0.4); + */ +top: 0px; + left: 0px; + bottom: 0px; +} + +.btnNew { + margin: 5% 0% 1% 5%; + width: 100%; + max-width: 180px; + height: auto; +} + +.btnsPrevNext { + margin: 1% 7%; + max-width: 160px; +} + +.btnPrevious { + width: 40%; + max-width: 56px; + height: auto; +} + +.btnNext { + width: 40%; + max-width: 56px; + height: auto; + float: right; +} + +.btnSave { + margin: 5% 5% 1% 5%; + width: 90%; + max-width: 144px; + height: auto; +} + +.btnOops { + margin: 5% 5% 1% 5%; + width: 90%; + max-width: 144px; + height: auto; +} + +/* + +RIGHT PANEL + + */ +.rightpanel { + position: absolute; + width: 17%; /* background-color: rgba(255, 0, 254, 0.4); + */ +top: 0px; + right: 0px; + bottom: 0px; +} + +.btnPrint { + margin: 1% 5% 5% 0%; + width: 100%; + max-width: 163px; + height: auto; + float: right; +} + +.btnStop { + margin: 5% 10% 1% 5%; + float: right; + width: 90%; + max-width: 98px; + height: auto; +} + +.btnsSettingsInfo { + position: absolute; + bottom: 25px; + right: 5px; + width: 80%; + margin: 1% 5%; + max-width: 160px; +} + +.btnInfo { + width: 40%; + max-width: 53px; + height: auto; +} + +.btnSettings { + width: 40%; + max-width: 53px; + height: auto; + float: right; +} + +/* + +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; +} + +.progressAmount { + margin: 0px 5px; +} + +#progressbar { + position: relative; /*margin-bottom: -20px; + */ +width: 0%; + height: 100%; + background-color: #4c4; + border: 0px solid #f0f; + border-radius: 3px; +} + +/* + +THERMOMETER + + */ +#thermometerContainer { + position: absolute; + right: 25px; + top: 370px; +} + +#thermometerCanvas { + /*background: #59b2b8; + */ +/*zoom: 2; + */ +} + +/* + +REST + + */ +/* CLEARFIX */ +/* http://nicolasgallagher.com/micro-clearfix-hack/ */ +.clearfix:before,.clearfix:after { + content: " "; /* 1 */ +display: table; /* 2 */ +} + +.clearfix:after { + clear: both; +} + +/* For IE 6/7 only*/ +.clearfix { + *zoom: 1; +} + +/* + +SETTINGS POPUP + + */ +#contentOverlay { + background-color: rgba(255, 255, 255, 0.65); + z-index: 20; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + height: 100%; + display: none; +} + +#contentOverlay #settings { + background-color: #fff; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 15; + max-width: 835px; + max-height: 540px; + width: 80%; + height: 75%; + margin: 7% 8%; + + -webkit-box-shadow: 0px 2px 6px 0px rgba(16, 16, 16, 0.65); + box-shadow: 0px 2px 6px 0px rgba(16, 16, 16, 0.65); + border: 2px solid #222; + border-radius: 15px; + overflow: hidden; + display: table; + padding: 2%; +} + +#contentOverlay #settings .settingsLabelContainer { + width: 100%; + height: auto; + margin-bottom: 1%; +} + +#contentOverlay #settings .settingsLabelImg { + width: 45%; + max-width: 373px; + height: auto; +} + +#contentOverlay #settings > .content { + margin: 3% 12%; + margin-top: 12%; + max-height: 388px; + display: table-row; + width: 100%; +} + +#contentOverlay #settings > .content > .settings { + border: 1px solid #bbbbbb; + border-radius: 5px; + overflow: scroll; + + -ms-overflow-x: hidden; + overflow-x: hidden; +} + +#contentOverlay #settings > .content > .btnContainer { + width: 15%; + position: relative; + display: table-cell; +} + +#contentOverlay #settings > .content > .btnContainer > .btnOK { + position: absolute; + bottom: 3%; + right: 3%; + max-width: 85px; + min-width: 42px; + width: 91%; + height: auto; + margin: 0 2% 2% 0; + cursor: pointer; + float: right; +} + +#contentOverlay #settings > .content > div { + height: 100%; +} + +@media only screen and (max-width: 480px),only screen and (max-width: 720px) and (min-device-pixel-ratio: 1.5),only screen and (max-width: 720px) and (-webkit-min-device-pixel-ratio: 1.5) { + /* + TOP LOGO + */ +.centerpanel { + left: 0; + margin-left: 0; + width: 100%; /* background-color: rgba(0, 135, 255, 0.4); + */ +} + +.logopanel { + height: 40px; +} + +.d3dlogo { + top: 0; + max-width: 399px; + height: 40px; + background-image: url('../img/logo/logo_smallest_wide.png'); +} + +.doodlecontainer { + /* position: absolute; + */ +height: 85%; +} + +/*.bottompanel { + + display: none; + +} + +*/ +/* + LEFT + */ +.leftpanel { + width: 100px; + background-color: #fff; + z-index: 50; + + -webkit-transition: left 0.3s ease-out; + -moz-transition: left 0.3s ease-out; + -o-transition: left 0.3s ease-out; + -ms-transition: left 0.3s ease-out; + transition: left 0.3s ease-out; +} + +.hideleft { + left: -101px; +} + +.shadowright { + -webkit-box-shadow: 2px 0 4px rgba(42, 42, 41, 0.6); + box-shadow: 2px 0 4px rgba(42, 42, 41, 0.6); +} + +.btnNew { + margin: 5% 5% 1% 5%; + width: 90%; +} + +.btnSave { + margin-left: 9%; + width: 75%; +} + +.btnOops { + margin-left: 6%; + width: 71%; +} + +/* + RIGHT + */ +.rightpanel { + width: 100px; + background-color: #fff; + z-index: 50; + + -webkit-transition: right 0.3s ease-out; + -moz-transition: right 0.3s ease-out; + -o-transition: right 0.3s ease-out; + -ms-transition: right 0.3s ease-out; + transition: right 0.3s ease-out; +} + +.hideright { + right: -101px; +} + +.shadowleft { + -webkit-box-shadow: -2px 0 4px rgba(42, 42, 41, 0.6); + box-shadow: -2px 0 4px rgba(42, 42, 41, 0.6); +} + +.btnPrint { + margin: 1% 5% 5% 5%; + width: 90%; +} + +.btnStop { + margin: 5% 6% 1% 5%; + width: 70%; +} + +/* + REST + */ +.sidebutton { + display: block; + position: absolute; /* top: 50%; + */ +/* margin-top: -20px; + */ +top: 0px; /*float: right; + */ +width: 25px; + height: 38px; + border: 1px solid #808; + background: url('../img/arrows.png') no-repeat; + background-color: #eee; + cursor: pointer; +} + +.sidebutton:active { + background-color: #aaa; +} + +.leftpanel .sidebutton { + right: -27px; + background-position: 0px 0px; +} + +.rightpanel .sidebutton { + left: -27px; + background-position: -25px 0px; +} + +.sidebuttonin:active { + background-color: #888; +} + +.leftpanel .sidebuttonin { + background-color: #ccc; + background-position: -25px 0px; +} + +.rightpanel .sidebuttonin { + background-color: #ccc; + background-position: 0px 0px; +} + +/* + + SETTINGS POPUP -MOBILE + + */ +#contentOverlay { + z-index: 200; +} + +#contentOverlay #settings { + width: 87%; + height: 82%; + margin: 6% 4%; +} + +#contentOverlay #settings > .right { + width: 14%; +} + +} + +@media only screen and (orientation: portrait) { + #landscape { + display: none; +} + +#portrait { + display: block; +} + +.vertImage { + margin: 0px; + padding: 0px; /*border: 2px solid #f0f; + */ +max-width: 100%; + height: auto; + width: auto; /* for ie9 */ +} + +} diff --git a/css/styles.min.css b/css/styles.min.css new file mode 100644 index 0000000..aedcde4 --- /dev/null +++ b/css/styles.min.css @@ -0,0 +1 @@ +body{background-color:#fcfcfc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;}img{z-index:5;}.btn{background-repeat:no-repeat;cursor:pointer;}#landscape{position:absolute;background-color:#fff;width:100%;max-width:1024px;max-height:768px;top:0px;bottom:0px;left:0px;right:0px;z-index:5;overflow:hidden;margin:0px auto;outline:2px solid #5e8c71;-webkit-box-shadow:0 0 8px rgba(8, 8, 8, 0.25);box-shadow:0 0 8px rgba(8, 8, 8, 0.25);}#portrait{display:none;}.bgContainer{position:absolute;width:100%;height:100%;overflow:hidden;}.bgTop,.bgMiddle,.bgBottom{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);opacity:1.0;-webkit-transition:opacity .35s linear;-moz-transition:opacity .35s linear;-o-transition:opacity .35s linear;-ms-transition:opacity .35s linear;transition:opacity .35s linear;position:absolute;left:0px;z-index:-5;}.bgTop{top:0px;}.bgMiddle{top:30%;}.bgBottom{bottom:0px;}.rightpanel img,.leftpanel img{cursor:pointer;}.centerpanel{position:absolute;left:50%;margin-left:-33%;width:66%;height:100%;z-index:5;}.logopanel{height:25%;}.d3dlogo{position:relative;top:15%;width:100%;height:100%;margin:0px auto;max-width:399px;height:139px;background:url('../img/logo/logo_full.png') no-repeat center center;cursor:pointer;}#verticalShapes{position:absolute;right:-56px;bottom:15px;}#verticalShapes .verticalshape{width:50px;height:50px;border:2px solid #333;border-radius:0px 5px 5px 0px;margin-top:4px;cursor:pointer;}#verticalShapes .verticalshape.straight{background:url('../img/vertical_shape_icons/straight.png') no-repeat;}#verticalShapes .verticalshape.diverging{background:url('../img/vertical_shape_icons/diverging.png') no-repeat;}#verticalShapes .verticalshape.converging{background:url('../img/vertical_shape_icons/converging.png') no-repeat;}#verticalShapes .verticalshape.sinus{background:url('../img/vertical_shape_icons/sinus.png') no-repeat;}.drawareacontainer{position:relative;width:100%;height:65%;background-color:#fff;border:4px solid #000;border-radius:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;z-index:15px;}#canvasContainers{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;padding:0;margin:0;}#mycanvasContainer{position:absolute;top:0;left:0;width:78%;height:100%;}#mycanvas{width:100%;height:100%;margin:0;padding:0;border-right:2px solid #333;}#previewContainer{position:absolute;top:0;right:0;width:22%;height:100%;}#preview{min-width:50px;width:100%;height:100%;margin:0;padding:0;}#preview_tmp{position:absolute;top:0px;left:0px;z-index:500;border:1px solid #f80;display:none;}.bottompanel{position:relative;bottom:0px;width:100%;height:10%;}.manipulationBtns{margin:2px 5px;position:absolute;right:0;top:0;max-width:340px;max-height:70px;width:45%;}.manipulationBtn{width:45%;height:auto;cursor:pointer;}#btnsUpDown{float:left;width:45%;}#btnsUpDown > div{float:left;padding-right:8px;background-repeat:no-repeat;}#btnsTurnLeftRight{float:right;width:45%;}#btnsTurnLeftRight > div{float:left;padding-right:8px;background-repeat:no-repeat;}#btnMoveUp{max-width:65px;}#btnMoveDown{max-width:64px;}#btnTwistLeft{max-width:59px;}#btnTwistRight{max-width:64px;}@media screen and (max-height: 700px){.logopanel{height:22%;}.doodlecontainer{height:68%;}.d3dlogo{top:25%;max-width:399px;height:74px;background-image:url('../img/logo/logo_small.png');}}@media screen and (max-height: 655px){.bgMiddle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);opacity:0;}}@media screen and (max-height: 525px){.d3dlogo{max-width:399px;top:20%;height:57px;background-image:url('../img/logo/logo_smaller_wide.png');}}@media screen and (max-height: 375px){.d3dlogo{max-width:399px;height:40px;background-image:url('../img/logo/logo_smallest_wide.png');}}.leftpanel{position:absolute;width:17%;top:0px;left:0px;bottom:0px;}.btnNew{margin:5% 0% 1% 5%;width:100%;max-width:180px;height:auto;}.btnsPrevNext{margin:1% 7%;max-width:160px;}.btnPrevious{width:40%;max-width:56px;height:auto;}.btnNext{width:40%;max-width:56px;height:auto;float:right;}.btnSave{margin:5% 5% 1% 5%;width:90%;max-width:144px;height:auto;}.btnOops{margin:5% 5% 1% 5%;width:90%;max-width:144px;height:auto;}.rightpanel{position:absolute;width:17%;top:0px;right:0px;bottom:0px;}.btnPrint{margin:1% 5% 5% 0%;width:100%;max-width:163px;height:auto;float:right;}.btnStop{margin:5% 10% 1% 5%;float:right;width:90%;max-width:98px;height:auto;}.btnsSettingsInfo{position:absolute;bottom:25px;right:5px;width:80%;margin:1% 5%;max-width:160px;}.btnInfo{width:40%;max-width:53px;height:auto;}.btnSettings{width:40%;max-width:53px;height:auto;float:right;}#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;}.progressAmount{margin:0px 5px;}#progressbar{position:relative;width:0%;height:100%;background-color:#4c4;border:0px solid #f0f;border-radius:3px;}#thermometerContainer{position:absolute;right:25px;top:370px;}.clearfix:before,.clearfix:after{content:" ";display:table;}.clearfix:after{clear:both;}.clearfix{*zoom:1;}#contentOverlay{background-color:rgba(255, 255, 255, 0.65);z-index:20;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;display:none;}#contentOverlay #settings{background-color:#fff;position:absolute;top:0;left:0;right:0;bottom:0;z-index:15;max-width:835px;max-height:540px;width:80%;height:75%;margin:7% 8%;-webkit-box-shadow:0px 2px 6px 0px rgba(16, 16, 16, 0.65);box-shadow:0px 2px 6px 0px rgba(16, 16, 16, 0.65);border:2px solid #222;border-radius:15px;overflow:hidden;display:table;padding:2%;}#contentOverlay #settings .settingsLabelContainer{width:100%;height:auto;margin-bottom:1%;}#contentOverlay #settings .settingsLabelImg{width:45%;max-width:373px;height:auto;}#contentOverlay #settings > .content{margin:3% 12%;margin-top:12%;max-height:388px;display:table-row;width:100%;}#contentOverlay #settings > .content > .settings{border:1px solid #bbbbbb;border-radius:5px;overflow:scroll;-ms-overflow-x:hidden;overflow-x:hidden;}#contentOverlay #settings > .content > .btnContainer{width:15%;position:relative;display:table-cell;}#contentOverlay #settings > .content > .btnContainer > .btnOK{position:absolute;bottom:3%;right:3%;max-width:85px;min-width:42px;width:91%;height:auto;margin:0 2% 2% 0;cursor:pointer;float:right;}#contentOverlay #settings > .content > div{height:100%;}@media only screen and (max-width: 480px),only screen and (max-width: 720px) and (min-device-pixel-ratio: 1.5),only screen and (max-width: 720px) and (-webkit-min-device-pixel-ratio: 1.5){.centerpanel{left:0;margin-left:0;width:100%;}.logopanel{height:40px;}.d3dlogo{top:0;max-width:399px;height:40px;background-image:url('../img/logo/logo_smallest_wide.png');}.doodlecontainer{height:85%;}.leftpanel{width:100px;background-color:#fff;z-index:50;-webkit-transition:left 0.3s ease-out;-moz-transition:left 0.3s ease-out;-o-transition:left 0.3s ease-out;-ms-transition:left 0.3s ease-out;transition:left 0.3s ease-out;}.hideleft{left:-101px;}.shadowright{-webkit-box-shadow:2px 0 4px rgba(42, 42, 41, 0.6);box-shadow:2px 0 4px rgba(42, 42, 41, 0.6);}.btnNew{margin:5% 5% 1% 5%;width:90%;}.btnSave{margin-left:9%;width:75%;}.btnOops{margin-left:6%;width:71%;}.rightpanel{width:100px;background-color:#fff;z-index:50;-webkit-transition:right 0.3s ease-out;-moz-transition:right 0.3s ease-out;-o-transition:right 0.3s ease-out;-ms-transition:right 0.3s ease-out;transition:right 0.3s ease-out;}.hideright{right:-101px;}.shadowleft{-webkit-box-shadow:-2px 0 4px rgba(42, 42, 41, 0.6);box-shadow:-2px 0 4px rgba(42, 42, 41, 0.6);}.btnPrint{margin:1% 5% 5% 5%;width:90%;}.btnStop{margin:5% 6% 1% 5%;width:70%;}.sidebutton{display:block;position:absolute;top:0px;width:25px;height:38px;border:1px solid #808;background:url('../img/arrows.png') no-repeat;background-color:#eee;cursor:pointer;}.sidebutton:active{background-color:#aaa;}.leftpanel .sidebutton{right:-27px;background-position:0px 0px;}.rightpanel .sidebutton{left:-27px;background-position:-25px 0px;}.sidebuttonin:active{background-color:#888;}.leftpanel .sidebuttonin{background-color:#ccc;background-position:-25px 0px;}.rightpanel .sidebuttonin{background-color:#ccc;background-position:0px 0px;}#contentOverlay{z-index:200;}#contentOverlay #settings{width:87%;height:82%;margin:6% 4%;}#contentOverlay #settings > .right{width:14%;}}@media only screen and (orientation: portrait){#landscape{display:none;}#portrait{display:block;}.vertImage{margin:0px;padding:0px;max-width:100%;height:auto;width:auto;}} \ No newline at end of file diff --git a/fixedPosInterface01_v02.html b/fixedPosInterface01_v02.html index d9bb379..3cfe699 100755 --- a/fixedPosInterface01_v02.html +++ b/fixedPosInterface01_v02.html @@ -50,7 +50,7 @@
-
+
diff --git a/img/arrows.png b/img/arrows.png new file mode 100644 index 0000000..5698a21 Binary files /dev/null and b/img/arrows.png differ diff --git a/img/logo_full.png b/img/logo/logo_full.png similarity index 100% rename from img/logo_full.png rename to img/logo/logo_full.png diff --git a/img/logo_small.png b/img/logo/logo_small.png similarity index 100% rename from img/logo_small.png rename to img/logo/logo_small.png diff --git a/img/logo_smaller_wide.png b/img/logo/logo_smaller_wide.png similarity index 100% rename from img/logo_smaller_wide.png rename to img/logo/logo_smaller_wide.png diff --git a/img/logo/logo_smallest_wide.png b/img/logo/logo_smallest_wide.png new file mode 100644 index 0000000..c3f2fa1 Binary files /dev/null and b/img/logo/logo_smallest_wide.png differ diff --git a/img/logo_full_8bit.png b/img/logo_full_8bit.png deleted file mode 100644 index adba35c..0000000 Binary files a/img/logo_full_8bit.png and /dev/null differ diff --git a/img/logo_small_8bit.png b/img/logo_small_8bit.png deleted file mode 100644 index a2c0189..0000000 Binary files a/img/logo_small_8bit.png and /dev/null differ diff --git a/img/logo_smaller.png b/img/logo_smaller.png deleted file mode 100644 index f000e5c..0000000 Binary files a/img/logo_smaller.png and /dev/null differ diff --git a/img/logo_smaller_8bit.png b/img/logo_smaller_8bit.png deleted file mode 100644 index bd85479..0000000 Binary files a/img/logo_smaller_8bit.png and /dev/null differ diff --git a/img/logo_smaller_wide_8bit.png b/img/logo_smaller_wide_8bit.png deleted file mode 100644 index ef193ab..0000000 Binary files a/img/logo_smaller_wide_8bit.png and /dev/null differ diff --git a/index.html b/index.html index b4bb100..4804f84 100755 --- a/index.html +++ b/index.html @@ -6,39 +6,42 @@ - - - + + - - - - + + + - + -
-
-
-
-
-
- +
+ + +
+ -
- -
- - - -
- - - - +
+ + +
+
+
+
+ +
+
+
+
+ + +
+
+
+
- - - - -
-
-
-
+ + +
+
+ +
+
+
+
+ +
+
+ +
-
-
-
+ +
+
+
+
+
-
-
-
-
-
+
+
+
+ + +
+
+ + +
+
- +
-