mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
121 lines
1.5 KiB
CSS
121 lines
1.5 KiB
CSS
|
|
|
|
/**
|
|
* Top menubars
|
|
*/
|
|
.menubar {
|
|
background-color: #fff;
|
|
width: 100%;
|
|
height: 30px;
|
|
}
|
|
|
|
|
|
/**
|
|
* Application layout
|
|
*/
|
|
|
|
.left-section {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 220px;
|
|
background: #666;
|
|
}
|
|
|
|
.main-panel {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 220px;
|
|
background: #ccc;
|
|
}
|
|
|
|
|
|
/**
|
|
* CSS Helpers
|
|
*/
|
|
|
|
.overlay-total {
|
|
position: absolute;
|
|
top: 0;
|
|
right:0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
|
|
|
|
/**
|
|
* 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;
|
|
}
|
|
|
|
.canvas.canvas-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.drawing-canvas {
|
|
float: left;
|
|
}
|
|
|
|
.drawing-canvas-container {
|
|
float: left;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* User messages
|
|
*/
|
|
.user-message {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 25%;
|
|
background-color: #F9EDBE;
|
|
padding: 4px 12px;
|
|
padding-right: 20px;
|
|
border-top-left-radius: 7px;
|
|
border-top-right-radius: 7px;
|
|
border-right: 0;
|
|
color: #222;
|
|
border: #F0C36D 1px solid;
|
|
font-weight: bold;
|
|
font-size: 13px;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.user-message .close {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 5px;
|
|
color: gray;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.user-message .close:hover {
|
|
color: black;
|
|
}
|