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
  • #22056
Closed
Open
Issue created Feb 23, 2017 by Administrator@rootContributor

Card headers / footers not inheriting styling from .card-outline-variant

Created by: shamoon

Seems to me that .card-outline-variant should pass this rather specific styling down to its usual descendants .card-header and .card-footer in the same way that .card-primary affects styling of these divs. Instead, at the moment you wound need to apply .card-outline-variant to the descendant divs themselves for them to have the same styling of the card.

Agreed?

Before: current

After: proposed

Simple fix is to add a few lines to the 'card-outline-variant' mixin, mixins/_cards.scss:

  .card-header,
  .card-footer {
     background-color: transparent;
     border-color: $color;
  }
Assignee
Assign to
Time tracking