mirror of
https://github.com/penpot/penpot.git
synced 2025-02-24 15:56:11 -05:00
add new style yo view mode btn
This commit is contained in:
parent
697a4dd1fc
commit
5ec4b707e8
2 changed files with 20 additions and 1 deletions
|
@ -143,6 +143,25 @@
|
|||
|
||||
}
|
||||
|
||||
&.view-mode {
|
||||
background-color: $intense-ui-icons;
|
||||
|
||||
svg {
|
||||
fill: $secondary-ui-bg;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $color-white;
|
||||
border-color: $soft-ui-border;
|
||||
|
||||
svg {
|
||||
fill: $intense-ui-icons;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -157,7 +157,7 @@
|
|||
{:alt "Align (Ctrl + A)"}
|
||||
i/alignment]]
|
||||
[:ul.options-btn
|
||||
[:li.tooltip.tooltip-bottom
|
||||
[:li.tooltip.tooltip-bottom.view-mode
|
||||
{:alt "View mode (Ctrl + P)"
|
||||
:on-click #(on-view-clicked % project page)}
|
||||
i/play]]
|
||||
|
|
Loading…
Add table
Reference in a new issue