2016-02-14 22:10:05 +00:00
|
|
|
.modal-background
|
|
|
|
+overlay
|
|
|
|
background: rgba(black, 0.86)
|
|
|
|
|
|
|
|
.modal-content
|
|
|
|
margin: 0 20px
|
|
|
|
max-height: calc(100vh - 160px)
|
|
|
|
overflow: auto
|
|
|
|
position: relative
|
|
|
|
width: 100%
|
2016-04-10 15:27:27 +00:00
|
|
|
// Responsiveness
|
2016-02-14 22:10:05 +00:00
|
|
|
+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
|
2016-04-10 15:27:27 +00:00
|
|
|
// Modifiers
|
2016-02-14 22:10:05 +00:00
|
|
|
&.is-active
|
|
|
|
display: flex
|