2014-01-09 17:05:03 +01:00
|
|
|
/* http://stackoverflow.com/questions/5348092/prevent-default-press-but-not-default-drag-in-ios-mobilesafari */
|
|
|
|
.btn {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
cursor: pointer;
|
2014-01-16 12:05:23 +01:00
|
|
|
|
|
|
|
-moz-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
-khtml-user-drag: none;
|
|
|
|
-webkit-user-drag: none;
|
|
|
|
|
|
|
|
-webkit-touch-callout: none; /* disable callout, image save panel */
|
|
|
|
|
|
|
|
-webkit-tap-highlight-color: transparent; /* "turn off" link highlight */
|
2014-01-09 17:05:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn.disabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnPrint {
|
2014-01-09 17:05:03 +01:00
|
|
|
margin: 1% 5% 5% 0%;
|
|
|
|
width: 90%;
|
|
|
|
max-width: 163px;
|
|
|
|
height: auto;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnStop {
|
2014-01-09 17:05:03 +01:00
|
|
|
margin: 5% 5% 1% 5%;
|
|
|
|
float: right;
|
|
|
|
width: 80%;
|
|
|
|
max-width: 98px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnsSettingsInfo {
|
2014-01-09 17:05:03 +01:00
|
|
|
position: absolute;
|
|
|
|
bottom: 4%; //25px;
|
|
|
|
right: 5px;
|
|
|
|
width: 80%;
|
|
|
|
margin: 1% 5%;
|
|
|
|
max-width: 160px;
|
2014-01-16 23:27:35 +01:00
|
|
|
.btn {
|
|
|
|
width: 46%;
|
|
|
|
max-width: 53px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
#btnSettings {
|
|
|
|
float: right;
|
|
|
|
}
|
2014-01-09 17:05:03 +01:00
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnNew {
|
2014-01-09 17:05:03 +01:00
|
|
|
margin: 5% 0% 1% 5%;
|
|
|
|
width: 90%;
|
|
|
|
max-width: 130px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnsPrevNext {
|
2014-01-09 17:05:03 +01:00
|
|
|
margin: 1% 7%;
|
|
|
|
max-width: 100px;
|
2014-01-16 12:49:13 +01:00
|
|
|
/*text-align:center;*/
|
2014-01-09 17:05:03 +01:00
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnPrevious {
|
2014-01-09 17:05:03 +01:00
|
|
|
width: 40%;
|
|
|
|
max-width: 56px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnNext {
|
2014-01-09 17:05:03 +01:00
|
|
|
width: 40%;
|
|
|
|
max-width: 56px;
|
|
|
|
height: auto;
|
|
|
|
float: right;
|
|
|
|
}
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnSave {
|
2014-01-09 17:05:03 +01:00
|
|
|
margin: 4% 5% 1% 5%;
|
|
|
|
width: 90%;
|
|
|
|
max-width: 100px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnOops {
|
2014-01-09 17:05:03 +01:00
|
|
|
margin: 5% 5% 1% 5%;
|
|
|
|
width: 90%;
|
|
|
|
max-width: 100px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnAdd {
|
2014-01-09 17:05:03 +01:00
|
|
|
width: 90%;
|
|
|
|
max-width: 100px;
|
|
|
|
margin: 5% 5% 1% 5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btnVertical {
|
|
|
|
width: 35%;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-01-13 16:38:26 +01:00
|
|
|
#btnToggleEdit {
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
2014-01-09 17:05:03 +01:00
|
|
|
position: absolute;
|
|
|
|
}
|
2014-01-13 16:38:26 +01:00
|
|
|
#buttonGroupEdit {
|
2014-01-09 17:05:03 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
left: 5px;
|
2014-01-13 16:38:26 +01:00
|
|
|
padding: 5px 7px 9px 8px;
|
2014-01-09 17:05:03 +01:00
|
|
|
display: none;
|
2014-01-13 16:38:26 +01:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
#btnZoom {
|
|
|
|
clear: left;
|
|
|
|
margin: 0 2px 0 0;
|
|
|
|
}
|
2014-01-09 17:05:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.buttonGroup {
|
2014-01-16 16:07:40 +01:00
|
|
|
/*background-color: white;*/
|
|
|
|
background-color: #fff;
|
2014-01-09 17:05:03 +01:00
|
|
|
position: absolute;
|
2014-01-09 18:10:54 +01:00
|
|
|
border: 3px solid black;
|
2014-01-09 17:05:03 +01:00
|
|
|
border-radius: 40px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 5% 5% 5% 5%;
|
|
|
|
}
|
|
|
|
|
2014-01-10 14:04:17 +01:00
|
|
|
#buttonGroupAdd {
|
2014-01-09 17:05:03 +01:00
|
|
|
display: none;
|
2014-01-09 18:10:54 +01:00
|
|
|
z-index: 1000;
|
2014-01-16 23:14:30 +01:00
|
|
|
position: relative;
|
2014-01-09 17:05:03 +01:00
|
|
|
margin-top: -60%;
|
2014-01-16 23:14:30 +01:00
|
|
|
margin-left: 70%;
|
|
|
|
width: 200%;
|
|
|
|
max-width: 140px; /*fixme: can this grow based on it's content?*/
|
|
|
|
padding: 5% 0 5% 5%;
|
2014-01-10 17:21:43 +01:00
|
|
|
#btnWordArt, #btnShape {
|
2014-01-16 23:14:30 +01:00
|
|
|
width: 45%;
|
2014-01-09 18:10:54 +01:00
|
|
|
}
|
2014-01-09 17:05:03 +01:00
|
|
|
}
|
|
|
|
|
2014-01-10 17:21:43 +01:00
|
|
|
#buttonGroupVerticalShapes {
|
2014-01-13 15:52:40 +01:00
|
|
|
top: 7px;
|
|
|
|
left: 8px;
|
2014-01-16 16:07:40 +01:00
|
|
|
padding: 12px 7px 7px 9px;
|
2014-01-09 18:10:54 +01:00
|
|
|
width: 65px;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
width: 40px;
|
|
|
|
}
|
2014-01-09 17:05:03 +01:00
|
|
|
}
|
|
|
|
|
2014-01-13 15:52:40 +01:00
|
|
|
#btnToggleVerticalShapes {
|
2014-01-09 18:10:54 +01:00
|
|
|
position: absolute;
|
2014-01-13 15:52:40 +01:00
|
|
|
top: 3px;
|
|
|
|
left: 6px;
|
2014-01-09 18:10:54 +01:00
|
|
|
}
|
|
|
|
|
2014-01-17 00:06:51 +01:00
|
|
|
@media only screen and (max-height: 480px),
|
|
|
|
only screen and (max-width: 600px) and (min-device-pixel-ratio : 1.5),
|
|
|
|
only screen and (max-width: 600px) and (-webkit-min-device-pixel-ratio : 1.5) {
|
|
|
|
#buttonGroupVerticalShapes {
|
|
|
|
#btnConv, #btnDiv, #btnSine, #btnStraight {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-01-09 18:10:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
|