108 lines
2.0 KiB
SCSS
Raw Normal View History

$tablet-l-width: 1024px;
$tablet-s-width: 768px;
$search-item-color: #ffffff;
2019-12-26 11:39:02 +09:00
.chatroom-search {
display: flex;
flex: 0 0 auto;
justify-items: center;
width: 100%;
2019-12-26 11:39:02 +09:00
.search-form {
flex-flow: row;
2020-01-08 20:42:14 +09:00
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;
}
2019-12-26 11:39:02 +09:00
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;
}
}
2019-12-26 11:39:02 +09:00
.mat-form-field {
width: 70%;
.mat-form-field-label,
.mat-hint {
color: rgba(0, 0, 0, 0.54);
}
2019-12-26 11:39:02 +09:00
}
}
}
2020-01-07 19:30:58 +09:00
.text-amount {
display: inline-flex;
flex: 0 0 auto;
min-width: 30px;
2020-01-07 19:30:58 +09:00
padding: 0 10px;
align-self: center;
font-size: 0.9em;
font-weight: normal;
2020-01-07 19:30:58 +09:00
justify-content: center;
margin-left: auto;
2019-12-26 11:39:02 +09:00
}
}
::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 {
2020-01-07 19:30:58 +09:00
display: none;
}
}
}
}
}
2020-01-07 19:30:58 +09:00
::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;
}
}
}
2020-01-07 19:30:58 +09:00
.btn-close-searchbox {
width: 36px;
2020-01-07 19:30:58 +09:00
height: 100%;
stroke: $search-item-color;
2020-01-07 19:30:58 +09:00
border: none;
display: flex;
justify-content: center;
justify-items: center;
}
}
.stroke-bar {
2020-01-08 10:24:35 +09:00
width: 2px;
2020-01-07 19:30:58 +09:00
height: 20px;
background-color: rgba(255, 255, 255, 0.3);
display: inline-flex;
align-self: center;
margin: 0 6px;
}