mirror of
https://github.com/penpot/penpot.git
synced 2025-02-04 13:29:14 -05:00
💄 Add new actions icon
This commit is contained in:
parent
0c49ed1fec
commit
ee7248204f
2 changed files with 6 additions and 4 deletions
|
@ -118,10 +118,10 @@
|
||||||
.btn-icon-basic {
|
.btn-icon-basic {
|
||||||
@extend %btn;
|
@extend %btn;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: $color-gray-60;
|
color: $color-gray-20;
|
||||||
padding: $x-small;
|
padding: $x-small;
|
||||||
svg {
|
svg {
|
||||||
fill: $color-gray-60;
|
fill: $color-gray-20;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
|
|
@ -276,11 +276,13 @@
|
||||||
:on-zoom-to-100 (st/emitf dv/reset-zoom)
|
:on-zoom-to-100 (st/emitf dv/reset-zoom)
|
||||||
:on-zoom-to-200 (st/emitf dv/zoom-to-200)}]
|
:on-zoom-to-200 (st/emitf dv/zoom-to-200)}]
|
||||||
|
|
||||||
[:span.btn-icon-dark.btn-small.tooltip.tooltip-bottom-left
|
[:span.btn-icon-basic.btn-small.tooltip.tooltip-bottom-left
|
||||||
{:alt (t locale "viewer.header.fullscreen")
|
{:alt (t locale "viewer.header.fullscreen")
|
||||||
:on-click #(if @fullscreen (fullscreen false) (fullscreen true))}
|
:on-click #(if @fullscreen (fullscreen false) (fullscreen true))}
|
||||||
(if @fullscreen
|
(if @fullscreen
|
||||||
i/full-screen-off
|
i/full-screen-off
|
||||||
i/full-screen)]
|
i/full-screen)]
|
||||||
]]))
|
|
||||||
|
[:span.btn-icon-dark.btn-small
|
||||||
|
i/actions]]]))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue