piskel/css/style.css
Vince e6e2f20d80 Fix user messages
I fixed the local storage service, user messages were jsut working fine.
I updated the UXD, they are now sticky to the right-bottom corner.
2013-06-14 01:06:53 +02:00

156 lines
2.1 KiB
CSS

body {
background: -webkit-radial-gradient(circle, #000, #373737);
}
/**
* Application layout
*/
.column-wrapper {
text-align: center;
font-size: 0;
position: absolute;
left: 104px;
top: 10px;
right: 0;
bottom: 10px;
}
.left-column {
display: inline-block;
vertical-align: top;
height: 100%;
margin-right: 7px;
}
.main-column {
display: inline-block;
height: 100%;
position: relative;
}
.drawing-canvas-container {
font-size: 0;
}
.right-column {
display: inline-block;
vertical-align: top;
margin-left: 10px;
}
.sticky-section {
display: table;
height: 100%;
position: fixed;
top: 0;
bottom: 0;
left: 0;
width: 140px;
}
.sticky-section .wrap {
display: table-cell;
vertical-align: middle;
}
/**
* Canvases layout
*/
.canvas {
position: relative;
z-index: 1;
}
.canvas-container {
position: relative;
display: block;
}
.canvas-container .canvas-background {
background: url(../img/canvas_background.png) repeat;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.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;
}
.application-actions {
margin-top: 35px;
}
/**
* User messages
*/
.user-message {
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;
}
.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;
}