mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
✨ Add new asset advanced optios css
This commit is contained in:
parent
d4b02e36a7
commit
6404907699
3 changed files with 24 additions and 4 deletions
|
@ -400,6 +400,15 @@
|
|||
top: 10px;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.advanced-options {
|
||||
border-color: $color-black;
|
||||
background-color: $color-gray-60;
|
||||
|
||||
.input-text, .input-select, .adv-typography-name {
|
||||
background-color: $color-gray-60;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -543,7 +543,7 @@
|
|||
padding: 0 $x-small;
|
||||
|
||||
&:first-child {
|
||||
justify-content: space-between;
|
||||
justify-content: flex-start;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
@ -1001,6 +1001,7 @@
|
|||
|
||||
.spacing-options {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.asset-section {
|
||||
|
@ -1023,7 +1024,7 @@
|
|||
width: 100%;
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
background: #303236;
|
||||
background-color: #303236;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
|
|
|
@ -424,7 +424,8 @@
|
|||
[:div.element-set-content
|
||||
[:> font-options opts]
|
||||
[:div.row-flex
|
||||
[:> spacing-options opts]
|
||||
[:> spacing-options opts]]
|
||||
[:div.row-flex
|
||||
[:> text-transform-options opts]]]))
|
||||
|
||||
|
||||
|
@ -501,6 +502,10 @@
|
|||
[:span.label (tr "workspace.assets.typography.font-id")]
|
||||
[:span (:font-id typography)]]
|
||||
|
||||
[:div.element-set-actions-button
|
||||
{:on-click #(reset! open? true)}
|
||||
i/actions]
|
||||
|
||||
[:div.row-flex
|
||||
[:span.label (tr "workspace.assets.typography.font-variant-id")]
|
||||
[:span (:font-variant-id typography)]]
|
||||
|
@ -532,6 +537,11 @@
|
|||
{:type "text"
|
||||
:ref name-input-ref
|
||||
:default-value (cp/merge-path-item (:path typography) (:name typography))
|
||||
:on-blur on-name-blur}]]]
|
||||
:on-blur on-name-blur}]
|
||||
|
||||
[:div.element-set-actions-button
|
||||
{:on-click #(reset! open? false)}
|
||||
i/actions]]]
|
||||
|
||||
[:& typography-options {:values typography
|
||||
:on-change on-change}]])]]))
|
||||
|
|
Loading…
Add table
Reference in a new issue