diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html index 92487036..9db6baab 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html @@ -185,27 +185,19 @@ +
+
+ +
+ +
-
-
- -
- -
+ diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/search.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/search.component.scss index bfb83a0c..4c1c7444 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/search.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/search.component.scss @@ -4,6 +4,7 @@ justify-items: center; .search-form { flex-flow: row; + padding: 0 10px 0 20px; flex: 1 1 auto; form { display: flex; @@ -17,53 +18,123 @@ color: rgba(0, 0, 0, 0.54); } } - .text-amount { - display: inline-flex; - width: 80px; - align-self: center; - } } } - .btns { - display: flex; - flex: 0 0 0%; + .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; } } -.mat-form-field-label, -.mat-hint { - color: rgba(0, 0, 0, 0.54); -} - -::ng-deep .btns { - border: 1px solid #dddddd; - border-radius: 4px; - height: 42px; - .mat-stroked-button { - border: none; - min-width: 40px; - height: 42px; - padding: 0 10px; - &.btn-toggle { - display: flex; - border-right: 1px solid #dddddd; - justify-items: center; - &:last-child { - border-right: none; +::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-button-wrapper { - display: flex; - line-height: inherit; - justify-content: center; - justify-items: center; - width: 20px; - height: 20px; - svg { - width: 100%; - height: 100%; - stroke: #555555; + .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; }