Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #11544
Closed
Open
Issue created Nov 19, 2013 by Administrator@rootContributor

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.

Assignee
Assign to
Time tracking