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
  • #16976
Closed
Open
Issue created Aug 12, 2015 by Administrator@rootContributor

.label without .label-* is invisible

Created by: aDarkling

Thanks for this excellent framework!

One problem though. Form labels started showing up as white text on white background on a 3rd-party web app. The issue is that the labels have the class "label", not "label-default/warning/whatever".

bootstrap.css defines "color" only in .label & then specifies only the background in .label-default, so if .label-default isn't called, only the font color is changed!

Although its more verbose, the best way to fix this is to define @label-color & @label-link-hover-color in each of the .label-xxxx sections and to define @text-color & @link-color in .label so that doesn't remain a problem if there's any older subordinate bootstrap.css CDN files involved.

Assignee
Assign to
Time tracking