Skip to content

Commit

Permalink
Fixes to the UI (#446)
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Djerbouh <13698160+CaddyDz@users.noreply.github.com>
  • Loading branch information
CaddyDz authored Jun 20, 2023
1 parent 3e78afc commit 72df63d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
12 changes: 9 additions & 3 deletions app/Providers/NovaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
use App\Nova\{Application, Booster, Coupon, Fine, Gift, Order, User};
use Vyuldashev\NovaPermission\{NovaPermissionTool, Permission, Role};
use DigitalCreative\CollapsibleResourceManager\CollapsibleResourceManager;
use DigitalCreative\CollapsibleResourceManager\Resources\{InternalLink, NovaResource, TopLevelResource};
use DigitalCreative\CollapsibleResourceManager\Resources\{
InternalLink,
NovaResource,
TopLevelResource
};

class NovaServiceProvider extends NovaApplicationServiceProvider
{
Expand All @@ -25,8 +29,10 @@ class NovaServiceProvider extends NovaApplicationServiceProvider
*/
public function boot(): void
{
Nova::serving(fn () => Nova::style('theme', resource_path('css/theme.css')));
Nova::script('menuFix', resource_path('js/fixMenu.js'));
Nova::serving(
fn () => Nova::style('theme', resource_path('css/theme.css'))
);
Nova::script('redirect', resource_path('js/redirect.js'));
Nova::sortResourcesBy(fn ($resource) => $resource::$priority ?? 9999);
parent::boot();
}
Expand Down
4 changes: 1 addition & 3 deletions resources/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@
}

.bg-grad-sidebar {
background-image: linear-gradient(0deg, #7e8ea1 0%, #3c4655 100%);
background-image: linear-gradient(0deg, #300355 0%, #000000 100%);
}


body {
font-family: 'Evogria';
font-weight: normal;
Expand Down Expand Up @@ -100,5 +99,4 @@ div[dusk="orders-detail-component"]:nth-of-type(3) {
div[dusk="orders-detail-component"]:nth-of-type(4) {
width: 38%;
display: inline-block;
float: right;
}
File renamed without changes.
2 changes: 1 addition & 1 deletion resources/views/vendor/nova/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
@endif

@include('nova-notifications::dropdown')
<dropdown class="ml-auto h-9 flex items-center dropdown-right">
<dropdown class="h-9 flex items-center dropdown-right">
@include('nova::partials.user')
</dropdown>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/vendor/nova/partials/logo.blade.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<img src="/img/240x50px.png" alt="Logo" width="90%">
<img src="/img/240x50px.png" alt="Logo" width="80%">

0 comments on commit 72df63d

Please sign in to comment.