An <hx class=".panel-title"> should inherit color from .panel-heading
Created by: maniqui
The class .panel-title
, which is usually applied to a heading element (<hx class="panel-title">
) doesn't inherit the color defined for .panel-heading
, which is defined in this rule:
.panel-primary > .panel-heading {
color: #ffffff;
}
Instead, it currently inherits its color from the one defined in the rule h1, h2, h3..., .h1, .h2, .h3... {}
.
My opinion is that the .panel-title
class should inherit its color from .panel-heading
class.
The change is simple. In panels.less
, do:
.panel-title {
margin-top: 0;
margin-bottom: 0;
+ color:inherit;
font-size: ceil((@font-size-base * 1.125));
> a {
color: inherit;
}
}
Sorry for not submitting a proper patch or a pull request. I'm a bit short of time right now.