mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
@@ -4,6 +4,18 @@ body {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
-webkit-appearance: none;
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 8px;
|
||||
border: 2px solid #444; /* should match background, can't be transparent */
|
||||
background-color: #444; /*rgba(0, 0, 0, .5);*/
|
||||
}
|
||||
|
||||
.main-wrapper {
|
||||
padding: 10px;
|
||||
position: absolute;
|
||||
@@ -23,18 +35,24 @@ body {
|
||||
float: left;
|
||||
height: 46px;
|
||||
width: 46px;
|
||||
background: no-repeat url(img/magicwand-icon.png);
|
||||
background-size: 34px 34px;
|
||||
background-position-x: 6px;
|
||||
background-position-y: 6px;
|
||||
background-repeat: no-repeat;
|
||||
/*background-size: 34px;
|
||||
background-position: 6px;*/
|
||||
background-size: 28px;
|
||||
background-position: 9px;
|
||||
background-color: rgba(200,200,200, .1);
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
.tool.magicwand { background-image: url(img/magicwand-icon.png); }
|
||||
.tool.bucket { background-image: url(img/paintbucket-icon.png); }
|
||||
.tool.pen { background-image: url(img/pen-icon.png); }
|
||||
.tool.eyedropper { background-image: url(img/eyedropper-icon.png);}
|
||||
|
||||
.tool.selected,
|
||||
.tool:hover {
|
||||
cursor: pointer;
|
||||
background-color: rgba(240,200,230, .3);
|
||||
background-color: #6b5f68; /*rgba(240,200,230, .3);*/
|
||||
}
|
||||
|
||||
.tool.has-group:after {
|
||||
@@ -66,7 +84,61 @@ body {
|
||||
.canvas .draw-area {
|
||||
position: absolute;
|
||||
top:0; right: 0; bottom: 0; left: 0;
|
||||
box-shadow: 0 0 8px 5px #444;
|
||||
/*
|
||||
background: repeat url(img/transparent_background.png);
|
||||
*/
|
||||
/*
|
||||
background-color: #eee;
|
||||
background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),
|
||||
linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
|
||||
background-size:60px 60px;
|
||||
background-position:0 0, 30px 30px
|
||||
*/
|
||||
}
|
||||
|
||||
.canvas .draw-area-1 {
|
||||
background: radial-gradient(black 15%, transparent 16%) 0 0,
|
||||
radial-gradient(black 15%, transparent 16%) 8px 8px,
|
||||
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
|
||||
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
|
||||
background-color:#282828;
|
||||
background-size:16px 16px;
|
||||
}
|
||||
|
||||
.canvas .draw-area-2 {
|
||||
background-color: #eee;
|
||||
background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),
|
||||
linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
|
||||
background-size:60px 60px;
|
||||
background-position:0 0, 30px 30px
|
||||
}
|
||||
|
||||
.canvas .draw-area-3 {
|
||||
background: repeat url(img/transparent_background.png);
|
||||
}
|
||||
|
||||
.canvas .draw-area-4 {
|
||||
background:
|
||||
linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
|
||||
linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
|
||||
linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
|
||||
linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
|
||||
linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
|
||||
linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
|
||||
background-color: #131313;
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
|
||||
.canvas .draw-area-5 {
|
||||
border: #6b5f68 1px solid;
|
||||
background-color:#444;
|
||||
background-image: linear-gradient(#6b5f68 1px, transparent 1px),
|
||||
linear-gradient(90deg, #6b5f68 1px, transparent 1px),
|
||||
linear-gradient(#6b5f68 1px, transparent 1px),
|
||||
linear-gradient(90deg, #6b5f68 1px, transparent 1px);
|
||||
background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px;
|
||||
background-position:-1px -1px, -1px -1px, -1px -1px, -1px -1px;
|
||||
}
|
||||
|
||||
.canvas .pusher {
|
||||
@@ -77,17 +149,24 @@ body {
|
||||
|
||||
.previewlist {
|
||||
float: left;
|
||||
background-color: red;
|
||||
background-color: #111;
|
||||
width: 120px;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.preview-item {
|
||||
position: relative;
|
||||
border: gray 1px solid;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: violet;
|
||||
border: #444 6px solid;
|
||||
border-radius: 3px;
|
||||
width: 90px;
|
||||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.preview-item.selected {
|
||||
border-color: gold;
|
||||
}
|
||||
|
||||
.preview-item-overlay {
|
||||
@@ -96,16 +175,15 @@ body {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
font-size: 14px;
|
||||
color: white;
|
||||
padding: 5px 8px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
|
||||
.preview-item:hover .preview-item-overlay,
|
||||
.preview-item-overlay:hover {
|
||||
display: block;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
@@ -115,18 +193,49 @@ body {
|
||||
border-bottom-right-radius: 3px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.preview-item-overlay.tile-close {
|
||||
border-bottom-left-radius: 3px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border-bottom-left-radius: 3px;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.preview-item-overlay.tile-close:after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
background: no-repeat url(img/garbage.png) 5px 5px;
|
||||
background-size: 20px 20px;
|
||||
top: 0; right: 0; bottom: 0; left: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.preview-item img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.grid-mode .previewlist {
|
||||
float: none;
|
||||
width: auto;
|
||||
overflow: hidden;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.grid-mode .preview-item {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.grid-mode .animpreview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.animpreview {
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
@@ -142,4 +251,23 @@ body {
|
||||
.animpreview img {
|
||||
width: 50%;
|
||||
box-shadow: 0 0 5px 5px #000;
|
||||
}
|
||||
|
||||
.ux-options:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.ux-options {
|
||||
color: #ddd;
|
||||
font-size: 14px;
|
||||
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-color: #333;
|
||||
opacity: 0.3;
|
||||
border: #fff solid 3px;
|
||||
border-right: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
Reference in New Issue
Block a user