mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 05:28:30 +02: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
|
||||||
|
|
||||||
.input-select {
|
.input-select {
|
||||||
|
|
|
@ -190,14 +190,6 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
input.element-name {
|
|
||||||
margin: 0px;
|
|
||||||
border: 1px solid #eee;
|
|
||||||
padding: 3px;
|
|
||||||
font-size: $fs13;
|
|
||||||
width: 120px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
|
|
||||||
.element-icon {
|
.element-icon {
|
||||||
|
|
|
@ -330,7 +330,7 @@
|
||||||
(icon/icon-svg icon)]
|
(icon/icon-svg icon)]
|
||||||
[:div.item-info
|
[:div.item-info
|
||||||
(if edition?
|
(if edition?
|
||||||
[:input {:type "text"
|
[:input.element-name {:type "text"
|
||||||
:auto-focus true
|
:auto-focus true
|
||||||
:on-key-down on-key-down
|
:on-key-down on-key-down
|
||||||
:on-blur on-blur
|
:on-blur on-blur
|
||||||
|
|
|
@ -332,7 +332,7 @@
|
||||||
[:label {:for (:id image)}]]]
|
[:label {:for (:id image)}]]]
|
||||||
[:div.item-info
|
[:div.item-info
|
||||||
(if edition?
|
(if edition?
|
||||||
[:input {:type "text"
|
[:input.element-name {:type "text"
|
||||||
:auto-focus true
|
:auto-focus true
|
||||||
:on-key-down on-key-down
|
:on-key-down on-key-down
|
||||||
:on-blur on-blur
|
:on-blur on-blur
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue