mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
37 lines
588 B
Sass
37 lines
588 B
Sass
.modal-background
|
|
+overlay
|
|
background: rgba(black, 0.86)
|
|
|
|
.modal-content
|
|
margin: 0 20px
|
|
max-height: calc(100vh - 160px)
|
|
overflow: auto
|
|
position: relative
|
|
width: 100%
|
|
// Responsiveness
|
|
+tablet
|
|
margin: 0 auto
|
|
max-height: calc(100vh - 40px)
|
|
width: 640px
|
|
|
|
.modal-close
|
|
@extend .delete
|
|
background: none
|
|
height: 40px
|
|
position: fixed
|
|
right: 20px
|
|
top: 20px
|
|
width: 40px
|
|
|
|
.modal
|
|
+overlay
|
|
align-items: center
|
|
display: none
|
|
justify-content: center
|
|
overflow: hidden
|
|
position: fixed
|
|
z-index: 1986
|
|
// Modifiers
|
|
&.is-active
|
|
display: flex
|