mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -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%;
|
width: 100%;
|
||||||
padding: $small;
|
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 {
|
.pin-icon {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
@ -93,6 +115,7 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,11 +46,12 @@
|
||||||
(if (= section :pinned)
|
(if (= section :pinned)
|
||||||
[:ul.history-content
|
[:ul.history-content
|
||||||
[:li.current
|
[:li.current
|
||||||
[:div.pin-icon i/pin]
|
|
||||||
[:span "Current version"]]
|
[:span "Current version"]]
|
||||||
[:li
|
[: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)
|
(if (= section :main)
|
||||||
[:ul.history-content
|
[:ul.history-content
|
||||||
[:li.current
|
[:li.current
|
||||||
|
|
Loading…
Add table
Reference in a new issue