0
Fork 0
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:
Juan de la Cruz 2016-01-14 12:33:05 +01:00
parent b4dd70286d
commit aaaafb46f5
2 changed files with 8 additions and 1 deletions

View file

@ -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%;

View file

@ -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"