Loading...
 
Skip to main content

Global navbar color pref conflicts with pref in admin-modules

Status
Open
Subject
Global navbar color pref conflicts with pref in admin-modules
Version
24.x
25.x
Category
  • Regression
  • Easy for Newbie Dev
Feature
Menu
UI / UX (User interface and experience)
Resolution status
New
Submitted by
Gary Cunningham-Lee
Lastmod by
Gary Cunningham-Lee
Rating
(0)
Description

The global navbar color assigned on tiki-admin.php?page=look is always applied, so when assigning a menu module and giving it a parameter like "navbar_class=navbar navbar-expand-lg navbar-light bg-light", when the global pref is "dark", this is the result in the page source: <nav class="navbar navbar-expand-lg navbar-light bg-light navbar-dark bg-dark" role="navigation">

The combination of color classes causes problems for link colors, etc.

There are times when, because of the theme colors, both navbar-dark and navbar-light are needed, like when the topbar zone has a dark background and the page footer has a light background, so when a per-module color parameter is specified on admin-modules, it should replace the Look and Feel global setting, not be added to it.

Importance
8
Easy to solve?
8
Priority
64
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8167
Created
Thursday 04 August, 2022 16:59:54 UTC
by Gary Cunningham-Lee
LastModif
Thursday 04 August, 2022 16:59:54 UTC


Show PHP error messages