giterlizzi / dokuwiki-plugin-bootswrapper

Bootstrap Wrapper for DokuWiki
GNU General Public License v2.0
35 stars 22 forks source link

Primary callouts do not change color when selecting Bootswatch themes (in Bootstrap3 template) #103

Closed Hitch42 closed 4 years ago

Hitch42 commented 5 years ago

Description

When displaying a callout using the primary color option, selecting other Bootswatch themes does not change its color, including icons.

Steps to reproduce

  1. Install Bootstrap Wrapper Plugin
  2. Install Bootstrap3 Template
  3. Display a callout using the primary color option.
  4. Change the theme using different Bootswatch themes.

Expected behavior: The callout border color and icon should be affected by Bootswatch themes, like other primary-colored elements.

Actual behavior: The callout border color and icon are not affected by Bootswatch themes, while other primary-colored elements are affected.

Versions

MvErven commented 5 years ago

Have you had a look at the configuration settings? Changing theses do change the colors at my site.

wiki-themes

Hitch42 commented 5 years ago

The themes do change the colors, but not for the callouts.

Here's a shot of a test page with a default theme and a Bootswatch Simplex theme.

MvErven commented 5 years ago

I once wanted a purple panel, so I got an CSS line. In the advanced configuration, I changed the userall.css and added these line. Maybe this may guide you in the right direction.

.bs-wrapper.panel-purple .panel { border-color: #dddddd; } .bs-wrapper.panel-purple .panel-default > .panel-heading { background: #7432A5; color: #ffffff; border-color: #dddddd; } .bs-wrapper.panel-fixed .panel { max-height: 200px; } .bs-wrapper.panel-fixed .panel-default > .panel-heading { max-height: 200px; }

giterlizzi commented 5 years ago

Hi, this feature is in testing branch on dokuwiki-tempate-bootstrap3 repo.