PluginProbe
StreamCast – bring live radio to your site with a sleek player / 2.3.4
StreamCast – bring live radio to your site with a sleek player v2.3.4
2.4.5 2.4.4 trunk 1.0 1.1 2.0.0 2.1.10 2.1.2 2.1.4 2.1.5 2.1.8 2.2.1 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 All 29 releases
streamcast / frameworks / codestar-framework / assets / scss / partials / _modal.scss

_modal.scss in StreamCast – bring live radio to your site with a sleek player 2.3.4, at frameworks/codestar-framework/assets/scss/partials/_modal.scss

331 lines 5.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * 09. Modal
3 */
4 .csf-modal{
5 position: fixed;
6 z-index: 100101;
7 top: 0;
8 left: 0;
9 width: 100%;
10 height: 100%;
11
12 &.hidden{
13 display: none;
14 }
15 }
16
17 .csf-modal-icon{
18 z-index: 100102;
19 }
20
21 .csf-modal-table{
22 display: table;
23 width: 100%;
24 height: 100%;
25 }
26
27 .csf-modal-table-cell{
28 display: table-cell;
29 vertical-align: middle;
30 margin: 100px 0;
31 }
32
33 .csf-modal-inner{
34 position: relative;
35 z-index: 10;
36 width: 760px;
37 height: 750px;
38 margin: 0 auto;
39 background-color: #fff;
40 }
41
42 .csf-modal-content{
43 position: relative;
44 overflow: hidden;
45 overflow-y: auto;
46 height: 595px;
47
48 .csf-shortcode-button{
49 display: none;
50 }
51
52 .csf-field{
53 padding: 15px 30px 15px 15px;
54 }
55
56 a{
57 &:active,
58 &:focus{
59 outline: none;
60 box-shadow: none;
61 }
62 }
63
64 h4{
65 font-size: 13px;
66
67 small{
68 font-style: italic;
69 font-weight: 400;
70 color: #aaa;
71 }
72 }
73 }
74
75 .csf-modal-title{
76 position: relative;
77 background-color: #fcfcfc;
78 border-bottom: 1px solid #ddd;
79 height: 36px;
80 font-size: 16px;
81 font-weight: 600;
82 line-height: 36px;
83 margin: 0;
84 padding: 0 36px 0 16px;
85 }
86
87 .csf-modal-header{
88 width: 100%;
89 padding: 14px 0;
90 background-color: #f5f5f5;
91 border-bottom: 1px solid #ddd;
92
93 select{
94 display: block;
95 width: 250px;
96 margin: 0 auto;
97 font-size: 13px;
98 line-height: 1;
99 height: 30px;
100 min-height: 30px;
101 background-color: #fff;
102 }
103 }
104
105 .csf-modal-close{
106 color: #666;
107 padding: 0;
108 position: absolute;
109 top: 0;
110 right: 0;
111 width: 36px;
112 height: 36px;
113 text-align: center;
114 background: none;
115 border: none;
116 cursor: pointer;
117
118 &:before{
119 font: normal 20px/36px dashicons;
120 content: "\f158";
121 vertical-align: top;
122 width: 36px;
123 height: 36px;
124 }
125
126 &:hover{
127 opacity: 0.5;
128 }
129 }
130
131 .csf-modal-insert-wrapper{
132 text-align: center;
133 width: 100%;
134 padding: 15px 0;
135 background-color: #f5f5f5;
136 border-top: 1px solid #ddd;
137 }
138
139 .csf-modal-overlay{
140 position: absolute;
141 top: 0;
142 left: 0;
143 width: 100%;
144 height: 100%;
145 background-color: #000;
146 opacity: 0.5;
147 }
148
149 /**
150 * 09. 01. Shortcode Modal
151 */
152 .csf--repeatable{
153 padding: 15px 15px 0 15px;
154 }
155
156 .csf--repeat-button-block{
157 text-align: center;
158 padding-bottom: 15px;
159 }
160
161 .csf--repeat-shortcode{
162 position: relative;
163 margin-bottom: 15px;
164 border: 1px dashed #ddd;
165
166 &:first-child{
167
168 .csf-repeat-remove{
169 display: none;
170 }
171 }
172
173 .csf-repeat-remove{
174 position: absolute;
175 right: 10px;
176 top: 10px;
177 z-index: 10;
178 cursor: pointer;
179 display: inline-block;
180 font-size: 11px;
181 width: 18px;
182 height: 18px;
183 line-height: 18px;
184 text-align: center;
185 border-radius: 2px;
186 color: #fff;
187 background-color: #e14d43;
188 opacity: 0.5;
189
190 &:hover{
191 opacity: 0.5;
192 }
193 }
194 }
195
196 .csf-shortcode-single{
197
198 .csf-modal-inner{
199 height: 750px;
200 }
201
202 .csf-modal-content{
203 height: 652px;
204 }
205 }
206
207 .elementor-editor-active{
208
209 .csf-shortcode-button{
210 margin-left: 5px;
211 }
212
213 .csf-modal .hidden{
214 display: none !important;
215 }
216 }
217
218 /**
219 * 09. 02. Gutenberg Modal
220 */
221 .csf-shortcode-block{
222 text-align: center;
223 padding: 14px;
224 font-size: 13px;
225 background-color: #f5f5f5;
226 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
227 }
228
229 .csf-shortcode-block .components-button{
230 margin-bottom: 10px;
231 }
232
233 /**
234 * 09. 03. Icon Modal
235 */
236 .csf-modal-icon{
237
238 .csf-icon-title{
239 padding: 15px 0;
240 margin: 4px;
241 font-size: 14px;
242 font-weight: bold;
243 text-align: center;
244 border: 1px solid #eee;
245 background-color: #f7f7f7;
246 }
247
248 .csf-modal-header{
249 text-align: center;
250 }
251
252 .csf-icon-search{
253 width: 50%;
254 height: 40px;
255 line-height: 40px;
256 }
257
258 i{
259 cursor: pointer;
260 display: inline-block;
261 margin: 4px;
262 width: 35px;
263 height: 35px;
264 line-height: 35px;
265 font-size: 16px;
266 color: #555;
267 text-align: center;
268 border: 1px solid #ccc;
269 background-color: #f7f7f7;
270 border-radius: 2px;
271 box-shadow: 1px 1px 0 rgba(0,0,0,0.05);
272
273 &:hover {
274 color: #fff;
275 border-color: #222;
276 background-color: #222;
277 }
278 }
279
280 .csf-modal-content{
281 padding: 10px;
282 height: 618px;
283 }
284
285 .csf-error-text{
286 padding: 10px;
287 }
288 }
289
290 .csf-modal-loading{
291 display: none;
292 position: absolute;
293 left: 15px;
294 top: 15px;
295 }
296
297 .csf-loading{
298 position: relative;
299 width: 20px;
300 height: 20px;
301 background: #ccc;
302 border-radius: 20px;
303 box-shadow: 0 2px 5px rgba(0,0,0,0.07);
304
305 &:after{
306 position: absolute;
307 top: 50%;
308 left: 50%;
309 width: 4px;
310 height: 4px;
311 content: "";
312 margin-top: -2px;
313 margin-left: -2px;
314 background-color: white;
315 animation-duration: 0.5s;
316 animation-iteration-count: infinite;
317 animation-timing-function: linear;
318 animation-name: csfLoader;
319 border-radius: 4px;
320 }
321 }
322
323 @keyframes csfLoader {
324 0% {
325 transform: rotate(0deg) translateX(-6px) rotate(0deg);
326 }
327 100% {
328 transform: rotate(360deg) translateX(-6px) rotate(-360deg);
329 }
330 }
331