0
Fork 0
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:
elhombretecla 2016-11-15 09:39:27 +01:00
parent 7035ec719a
commit d1a624cfd5
4 changed files with 13 additions and 10 deletions

View file

@ -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 {

View file

@ -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 {

View file

@ -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

View file

@ -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