piskel/css/style.css

205 lines
3.3 KiB
CSS
Raw Normal View History

2012-09-16 06:33:26 +04:00
2013-06-12 16:53:47 +04:00
body {
background: -webkit-radial-gradient(circle, #000, #373737);
}
2012-09-16 06:33:26 +04:00
/**
* Application layout
*/
2013-06-12 16:53:47 +04:00
.column-wrapper {
text-align: center;
font-size: 0;
2012-09-16 06:33:26 +04:00
position: absolute;
left: 100px; /* Reserve room for tools on the left edge of the screen. */
top: 10px;
right: 50px; /* Reserve room for actions on the right edge of the screen. */
bottom: 10px;
}
2013-06-12 16:53:47 +04:00
.left-column {
display: inline-block;
vertical-align: top;
height: 100%;
margin-right: 7px;
}
2013-06-12 16:53:47 +04:00
.main-column {
display: inline-block;
height: 100%;
position: relative;
}
2013-06-12 16:53:47 +04:00
.drawing-canvas-container {
font-size: 0;
}
2013-06-12 16:53:47 +04:00
.right-column {
display: inline-block;
vertical-align: top;
margin-left: 10px;
}
.sticky-section {
display: table;
height: 100%;
position: fixed;
top: 0;
bottom: 0;
z-index: 10;
}
2013-06-15 21:35:55 +04:00
.sticky-section .wrap,
.sticky-section .drawer {
display: table-cell;
vertical-align: middle;
}
.left-sticky-section.sticky-section {
left: 0;
max-width: 100px;
}
.left-sticky-section .tool-icon {
float: left;
}
.right-sticky-section.sticky-section {
right: 0;
width: 50px;
2013-06-15 21:35:55 +04:00
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-ms-transition: all 200ms ease-out;
transition: all 200ms ease-out;
}
.right-sticky-section.expanded {
right: 300px;
}
.drawer {
}
.drawer-content {
background-color: red;
height: 600px;
width: 300px;
}
.right-sticky-section .tool-icon {
float: right;
}
2012-09-16 06:33:26 +04:00
/**
* Canvases layout
*/
.canvas {
position: relative;
z-index: 1;
}
.canvas-container {
position: relative;
display: block;
}
.canvas-container .canvas-background {
background: url(../img/canvas_background/medium_canvas_background.png) repeat;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.light-canvas-background .canvas-background {
background: url(../img/canvas_background/light_canvas_background.png) repeat;
}
.medium-canvas-background .canvas-background {
background: url(../img/canvas_background/medium_canvas_background.png) repeat;
}
.lowcont-medium-canvas-background .canvas-background {
background: url(../img/canvas_background/lowcont_medium_canvas_background.png) repeat;
}
.lowcont-dark-canvas-background .canvas-background {
background: url(../img/canvas_background/lowcont_dark_canvas_background.png) repeat;
}
2012-09-16 06:33:26 +04:00
.canvas.canvas-overlay {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
/**
* Animated preview styles.
*/
.preview-container {
border : 0px Solid black;
border-radius:5px 0px 0px 5px;
box-shadow : 0px 0px 2px rgba(0,0,0,0.2);
font-size: 0;
}
.preview-container canvas {
border : 0px Solid transparent;
}
.display-fps {
float: left;
color: #aaa;
font-size: 12px;
min-width: 55px;
vertical-align: bottom;
line-height: 24px;
}
.range-fps {
overflow: hidden;
}
/**
* User messages
*/
2012-08-30 01:01:04 +04:00
.user-message {
2013-06-14 15:17:20 +04:00
position: absolute;
right: 0;
bottom: 0;
background-color: #F9EDBE;
padding: 10px 47px;
border-top-left-radius: 7px;
color: #222;
border: #F0C36D 1px solid;
border-right: 0;
border-bottom: 0;
font-weight: bold;
font-size: 13px;
z-index: 10000;
max-width: 300px;
2012-08-30 01:01:04 +04:00
}
.user-message .close {
position: absolute;
top: 6px;
right: 17px;
color: gray;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.user-message .close:hover {
color: black;
}