mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
add WIP document history pinned tab
This commit is contained in:
parent
43ef168d0b
commit
93028e9161
2 changed files with 27 additions and 3 deletions
|
@ -42,6 +42,28 @@
|
|||
width: 100%;
|
||||
padding: $small;
|
||||
|
||||
.page-actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-left: auto;
|
||||
|
||||
a {
|
||||
|
||||
svg {
|
||||
fill: $soft-ui-icons;
|
||||
height: 15px;
|
||||
margin-left: $x-small;
|
||||
width: 15px;
|
||||
|
||||
&:hover {
|
||||
fill: $intense-ui-icons;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.pin-icon {
|
||||
cursor: pointer;
|
||||
|
||||
|
@ -93,6 +115,7 @@
|
|||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -46,11 +46,12 @@
|
|||
(if (= section :pinned)
|
||||
[:ul.history-content
|
||||
[:li.current
|
||||
[:div.pin-icon i/pin]
|
||||
[:span "Current version"]]
|
||||
[:li
|
||||
[:div.pin-icon i/pin]
|
||||
[:span "Version 02/02/2016 12:33h"]]])
|
||||
[:span "Version 02/02/2016 12:33h"]
|
||||
[:div.page-actions
|
||||
[:a i/pencil]
|
||||
[:a i/trash]]]])
|
||||
(if (= section :main)
|
||||
[:ul.history-content
|
||||
[:li.current
|
||||
|
|
Loading…
Reference in a new issue