From fe2f107ddcb91f1d07e45d9b8515bb158b332e16 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Sat, 20 Mar 2021 23:36:27 +0100 Subject: [PATCH] bootstrap content with vertical right person menu --- .../public/modules/bootstrap/_custom.scss | 30 +-- .../modules/bootstrap/custom/_variables.scss | 6 +- .../Resources/views/Menu/section.html.twig | 25 ++- .../Resources/views/Menu/user.html.twig | 9 +- .../views/layoutWithVerticalMenu.html.twig | 53 +++--- .../Resources/views/layout.html.twig | 180 +++++++++--------- .../Resources/views/menu.html.twig | 21 +- 7 files changed, 172 insertions(+), 152 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss index 3bedae2be..b881080c8 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss @@ -6,6 +6,10 @@ h1, h2, .h1, .h2 { font-weight: $headings-font-weight + 200; } +.open_sansbold { + +} + html, body { min-height: 100%; height: 100%; @@ -26,8 +30,11 @@ nav.navbar { display: flex; align-items: center; } + .nav-item a { + } .dropdown-menu { .dropdown-item { + width: 120%; i { float: right; } @@ -38,29 +45,6 @@ nav.navbar { #content_conainter { position: relative; min-height: calc(100% - 195px); - - &::before { - bottom: 0; - content: ""; - left: 0; - opacity: .1; - position: absolute; - right: 0; - top: 0; - z-index: -1; - background-image: url(/build/images/desert.2a25b6fc.jpg); - background-attachment: fixed; - background-repeat: no-repeat; - background-size: cover; - background-position: 50%; - } -} - -.container-fluid::after { - content: ""; - display: table; - clear: both; - border-spacing: 0; } .footer { diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss index 15bfedd3a..60401fb8c 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss @@ -449,9 +449,9 @@ $btn-link-disabled-color: $gray-600 !default; $btn-block-spacing-y: .5rem !default; // Allows for customizing button radius independently from global border radius -$btn-border-radius: $border-radius !default; -$btn-border-radius-lg: $border-radius-lg !default; -$btn-border-radius-sm: $border-radius-sm !default; +$btn-border-radius: 0 !default; +$btn-border-radius-lg: 0 !default; +$btn-border-radius-sm: 0 !default; $btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default; diff --git a/src/Bundle/ChillMainBundle/Resources/views/Menu/section.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Menu/section.html.twig index 9f164179d..e6d65be3f 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Menu/section.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Menu/section.html.twig @@ -15,20 +15,29 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . #} - {# +