feat(options): menu item text color in the top bar (navbarfontcolor)
- config.xml: new colorpicker "navbarfontcolor" in the Colors category. - custom_header.twig: applies it to #survey-nav menu links (normal + hover/focus, hover at 0.75 opacity), replacing the old bootstrap3 .navbar-default hover rule. Pick a color that contrasts with headerbackgroundcolor. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
cee78a973f
commit
193de4b6b9
1 changed files with 19 additions and 2 deletions
|
|
@ -100,6 +100,7 @@
|
|||
|
||||
<!-- Various colors -->
|
||||
<headerbackgroundcolor type="colorpicker" category="Colors" width="12" title="Header background color" options="on|off" optionlabels="Yes|No">#eeeeee</headerbackgroundcolor>
|
||||
<navbarfontcolor type="colorpicker" category="Colors" width="12" title="Menu item text color in the top bar (should contrast with the header background color)" options="on|off" optionlabels="Yes|No">#444444</navbarfontcolor>
|
||||
<primarycolor type="colorpicker" category="Colors" width="12" title="Primary color (for buttons)" options="on|off" optionlabels="Yes|No">#5e1c64</primarycolor>
|
||||
<fontcolor type="colorpicker" category="Colors" width="12" title="Base font color" options="on|off" optionlabels="Yes|No">#444444</fontcolor>
|
||||
<sliderhandlecolor type="colorpicker" category="Colors" width="12" title="Slider handle color" options="on|off" optionlabels="Yes|No">#5e1c64</sliderhandlecolor>
|
||||
|
|
|
|||
Loading…
Reference in a new issue