116 lines
2.2 KiB
SCSS

$tablet-l-width: 1024px;
$tablet-s-width: 768px;
$search-item-color: #444444;
.chatroom-search {
display: flex;
flex: 1 1 auto;
justify-items: center;
width: 100%;
.search-form {
flex-flow: row;
padding: 0 0 0 10px;
margin-left: 10px;
width: calc(100% - 126px);
position: relative;
@media screen and (max-width: #{$tablet-s-width}),
(max-height: 600px) {
padding: 0 0 0 14px;
flex: 1 1 auto;
}
form {
display: inline-flex;
.icon-img {
color: $search-item-color;
}
@media screen and (max-width: #{$tablet-s-width}),
(max-height: 600px) {
.icon-img {
display: none;
}
}
.mat-form-field {
width: 70%;
.mat-form-field-label,
.mat-hint {
color: rgba(0, 0, 0, 0.54);
}
&.white {
.mat-form-field-label,
.mat-hint {
color: rgba(0, 0, 0, 0.54);
}
}
}
}
}
.text-amount {
display: inline-flex;
flex: 0 0 auto;
min-width: 30px;
padding: 0 10px;
align-self: center;
font-size: 0.9em;
font-weight: normal;
justify-content: center;
margin-left: auto;
}
}
::ng-deep .chat-search {
margin: 0 4px 4px;
padding: 6px;
font-size: 14px;
@media screen and (max-width: #{$tablet-s-width}),
(max-height: 600px) {
padding: 4px;
.search-form {
form {
display: flex;
icon-img {
display: none;
}
}
}
}
}
::ng-deep .chatroom-search {
position: relative;
.btns {
display: flex;
flex: 1 1 auto;
margin-left: auto;
margin-top: 0;
height: 100%;
button {
margin-left: 4px;
&.icon-button {
align-self: center;
width: 30px;
height: 30px;
color: #ffffff;
}
}
}
.btn-close-searchbox {
width: 36px;
height: 100%;
stroke: $search-item-color;
border: none;
display: flex;
justify-content: center;
justify-items: center;
margin-right: 4px;
}
}
.stroke-bar {
width: 1px;
height: 20px;
background-color: rgba(255, 255, 255, 0.3);
display: inline-flex;
align-self: center;
margin: 0 4px;
}