From eebecc0b6e1e508f825a19cc471c8bcb3fa93bfa Mon Sep 17 00:00:00 2001 From: Jakub Brzegowski Date: Fri, 26 Nov 2021 13:19:59 +0100 Subject: [PATCH] IBX-1386: Model edit redesign --- .../Resources/public/scss/_edit-header.scss | 6 +- .../admin/ui/anchor_navigation_menu.html.twig | 1 + .../themes/admin/ui/edit_header.html.twig | 6 +- .../views/themes/admin/ui/layout.html.twig | 100 +++++++++--------- 4 files changed, 61 insertions(+), 52 deletions(-) diff --git a/src/bundle/Resources/public/scss/_edit-header.scss b/src/bundle/Resources/public/scss/_edit-header.scss index abcf09ce2b..eb05a216ab 100644 --- a/src/bundle/Resources/public/scss/_edit-header.scss +++ b/src/bundle/Resources/public/scss/_edit-header.scss @@ -7,7 +7,7 @@ border-color: $ibexa-color-light-400; border-top-left-radius: $ibexa-border-radius; border-top-right-radius: $ibexa-border-radius; - transition: all $ibexa-admin-transition-duration $ibexa-admin-transition; + transition: all $ibexa-admin-transition-duration $ibexa-admin-transition, border-bottom-width 0; &__container { display: flex; @@ -121,6 +121,10 @@ } &--slim { + &.ibexa-edit-header--has-extra-content { + border-bottom: calculateRem(1px) solid $ibexa-color-light; + } + .ibexa-edit-header { &__row { &--bottom { diff --git a/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig b/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig index 45beb8d05c..5d29d6d66f 100644 --- a/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/anchor_navigation_menu.html.twig @@ -21,6 +21,7 @@