Add styles to stroke options

This commit is contained in:
Juan de la Cruz 2020-04-09 09:43:04 +02:00
parent 4073b3a981
commit b241e26285
3 changed files with 9 additions and 6 deletions

View file

@ -68,9 +68,9 @@
.element-set-title { .element-set-title {
color: $color-gray-10; color: $color-gray-10;
display: flex;
font-size: $fs14; font-size: $fs14;
margin-top: $x-small; padding: $small $x-small;
padding: $x-small;
width: 100%; width: 100%;
} }

View file

@ -53,6 +53,7 @@
(def logo (icon-xref :uxbox-logo)) (def logo (icon-xref :uxbox-logo))
(def logo-icon (icon-xref :uxbox-logo-icon)) (def logo-icon (icon-xref :uxbox-logo-icon))
(def mail (icon-xref :mail)) (def mail (icon-xref :mail))
(def minus (icon-xref :minus))
(def move (icon-xref :move)) (def move (icon-xref :move))
(def options (icon-xref :options)) (def options (icon-xref :options))
(def organize (icon-xref :organize)) (def organize (icon-xref :organize))

View file

@ -70,8 +70,9 @@
(if (not= :none (:stroke-style shape :none)) (if (not= :none (:stroke-style shape :none))
[:div.element-set [:div.element-set
[:div.element-set-title (t locale "workspace.options.stroke")] [:div.element-set-title
[:div.add-page {:on-click on-del-stroke} i/close] [:span (t locale "workspace.options.stroke")]
[:div.add-page {:on-click on-del-stroke} i/minus]]
[:div.element-set-content [:div.element-set-content
@ -124,5 +125,6 @@
;; NO STROKE ;; NO STROKE
[:div.element-set [:div.element-set
[:div.element-set-title (t locale "workspace.options.stroke")] [:div.element-set-title
[:div.add-page {:on-click on-add-stroke} i/close]]))) [:span (t locale "workspace.options.stroke")]
[:div.add-page {:on-click on-add-stroke} i/close]]])))