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