mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-18 16:31:29 +03:00
Style improvements and UI bug fixes
This commit is contained in:
@@ -26,7 +26,11 @@
|
|||||||
height: 64px;
|
height: 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .mdc-list-item__primary-text {
|
::ng-deep .top-menu-button > span {
|
||||||
width: 85px;
|
width: 85px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::ng-deep .mdc-switch {
|
||||||
|
outline: none !important;
|
||||||
}
|
}
|
||||||
@@ -18,16 +18,16 @@
|
|||||||
</mat-menu>
|
</mat-menu>
|
||||||
<button [matMenuTriggerFor]="menuSettings" mat-icon-button><mat-icon>more_vert</mat-icon></button>
|
<button [matMenuTriggerFor]="menuSettings" mat-icon-button><mat-icon>more_vert</mat-icon></button>
|
||||||
<mat-menu #menuSettings="matMenu">
|
<mat-menu #menuSettings="matMenu">
|
||||||
<button (click)="openProfileDialog()" *ngIf="postsService.isLoggedIn" mat-menu-item>
|
<button class="top-menu-button" (click)="openProfileDialog()" *ngIf="postsService.isLoggedIn" mat-menu-item>
|
||||||
<mat-icon>person</mat-icon>
|
<mat-icon>person</mat-icon>
|
||||||
<span i18n="Profile menu label">Profile</span>
|
<span i18n="Profile menu label">Profile</span>
|
||||||
</button>
|
</button>
|
||||||
<button (click)="themeMenuItemClicked($event)" *ngIf="allowThemeChange" mat-menu-item>
|
<button class="top-menu-button" (click)="themeMenuItemClicked($event)" *ngIf="allowThemeChange" mat-menu-item>
|
||||||
<mat-icon>{{(postsService.theme.key === 'default') ? 'brightness_5' : 'brightness_2'}}</mat-icon>
|
<mat-icon>{{(postsService.theme.key === 'default') ? 'brightness_5' : 'brightness_2'}}</mat-icon>
|
||||||
<span i18n="Dark mode toggle label">Dark</span>
|
<span i18n="Dark mode toggle label">Dark</span>
|
||||||
<mat-slide-toggle class="theme-slide-toggle" [checked]="postsService.theme.key === 'dark'"></mat-slide-toggle>
|
<mat-slide-toggle class="theme-slide-toggle" [checked]="postsService.theme.key === 'dark'"></mat-slide-toggle>
|
||||||
</button>
|
</button>
|
||||||
<button (click)="openAboutDialog()" mat-menu-item>
|
<button class="top-menu-button" (click)="openAboutDialog()" mat-menu-item>
|
||||||
<mat-icon>info</mat-icon>
|
<mat-icon>info</mat-icon>
|
||||||
<span i18n="About menu label">About</span>
|
<span i18n="About menu label">About</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="example-container mat-elevation-z8">
|
<div class="mat-elevation-z8" style="margin-right: 15px;">
|
||||||
|
|
||||||
<mat-table #table [dataSource]="dataSource" matSort>
|
<mat-table #table [dataSource]="dataSource" matSort>
|
||||||
|
|
||||||
|
|||||||
@@ -167,3 +167,7 @@
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::ng-deep.mat-mdc-menu-panel {
|
||||||
|
max-width: none !important;
|
||||||
|
}
|
||||||
@@ -21,6 +21,7 @@
|
|||||||
color: unset;
|
color: unset;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .mdc-list-item__primary-text {
|
::ng-deep .mdc-list-item__primary-text {
|
||||||
|
|||||||
Reference in New Issue
Block a user