piskel/css/style.css
2012-09-08 16:32:28 +02:00

138 lines
2.3 KiB
CSS

.tools-container {
position: absolute;
top: 0; left: 0;
width: 100%; height: 30px;
}
.left-nav {
position:absolute;
top : 30px; bottom : 0;
width : 200px;
overflow-y: scroll;
background : #000;
padding : 10px;
}
.main-panel {
position:absolute;
top : 30px; bottom : 0; left : 220px; right : 0;
background : #ccc;
}
.preview-container {
position : absolute;
bottom : 0; right : 0;
height : 256px;
width : 256px;
background : white;
border : 0px Solid black;
border-radius:5px 0px 0px 5px;
box-shadow : 0px 0px 2px rgba(0,0,0,0.2);
}
.preview-container canvas {
border : 0px Solid transparent;
border-radius:5px 0px 0px 5px;
}
#cursorInfo {
position : fixed;
cursor : default;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.action-button {
background-color : white;
width : 150px;
display : inline-block;
}
.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 {
position: relative;
z-index: 1;
}
.drawing-canvas {
float: left;
}
.canvas-overlay {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.drawing-canvas-container {
float: left;
}
#preview-fps {
width : 200px;
}
/**
* User messages
*/
.user-message {
position: absolute;
top: 2px;
right: 0;
background-color: #F9EDBE;
padding: 4px 12px;
padding-right: 20px;
border-top-left-radius: 7px;
border-bottom-left-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;
}
/* Force apparition of scrollbars on leopard */
::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(180,180,180,.7);
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}