통합검색 - 3차 수정 (디테일 수정 남았어요)

This commit is contained in:
khk 2020-03-17 17:20:57 +09:00
parent 769c37ef01
commit c884b0bf71
5 changed files with 62 additions and 13 deletions

View File

@ -24,7 +24,7 @@
(search)="onSearch($event)" (search)="onSearch($event)"
> >
</ucap-integrated-search-form> </ucap-integrated-search-form>
<div class="organization-option selectbox"> <div class="organization-option selectbox input-lineless">
<mat-form-field> <mat-form-field>
<mat-label>{{ 'search.fieldCompany' | translate }}</mat-label> <mat-label>{{ 'search.fieldCompany' | translate }}</mat-label>
<mat-select <mat-select
@ -176,12 +176,17 @@
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title class="select-user-title"> <mat-panel-title class="select-user-title">
{{ 'organization.selectedUser' | translate }} {{ 'organization.selectedUser' | translate }}
<span *ngIf="selectedUserList.length > 0"> <span *ngIf="selectedUserList.length > 0" class="text-accent-color">
({{ selectedUserList.length }}) ({{ selectedUserList.length }})
{{ 'common.units.persons' | translate }} {{ 'common.units.persons' | translate }}
</span> </span>
</mat-panel-title> </mat-panel-title>
<mat-panel-description> </mat-panel-description> <mat-panel-description fxFlex="0 0 auto" class="btn-dropdown">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" class="indicator">
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>
</mat-panel-description>
</mat-expansion-panel-header> </mat-expansion-panel-header>
<div class="list-chip"> <div class="list-chip">

View File

@ -16,24 +16,36 @@
flex-direction: row; flex-direction: row;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
height: 100%; height: calc(100% - 40px);
} }
} }
ucap-integrated-search-form { .search-area {
ucap-integrated-search-form {
position: relative; position: relative;
display: inline-flex; display: inline-flex;
.search-container { width: 30%;
width: 20%; margin: 0 -10px;
} }
} }
.organization-option { .organization-option {
position: relative; position: relative;
display: inline-flex; display: inline-flex;
width: 70%; width: 70%;
transform: translateY(-10px);
padding-bottom: 10px;
padding-left: 0;
border-bottom: 1px solid;
.mat-form-field {
margin-left: 20px;
&:first-child {
margin-left: 0;
}
}
} }
.content-area { .content-area {
display: flex; display: flex;
height: calc(100% - 140px); height: calc(100% - 120px);
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
flex: 0 0 auto; flex: 0 0 auto;
@ -62,10 +74,30 @@ ucap-integrated-search-form {
width: 100%; width: 100%;
flex-direction: column; flex-direction: column;
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px;
.mat-accordion {
.mat-expansion-panel {
&-header {
.select-user-title {
font-weight: 600;
span {
margin-left: 10px;
}
}
.btn-dropdown {
margin-right: 0;
}
}
.btn-box {
position: relative;
margin-top: 20px;
}
}
}
} }
} }
} }
.btn-box { .btn-box {
position: absolute; position: absolute;
width: 100%; width: 100%;
@ -73,6 +105,7 @@ ucap-integrated-search-form {
ul { ul {
display: flex; display: flex;
flex-flow: row; flex-flow: row;
justify-content: flex-end;
li { li {
display: inline-flex; display: inline-flex;
margin-left: 4px; margin-left: 4px;

View File

@ -665,7 +665,7 @@ export class TopBarComponent implements OnInit, OnDestroy {
IntegratedSearchDialogResult IntegratedSearchDialogResult
>(IntegratedSearchDialogComponent, { >(IntegratedSearchDialogComponent, {
height: '90vh', height: '90vh',
width: '90vw', width: '96vw',
data: { data: {
keyword keyword
}, },

View File

@ -28,7 +28,6 @@
flex: 0 0 auto; flex: 0 0 auto;
height: 100%; height: 100%;
button { button {
//background-color: #00b6d5;
border-radius: 2px; border-radius: 2px;
span { span {
padding: 0 20px; padding: 0 20px;
@ -74,3 +73,14 @@
} }
} }
} }
.cdk-overlay-container {
.cdk-global-overlay-wrapper {
.cdk-overlay-pane {
max-width: 90vw !important;
.mat-dialog-container {
overflow: hidden;
}
}
}
}

View File

@ -10,6 +10,7 @@
padding: 4px 10px; padding: 4px 10px;
border-radius: 3px; border-radius: 3px;
width: 100%; width: 100%;
height: 100%;
.icon-img { .icon-img {
flex: 0 0 auto; flex: 0 0 auto;
} }