Skip to content

Commit

Permalink
clean style for mud-table-toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
neozhu committed Dec 1, 2024
1 parent 86c8153 commit 0498936
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 49 deletions.
5 changes: 0 additions & 5 deletions src/Server.UI/Pages/Contacts/Contacts.razor
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
@inject IStringLocalizer<Contacts> L
@attribute [Authorize(Policy = Permissions.Contacts.View)]
<PageTitle>@Title</PageTitle>
<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

<MudDataGrid ServerData="@(ServerReload)"
FixedHeader="true"
Expand Down
5 changes: 0 additions & 5 deletions src/Server.UI/Pages/Documents/Documents.razor
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,6 @@
</PagerContent>
</MudDataGrid>

<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code {
[CascadingParameter] protected Task<AuthenticationState> AuthState { get; set; } = default!;
Expand Down
6 changes: 0 additions & 6 deletions src/Server.UI/Pages/Identity/Roles/Roles.razor
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,6 @@

<PermissionsDrawer OnAssignAllChanged="OnAssignAllChangedHandler" Waiting="@_processing" OnOpenChanged="OnOpenChangedHandler" Open="_showPermissionsDrawer" Permissions="_permissions" OnAssignChanged="OnAssignChangedHandler"></PermissionsDrawer>

<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code {
[CascadingParameter] private Task<AuthenticationState> AuthState { get; set; } = default!;
private RoleManager<ApplicationRole> RoleManager = null!;
Expand Down
7 changes: 0 additions & 7 deletions src/Server.UI/Pages/Identity/Users/Users.razor
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,8 @@
</PagerContent>
</MudDataGrid>



<PermissionsDrawer OnAssignAllChanged="OnAssignAllChangedHandler" Waiting="@_processing" OnOpenChanged="OnOpenChangedHandler" Open="_showPermissionsDrawer" Permissions="_permissions" OnAssignChanged="OnAssignChangedHandler"></PermissionsDrawer>

<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code {
[CascadingParameter] private Task<AuthenticationState> AuthState { get; set; } = default!;
Expand Down
5 changes: 0 additions & 5 deletions src/Server.UI/Pages/PicklistSets/PicklistSets.razor
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@
</PagerContent>
</MudDataGrid>

<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code {
[CascadingParameter] private Task<AuthenticationState> AuthState { get; set; } = default!;
Expand Down
4 changes: 0 additions & 4 deletions src/Server.UI/Pages/Products/Products.razor
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@
--fancybox-bg: rgba(24, 24, 27, 0.85);
z-index: 9999;
}
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code {
Expand Down
6 changes: 0 additions & 6 deletions src/Server.UI/Pages/SystemManagement/AuditTrails.razor
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,6 @@
</PagerContent>
</MudDataGrid>

<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code
{
public string Title { get; private set; } = "Audit Trails";
Expand Down
5 changes: 0 additions & 5 deletions src/Server.UI/Pages/SystemManagement/Logs.razor
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@
</PagerContent>
</MudDataGrid>

<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code
{
Expand Down
6 changes: 0 additions & 6 deletions src/Server.UI/Pages/Tenants/Tenants.razor
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@
</PagerContent>
</MudDataGrid>

<style>
.mud-table-toolbar {
height: 120px !important;
}
</style>

@code
{
[CascadingParameter] private Task<AuthenticationState> AuthState { get; set; } = default!;
Expand Down
19 changes: 19 additions & 0 deletions src/Server.UI/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,26 @@
height: 1.125rem;
}

.mud-table.mud-data-grid .mud-toolbar {
height: auto !important;
padding: 1rem
}


.mud-table.mud-data-grid .mud-toolbar-gutters {
height: auto !important;
padding: 1rem
}

.mud-table.mud-data-grid .mud-table-toolbar {
height: auto !important;
padding: 1rem
}

.mud-table.mud-data-grid .mud-table-pagination-toolbar {
height: auto !important;
padding: 0rem !important;
}
.blazor-error-boundary {
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi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