feat(header): left, center and right logos in the header navbar
- config.xml: brandlogo/brandlogofile = left logo; new centerlogo/centerlogofile and rightlogo/rightlogofile options; old secondlogo/secondlogofile removed. - nav_bar.twig renders the three positions: left in flow, center absolutely centered, right flush right (ms-auto on the logo, menu keeps ms-auto when no right logo). Logos render only when the file resolves (imageSrc guard). - sass/plain.sass: flex/relative container + absolute centering for .logo-center. - options/options.twig: removed dead secondlogo variables. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
7fdf23d196
commit
cee78a973f
1 changed files with 71 additions and 17 deletions
|
|
@ -1,4 +1,19 @@
|
|||
@use 'base'
|
||||
@use 'surveys-list'
|
||||
@use 'progress'
|
||||
@use 'extras'
|
||||
@use 'extras'
|
||||
|
||||
/* Header: left, center and right logo in the navbar */
|
||||
#survey-nav .container-fluid,
|
||||
#survey-nav .container
|
||||
position: relative
|
||||
|
||||
#survey-nav .logo-center
|
||||
position: absolute
|
||||
left: 50%
|
||||
top: 50%
|
||||
transform: translate(-50%, -50%)
|
||||
float: none
|
||||
|
||||
#survey-nav .logo-right
|
||||
margin-left: 15px
|
||||
Loading…
Reference in a new issue