piskel/css/style.css

121 lines
1.5 KiB
CSS
Raw Normal View History

2012-09-16 06:33:26 +04:00
/**
* Top menubars
*/
2012-09-15 22:25:45 +04:00
.menubar {
2012-09-16 06:33:26 +04:00
background-color: #fff;
width: 100%;
height: 30px;
}
2012-09-16 06:33:26 +04:00
/**
* Application layout
*/
.left-section {
position: absolute;
top: 0;
bottom: 0;
width: 220px;
background: #666;
}
.main-panel {
2012-09-16 06:33:26 +04:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 220px;
background: #ccc;
}
2012-09-16 06:33:26 +04:00
/**
* CSS Helpers
*/
2012-09-16 06:33:26 +04:00
.overlay-total {
position: absolute;
top: 0;
right:0;
bottom: 0;
left: 0;
}
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/transparent_background.png) repeat;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
2012-09-16 06:33:26 +04:00
.canvas.canvas-overlay {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
2012-09-16 06:33:26 +04:00
.drawing-canvas {
float: left;
}
2012-09-16 06:33:26 +04:00
.drawing-canvas-container {
float: left;
2012-08-29 15:46:57 +04:00
}
2012-09-16 06:33:26 +04:00
/**
* User messages
*/
2012-08-30 01:01:04 +04:00
.user-message {
2012-09-05 01:48:02 +04:00
position: absolute;
2012-09-16 06:33:26 +04:00
bottom: 0;
left: 25%;
2012-08-30 01:01:04 +04:00
background-color: #F9EDBE;
2012-09-05 01:48:02 +04:00
padding: 4px 12px;
padding-right: 20px;
2012-08-30 01:01:04 +04:00
border-top-left-radius: 7px;
2012-09-16 06:33:26 +04:00
border-top-right-radius: 7px;
2012-09-05 01:48:02 +04:00
border-right: 0;
2012-08-30 01:01:04 +04:00
color: #222;
border: #F0C36D 1px solid;
font-weight: bold;
2012-09-05 01:48:02 +04:00
font-size: 13px;
z-index: 10000;
2012-08-30 01:01:04 +04:00
}
.user-message .close {
position: absolute;
2012-09-05 01:48:02 +04:00
top: 0px;
right: 5px;
color: gray;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.user-message .close:hover {
color: black;
}