PluginProbe
WP Directory Kit / 1.3.4
WP Directory Kit v1.3.4
1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 1.4.1 All 35 releases
wpdirectorykit / public / css / wdk-modal.css

wdk-modal.css in WP Directory Kit 1.3.4, at public/css/wdk-modal.css

160 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wdk-modal {
2 position: fixed;
3 top: 0;
4 right: 0;
5 bottom: 0;
6 left: 0;
7 z-index: 1050;
8 display: none;
9 overflow: auto;
10 outline: 0;
11 }
12
13 .wdk-modal .modal-open {
14 overflow: hidden;
15 }
16
17 .wdk-modal .modal-dialog {
18 position: relative;
19 width: auto;
20 max-width: 500px;
21 margin: 150px auto;
22 pointer-events: none;
23 }
24
25 .wdk-modal .modal.wdk-fade .modal-dialog {
26 transition: transform 0.3s ease-out;
27 transform: translate(0, -25%);
28 }
29
30 .wdk-modal .modal.show .modal-dialog {
31 transform: translate(0, 0);
32 }
33
34 .wdk-modal .modal-dialog-centered {
35 display: flex;
36 align-items: center;
37 min-height: calc(100% - (0.5rem * 2));
38 }
39
40 .wdk-modal .modal-content {
41 position: relative;
42 display: flex;
43 flex-direction: column;
44 width: 100%;
45 pointer-events: auto;
46 background-color: #ffffff;
47 background-clip: padding-box;
48 border: 1px solid rgba(0, 0, 0, 0.2);
49 border-radius: 0.3rem;
50 box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
51 outline: 0;
52 }
53
54 .wdk-modal .modal-backdrop {
55 position: fixed;
56 top: 0;
57 right: 0;
58 bottom: 0;
59 left: 0;
60 z-index: 1040;
61 background-color: #000000;
62 }
63
64 .wdk-modal .modal-backdrop.wdk-fade {
65 opacity: 0;
66 }
67
68 .wdk-modal .modal-backdrop.show {
69 opacity: 0.26;
70 }
71
72 .wdk-modal .modal-header {
73 display: flex;
74 align-items: center;
75 justify-content: space-between;
76 padding: 1rem;
77 border-bottom: 1px solid #e9ecef;
78 border-top-left-radius: 0.3rem;
79 border-top-right-radius: 0.3rem;
80 }
81
82 .wdk-modal .modal-header .close {
83 padding: 5px;
84 margin: 0;
85 flex: 0 0;
86 background: transparent;
87 outline: none;
88 box-shadow: none;
89 border: 0;
90 }
91
92 .wdk-modal .modal-title {
93 line-height: 1.2;
94 font-weight: 500;
95 font-size: 20px;
96 flex: 1 2 auto;
97 margin: 0;
98 }
99
100 .wdk-modal .modal-body {
101 position: relative;
102 flex: 1 1 auto;
103 padding: 1rem;
104 }
105
106 .wdk-modal .modal-footer {
107 display: flex;
108 align-items: center;
109 justify-content: flex-end;
110 padding: 1rem;
111 border-top: 1px solid #e9ecef;
112 }
113
114 .wdk-modal .modal-footer > :not(:first-child) {
115 margin-left: .25rem;
116 }
117
118 .wdk-modal .modal-footer > :not(:last-child) {
119 margin-right: .25rem;
120 }
121
122 .wdk-modal .modal-scrollbar-measure {
123 position: absolute;
124 top: -9999px;
125 width: 50px;
126 height: 50px;
127 overflow: scroll;
128 }
129
130 .wdk-modal .modal-notice .instruction {
131 margin-bottom: 25px;
132 }
133
134 .wdk-modal .modal-notice .picture {
135 max-width: 150px;
136 }
137
138 .wdk-modal img {
139 max-width: 100%;
140 }
141
142 body:after {
143 content: '';
144 background: rgba(0, 0, 0, 0.3);
145 position: fixed;
146 top: 0;
147 right: 0;
148 bottom: 0;
149 left: 0;
150 z-index: 1040;
151 visibility: hidden;
152 opacity: 0;
153 transition: all .15s;
154 }
155
156 body.wdk-overlay-bgg:after {
157 visibility: visible;
158 opacity: 1;
159 }
160