0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-25 18:47:57 +01:00
doodle3d-client/less/mobile.less

139 lines
2.0 KiB
Plaintext
Raw Normal View History

2013-10-09 18:15:47 +02:00
/*
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');
2013-10-09 18:15:47 +02:00
}
.drawareacontainer {
2013-10-09 18:15:47 +02:00
/* position: absolute;*/
height: 70%;
}
.bottompanel {
height: 10%;
.manipulationBtns {
margin: 2px -27;
right: 22%;
width: 38%;
}
2013-10-09 18:15:47 +02:00
}
2013-10-29 21:27:17 +01:00
// sets width for both right and left panel
@mobilePanelsWidth: 92px;
2013-10-09 18:15:47 +02:00
/*
LEFT
*/
.leftpanel {
2013-10-29 21:27:17 +01:00
width: @mobilePanelsWidth;
2013-10-09 18:15:47 +02:00
background-color: #fff;
z-index: 50;
transition: left .3s ease-out;
2013-10-09 18:15:47 +02:00
}
.hideleft {
2013-10-29 21:27:17 +01:00
left: -(@mobilePanelsWidth+1);
2013-10-09 18:15:47 +02:00
}
.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 {
2013-10-29 21:27:17 +01:00
width: @mobilePanelsWidth;
2013-10-09 18:15:47 +02:00
background-color: #fff;
z-index: 50;
transition: right .3s ease-out;
2013-10-09 18:15:47 +02:00
}
.hideright {
2013-10-29 21:27:17 +01:00
right: -(@mobilePanelsWidth+1);
2013-10-09 18:15:47 +02:00
}
.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;
2013-10-09 18:15:47 +02:00
/*float:right;*/
width: 25px;
height: 38px;
border: 1px solid #808;
background: url('../img/arrows.png') no-repeat;
background-color: #eee;
cursor: pointer;
2013-10-09 18:15:47 +02:00
&:active {
background-color: #aaa;
}
2013-10-09 18:15:47 +02:00
.leftpanel & {
right: -27px;
background-position: 0px 0px;
}
2013-10-09 18:15:47 +02:00
.rightpanel & {
left: -27px;
background-position: -25px 0px;
}
2013-10-09 18:15:47 +02:00
}
.sidebuttonin {
&:active {
background-color: #888;
}
.leftpanel & {
background-color: #ccc;
background-position: -25px 0px;
}
.rightpanel & {
background-color: #ccc;
background-position: -0px 0px;
}
2013-10-09 18:15:47 +02:00
}