mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 12:44:30 -07:00
35 lines
553 B
Sass
35 lines
553 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%
|
||
|
|
+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
|
||
|
|
&.is-active
|
||
|
|
display: flex
|