2012-09-16 06:33:26 +04:00
|
|
|
|
|
|
|
|
2013-06-12 16:53:47 +04:00
|
|
|
body {
|
2013-06-15 20:55:44 +04:00
|
|
|
background: radial-gradient(circle, #000, #373737);
|
2013-09-30 00:53:05 +04:00
|
|
|
/* 16/06/2013 : -webkit still needed for
|
2013-06-16 10:20:48 +04:00
|
|
|
safari, safari mobile and android browser and chrome for android
|
|
|
|
cf http://caniuse.com/css-gradients */
|
2013-06-12 16:53:47 +04:00
|
|
|
background: -webkit-radial-gradient(circle, #000, #373737);
|
2012-08-23 02:57:35 +04:00
|
|
|
}
|
2013-06-12 20:39:33 +04:00
|
|
|
|
2012-09-16 06:33:26 +04:00
|
|
|
/**
|
|
|
|
* Application layout
|
|
|
|
*/
|
|
|
|
|
2013-06-19 21:01:12 +04:00
|
|
|
.main-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 0;
|
|
|
|
bottom: 5px;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2013-06-12 16:53:47 +04:00
|
|
|
.column-wrapper {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 0;
|
2012-09-16 06:33:26 +04:00
|
|
|
position: absolute;
|
2013-06-15 21:04:36 +04:00
|
|
|
left: 100px; /* Reserve room for tools on the left edge of the screen. */
|
2013-06-19 21:01:12 +04:00
|
|
|
top: 0;
|
2013-06-15 21:04:36 +04:00
|
|
|
right: 50px; /* Reserve room for actions on the right edge of the screen. */
|
2013-06-19 21:01:12 +04:00
|
|
|
bottom: 0;
|
2012-08-23 02:57:35 +04:00
|
|
|
}
|
|
|
|
|
2013-07-15 01:04:42 +04:00
|
|
|
.piskel-name-container {
|
|
|
|
overflow:hidden;
|
|
|
|
position:fixed;
|
|
|
|
top:10px;
|
|
|
|
left:10px;
|
|
|
|
color:white;
|
|
|
|
font-family:Tahoma;
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.piskel-name-container #piskel-name {
|
|
|
|
border :none;
|
|
|
|
color : lightgrey;
|
|
|
|
background: transparent;
|
|
|
|
font-size:16pt;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-06-19 21:01:12 +04:00
|
|
|
.column {
|
2013-06-12 16:53:47 +04:00
|
|
|
display: inline-block;
|
2013-06-19 21:01:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.left-column {
|
2013-06-12 16:53:47 +04:00
|
|
|
vertical-align: top;
|
|
|
|
height: 100%;
|
|
|
|
margin-right: 7px;
|
2012-08-23 02:57:35 +04:00
|
|
|
}
|
|
|
|
|
2013-06-12 16:53:47 +04:00
|
|
|
.main-column {
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
2012-08-23 02:57:35 +04:00
|
|
|
|
2013-06-12 16:53:47 +04:00
|
|
|
.right-column {
|
|
|
|
vertical-align: top;
|
|
|
|
margin-left: 10px;
|
2012-08-23 02:57:35 +04:00
|
|
|
}
|
|
|
|
|
2013-06-19 21:01:12 +04:00
|
|
|
.drawing-canvas-container {
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
|
2013-06-13 15:57:03 +04:00
|
|
|
.sticky-section {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2013-06-16 12:36:05 +04:00
|
|
|
z-index: 1000;
|
2013-06-13 15:57:03 +04:00
|
|
|
}
|
|
|
|
|
2013-07-15 01:18:03 +04:00
|
|
|
.sticky-section .sticky-section-wrap {
|
|
|
|
display: table;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticky-section .vertical-centerer {
|
2013-06-13 15:57:03 +04:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2013-06-15 21:04:36 +04:00
|
|
|
.left-sticky-section.sticky-section {
|
|
|
|
left: 0;
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-sticky-section .tool-icon {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2012-09-16 06:33:26 +04:00
|
|
|
/**
|
|
|
|
* Canvases layout
|
|
|
|
*/
|
|
|
|
|
|
|
|
.canvas {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2012-09-08 01:14:25 +04:00
|
|
|
|
2012-08-27 04:05:13 +04:00
|
|
|
.canvas-container {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.canvas-container .canvas-background {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2013-06-17 13:36:56 +04:00
|
|
|
.light-picker-background,
|
2013-06-14 15:16:18 +04:00
|
|
|
.light-canvas-background .canvas-background {
|
|
|
|
background: url(../img/canvas_background/light_canvas_background.png) repeat;
|
|
|
|
}
|
|
|
|
|
2013-06-17 13:36:56 +04:00
|
|
|
.medium-picker-background,
|
2013-06-14 15:16:18 +04:00
|
|
|
.medium-canvas-background .canvas-background {
|
|
|
|
background: url(../img/canvas_background/medium_canvas_background.png) repeat;
|
|
|
|
}
|
|
|
|
|
2013-06-17 13:36:56 +04:00
|
|
|
.lowcont-medium-picker-background,
|
2013-06-14 15:16:18 +04:00
|
|
|
.lowcont-medium-canvas-background .canvas-background {
|
|
|
|
background: url(../img/canvas_background/lowcont_medium_canvas_background.png) repeat;
|
|
|
|
}
|
|
|
|
|
2013-06-17 13:36:56 +04:00
|
|
|
.lowcont-dark-picker-background,
|
2013-06-14 15:16:18 +04:00
|
|
|
.lowcont-dark-canvas-background .canvas-background {
|
|
|
|
background: url(../img/canvas_background/lowcont_dark_canvas_background.png) repeat;
|
|
|
|
}
|
|
|
|
|
2013-09-30 01:05:24 +04:00
|
|
|
.layers-canvas {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
2013-06-14 15:16:18 +04:00
|
|
|
|
2013-09-30 00:53:05 +04:00
|
|
|
.canvas.canvas-overlay,
|
|
|
|
.canvas.layers-canvas {
|
2012-09-02 02:44:55 +04:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2013-09-30 01:05:24 +04:00
|
|
|
/**
|
|
|
|
* Z-indexes should match the drawing area canvas superposition order :
|
|
|
|
* - 1 : draw layers below current layer
|
|
|
|
* - 2 : draw current layer
|
|
|
|
* - 3 : draw layers above current layer
|
|
|
|
* - 4 : draw the tools overlay
|
|
|
|
*/
|
|
|
|
.canvas.layers-below-canvas {z-index: 7;}
|
|
|
|
.canvas.drawing-canvas {z-index: 8;}
|
|
|
|
.canvas.layers-above-canvas {z-index: 9;}
|
|
|
|
.canvas.canvas-overlay {z-index: 10;}
|
2013-06-12 20:39:33 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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;
|
|
|
|
}
|
|
|
|
|
2013-09-25 02:11:12 +04:00
|
|
|
/**
|
|
|
|
* Layers container
|
|
|
|
*/
|
2013-09-30 01:26:09 +04:00
|
|
|
.layers-list-container {
|
2013-09-26 09:47:11 +04:00
|
|
|
border: 4px solid #888;
|
|
|
|
font-size: medium;
|
2013-09-25 02:11:12 +04:00
|
|
|
color: white;
|
|
|
|
text-align: left;
|
2013-09-26 09:47:11 +04:00
|
|
|
border-radius: 4px;
|
2013-09-25 23:03:57 +04:00
|
|
|
margin-top: 10px;
|
2013-09-25 02:11:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.layers-title {
|
2013-09-26 09:47:11 +04:00
|
|
|
padding: 8px;
|
2013-09-25 02:11:12 +04:00
|
|
|
margin: 0;
|
2013-09-26 09:47:11 +04:00
|
|
|
font-size: 15px;
|
|
|
|
background: #222;
|
2013-09-26 00:43:21 +04:00
|
|
|
background-image: url('../img/layers.svg');
|
2013-09-26 09:47:11 +04:00
|
|
|
background-size: 22px;
|
2013-09-26 00:43:21 +04:00
|
|
|
background-repeat: no-repeat;
|
2013-09-26 09:47:11 +04:00
|
|
|
background-position: 97%;
|
2013-09-25 02:11:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.layers-list {
|
|
|
|
font-size : 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layer-item {
|
|
|
|
height:24px;
|
|
|
|
line-height: 24px;
|
|
|
|
padding : 0 10px;
|
|
|
|
border-top: 1px solid #444;
|
|
|
|
cursor : pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layer-item:hover {
|
|
|
|
background : #222;
|
|
|
|
}
|
|
|
|
|
2013-09-30 00:53:05 +04:00
|
|
|
.current-layer-item,
|
|
|
|
.current-layer-item:hover {
|
2013-09-25 02:11:12 +04:00
|
|
|
background : #333;
|
2013-09-26 00:43:21 +04:00
|
|
|
color: gold;
|
2013-09-25 02:11:12 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.layers-button-container {
|
2013-09-25 23:03:57 +04:00
|
|
|
overflow : hidden;
|
2013-09-25 02:11:12 +04:00
|
|
|
}
|
|
|
|
|
2013-09-26 09:47:11 +04:00
|
|
|
.layers-button-arrow {
|
|
|
|
font-family : 'Lucida Grande', Calibri;
|
|
|
|
padding : 2px 6px 0 6px;
|
|
|
|
}
|
|
|
|
|
2013-09-25 02:11:12 +04:00
|
|
|
.layers-button {
|
2013-09-28 01:19:08 +04:00
|
|
|
height: 24px;
|
2013-09-25 23:03:57 +04:00
|
|
|
margin: 0;
|
|
|
|
width: 25%;
|
|
|
|
float : left;
|
2013-09-25 02:11:12 +04:00
|
|
|
border: none;
|
2013-09-25 23:03:57 +04:00
|
|
|
box-sizing: border-box;
|
2013-09-25 02:11:12 +04:00
|
|
|
border-top: 1px solid #666;
|
2013-09-25 23:03:57 +04:00
|
|
|
border-right: 1px solid #333;
|
|
|
|
border-bottom: 1px solid #333;
|
2013-09-25 02:11:12 +04:00
|
|
|
background-color: #3f3f3f;
|
|
|
|
cursor: pointer;
|
|
|
|
color: white;
|
|
|
|
font-size: 0.7em;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: 0px -1px 0 #000;
|
|
|
|
transition: background-color 0.2s linear;
|
|
|
|
}
|
|
|
|
|
2013-09-25 23:03:57 +04:00
|
|
|
.layers-button:last-child {
|
|
|
|
border-right-width: 0;
|
|
|
|
}
|
|
|
|
|
2013-09-25 02:11:12 +04:00
|
|
|
.layers-button:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #484848;
|
2013-09-26 00:43:21 +04:00
|
|
|
color: gold;
|
2013-09-25 02:11:12 +04:00
|
|
|
}
|
2013-09-30 00:53:05 +04:00
|
|
|
/**
|
|
|
|
* User messages
|
2012-08-31 12:45:07 +04:00
|
|
|
*/
|
2012-08-30 01:01:04 +04:00
|
|
|
.user-message {
|
2013-06-14 15:17:20 +04:00
|
|
|
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;
|
2013-09-30 00:53:05 +04:00
|
|
|
font-size: 13px;
|
2013-06-14 15:17:20 +04:00
|
|
|
z-index: 10000;
|
|
|
|
max-width: 300px;
|
2012-08-30 01:01:04 +04:00
|
|
|
}
|
|
|
|
|
2012-09-03 03:24:55 +04:00
|
|
|
.user-message .close {
|
|
|
|
position: absolute;
|
2013-06-13 22:07:12 +04:00
|
|
|
top: 6px;
|
|
|
|
right: 17px;
|
2012-09-03 03:24:55 +04:00
|
|
|
color: gray;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-message .close:hover {
|
|
|
|
color: black;
|
|
|
|
}
|