0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-05 03:33:23 +01:00
doodle3d-client/less/base_centerpanel.less

131 lines
1.6 KiB
Plaintext
Raw Normal View History

2013-10-09 18:15:47 +02:00
// CENTER PANEL
2014-01-10 17:21:43 +01:00
#centerpanel {
2013-10-09 18:15:47 +02:00
position: absolute;
left: 50%;
2014-01-09 17:05:03 +01:00
margin-left: -@center-panel-width/2;
width: @center-panel-width;
2013-10-09 18:15:47 +02:00
height: 100%;
2014-01-09 17:05:03 +01:00
padding-top: 1%;
2013-10-09 18:15:47 +02:00
}
2014-01-10 17:21:43 +01:00
#logopanel {
2014-01-09 17:05:03 +01:00
height: 15%;
text-align: center;
width: 40%;
margin-left: 30%;
cursor: pointer;
2013-10-09 18:15:47 +02:00
2014-01-10 17:21:43 +01:00
img#pencil {
2014-01-09 17:05:03 +01:00
margin-top: 2%;
max-width: 50%;
max-height: 50%;
}
2014-01-10 17:21:43 +01:00
img#logo {
2014-01-09 17:05:03 +01:00
max-width: 90%;
margin-bottom: 2%;
max-height: 45%;
}
}
// DRAW AREA
2014-01-10 17:21:43 +01:00
#drawareacontainer {
2014-01-09 17:05:03 +01:00
position: relative;
width: 100%;
height: 79%;
background-color: #fff;
border: 3px solid black;
border-radius: 15px;
box-sizing: border-box;
margin-top: 1%;
}
#canvasContainers {
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;
}
2013-10-09 18:15:47 +02:00
2014-01-09 17:05:03 +01:00
#preview_tmp {
display: none;
}
2013-10-09 18:15:47 +02:00
/*
HEIGHT-related RESPONSIVE STUFF
*/
@media screen and (max-height: 700px) {
2014-01-09 17:05:03 +01:00
}
@media screen and (max-height: 655px) {
2014-01-10 17:21:43 +01:00
#logopanel {
2014-01-09 17:05:03 +01:00
height: 10%;
2014-01-10 17:21:43 +01:00
img#logo {
2014-01-09 17:05:03 +01:00
margin-top: 1%;
max-height: 90%;
}
2014-01-10 17:21:43 +01:00
img#pencil {
2014-01-09 17:05:03 +01:00
display: none;
}
2013-10-09 18:15:47 +02:00
}
2014-01-09 17:05:03 +01:00
2014-01-10 17:21:43 +01:00
#drawareacontainer {
2014-01-09 17:05:03 +01:00
height: 83%;
2013-10-09 18:15:47 +02:00
}
2014-01-09 17:05:03 +01:00
2013-10-09 18:15:47 +02:00
}
@media screen and (max-height: 525px) {
2014-01-09 17:05:03 +01:00
2013-10-09 18:15:47 +02:00
}
2014-01-09 17:05:03 +01:00
2013-10-09 18:15:47 +02:00
@media screen and (max-height: 375px) {
2014-01-09 17:05:03 +01:00
}