- 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>
19 lines
No EOL
356 B
Sass
19 lines
No EOL
356 B
Sass
@use 'base'
|
|
@use 'surveys-list'
|
|
@use 'progress'
|
|
@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 |