0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-10 21:23:23 +01:00
doodle3d-client/less/base.less

90 lines
1.3 KiB
Plaintext
Raw Normal View History

2013-10-09 18:15:47 +02:00
/*
GLOBAL CONTAINER
*/
2014-01-09 17:05:03 +01:00
@import "config.less";
2013-10-29 21:27:17 +01:00
2013-10-09 18:15:47 +02:00
body {
background-color: #fcfcfc;
user-select: none; /* disable cut copy paste */
overflow:hidden; /* This chops off any overhanging divs */
}
2014-01-09 17:05:03 +01:00
@import "buttons.less";
@import "popup.less";
2013-10-09 18:15:47 +02:00
#landscape {
position:absolute;
width: 100%;
max-width: 1024px;
max-height: 768px;
top: 0;
bottom: 0;
left: 0;
right: 0;
2013-10-09 18:15:47 +02:00
overflow: hidden;
margin: 0 auto;
// solution from: http://stackoverflow.com/questions/14085822/css-firefox-box-shadow-and-outline
box-shadow: 0 0 0 2px #5e8c71,
0 0 8px 4px rgba(8, 8, 8, 0.25);
2013-10-09 18:15:47 +02:00
}
2014-01-09 17:05:03 +01:00
2013-10-09 18:15:47 +02:00
#portrait {
display: none;
}
2014-01-09 17:05:03 +01:00
2013-10-09 18:15:47 +02:00
.bgContainer {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
2014-01-10 17:21:43 +01:00
#bgTop, #bgMiddle, #bgBottom {
2013-10-09 18:15:47 +02:00
opacity: 1.0;
transition: opacity .35s linear;
position: absolute;
left: 0px;
z-index: -5;
}
2014-01-09 17:05:03 +01:00
2014-01-10 17:21:43 +01:00
#bgTop {
2013-10-09 18:15:47 +02:00
top: 0px;
}
2014-01-09 17:05:03 +01:00
2014-01-10 17:21:43 +01:00
#bgMiddle {
2013-10-09 18:15:47 +02:00
top: 30%;
}
2014-01-09 17:05:03 +01:00
2014-01-10 17:21:43 +01:00
#bgBottom {
2013-10-09 18:15:47 +02:00
bottom: 0px;
}
@import "base_centerpanel.less";
@import "base_leftpanel.less";
@import "base_rightpanel.less";
2014-01-09 17:05:03 +01:00
// import vertical shapes additions
@import "verticalshapes.less";
2013-10-09 18:15:47 +02:00
/*
REST
*/
/* CLEARFIX */
/* http://nicolasgallagher.com/micro-clearfix-hack/ */
2013-10-09 18:15:47 +02:00
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.clearfix:after {
clear: both;
}
/* For IE 6/7 only*/
.clearfix {
*zoom: 1;
}