ng-deep 정리중(4차)

This commit is contained in:
khk 2020-02-12 16:49:39 +09:00
parent e87b27a4fa
commit 0d5e3471a5
8 changed files with 25 additions and 105 deletions

View File

@ -22,8 +22,5 @@ $tablet-s-width: 768px;
width: 50%; width: 50%;
min-width: 50%; min-width: 50%;
} }
.mat-tab-header-pagination {
display: none;
}
} }
} }

View File

@ -100,6 +100,7 @@
</div> </div>
<div class="search-list"> <div class="search-list">
<perfect-scrollbar class="album-scrollbar"> <perfect-scrollbar class="album-scrollbar">
<div class="albumlist-content">
<div <div
*ngFor="let fileInfo of filteredList" *ngFor="let fileInfo of filteredList"
class="img-item" class="img-item"
@ -160,6 +161,7 @@
</dd> </dd>
</dl> </dl>
</div> </div>
</div>
</perfect-scrollbar> </perfect-scrollbar>
</div> </div>
<div <div

View File

@ -115,30 +115,25 @@ $tablet-s-width: 768px;
} }
} }
::ng-deep .album-scrollbar { .albumlist-content {
.ps { display: flex;
.ps-content { flex-flow: wrap;
display: flex; height: auto;
flex-flow: wrap; justify-content: stretch;
height: auto; align-content: space-between;
justify-content: stretch; width: 100%;
align-content: space-between; .img-item {
width: 100%; cursor: pointer;
margin-bottom: 10px;
position: relative;
width: 32%;
margin-right: 2%;
&:nth-child(3n + 0) {
margin-right: 0;
} }
} }
} }
.img-item {
cursor: pointer;
margin-bottom: 10px;
position: relative;
width: 32%;
margin-right: 2%;
&:nth-child(3n + 0) {
margin-right: 0;
}
}
.preview-image, .preview-image,
.preview-video { .preview-video {
max-height: 140px; max-height: 140px;

View File

@ -156,7 +156,7 @@
} }
} }
:ng-deep .dialog-creat-chat { /*:ng-deep .dialog-creat-chat {
& > .mat-tab-body-wrapper { & > .mat-tab-body-wrapper {
.mat-tab-body { .mat-tab-body {
height: 380px; height: 380px;
@ -170,3 +170,4 @@
} }
} }
} }
*/

View File

@ -23,10 +23,6 @@
} }
} }
::ng-deep .mat-mini-fab .mat-button-wrapper {
padding: 0;
}
.contents { .contents {
height: 380px; height: 380px;
.message-contents { .message-contents {
@ -46,7 +42,7 @@
} }
} }
::ng-deep .message-container { .message-container {
background-color: #ffffff !important; background-color: #ffffff !important;
.message-info { .message-info {
/*.profile { /*.profile {

View File

@ -27,7 +27,6 @@
(click)="onClickStickerSelector()" (click)="onClickStickerSelector()"
matTooltip="{{ 'chat.btnSticker' | translate }}" matTooltip="{{ 'chat.btnSticker' | translate }}"
> >
<!--<mat-icon>sentiment_satisfied_alt</mat-icon>-->
<i class="mid mdi-emoticon-happy-outline"></i> <i class="mid mdi-emoticon-happy-outline"></i>
</button> </button>
@ -37,16 +36,6 @@
(click)="onClickTranslation()" (click)="onClickTranslation()"
matTooltip="{{ 'chat.btnTranslate' | translate }}" matTooltip="{{ 'chat.btnTranslate' | translate }}"
> >
<!--<mat-icon>g_translate</mat-icon>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
d="M7.41 9l2.24 2.24-.83 2L6 10.4l-3.3 3.3-1.4-1.42L4.58 9l-.88-.88c-.53-.53-1-1.3-1.3-2.12h2.2c.15.28.33.53.51.7l.89.9.88-.88C7.48 6.1 8 4.84 8 4H0V2h5V0h2v2h5v2h-2c0 1.37-.74 3.15-1.7 4.12L7.4 9zm3.84 8L10 20H8l5-12h2l5 12h-2l-1.25-3h-5.5zm.83-2h3.84L14 10.4 12.08 15z"
/>
</svg>-->
<svg <svg
id="레이어_1" id="레이어_1"
data-name="레이어 1" data-name="레이어 1"
@ -112,24 +101,12 @@
</mat-form-field> </mat-form-field>
<button <button
class="send-message-button bg-accent-darkest" class="send-message-button icon-button bg-accent-darkest"
mat-icon-button mat-icon-button
type="submit" type="submit"
aria-label="Send message" aria-label="Send message"
> >
<svg <i class="mid mid-30 mdi-arrow-up"></i>
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="butt"
stroke-linejoin="round"
>
<path d="M12 19V6M5 12l7-7 7 7" />
</svg>
</button> </button>
</form> </form>
</div> </div>

View File

@ -57,23 +57,19 @@ textarea[name='message'] {
padding-top: 0; padding-top: 0;
} }
::ng-deep .send-message-button { .send-message-button {
margin-left: 20px; margin-left: 20px;
line-height: unset;
@media screen and (max-width: #{$tablet-l-width}), (max-height: 800px) { @media screen and (max-width: #{$tablet-l-width}), (max-height: 800px) {
margin-left: 6px; margin-left: 6px;
} }
.mat-button-wrapper {
display: flex;
justify-content: center;
justify-items: center;
}
i { i {
display: inline-block; display: inline-block;
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 50%; border-radius: 50%;
line-height: 40px; line-height: 40px;
font-size: 20px; font-size: 24px;
color: #ffffff; color: #ffffff;
&:hover { &:hover {
opacity: 0.8; opacity: 0.8;

View File

@ -1,47 +1,3 @@
/*::ng-deep .mat-list-base {
.theme-select.mat-list-item {
position: relative;
height: 160px;
.mat-list-item-content {
flex-direction: column;
}
}
}
::ng-deep .theme-list {
position: relative;
display: flex;
flex-flow: row;
width: 100%;
margin: 10px;
height: auto !important;
.mat-tab-header {
position: relative;
width: 100% !important;
.mat-tab-labels {
position: relative;
width: 100%;
flex-flow: row !important;
.mat-tab-label {
width: 140px;
height: 120px;
.mat-tab-label-content {
position: relative;
flex-flow: column;
width: 100%;
}
}
}
.mat-ink-bar {
display: none;
}
}
.mat-tab-body-wrapper {
border-left: none;
}
}
*/
.mat-list-item { .mat-list-item {
margin-bottom: 10px; margin-bottom: 10px;
} }