.chatroom-search { display: flex; flex: 1 1 auto; justify-items: center; .search-form { flex-flow: row; padding: 0 10px 0 20px; flex: 1 1 auto; form { display: flex; .mat-form-field { width: 100%; flex-flow: row; flex: 1 1 auto; margin-right: 20px; .mat-form-field-label, .mat-hint { color: rgba(0, 0, 0, 0.54); } } } } .text-amount { display: inline-flex; min-width: 80px; padding: 0 10px; align-self: center; font-size: 0.7em; justify-content: center; border-radius: 50px; margin-right: 10px; } } ::ng-deep .search-form { .mat-form-field-appearance-legacy { .mat-form-field-wrapper { color: #ffffff; padding-bottom: 0.8em; .mat-form-field-infix { .mat-input-element { font-size: 1em; } } .mat-form-field-suffix { button { position: relative; transform: translateY(4px); .mat-button-wrapper { width: 100%; height: 100%; display: flex; justify-content: center; font-size: 1.2em; } } } .mat-form-field-label { color: rgba(255, 255, 255, 0.7) !important; } .mat-form-field-underline { height: 0; .mat-form-field-ripple { top: 6px; height: 1px; overflow: hidden; display: none; } } } } .icon-search { height: 100%; display: flex; align-self: center; color: #ffffff; margin-right: 10px; } } ::ng-deep .chatroom-search { position: relative; .btns { display: flex; flex: 0 0 0%; height: 40px; margin-top: 10px; //border: 1px solid #ffffff; border-radius: 50px; .mat-stroked-button { border: none; min-width: 40px; height: 40px; padding: 0 10px; overflow: hidden; border-radius: 50%; background-color: (0, 0, 0, 0.7); &.btn-toggle { display: flex; //border-right: 1px solid #ffffff; justify-items: center; .mat-button-wrapper { display: flex; line-height: inherit; justify-content: center; justify-items: center; width: 20px; height: 20px; svg { width: 100%; height: 100%; stroke: #ffffff; } } } } } .btn-close-searchbox { width: 3em; height: 100%; //background: #0367a6; stroke: #ffffff; border: none; display: flex; justify-content: center; justify-items: center; svg { stroke: #ffffff; } } } .stroke-bar { width: 1px; height: 20px; background-color: rgba(255, 255, 255, 0.3); margin: 0 10px; display: inline-flex; align-self: center; }