From: soufiane Date: Mon, 15 Apr 2024 15:07:13 +0000 (+0200) Subject: wait #6854 fix git conflits X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=26ecabe47be67fc7c64877935512626725ff49b3;p=fluidbook-toolbox.git wait #6854 fix git conflits --- diff --git a/public/packages/fluidbook/toolbox/css/style.less b/public/packages/fluidbook/toolbox/css/style.less index a3fdedff1..1a076b48d 100644 --- a/public/packages/fluidbook/toolbox/css/style.less +++ b/public/packages/fluidbook/toolbox/css/style.less @@ -532,5 +532,9 @@ table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, t } } +.editview #form_shortcuts a.bold { + font-weight: bold; +} + @import 'context-menu'; diff --git a/public/packages/fluidbook/toolbox/css/tools.less b/public/packages/fluidbook/toolbox/css/tools.less index 1fff97d45..dc1c5b31e 100644 --- a/public/packages/fluidbook/toolbox/css/tools.less +++ b/public/packages/fluidbook/toolbox/css/tools.less @@ -1,8 +1,73 @@ #tool{ padding-top: 30px; + &:not(.main) { + h2 { + padding-bottom: 0; + margin-bottom: 0; + } + } - h2{ + .back { + display: inline-block; padding-bottom: 20px; + margin-bottom: .5rem; + } + &:not(.main) h2 { + margin-bottom: 0; + } + .nav { + &-filter { + ul { + list-style: none; + display: flex; + padding: 0; + li { + padding: 0 0.5rem; + cursor: pointer; + color: #869ab8; + &:hover, + &.active { + color: #384c74; + } + } + } + } + &-dropdown-items { + padding: 0; + display: grid; + grid-template-columns: repeat(2, 1fr); + list-style: none; + gap: 27px; + @media (min-width: 1180px) { + grid-template-columns: repeat(4, 1fr); + } + @media (min-width: 1400px) { + grid-template-columns: repeat(6, 1fr); + } + } + &-item { + background-color: rgba(70, 127, 207, 0.1); + border-radius: 4px; + position: relative; + height: 20vh; + &.hide { + display: none; + } + } + &-link { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 20px; + height: 100%; + i { + font-size: 50px; + } + span { + width: 90%; + text-align: center; + } + } } } - diff --git a/resources/views/tools/all.blade.php b/resources/views/tools/all.blade.php new file mode 100644 index 000000000..aafa62f61 --- /dev/null +++ b/resources/views/tools/all.blade.php @@ -0,0 +1,42 @@ +@extends(backpack_view('blank')) + +@section('after_styles') + +@endsection + +@section('content') + +
+

Outils

+ +
+ @include('tools.sidebar') +
+
+ +@endsection + +@push('after_scripts') + +@endpush diff --git a/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php b/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php index 676a5d7ef..9468153d3 100644 --- a/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php +++ b/resources/views/vendor/backpack/base/inc/sidebar_content.blade.php @@ -152,9 +152,8 @@ @endcanany @can('tools') -
  • {{__('Outils')}} - @include('tools.sidebar')
  • @endcan @canany(['users:read','company:read','managerolesandpersmissions']) diff --git a/resources/views/vendor/backpack/crud/form_content.blade.php b/resources/views/vendor/backpack/crud/form_content.blade.php index 4f43a2734..cce477863 100644 --- a/resources/views/vendor/backpack/crud/form_content.blade.php +++ b/resources/views/vendor/backpack/crud/form_content.blade.php @@ -1,5 +1,10 @@ -route) }}> +@if(Request::is('tools/*')) + + {{ __('Revenir sur la liste des outils') }} + +@endif +route) }}> {{-- See if we're using tabs --}} @if ($crud->tabsEnabled() && count($crud->getTabs())) @include('crud::inc.show_tabbed_fields')