setting-frame 레이아웃
This commit is contained in:
parent
a58423271d
commit
f3c0a1d878
|
@ -1,16 +1,10 @@
|
|||
<mat-card class="confirm-card mat-elevation-z" fxFlexFill>
|
||||
<mat-card class="confirm-card mat-elevation-z setting-frame">
|
||||
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
|
||||
<mat-card-title>설정</mat-card-title>
|
||||
</mat-card-header>
|
||||
<mat-card-content>
|
||||
<div
|
||||
fxLayout="column"
|
||||
fxLayout.xs="column"
|
||||
fxLayoutAlign="center"
|
||||
fxLayoutGap="10px"
|
||||
fxLayoutGap.xs="0"
|
||||
>
|
||||
<mat-tab-group flex="1" vertical animationDuration="0ms">
|
||||
<div fxFlex class="setting-tab">
|
||||
<mat-tab-group animationDuration="0ms" mat-stretch-tabs>
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon>group</mat-icon>
|
||||
|
@ -42,51 +36,27 @@
|
|||
</mat-tab-group>
|
||||
|
||||
<div class="left-side-tabs-body">
|
||||
<div
|
||||
#tabs
|
||||
id="tabs-0"
|
||||
class="left-side-tabs-contents"
|
||||
style="display: block;"
|
||||
>
|
||||
<div #tabs id="tabs-0" class="left-side-tabs-contents" style="display: block;">
|
||||
ddddd
|
||||
</div>
|
||||
<div
|
||||
#tabs
|
||||
id="tabs-1"
|
||||
class="left-side-tabs-contents"
|
||||
style="display: none;"
|
||||
>
|
||||
<div #tabs id="tabs-1" class="left-side-tabs-contents" style="display: none;">
|
||||
dddagadsfgadsf
|
||||
</div>
|
||||
<div
|
||||
#tabs
|
||||
id="tabs-2"
|
||||
class="left-side-tabs-contents"
|
||||
style="display: none;"
|
||||
>
|
||||
<div #tabs id="tabs-2" class="left-side-tabs-contents" style="display: none;">
|
||||
fbkasfldsafkskdf
|
||||
</div>
|
||||
<div
|
||||
#tabs
|
||||
id="tabs-3"
|
||||
class="left-side-tabs-contents"
|
||||
style="display: none;"
|
||||
>
|
||||
<div #tabs id="tabs-3" class="left-side-tabs-contents" style="display: none;">
|
||||
rgkdsfgkdfglkdsflgs
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
<mat-card-actions class="button-farm flex-row">
|
||||
<button
|
||||
mat-stroked-button
|
||||
(click)="onClickChoice(false)"
|
||||
class="mat-primary"
|
||||
>
|
||||
<button mat-stroked-button (click)="onClickChoice(false)" class="mat-primary">
|
||||
No
|
||||
</button>
|
||||
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
|
||||
Yes
|
||||
</button>
|
||||
</mat-card-actions>
|
||||
</mat-card>
|
||||
</mat-card>
|
|
@ -1,30 +1,63 @@
|
|||
::ng-deep .cdk-overlay-pane{
|
||||
width:600px;
|
||||
max-height:90%;
|
||||
.setting-frame{
|
||||
.mat-dialog-container {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
.confirm-card {
|
||||
padding: 0px;
|
||||
padding: 16px;
|
||||
min-width: 500px;
|
||||
position: relative;
|
||||
|
||||
.mat-card-header {
|
||||
margin-bottom: 10px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
.mat-card-header-text {
|
||||
.mat-card-title {
|
||||
margin: 0 -16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mat-card-content {
|
||||
flex: 1 1 auto;
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
|
||||
.content-box {
|
||||
flex-direction: column;
|
||||
flex-flow: column;
|
||||
align-items: flex-start;
|
||||
height: calc(100% - 100px);
|
||||
.setting-tab {
|
||||
width:100%;
|
||||
height:100%;
|
||||
position: relative;
|
||||
.mat-tab-group {
|
||||
width:100%;
|
||||
height:100%;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button-farm {
|
||||
text-align: right;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
bottom: 10px;
|
||||
.mat-primary {
|
||||
margin-left: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::ng-deep .mat-tab-group {
|
||||
.mat-tab-header{
|
||||
margin-bottom:10px;
|
||||
.mat-tab-labels{
|
||||
border-bottom:2px solid #dddddd;
|
||||
.mat-tab-label{
|
||||
padding:0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user