mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
fixing color piker css and adding colopicker lightbox base
This commit is contained in:
parent
b4dd70286d
commit
aaaafb46f5
2 changed files with 8 additions and 1 deletions
|
@ -216,11 +216,12 @@
|
|||
}
|
||||
.color-picker-bar {
|
||||
height: 100%;
|
||||
padding: relative;
|
||||
position: relative;
|
||||
width: 15px;
|
||||
.color-bar-select {
|
||||
background-color: $color-white;
|
||||
height: 3px;
|
||||
left: -1px;
|
||||
position: absolute;
|
||||
width: 15px;
|
||||
top: 30%;
|
||||
|
|
|
@ -188,6 +188,12 @@
|
|||
:on-change on-change
|
||||
:value (or (:hex @local) color "")
|
||||
:type "text"}]]
|
||||
[:div.element-color-picker
|
||||
[:div.color-picker-body
|
||||
[:img {:src "images/color-gamma.png", :border "none"}]]
|
||||
[:div.color-picker-bar
|
||||
[:div.color-bar-select]
|
||||
[:img {:src "images/color-bar.png", :border "none"}]]]
|
||||
(colorpicker #(swap! local merge %))
|
||||
[:input#project-btn.btn-primary
|
||||
{:value "+ Add color"
|
||||
|
|
Loading…
Add table
Reference in a new issue