mirror of
https://github.com/penpot/penpot.git
synced 2025-03-20 19:51:23 -05:00
add new element-name styles
This commit is contained in:
parent
7035ec719a
commit
d1a624cfd5
4 changed files with 13 additions and 10 deletions
|
@ -437,6 +437,17 @@ input[type="checkbox"]:focus {
|
|||
|
||||
}
|
||||
|
||||
// Element-name
|
||||
|
||||
input.element-name {
|
||||
border: 1px solid $soft-ui-border;
|
||||
border-radius: $br-small;
|
||||
font-size: $fs13;
|
||||
margin: 0px;
|
||||
padding: 3px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// Input select
|
||||
|
||||
.input-select {
|
||||
|
|
|
@ -190,14 +190,6 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
input.element-name {
|
||||
margin: 0px;
|
||||
border: 1px solid #eee;
|
||||
padding: 3px;
|
||||
font-size: $fs13;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
|
||||
.element-icon {
|
||||
|
|
|
@ -330,7 +330,7 @@
|
|||
(icon/icon-svg icon)]
|
||||
[:div.item-info
|
||||
(if edition?
|
||||
[:input {:type "text"
|
||||
[:input.element-name {:type "text"
|
||||
:auto-focus true
|
||||
:on-key-down on-key-down
|
||||
:on-blur on-blur
|
||||
|
|
|
@ -332,7 +332,7 @@
|
|||
[:label {:for (:id image)}]]]
|
||||
[:div.item-info
|
||||
(if edition?
|
||||
[:input {:type "text"
|
||||
[:input.element-name {:type "text"
|
||||
:auto-focus true
|
||||
:on-key-down on-key-down
|
||||
:on-blur on-blur
|
||||
|
|
Loading…
Add table
Reference in a new issue