minor ui changes
This commit is contained in:
1 parent
edc09da8df
commit
d54eb721a6
5 files changed
+26
-19
No files matched your search
@@ -11,7 +11,7 @@
|
|||||||
.background-wrapper img {
|
.background-wrapper img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: fill;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.background-wrapper::after {
|
.background-wrapper::after {
|
||||||
|
|||||||
@@ -140,8 +140,8 @@ export class EntryPageComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onRatingChange(event: Event) {
|
onRatingChange(event: Event) {
|
||||||
this.entryRatingsService
|
this.entryService
|
||||||
.updateEntryRatings(this.entry.entryRating)
|
.updateEntryRatings(this.entry.id, this.entry.entryRating)
|
||||||
.subscribe({
|
.subscribe({
|
||||||
next: (entryRatings) => {
|
next: (entryRatings) => {
|
||||||
if (entryRatings) {
|
if (entryRatings) {
|
||||||
|
|||||||
@@ -84,10 +84,10 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- watchtime -->
|
<!-- watchtime -->
|
||||||
<div class="col-12 col-xl-4 d-flex flex-column justify-content-between">
|
<div class="col-12 col-xl-4 d-flex">
|
||||||
<!-- movies watchtime -->
|
<!-- movies watchtime -->
|
||||||
<div class="card rounded-4">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body d-flex flex-column space-between">
|
||||||
<div class="d-flex gap-2 mb-4">
|
<div class="d-flex gap-2 mb-4">
|
||||||
<h5 class="mb-0 d-flex align-items-center gap-2 fw-bold">
|
<h5 class="mb-0 d-flex align-items-center gap-2 fw-bold">
|
||||||
Total Time Spent Watching
|
Total Time Spent Watching
|
||||||
@@ -137,11 +137,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-body align-content-center">
|
<div class="card-body align-content-center">
|
||||||
|
|
||||||
<p class="mb-0">You've spent {{ watchTime.allTime.total | minutesFormat:'days' | number }} days of your life
|
<p class="mb-0">
|
||||||
watching this crap.
|
You've spent {{ watchTime.allTime.total | minutesFormat:'days' | number }} days of your life watching this
|
||||||
|
crap.
|
||||||
<br>
|
<br>
|
||||||
<span>{{ (watchTime.allTime.total * 100) / minutesAge | floatFormat:2 }}% of your life.</span>
|
<span>{{ (watchTime.allTime.total * 100) / minutesAge | floatFormat:2 }}% of your life.</span>
|
||||||
</p>
|
</p>
|
||||||
@@ -164,6 +164,7 @@
|
|||||||
<span class="material-icons-outlined fs-5">more_vert</span>
|
<span class="material-icons-outlined fs-5">more_vert</span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
|
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2025)">2025</a></li>
|
||||||
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2024)">2024</a></li>
|
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2024)">2024</a></li>
|
||||||
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2023)">2023</a></li>
|
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2023)">2023</a></li>
|
||||||
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2022)">2022</a></li>
|
<li><a class="dropdown-item" href="javascript:;" (click)="changeYear(2022)">2022</a></li>
|
||||||
@@ -225,9 +226,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
|
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
|
||||||
@@ -69,14 +69,23 @@ a.clear-filter-link {
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .p-multiselect-items-wrapper{
|
::ng-deep .p-multiselect-items-wrapper {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-multiselect-label-container {
|
.p-multiselect-label-container {
|
||||||
padding: 8px 12px !important; /* Adjust for better fit */
|
padding: 8px 12px !important;
|
||||||
|
/* Adjust for better fit */
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep ol,
|
::ng-deep ol,
|
||||||
::ng-deep ul:not(.metismenu) {
|
::ng-deep ul:not(.metismenu) {
|
||||||
padding-left: 0 !important;
|
padding-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.form-check-input,
|
||||||
|
.form-check-input .form-check-label,
|
||||||
|
.clear-filter-link {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
@@ -1141,4 +1141,6 @@ form select.error:focus {
|
|||||||
border-color: #377dff;
|
border-color: #377dff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=main.css.map */
|
.dropdown-item {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user