mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 04:26:16 -08:00
style(category-management): improve layout and styling of dialog components
This commit is contained in:
1 parent
4491880e81
commit
155a7d1209
2 files changed
+19
-10
No files matched your search
+8
-2
@@ -32,7 +32,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<mat-form-field appearance="outline" class="search-field">
|
||||
<mat-form-field
|
||||
appearance="outline"
|
||||
class="search-field"
|
||||
subscriptSizing="dynamic"
|
||||
>
|
||||
<mat-icon matPrefix>search</mat-icon>
|
||||
<input
|
||||
matInput
|
||||
@@ -59,7 +63,9 @@
|
||||
>
|
||||
</mat-checkbox>
|
||||
<span class="category-name">{{ category.name }}</span>
|
||||
<span class="item-count">({{ getItemCount(category) }})</span>
|
||||
<span class="item-count"
|
||||
>({{ getItemCount(category) }})</span
|
||||
>
|
||||
</div>
|
||||
} @empty {
|
||||
<div class="empty-message">
|
||||
|
||||
+11
-8
@@ -1,3 +1,13 @@
|
||||
::ng-deep .mat-mdc-dialog-content {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.mat-mdc-dialog-content {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.loading-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -11,7 +21,6 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
}
|
||||
@@ -53,7 +62,7 @@
|
||||
.category-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 6px 12px;
|
||||
padding: 2px 10px;
|
||||
cursor: pointer;
|
||||
gap: 8px;
|
||||
transition: background-color 0.12s ease;
|
||||
@@ -79,12 +88,6 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.item-count {
|
||||
opacity: 0.6;
|
||||
font-size: 12px;
|
||||
color: var(--mat-sys-on-surface-variant);
|
||||
}
|
||||
|
||||
.empty-message {
|
||||
padding: 24px;
|
||||
text-align: center;
|
||||
|
||||
Reference in new issue
Block a user