mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 00:48:19 +01:00
Sticker Creator
This commit is contained in:
committed by
Scott Nonnenberg
parent
2df1ba6e61
commit
11d47a8eb9
55
sticker-creator/elements/LabeledInput.scss
Normal file
55
sticker-creator/elements/LabeledInput.scss
Normal file
@@ -0,0 +1,55 @@
|
||||
@import '../../stylesheets/variables';
|
||||
@import '../mixins';
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.label {
|
||||
user-select: none;
|
||||
font-size: 13px;
|
||||
font-family: $inter;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.input {
|
||||
width: 448px;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
padding: 0 12px;
|
||||
border-radius: 4px;
|
||||
background-color: transparent;
|
||||
font-size: 14px;
|
||||
font-family: $inter;
|
||||
|
||||
&::placeholder {
|
||||
color: $color-gray-45;
|
||||
}
|
||||
|
||||
@include light-theme() {
|
||||
border: 1px solid $color-gray-15;
|
||||
color: $color-gray-90;
|
||||
}
|
||||
|
||||
@include dark-theme() {
|
||||
border: 1px solid $color-gray-60;
|
||||
color: $color-white;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
padding: 0 11px;
|
||||
|
||||
@include light-theme() {
|
||||
border: 2px solid $color-signal-blue;
|
||||
}
|
||||
|
||||
@include dark-theme() {
|
||||
border: 2px solid $color-signal-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user