mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
feature : allow user to input hexa for color
This commit is contained in:
parent
903f6817cf
commit
8581e4ec65
@ -7,7 +7,7 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background-color: #2B2B2B;
|
background-color: #2B2B2B;
|
||||||
border: solid 4px #888;
|
border: solid 4px #888;
|
||||||
padding: 5px;
|
padding: 5px 5px 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sp-container[data-y-position=bottom] {
|
.sp-container[data-y-position=bottom] {
|
||||||
@ -96,3 +96,16 @@
|
|||||||
border-color: gold;
|
border-color: gold;
|
||||||
box-shadow: 0 0 0px 1px gold;
|
box-shadow: 0 0 0px 1px gold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sp-input {
|
||||||
|
border: 1px solid #666;
|
||||||
|
margin: 0;
|
||||||
|
background: #111;
|
||||||
|
border-radius: 2px;
|
||||||
|
color: #D3D3D3;
|
||||||
|
font-family: Courier!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sp-input.sp-validation-error {
|
||||||
|
background: #330000;
|
||||||
|
}
|
@ -22,6 +22,7 @@
|
|||||||
var spectrumCfg = {
|
var spectrumCfg = {
|
||||||
showPalette: true,
|
showPalette: true,
|
||||||
showButtons: false,
|
showButtons: false,
|
||||||
|
showInput: true,
|
||||||
palette: [
|
palette: [
|
||||||
['rgba(0,0,0,0)']
|
['rgba(0,0,0,0)']
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user