mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
add clipboard styles
This commit is contained in:
parent
8752f9864d
commit
70d126acb5
2 changed files with 53 additions and 3 deletions
|
@ -127,3 +127,51 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
// Clipboard
|
||||
.clipboard {
|
||||
max-width: 350px;
|
||||
|
||||
.clipboard-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
|
||||
.clipboard-item {
|
||||
align-items: center;
|
||||
border-bottom: 1px solid $soft-ui-border;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
padding: $small;
|
||||
width: 100%;
|
||||
|
||||
|
||||
span {
|
||||
|
||||
svg {
|
||||
height: 20px;
|
||||
fill: $medium-ui-border;
|
||||
margin-right: $medium;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
span {
|
||||
color: $main-ui-color;
|
||||
|
||||
svg {
|
||||
fill: $main-ui-color
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns uxbox.ui.workspace.clipboard
|
||||
(:require [sablono.core :as html :refer-macros [html]]
|
||||
[uxbox.ui.icons :as i]
|
||||
[uxbox.ui.mixins :as mx]
|
||||
[uxbox.ui.lightbox :as lightbox]))
|
||||
|
||||
|
@ -10,10 +11,11 @@
|
|||
(defn- clipboard-dialog-render
|
||||
[own]
|
||||
(html
|
||||
[:div.lightbox-body
|
||||
[:div.clipboard-items
|
||||
[:div.lightbox-body.clipboard
|
||||
[:div.clipboard-list
|
||||
(for [i (range 5)]
|
||||
[:div {:key i}
|
||||
[:div.clipboard-item {:key i}
|
||||
[:span.clipboard-icon i/box]
|
||||
[:span (str "shape " i)]])]]))
|
||||
|
||||
(def clipboard-dialog
|
||||
|
|
Loading…
Reference in a new issue