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
  • #8723
Closed
Open
Issue created Jul 28, 2013 by Administrator@rootContributor

Modal without fade transition has opaque black backdrop

Created by: AREALFAKE

When I open a modal window on Bootstrap 3 the backdrop of the rest of the page becomes black (or very dark grey). I found that the modal-backdrop was responsible for this as it didn't have an opacity set.

I used the simplest example with opening a modal window through the use of

<a data-toggle="modal" href="#" data-target="#modal-1">open</a>

referring to my model with id modal-1 on the same page.

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  background-color: #333333;
  opacity:0.8; // I ADDED THIS LINE 
    }
}

Maybe it is intential to have a dark full color backdrop, but it looks crappy and takes away the visibility of the drop shadows of the modal itself.

Assignee
Assign to
Time tracking