-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b93ea5e
Showing
4 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/.idea | ||
/vendor | ||
/node_modules | ||
package-lock.json | ||
composer.phar | ||
composer.lock | ||
phpunit.xml | ||
.phpunit.result.cache | ||
.DS_Store | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "devpartners/vip", | ||
"description": "A Laravel Nova theme.", | ||
"keywords": [ | ||
"laravel", | ||
"nova" | ||
], | ||
"license": "MIT", | ||
"require": { | ||
"php": ">=7.1.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Devpartners\\Vip\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Devpartners\\Vip\\ThemeServiceProvider" | ||
] | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
:root { | ||
--primary: #3182ce; | ||
--primary-dark: #3182ce; | ||
--primary-70: #2C75B9; | ||
--primary-50: #1D4E7C; | ||
--primary-30: #163B5D; | ||
--primary-10: #0F273E; | ||
--logo: #0F273E; | ||
--sidebar-icon: #fff; | ||
--red: #F56565; | ||
} | ||
|
||
#nova { | ||
background-image: url('/img/hero.jpg'); | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
} | ||
|
||
.content { | ||
background-color: rgba(238, 238, 238, 0.95) | ||
} | ||
|
||
.btn-default, | ||
.form-input, | ||
.card { | ||
border-radius: 0.15rem; | ||
} | ||
|
||
.bg-grad-sidebar { | ||
background-image: -webkit-gradient( | ||
linear, | ||
left bottom, | ||
left top, | ||
from(rgba(56, 161, 105, 0.9)), | ||
to(rgba(49, 130, 206, 0.9)) | ||
); | ||
|
||
background-image: linear-gradient(0deg, rgba(56, 161, 105, 0.9) 0%, rgba(49, 151, 149, 0.9) 50%, rgba(49, 130, 206, 0.9) 100%); | ||
} | ||
|
||
.table td { | ||
height: 2.8rem; | ||
} | ||
|
||
table.w-full td img { | ||
border-radius: 0 !important; | ||
width: auto !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
namespace Devpartners\Vip; | ||
|
||
use Laravel\Nova\Nova; | ||
use Laravel\Nova\Events\ServingNova; | ||
use Illuminate\Support\ServiceProvider; | ||
|
||
class ThemeServiceProvider extends ServiceProvider | ||
{ | ||
/** | ||
* Bootstrap any application services. | ||
* | ||
* @return void | ||
*/ | ||
public function boot() | ||
{ | ||
Nova::serving(function (ServingNova $event) { | ||
Nova::style('vip', __DIR__.'/../resources/css/theme.css'); | ||
}); | ||
} | ||
|
||
/** | ||
* Register any application services. | ||
* | ||
* @return void | ||
*/ | ||
public function register() | ||
{ | ||
// | ||
} | ||
} |