108 lines
2.0 KiB
SCSS
108 lines
2.0 KiB
SCSS
$tablet-l-width: 1024px;
|
|
$tablet-s-width: 768px;
|
|
$search-item-color: #ffffff;
|
|
|
|
.chatroom-search {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
justify-items: center;
|
|
width: 100%;
|
|
.search-form {
|
|
flex-flow: row;
|
|
padding: 0 0 0 20px;
|
|
width: calc(100% - 126px);
|
|
position: relative;
|
|
@media screen and (max-width: #{$tablet-s-width}),
|
|
(max-height: 600px) {
|
|
padding: 0 0 0 14px;
|
|
flex: 0 0 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);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.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: 0 0 0%;
|
|
margin-left: auto;
|
|
margin-top: 0;
|
|
height: 100%;
|
|
button {
|
|
margin-left: 4px;
|
|
&.btn-search.icon-button {
|
|
align-self: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
color: $search-item-color;
|
|
}
|
|
}
|
|
}
|
|
.btn-close-searchbox {
|
|
width: 36px;
|
|
height: 100%;
|
|
stroke: $search-item-color;
|
|
border: none;
|
|
display: flex;
|
|
justify-content: center;
|
|
justify-items: center;
|
|
}
|
|
}
|
|
|
|
.stroke-bar {
|
|
width: 2px;
|
|
height: 20px;
|
|
background-color: rgba(255, 255, 255, 0.3);
|
|
display: inline-flex;
|
|
align-self: center;
|
|
margin: 0 6px;
|
|
}
|