piskel/css/style.css

138 lines
2.2 KiB
CSS
Raw Normal View History

2012-09-15 22:25:45 +04:00
.menubar {
2012-09-05 01:48:02 +04:00
position: absolute;
top: 0; left: 0;
width: 100%; height: 30px;
}
.left-nav {
position:absolute;
2012-09-05 01:48:02 +04:00
top : 30px; bottom : 0;
width : 200px;
overflow-y: scroll;
background : #000;
padding : 10px;
}
.main-panel {
position:absolute;
2012-09-05 01:48:02 +04:00
top : 30px; bottom : 0; left : 220px; right : 0;
background : #ccc;
}
.preview-container {
position : absolute;
2012-09-05 01:48:02 +04:00
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;
}
2012-09-05 02:13:45 +04:00
.drawing-canvas {
2012-09-08 18:32:28 +04:00
float: left;
}
.canvas-overlay {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.drawing-canvas-container {
float: left;
}
2012-08-29 15:46:57 +04:00
#preview-fps {
width : 200px;
}
/**
* User messages
*/
2012-08-30 01:01:04 +04:00
.user-message {
2012-09-05 01:48:02 +04:00
position: absolute;
top: 2px;
right: 0;
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-05 01:48:02 +04:00
border-bottom-left-radius: 7px;
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;
}
/* 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);
}