diff --git a/resources/css/blocks/admin/dashboard.css b/resources/css/blocks/admin/dashboard.css index 5ad48ad..55f840e 100644 --- a/resources/css/blocks/admin/dashboard.css +++ b/resources/css/blocks/admin/dashboard.css @@ -1,139 +1,114 @@ [class*="kompass-admin-"] { + overflow-y: scroll; + .test { + background-color: antiquewhite; + } + main { + @apply grid transition-all ease-in-out duration-300; + grid-template-columns: 15rem 1fr; + grid-template-rows: 4rem 1fr 4rem; + grid-template-areas: "sidenav header" "sidenav main-content" "sidenav footer"; + } - overflow-y: scroll; - .test{background-color: antiquewhite;} - main { - @apply transition-all ease-in-out duration-300 ; - display: grid; - grid-template-columns: 15rem 1fr; - grid-template-rows: 4rem 1fr 4rem; - grid-template-areas: "sidenav header""sidenav main-content""sidenav footer"; - } + header { + grid-area: header; + border-bottom: 0.1rem solid #e9ecef; + } - header { - grid-area: header; - border-bottom: .1rem solid #e9ecef; - } + footer { + grid-area: footer; + border-top: 0.1rem solid #e9ecef; + } - footer { - grid-area: footer; - border-top: .1rem solid #e9ecef; - } + .main-content { + grid-area: main-content; + @apply bg-gray-50 px-6 relative; + } - .main-content { - grid-area: main-content; - @apply bg-gray-50 px-6 relative; - } - - header, - footer { - @apply z-30; - display: flex; - align-items: center; - justify-content: space-between; - padding: 0 1.5rem; - background-color: #f8f9fa; - } + header, + footer { + @apply flex items-center justify-between px-6 z-30; + } + .main-content, + header, + footer { + @apply bg-gray-50; + } + .sidenav { + @apply block transition-all ease-in-out duration-500; + position: fixed; + top: 0; + bottom: 0; + width: 15rem; + height: 100%; + border-right: 0.1rem solid #e9ecef; + overflow-y: auto; + .logo { + padding: 1rem 1.6rem; + .favicon-logo { + display: none; + } + } + } + .sidenav a { + display: flex; + padding: 0.35rem 1.5rem; + align-items: center; + @apply text-sm gap-2; + font-weight: 600; + position: relative; - .sidenav { - @apply transition-all ease-in-out duration-500 ; - display: block; - position: fixed; - top: 0; - bottom: 0; - width: 15rem; - height: 100%; - border-right: .1rem solid #e9ecef; - overflow-y: auto; + &.active { + svg { + @apply stroke-brand-500; + } - + font-weight: 700; + @apply bg-gradient-to-r from-gray-50 to-gray-100 text-gray-500; - - .logo { - padding: 1rem 1.6rem; - .favicon-logo{ - display: none; - } - } + &::after { + content: ""; + position: absolute; + height: 100%; + width: 0.3rem; + left: 0; + @apply bg-brand-500; + } } - .sidenav a{ - display: flex; - padding: 0.35rem 1.5rem; - align-items: center; - @apply text-sm gap-2; - font-weight: 600; - position: relative; - - &.active { - svg { - @apply stroke-brand-500; - } - - font-weight: 700; - @apply bg-gradient-to-r from-gray-50 to-gray-100 text-gray-500; - - &::after { - content: ''; - position: absolute; - height: 100%; - width: 0.3rem; - left: 0; - @apply bg-brand-500; - - } - } - } - nav.setting a{ - display: flex; - align-items: center; - @apply text-sm py-1; - font-weight: 600; - position: relative; - } - - /* // .sidenav { - // grid-area: sidenav; - // background-color: #394263; - // display: flex; - // flex-direction: column; - // height: 100%; - // width: 240px; - // position: fixed; - // overflow-y: auto; - // box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08); - // z-index: 2; /* Needs to sit above the hamburger menu icon - // transform: translateX(-245px); - // transition: all 0.6s ease-in-out; - // } */ + } + nav.setting a { + display: flex; + align-items: center; + @apply text-sm py-1; + font-weight: 600; + position: relative; + } } -.sideclose{ - @apply transition-all ease-in-out duration-500 ; - grid-template-columns: 4.6rem 1fr !important; - .logo{ - padding: .5rem !important; - } - .big-logo{ - display: none; - } - .favicon-logo{ - display: block !important; - } - .sidenav{ - - width: 4.6rem; - a span{ - display: none; - } +.sideclose { + @apply transition-all ease-in-out duration-500; + grid-template-columns: 4.6rem 1fr !important; + .logo { + padding: 0.5rem !important; + } + .big-logo { + display: none; + } + .favicon-logo { + display: block !important; + } + .sidenav { + width: 4.6rem; + a span { + display: none; } - .sidebarbutton{ - @apply text-orange-400 rotate-180; - } - ul div{ - - text-indent: -9999px; - } - -} \ No newline at end of file + } + .sidebarbutton { + @apply text-orange-400 rotate-180; + } + ul div { + text-indent: -9999px; + } +} diff --git a/resources/lang/de.json b/resources/lang/de.json index 74c746c..05911e6 100644 --- a/resources/lang/de.json +++ b/resources/lang/de.json @@ -444,6 +444,7 @@ "Please provide your name.": "Please provide your name.", "Poland": "Poland", "Portugal": "Portugal", + "Post": "Beitrags", "Posts": "Beiträge", "Press / to search": "Press / to search", "Preview": "Preview", diff --git a/resources/views/components/blocksgroup.blade.php b/resources/views/components/blocksgroup.blade.php index 26e73de..60ecd09 100644 --- a/resources/views/components/blocksgroup.blade.php +++ b/resources/views/components/blocksgroup.blade.php @@ -43,29 +43,22 @@ class="text-xs inline-flex items-center gap-1.5 py-1 px-1 capitalize rounded fon @svg('tabler-section', 'w-5') @endif @endswitch - - - +
- + {{ $itemblocks->name }} - {{-- --}} + {{-- --}} - {{-- --}} - -
diff --git a/resources/views/livewire/posts/posts-show.blade.php b/resources/views/livewire/posts/posts-show.blade.php index f6286dc..81b8dcf 100644 --- a/resources/views/livewire/posts/posts-show.blade.php +++ b/resources/views/livewire/posts/posts-show.blade.php @@ -92,7 +92,7 @@ class="cursor-pointer grid place-content-center border-2 border-dashed border-gr
- {{ __('Page title') }} + {{ __('Post') }} {{ __('Title') }}