2022-01-27 22:12:26 +00:00
|
|
|
// Copyright 2021-2022 Signal Messenger, LLC
|
2021-05-11 00:50:43 +00:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.module-SearchInput {
|
|
|
|
&__container {
|
|
|
|
border-radius: 8px;
|
|
|
|
border: none;
|
|
|
|
margin: 10px 16px;
|
|
|
|
padding: 5px 12px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@include font-body-2;
|
|
|
|
|
|
|
|
@include light-theme {
|
2022-01-27 22:12:26 +00:00
|
|
|
background-color: $color-gray-15;
|
|
|
|
border: solid 1px $color-gray-15;
|
2021-05-11 00:50:43 +00:00
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
2022-01-27 22:12:26 +00:00
|
|
|
background-color: $color-gray-65;
|
|
|
|
border: solid 1px $color-gray-65;
|
2021-05-11 00:50:43 +00:00
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
2021-05-28 16:15:17 +00:00
|
|
|
border: solid 1px $color-ultramarine;
|
2021-05-11 00:50:43 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
@include color-svg('../images/icons/v2/search-16.svg', $color-gray-45);
|
|
|
|
cursor: text;
|
|
|
|
height: 16px;
|
|
|
|
left: 8px;
|
|
|
|
position: absolute;
|
|
|
|
top: 6px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
2021-11-12 01:17:29 +00:00
|
|
|
background: transparent;
|
2021-05-11 00:50:43 +00:00
|
|
|
border: none;
|
|
|
|
padding-left: 16px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:placeholder {
|
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-black;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|