diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.html index 5a334d21..7add2e3c 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.html @@ -40,6 +40,7 @@ (click)="onSelectBuddy(userInfo)" (openProfile)="onClickOpenProfile($event)" (contextmenu)="onContextMenuProfile($event, userInfo)" + class="list-item-frame" > diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.scss b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.scss index 1f8cafc1..4a173411 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.scss +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/group.component.scss @@ -8,7 +8,7 @@ background: #f15f79; background: -webkit-linear-gradient(to right, #352a37, #f15f79); background: linear-gradient(to right, #352a37, #ef4c73); - color:#ffffff; + color: #ffffff; h3 { display: inline-flex; padding-left: 10px; @@ -19,11 +19,19 @@ margin-left: auto; display: inline-flex; align-items: center; - svg{ - stroke:#333333; + svg { + stroke: #333333; } } } +::ng-deep .ps { + .ps-content { + position: relative; + width: 100%; + height: 100%; + } +} + .search-result { height: calc(100% - 130px); overflow: auto; @@ -32,15 +40,27 @@ display: flex; height: 40px; } + .ps { + .ps-content { + position: relative; + width: 100%; + height: 100%; + } + } } ::ng-deep .mat-tab-body-content { height: 100%; overflow: unset; } -.mat-menu-item{ - display:flex; +.mat-menu-item { + display: flex; align-items: center; - svg{ - margin-right:10px; + svg { + margin-right: 10px; } +} + +.list-item-frame{ + width:100%; + height:100%; } \ No newline at end of file diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html index 397b1021..237c9cef 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.html @@ -34,7 +34,14 @@ > - group + + + + + + +
diff --git a/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.html b/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.html index c22bb7ee..21178d2d 100644 --- a/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.html +++ b/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.html @@ -9,7 +9,7 @@ class="group-tree" > - +
  • - {{ node?.userInfo?.name }} +
  • -
    - +
    @@ -45,6 +43,9 @@ Favorit Buddy +
      diff --git a/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss b/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss index 35e6c1b0..b07da43e 100644 --- a/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss +++ b/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss @@ -1,6 +1,5 @@ @charset 'utf-8'; .group-tree { - padding: 10px; ul, li { margin-top: 0; @@ -14,18 +13,10 @@ } .tree-node-frame { - li { - .path { - .horizontal-line { - display: none; - } - } - } + border-bottom:1px solid #dddddd; + height:40px; .mat-tree-node { - min-height: 30px; - font-size: 13px; - padding-left: 20px; - margin-top: 4px; + width:100%; &:hover { background-color: #f4f4f4; border: 1px solid #cccccc; @@ -34,28 +25,38 @@ } } } - -ul .tree-node-frame li .path > .horizontal-line { - display: inline-block; -} - -.boxnone { - position: relative; - .vertical-line { - background: rgba(189, 189, 189, 0.4); - bottom: 6px; - display: block; - position: absolute; - top: 0px; - width: 2px; - } - .mat-tree-node:last-child { - padding-bottom: 10px; +.mat-tree-node { + &[aria-level="1"]{ + position: relative; + widows: 100px; + height:100%; + li{ + margin-left:0; + width:100%; + height:100%; + .mat-tree-node{ + width:100%; + height:100%; + } + } } } + .path { padding: 6px 4px; + .btn-toggle{ + padding: 0; + min-width: 0; + width: 20px; + height: 20px; + flex-shrink: 0; + line-height: 20px; + margin-right:10px; + } + .group-menu{ + margin-left:auto; + } + ul { li:last-chlid { border-bottom: 1px solid #dddddd; @@ -69,26 +70,7 @@ ul .tree-node-frame li .path > .horizontal-line { vertical-align: middle; margin-left: -10px; } - .mat-icon-button { - padding: 0; - min-width: 0; - width: 20px; - height: 20px; - flex-shrink: 0; - line-height: 20px; - .mat-icon-rtl-mirror { - border: 1px solid #dddddd; - padding: 2px; - font-size: 14px; - min-width: 14px; - min-height: 14px; - line-height: 14px; - width: 20px; - height: 20px; - box-shadow: 0 2px 1px rgba(48, 48, 48, 0.2); - border-radius: 50%; - } - } + .dept-name { padding-left: 10px; }