2012-08-23 02:57:35 +04:00
|
|
|
|
html, body {
|
|
|
|
|
height : 100%;
|
|
|
|
|
margin : 0;
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ul, li {
|
|
|
|
|
margin : 0;
|
|
|
|
|
padding : 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.debug {
|
|
|
|
|
border : 1px Solid black;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.left-nav {
|
|
|
|
|
position:absolute;
|
|
|
|
|
top : 0;
|
|
|
|
|
bottom : 0;
|
|
|
|
|
width : 200px;
|
2012-08-25 04:25:44 +04:00
|
|
|
|
overflow-y: scroll;
|
2012-08-23 02:57:35 +04:00
|
|
|
|
background : #000;
|
|
|
|
|
padding : 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main-panel {
|
|
|
|
|
position:absolute;
|
|
|
|
|
top : 0;
|
|
|
|
|
bottom : 0;
|
2012-08-25 04:25:44 +04:00
|
|
|
|
left : 220px;
|
2012-08-23 02:57:35 +04:00
|
|
|
|
right : 0;
|
|
|
|
|
background : #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-container {
|
|
|
|
|
position : absolute;
|
|
|
|
|
top : 30px;
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-25 04:25:44 +04:00
|
|
|
|
.preview-container canvas {
|
2012-08-23 02:57:35 +04:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-25 04:25:44 +04:00
|
|
|
|
#preview-list {
|
|
|
|
|
list-style-type: none;
|
2012-08-23 02:57:35 +04:00
|
|
|
|
}
|
|
|
|
|
|
2012-08-27 04:05:13 +04:00
|
|
|
|
.preview-tile {
|
2012-08-25 04:25:44 +04:00
|
|
|
|
padding : 10px;
|
|
|
|
|
overflow: hidden;
|
2012-08-27 04:05:13 +04:00
|
|
|
|
background-color: gray;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-tile .canvas-container {
|
|
|
|
|
float: left;
|
2012-08-25 04:25:44 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-tile .tile-view {
|
|
|
|
|
float: left;
|
2012-08-27 04:05:13 +04:00
|
|
|
|
border: blue 1px solid;
|
2012-08-25 04:25:44 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-tile .tile-action {
|
|
|
|
|
display: none;
|
|
|
|
|
float: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-tile:hover .tile-action {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-tile:hover {
|
|
|
|
|
background-color: lightgray;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#preview-list .preview-tile.selected {
|
2012-08-27 04:05:13 +04:00
|
|
|
|
background-color: lightyellow;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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-08-25 04:25:44 +04:00
|
|
|
|
}
|
|
|
|
|
|
2012-09-02 02:44:55 +04:00
|
|
|
|
.canvas-overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-31 12:45:07 +04:00
|
|
|
|
.drawing-canvas-container {
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-paint-bucket .drawing-canvas-container:hover {
|
2012-09-02 02:44:55 +04:00
|
|
|
|
cursor: url(../img/tools/cursors/paint-bucket.png) 18 17, pointer;
|
2012-08-31 12:45:07 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-pen .drawing-canvas-container:hover {
|
2012-09-02 02:44:55 +04:00
|
|
|
|
cursor: url(../img/tools/cursors/pen.png) 7 21, pointer;
|
2012-08-31 12:45:07 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-eraser .drawing-canvas-container:hover {
|
2012-09-02 02:44:55 +04:00
|
|
|
|
cursor: url(../img/tools/cursors/eraser.png) 5 21, pointer;
|
2012-08-31 12:45:07 +04:00
|
|
|
|
}
|
|
|
|
|
|
2012-09-02 02:44:55 +04:00
|
|
|
|
.tool-stroke .drawing-canvas-container:hover {
|
|
|
|
|
cursor: url(../img/tools/cursors/pen.png) 5 21, pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-02 15:19:20 +04:00
|
|
|
|
.tool-rectangle .drawing-canvas-container:hover {
|
|
|
|
|
cursor: url(../img/tools/cursors/rectangle.png) 4 21, pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-02 02:44:55 +04:00
|
|
|
|
|
2012-08-31 12:45:07 +04:00
|
|
|
|
/**
|
|
|
|
|
* Tool section:
|
|
|
|
|
*/
|
|
|
|
|
|
2012-09-02 03:41:49 +04:00
|
|
|
|
.color-tool {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-02 02:44:55 +04:00
|
|
|
|
.palette .palette-color {
|
2012-09-02 03:41:49 +04:00
|
|
|
|
cursor: pointer;
|
2012-08-29 12:46:25 +04:00
|
|
|
|
display : inline-block;
|
|
|
|
|
height : 20px;
|
|
|
|
|
width : 20px;
|
|
|
|
|
margin : 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-02 03:41:49 +04:00
|
|
|
|
.palette .palette-color.transparent-color {
|
|
|
|
|
background-color: white;
|
|
|
|
|
height : 16px;
|
|
|
|
|
width : 16px;
|
|
|
|
|
border: 2px solid #000;
|
|
|
|
|
|
|
|
|
|
background-image: -webkit-gradient(
|
|
|
|
|
linear,
|
|
|
|
|
left top,
|
|
|
|
|
right bottom,
|
|
|
|
|
color-stop(0, #fff),
|
|
|
|
|
color-stop(0.45, #fff),
|
|
|
|
|
color-stop(0.5, #ff0000),
|
|
|
|
|
color-stop(0.55, #fff),
|
|
|
|
|
color-stop(1, #fff)
|
|
|
|
|
);
|
|
|
|
|
background-image: -moz-linear-gradient(
|
|
|
|
|
left top,
|
|
|
|
|
#fff 0%,
|
|
|
|
|
#fff 45%,
|
|
|
|
|
#f00 50%,
|
|
|
|
|
#fff 55%,
|
|
|
|
|
#fff 100%
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-31 12:45:07 +04:00
|
|
|
|
.tools-container {
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tools-container .tool-icon {
|
|
|
|
|
display: block;
|
|
|
|
|
float: left;
|
|
|
|
|
margin-right: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon {
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
border: 5px solid #fff;
|
2012-09-02 15:19:20 +04:00
|
|
|
|
background-color: #fff
|
2012-08-31 12:45:07 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon:hover {
|
|
|
|
|
border-color: #;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon:hover {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border: 5px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon.selected {
|
|
|
|
|
cursor: auto;
|
|
|
|
|
border: 5px solid #ddd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon.tool-pen {
|
2012-09-02 02:44:55 +04:00
|
|
|
|
background: #fff url(../img/tools/icons/pen.png) 3px 3px no-repeat;
|
2012-08-31 12:45:07 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon.tool-paint-bucket {
|
2012-09-02 02:44:55 +04:00
|
|
|
|
background: #fff url(../img/tools/icons/paint-bucket.png) 3px 3px no-repeat;
|
2012-08-31 12:45:07 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon.tool-eraser {
|
2012-09-02 02:44:55 +04:00
|
|
|
|
background: #fff url(../img/tools/icons/eraser.png) 3px 3px no-repeat;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool-icon.tool-stroke {
|
|
|
|
|
background: #fff url(../img/tools/icons/stroke.png) 3px 3px no-repeat;
|
2012-08-31 12:45:07 +04:00
|
|
|
|
}
|
|
|
|
|
|
2012-09-02 15:19:20 +04:00
|
|
|
|
.tool-icon.tool-rectangle {
|
|
|
|
|
background: #fff url(../img/tools/icons/rectangle.png) 3px 3px no-repeat;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-29 15:46:57 +04:00
|
|
|
|
#preview-fps {
|
|
|
|
|
width : 200px;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-31 12:45:07 +04:00
|
|
|
|
/**
|
|
|
|
|
* User messages
|
|
|
|
|
*/
|
2012-08-30 01:01:04 +04:00
|
|
|
|
.user-message {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 40%;
|
|
|
|
|
background-color: #F9EDBE;
|
|
|
|
|
padding: 7px 22px;
|
2012-09-03 03:24:55 +04:00
|
|
|
|
padding-right: 42px;
|
2012-08-30 01:01:04 +04:00
|
|
|
|
border-top-left-radius: 7px;
|
|
|
|
|
border-top-right-radius: 7px;
|
|
|
|
|
font-family: ‘Arial Black’, Gadget, sans-serif;
|
|
|
|
|
color: #222;
|
|
|
|
|
border: #F0C36D 1px solid;
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
font-weight: bold;
|
2012-08-30 18:30:22 +04:00
|
|
|
|
font-size: 14px;
|
|
|
|
|
z-index: 10000;
|
2012-08-30 01:01:04 +04:00
|
|
|
|
}
|
|
|
|
|
|
2012-09-03 03:24:55 +04:00
|
|
|
|
.user-message .close {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 3px;
|
|
|
|
|
right: 6px;
|
|
|
|
|
color: gray;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-message .close:hover {
|
|
|
|
|
color: black;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-27 04:05:13 +04:00
|
|
|
|
/* Force apparition of scrollbars on leopard */
|
2012-08-25 04:25:44 +04:00
|
|
|
|
::-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);
|
2012-08-23 02:57:35 +04:00
|
|
|
|
}
|