0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-06 03:53:23 +01:00
doodle3d-client/less/buttons.less

187 lines
2.4 KiB
Plaintext
Raw Normal View History

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;
}
.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-10 17:21:43 +01:00
#btnInfo {
2014-01-09 17:05:03 +01:00
width: 40%;
max-width: 53px;
height: auto;
}
2014-01-10 17:21:43 +01:00
#btnSettings {
2014-01-09 17:05:03 +01:00
width: 40%;
max-width: 53px;
height: auto;
float: right;
}
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-10 17:21:43 +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-10 17:21:43 +01:00
#btnEditClosed {
2014-01-09 17:05:03 +01:00
top: 5px;
left: 5px;
width: .75*31px;
position: absolute;
}
2014-01-10 17:21:43 +01:00
#btnEditOpen {
2014-01-09 17:05:03 +01:00
position: absolute;
top: 5px;
left: 5px;
width: .75*119px;
display: none;
}
2014-01-10 17:21:43 +01:00
/*#btnAddOpen {
2014-01-09 17:05:03 +01:00
position: absolute;
top: 370px;
left: 60px;
z-index: 1000;
width: 200%;
display: none;
2014-01-10 17:21:43 +01:00
}*/
2014-01-09 17:05:03 +01:00
.buttonGroup {
background-color: white;
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-09 17:05:03 +01:00
margin-top: -60%;
2014-01-09 18:10:54 +01:00
left: 60px;
width: 140px; /*fixme: can this grow based on it's content?*/
2014-01-10 17:21:43 +01:00
#btnWordArt, #btnShape {
2014-01-09 18:10:54 +01:00
width: 60px; /* scaled down >50% */
float: left;
}
2014-01-09 17:05:03 +01:00
}
2014-01-10 17:21:43 +01:00
#buttonGroupVerticalShapes {
2014-01-09 18:10:54 +01:00
top: 10px;
left: 10px;
padding-top: 20px;
width: 65px;
.btn {
width: 40px;
}
2014-01-09 17:05:03 +01:00
}
2014-01-10 17:21:43 +01:00
#btnToggleVertical {
2014-01-09 18:10:54 +01:00
position: absolute;
top: 0;
left: 10px;
}