Using the @push css stacks over the styles section

parent 3ce5cc67
......@@ -12,13 +12,13 @@
<div class="clearfix"></div>
@stop
@section('styles')
@push('css-stack')
<style>
.grid-stack-item {
padding-right: 20px !important;
}
</style>
@stop
@endpush
@section('content')
......
......@@ -10,7 +10,7 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<link href="{!! Module::asset('media:css/dropzone.css') !!}" rel="stylesheet" type="text/css" />
<style>
.dropzone {
......@@ -19,7 +19,7 @@
margin-bottom: 20px;
}
</style>
@stop
@endpush
@section('content')
<div class="row">
......
......@@ -11,9 +11,6 @@
</ol>
@stop
@section('styles')
@stop
@section('content')
{!! Form::open(['route' => ['dashboard.menuitem.store', $menu->id], 'method' => 'post']) !!}
<div class="row">
......
......@@ -11,9 +11,6 @@
</ol>
@stop
@section('styles')
@stop
@section('content')
{!! Form::open(['route' => ['dashboard.menuitem.update', $menu->id, $menuItem->id], 'method' => 'put']) !!}
<div class="row">
......
......@@ -11,9 +11,6 @@
</ol>
@stop
@section('styles')
@stop
@section('content')
{!! Form::open(['route' => ['admin.menu.menu.store'], 'method' => 'post']) !!}
<div class="row">
......
......@@ -11,9 +11,9 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<link href="{!! Module::asset('menu:css/nestable.css') !!}" rel="stylesheet" type="text/css" />
@stop
@endpush
@section('content')
{!! Form::open(['route' => ['admin.menu.menu.update', $menu->id], 'method' => 'put']) !!}
......
......@@ -11,13 +11,13 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<style>
.checkbox label {
padding-left: 0;
}
</style>
@stop
@endpush
@section('content')
{!! Form::open(['route' => ['admin.page.page.store'], 'method' => 'post']) !!}
......
......@@ -11,13 +11,13 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<style>
.checkbox label {
padding-left: 0;
}
</style>
@stop
@endpush
@section('content')
{!! Form::open(['route' => ['admin.page.page.update', $page->id], 'method' => 'put']) !!}
......
......@@ -11,9 +11,6 @@
</ol>
@stop
@section('styles')
@stop
@section('content')
{!! Form::open(['route' => ['admin.tag.tag.store'], 'method' => 'post']) !!}
<div class="row">
......
......@@ -11,10 +11,6 @@
</ol>
@stop
@section('styles')
{!! Theme::script('js/vendor/ckeditor/ckeditor.js') !!}
@stop
@section('content')
{!! Form::open(['route' => ['admin.tag.tag.update', $tag->id], 'method' => 'put']) !!}
<div class="row">
......
......@@ -10,13 +10,13 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<style>
.jsUpdateModule {
transition: all .5s ease-in-out;
}
</style>
@stop
@endpush
@section('content')
<div class="row">
......
......@@ -17,7 +17,7 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<style>
.module-type {
text-align: center;
......
......@@ -10,13 +10,13 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<style>
.jsUpdateModule {
transition: all .5s ease-in-out;
}
</style>
@stop
@endpush
@section('content')
<div class="row">
......
......@@ -17,7 +17,7 @@
</ol>
@stop
@section('styles')
@push('css-stack')
<style>
.module-type {
text-align: center;
......@@ -36,7 +36,7 @@
display: inline;
}
</style>
@stop
@endpush
@section('content')
<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