signal-desktop/stylesheets/components/GroupInput.scss

74 lines
1.3 KiB
SCSS
Raw Normal View History

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2021-06-02 00:24:28 +00:00
.module-GroupInput {
@include font-body-1;
padding: 8px 12px;
border-radius: 6px;
border-width: 2px;
border-style: solid;
2021-06-02 00:24:28 +00:00
width: 100%;
@include light-theme {
background: $color-white;
color: $color-black;
border-color: $color-gray-15;
2021-03-18 20:34:19 +00:00
&:disabled {
background: $color-gray-02;
border-color: $color-gray-05;
color: $color-gray-90;
}
}
@include dark-theme {
background: $color-gray-80;
color: $color-gray-05;
border-color: $color-gray-45;
2021-03-18 20:34:19 +00:00
&:disabled {
background: $color-gray-95;
border-color: $color-gray-60;
color: $color-gray-20;
}
}
&:focus {
outline: none;
@include light-theme {
2021-05-28 16:15:17 +00:00
border-color: $color-ultramarine;
}
@include dark-theme {
2021-05-28 16:15:17 +00:00
border-color: $color-ultramarine-light;
}
}
2021-06-02 00:24:28 +00:00
&__description {
resize: none;
&--container {
margin-bottom: 12px;
margin-top: 0;
}
&--remaining {
@include font-subtitle;
bottom: 0;
color: $color-gray-45;
margin: 12px;
position: absolute;
right: 0;
}
&--large {
height: 280px;
}
}
&--container {
position: relative;
margin: 16px;
}
}