mirror of
https://github.com/penpot/penpot.git
synced 2026-08-30 00:29:17 +00:00
* 🐛 Reorder component menu options in assets tab * ♻️ Use new component syntax * 📚 Add bugfix to changelog * ♻️ Code restructuring and SCSS improvements
30 lines
789 B
SCSS
30 lines
789 B
SCSS
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
//
|
|
// Copyright (c) KALEIDOS INC
|
|
|
|
@use "ds/_borders.scss" as *;
|
|
@use "ds/_sizes.scss" as *;
|
|
@use "ds/colors.scss" as *;
|
|
@use "ds/typography.scss" as t;
|
|
|
|
.editable-label-input {
|
|
@include t.use-typography("body-small");
|
|
outline: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0 var(--sp-s);
|
|
border: $b-1 solid var(--color-accent-primary);
|
|
color: var(--color-foreground-primary);
|
|
background: var(--color-background-primary);
|
|
}
|
|
|
|
.editable-label-text {
|
|
@include t.use-typography("body-small");
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|