Using the @push css stacks over the styles section

parent 3ce5cc67
...@@ -12,13 +12,13 @@ ...@@ -12,13 +12,13 @@
<div class="clearfix"></div> <div class="clearfix"></div>
@stop @stop
@section('styles') @push('css-stack')
<style> <style>
.grid-stack-item { .grid-stack-item {
padding-right: 20px !important; padding-right: 20px !important;
} }
</style> </style>
@stop @endpush
@section('content') @section('content')
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<link href="{!! Module::asset('media:css/dropzone.css') !!}" rel="stylesheet" type="text/css" /> <link href="{!! Module::asset('media:css/dropzone.css') !!}" rel="stylesheet" type="text/css" />
<style> <style>
.dropzone { .dropzone {
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
margin-bottom: 20px; margin-bottom: 20px;
} }
</style> </style>
@stop @endpush
@section('content') @section('content')
<div class="row"> <div class="row">
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
</ol> </ol>
@stop @stop
@section('styles')
@stop
@section('content') @section('content')
{!! Form::open(['route' => ['dashboard.menuitem.store', $menu->id], 'method' => 'post']) !!} {!! Form::open(['route' => ['dashboard.menuitem.store', $menu->id], 'method' => 'post']) !!}
<div class="row"> <div class="row">
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
</ol> </ol>
@stop @stop
@section('styles')
@stop
@section('content') @section('content')
{!! Form::open(['route' => ['dashboard.menuitem.update', $menu->id, $menuItem->id], 'method' => 'put']) !!} {!! Form::open(['route' => ['dashboard.menuitem.update', $menu->id, $menuItem->id], 'method' => 'put']) !!}
<div class="row"> <div class="row">
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
</ol> </ol>
@stop @stop
@section('styles')
@stop
@section('content') @section('content')
{!! Form::open(['route' => ['admin.menu.menu.store'], 'method' => 'post']) !!} {!! Form::open(['route' => ['admin.menu.menu.store'], 'method' => 'post']) !!}
<div class="row"> <div class="row">
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<link href="{!! Module::asset('menu:css/nestable.css') !!}" rel="stylesheet" type="text/css" /> <link href="{!! Module::asset('menu:css/nestable.css') !!}" rel="stylesheet" type="text/css" />
@stop @endpush
@section('content') @section('content')
{!! Form::open(['route' => ['admin.menu.menu.update', $menu->id], 'method' => 'put']) !!} {!! Form::open(['route' => ['admin.menu.menu.update', $menu->id], 'method' => 'put']) !!}
......
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<style> <style>
.checkbox label { .checkbox label {
padding-left: 0; padding-left: 0;
} }
</style> </style>
@stop @endpush
@section('content') @section('content')
{!! Form::open(['route' => ['admin.page.page.store'], 'method' => 'post']) !!} {!! Form::open(['route' => ['admin.page.page.store'], 'method' => 'post']) !!}
......
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<style> <style>
.checkbox label { .checkbox label {
padding-left: 0; padding-left: 0;
} }
</style> </style>
@stop @endpush
@section('content') @section('content')
{!! Form::open(['route' => ['admin.page.page.update', $page->id], 'method' => 'put']) !!} {!! Form::open(['route' => ['admin.page.page.update', $page->id], 'method' => 'put']) !!}
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
</ol> </ol>
@stop @stop
@section('styles')
@stop
@section('content') @section('content')
{!! Form::open(['route' => ['admin.tag.tag.store'], 'method' => 'post']) !!} {!! Form::open(['route' => ['admin.tag.tag.store'], 'method' => 'post']) !!}
<div class="row"> <div class="row">
......
...@@ -11,10 +11,6 @@ ...@@ -11,10 +11,6 @@
</ol> </ol>
@stop @stop
@section('styles')
{!! Theme::script('js/vendor/ckeditor/ckeditor.js') !!}
@stop
@section('content') @section('content')
{!! Form::open(['route' => ['admin.tag.tag.update', $tag->id], 'method' => 'put']) !!} {!! Form::open(['route' => ['admin.tag.tag.update', $tag->id], 'method' => 'put']) !!}
<div class="row"> <div class="row">
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<style> <style>
.jsUpdateModule { .jsUpdateModule {
transition: all .5s ease-in-out; transition: all .5s ease-in-out;
} }
</style> </style>
@stop @endpush
@section('content') @section('content')
<div class="row"> <div class="row">
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<style> <style>
.module-type { .module-type {
text-align: center; text-align: center;
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<style> <style>
.jsUpdateModule { .jsUpdateModule {
transition: all .5s ease-in-out; transition: all .5s ease-in-out;
} }
</style> </style>
@stop @endpush
@section('content') @section('content')
<div class="row"> <div class="row">
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</ol> </ol>
@stop @stop
@section('styles') @push('css-stack')
<style> <style>
.module-type { .module-type {
text-align: center; text-align: center;
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
display: inline; display: inline;
} }
</style> </style>
@stop @endpush
@section('content') @section('content')
<div class="row"> <div class="row">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment