Fullscreen
Loading...
 
Skip to main content

Increase L&F options for navbars

Status
Closed
Subject
Increase L&F options for navbars
Version
19.x
Category
  • Feature request
Feature
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Accepted
Submitted by
Gary Cunningham-Lee
Volunteered to solve
Gary Cunningham-Lee
Lastmod by
Gary Cunningham-Lee
Rating
(0)
Related-to
Description

In trunk now (to be Tiki 19), with the update from Bootstrap 3 to 4, navbars have more styling flexibility. Regarding foreground (text) colors, instead of having CSS classes navbar-default and navbar-inverse, there are now navbar-light and navbar-dark, and also navbar-primary. And for background colors, there are bg-dark and +-bg-light+-.

So it would be good to implement admin L&F preferences/selectors to specify the background and foreground colors that the site uses for its main navigation navbar, and add switches in the code to put the CSS classes in the navbar HTML.

Themes should support all three color variations by specifying appropriate colors, etc.

Solution
This is addressed with CSS variables and related changes in the .tpl files in Tiki 25 and 26.
Importance
6
Easy to solve?
7
Priority
42
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6676
Created
Wednesday 30 May, 2018 08:08:22 UTC
by Gary Cunningham-Lee
LastModif
Tuesday 11 July, 2023 11:54:13 UTC


Show PHP error messages