jQuery UI comes with theme.css in /core/assets/vendor/jquery.ui/themes/base/theme.css overriding the original theme styles in Block Tabs.
2 (or 3) possible solutions can solve this issue:
Solution 1 (more work)
An option in the Block Tabs block settings for each block individually to disable the jQuery UI css. Drupal provides functions to remove css from header under certain circumstances.
Solution 2 (less work)
Changing the order of the rendered css files to lower the weight of jQuery UI theme.css (if not already) and to provide info about the styles which need to be overriden in the user theme to turn it back to the theme look and feel.
Example:
.ui-widget-content a {
color: #333333;
}needs to be overriden then to
.ui-widget-content a {
color: #YOURTHEME_LINK_COLOR;
}I tend to solution #1, since #2 could become a mess when jQuery changes its styles on updates breaking the user theme style again and again.
Possible solution 3
Unless the user uses https://jqueryui.com/themeroller/ which we may recommend then or should make its implementation to solution 3.
Comments
Comment #2
dqdComment #3
dqdComment #4
dqdFor those having issues with such obvious things like links, here is a temporary work-around until we know where to go with this task:
For example, in Bootstrap there is the LESS variable called @link-color. To not effect the tabs itself but the links in content the LESS override should look like this: