mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-11-27 05:39:55 +08:00
Fix style of home page
This commit is contained in:
parent
0198cf84f5
commit
4e9c0b9d45
@ -1,5 +1,3 @@
|
|||||||
@import "general.styl";
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
@ -3,6 +3,10 @@
|
|||||||
<!-- AdminLTE color scheme -->
|
<!-- AdminLTE color scheme -->
|
||||||
<link rel="stylesheet" href="{{ url('public/skins/'.option('color_scheme').'.min.css') }}">
|
<link rel="stylesheet" href="{{ url('public/skins/'.option('color_scheme').'.min.css') }}">
|
||||||
|
|
||||||
|
@if (isset($module))
|
||||||
|
<link rel="stylesheet" href="{{ url('public/'.$module.'.css') }}">
|
||||||
|
@endif
|
||||||
|
|
||||||
<!-- User custom styles -->
|
<!-- User custom styles -->
|
||||||
<style>{!! option('custom_css') !!}</style>
|
<style>{!! option('custom_css') !!}</style>
|
||||||
{{-- Content added by plugins dynamically --}}
|
{{-- Content added by plugins dynamically --}}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<!-- Tell the browser to be responsive to screen width -->
|
<!-- Tell the browser to be responsive to screen width -->
|
||||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||||
<!-- App Styles -->
|
<!-- App Styles -->
|
||||||
@include('common.dependencies.style', ['module' => 'index'])
|
@include('common.dependencies.style', ['module' => 'home'])
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="hold-transition {{ option('color_scheme') }} layout-top-nav">
|
<body class="hold-transition {{ option('color_scheme') }} layout-top-nav">
|
||||||
|
@ -20,7 +20,8 @@ module.exports = [{
|
|||||||
'toastr/build/toastr.min.css',
|
'toastr/build/toastr.min.css',
|
||||||
'sweetalert2/dist/sweetalert2.min.css',
|
'sweetalert2/dist/sweetalert2.min.css',
|
||||||
'./resources/assets/src/stylus/common.styl',
|
'./resources/assets/src/stylus/common.styl',
|
||||||
]
|
],
|
||||||
|
home: './resources/assets/src/stylus/home.styl'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: __dirname + '/public',
|
path: __dirname + '/public',
|
||||||
@ -65,7 +66,7 @@ module.exports = [{
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /common\.styl$/,
|
test: /(common|home)\.styl$/,
|
||||||
use: [
|
use: [
|
||||||
MiniCssExtractPlugin.loader,
|
MiniCssExtractPlugin.loader,
|
||||||
{ loader: 'css-loader', options: { importLoaders: 3 } },
|
{ loader: 'css-loader', options: { importLoaders: 3 } },
|
||||||
|
Loading…
Reference in New Issue
Block a user