0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-04 19:33:22 +01:00
doodle3d-client/less/mobile.less
2013-10-29 21:27:17 +01:00

139 lines
2.0 KiB
Plaintext

/*
TOP LOGO
*/
.centerpanel {
left: 0;
margin-left: 0;
width: 100%;
/* background-color: rgba(0, 135, 255, 0.4);*/
}
.logopanel {
height: 40px;
}
.d3dlogo {
top: 0;
height: 40px;
max-width: 216px;
background-image: url('../img/logo/logo_smallest.png');
// max-width: 399px;
// background-image: url('../img/logo/logo_smallest_wide.png');
}
.drawareacontainer {
/* position: absolute;*/
height: 70%;
}
.bottompanel {
height: 10%;
.manipulationBtns {
margin: 2px -27;
right: 22%;
width: 38%;
}
}
// sets width for both right and left panel
@mobilePanelsWidth: 92px;
/*
LEFT
*/
.leftpanel {
width: @mobilePanelsWidth;
background-color: #fff;
z-index: 50;
transition: left .3s ease-out;
}
.hideleft {
left: -(@mobilePanelsWidth+1);
}
.shadowright {
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: @mobilePanelsWidth;
background-color: #fff;
z-index: 50;
transition: right .3s ease-out;
}
.hideright {
right: -(@mobilePanelsWidth+1);
}
.shadowleft {
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: 40px;
/*float:right;*/
width: 25px;
height: 38px;
border: 1px solid #808;
background: url('../img/arrows.png') no-repeat;
background-color: #eee;
cursor: pointer;
&:active {
background-color: #aaa;
}
.leftpanel & {
right: -27px;
background-position: 0px 0px;
}
.rightpanel & {
left: -27px;
background-position: -25px 0px;
}
}
.sidebuttonin {
&:active {
background-color: #888;
}
.leftpanel & {
background-color: #ccc;
background-position: -25px 0px;
}
.rightpanel & {
background-color: #ccc;
background-position: -0px 0px;
}
}