| 1 |
.wy-modal-screen |
| 2 |
position: fixed |
| 3 |
width: 100% |
| 4 |
height: 100% |
| 5 |
background: rgba(0,0,0,.5) |
| 6 |
top: 0 |
| 7 |
left: 0 |
| 8 |
z-index: $z-index-modal |
| 9 |
|
| 10 |
.wy-modal-close |
| 11 |
@extend %icon |
| 12 |
@extend .#{$icon-prefix}-#{$icon-close} |
| 13 |
color: $text-color |
| 14 |
cursor: pointer |
| 15 |
position: absolute |
| 16 |
right: $base-line-height |
| 17 |
top: $base-line-height |
| 18 |
font-size: 0 |
| 19 |
&:before |
| 20 |
font-size: 20px |
| 21 |
&:hover |
| 22 |
color: $red |
| 23 |
|
| 24 |
.wy-modal |
| 25 |
position: fixed |
| 26 |
width: 50% |
| 27 |
top: 50% |
| 28 |
left: 50% |
| 29 |
margin-left: -25% |
| 30 |
margin-top: -25% |
| 31 |
background: $section-background-color |
| 32 |
z-index: $z-index-modal + 1 |
| 33 |
border: solid 1px $table-border-color |
| 34 |
section |
| 35 |
padding: 0 $gutter $gutter $gutter |
| 36 |
header |
| 37 |
font-weight: 500 |
| 38 |
padding: $base-line-height |
| 39 |
padding-top: $base-line-height / 2 |
| 40 |
font-weight: bold |
| 41 |
font-family: $custom-font-family |
| 42 |
font-size: 150% |
| 43 |
footer |
| 44 |
background: $background-color |
| 45 |
padding: $gutter |
| 46 |
text-align: right |
| 47 |
.btn |
| 48 |
margin-left: 5px |
| 49 |
|
| 50 |
.wy-body-mask |
| 51 |
position: fixed |
| 52 |
width: 100% |
| 53 |
height: 100% |
| 54 |
background: rgba(0,0,0,.8) |
| 55 |
display: none |
| 56 |
z-index: $z-index-modal - 1 |
| 57 |
top: 0 |
| 58 |
&.on |
| 59 |
display: block |
| 60 |
|
| 61 |
+media($mobile) |
| 62 |
.wy-modal |
| 63 |
width: 100% |
| 64 |
margin: 0 |
| 65 |
left: 0 |
| 66 |
right: 0 |
| 67 |
top: 0 |