mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
195 lines
3.8 KiB
CSS
195 lines
3.8 KiB
CSS
.tools-group {
|
|
float: left;
|
|
height: 30px;
|
|
border-right: 1px solid #ccc;
|
|
padding: 0 3px;
|
|
}
|
|
|
|
.tool-icon {
|
|
float: left;
|
|
cursor : pointer;
|
|
width: 30px;
|
|
height: 30px;
|
|
background-color: transparent;
|
|
background-repeat: no-repeat;
|
|
background-position: 7px 7px;
|
|
}
|
|
|
|
/*
|
|
* Framesheet level actions:
|
|
*/
|
|
.tool-icon.tool-save {
|
|
background-image: url(../img/tools/icons/save.png);
|
|
}
|
|
|
|
.tool-icon.tool-add-frame {
|
|
background-image: url(../img/tools/icons/add-frame.png);
|
|
}
|
|
|
|
|
|
/*
|
|
* Tool icons:
|
|
*/
|
|
.tool-icon.tool-pen {
|
|
background-image: url(../img/tools/icons/pen.png);
|
|
}
|
|
|
|
.tool-icon.tool-vertical-mirror-pen {
|
|
background-image: url(../img/tools/icons/vertical-mirror-pen.png);
|
|
}
|
|
|
|
.tool-icon.tool-paint-bucket {
|
|
background-image: url(../img/tools/icons/paint-bucket.png);
|
|
}
|
|
|
|
.tool-icon.tool-eraser {
|
|
background-image: url(../img/tools/icons/eraser.png);
|
|
}
|
|
|
|
.tool-icon.tool-stroke {
|
|
background-image: url(../img/tools/icons/stroke.png);
|
|
}
|
|
|
|
.tool-icon.tool-rectangle {
|
|
background-image: url(../img/tools/icons/rectangle.png);
|
|
}
|
|
|
|
.tool-icon.tool-circle {
|
|
background-image: url(../img/tools/cursors/circle.png);
|
|
}
|
|
|
|
.tool-icon.tool-move {
|
|
background-image: url(../img/tools/icons/hand.png);
|
|
}
|
|
|
|
.tool-icon.tool-rectangle-select {
|
|
background-image: url(../img/tools/icons/select.png);
|
|
}
|
|
|
|
.tool-icon.tool-shape-select {
|
|
background-image: url(../img/tools/icons/wand.png);
|
|
}
|
|
|
|
/*.tool-icon.tool-palette {
|
|
background-image: url(../img/tools/icons/color-palette.png);
|
|
}*/
|
|
|
|
/*
|
|
* Tool cursors:
|
|
*/
|
|
|
|
.tool-paint-bucket .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/paint-bucket.png) 14 12, pointer;
|
|
}
|
|
|
|
.tool-vertical-mirror-pen .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/vertical-mirror-pen.png) 14 12, pointer;
|
|
}
|
|
|
|
.tool-pen .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/pen.png) 2 21, pointer;
|
|
}
|
|
|
|
.tool-eraser .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/eraser.png) 2 21, pointer;
|
|
}
|
|
|
|
.tool-stroke .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/pen.png) 2 21, pointer;
|
|
}
|
|
|
|
.tool-rectangle .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/rectangle.png) 4 21, pointer;
|
|
}
|
|
|
|
.tool-circle .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/circle.png) 4 21, pointer;
|
|
}
|
|
|
|
.tool-move .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/hand.png) 14 12, pointer;
|
|
}
|
|
|
|
.tool-rectangle-select .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/select.png) 14 12, pointer;
|
|
}
|
|
|
|
.tool-shape-select .drawing-canvas-container:hover {
|
|
cursor: url(../img/tools/cursors/wand.png) 14 12, pointer;
|
|
}
|
|
|
|
.tool-grid,
|
|
.tool-grid label,
|
|
.tool-grid input {
|
|
line-height: 2.5;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tool-icon.selected {
|
|
cursor: auto;
|
|
background-color: #eee;
|
|
}
|
|
|
|
.tool-icon:hover {
|
|
background-color: #eee;
|
|
}
|
|
|
|
.tool-color-picker {
|
|
padding: 5px 0 0 5px;
|
|
cursor : default;
|
|
}
|
|
|
|
.tool-color-picker input {
|
|
width: 8px; height: 8px;
|
|
border: 1px solid black;
|
|
padding: 1px;
|
|
background: white;
|
|
cursor: pointer;
|
|
position : relative;
|
|
}
|
|
|
|
#secondary-color-picker {
|
|
top : 8px;
|
|
}
|
|
|
|
.tool-palette {
|
|
width: auto;
|
|
}
|
|
.tool-palette .palette li {
|
|
float: left;
|
|
}
|
|
|
|
.palette .palette-color {
|
|
cursor: pointer;
|
|
display : inline-block;
|
|
height : 20px;
|
|
width : 20px;
|
|
margin : 5px;
|
|
}
|
|
|
|
.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%
|
|
);
|
|
}
|