PluginProbe
MaxButtons – Create buttons / 6.23
MaxButtons – Create buttons v6.23
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
maxbuttons / assets / scss / _editor.scss

_editor.scss in MaxButtons – Create buttons 6.23, at assets/scss/_editor.scss

475 lines 7.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 // expand screen to full width
3 &.maxbuttons-controller-edit .main,
4 &.maxbuttons-controller-button .main {
5 width: auto;
6 max-width: 1200px;
7 }
8
9 .option-container {
10 margin-bottom: 20px;
11 border: solid 1px #cccccc;
12 @include border-radius(3px,3px,3px,3px);
13 background-color: #fff;
14
15 .title {
16
17 font-size: 18px;
18 padding: 9px 8px 9px 10px;
19 text-align: left;
20 text-shadow: 0px 1px 0px #ffffff;
21 position: relative;
22 }
23 .section-title {
24 padding: 15px;
25 margin-top: 10px;
26 font-weight: 700;
27 font-size: 16px;
28 }
29
30 // new struct layout
31 .section-title {
32 background-color: #fff;
33
34 }
35
36 // Used @ social sharing
37 .option-list {
38 //float: left;
39 display: inline-block;
40 &:after { clear: both; }
41 .help {
42 float: right;
43 margin-top: 5px;
44 }
45 }
46
47 .help {
48
49 position: relative;
50 width: 18px;
51 height: 18px;
52 font-size: 18px;
53 margin-left: 10px;
54
55 span {
56 font-family: "Open Sans",sans-serif;
57 font-size: 12px;
58 background-color:#fff;
59 color: #000;
60 position: absolute;
61 display: none;
62 padding: 10px 5px;
63 top: -7px;
64 left: 25px;
65 min-width: 150px;
66 border-radius: 5px;
67 text-align: center;
68 z-index: 1000; // above all
69 border: 1px solid #ccc;
70 line-height: 15px;
71
72 }
73 &:hover span {
74 display: block;
75 }
76 }
77 }
78
79
80 .option-container > .inside {
81 padding: 10px 15px 10px 15px;
82 border-top: solid 1px #cccccc;
83 background-color: #ffffff;
84
85 // option-design should dissapear
86 // option finetuning in elements.scss
87 .option, .option-design {
88 margin-bottom: 10px;
89 display: block;
90 position: relative;
91
92 // dot label on it's way out as well
93 .label, > label{
94 display: inline-block;
95 font-weight: bold;
96 padding-left: 3px;
97 padding-top: 5px;
98 width: 145px;
99 vertical-align: top;
100 cursor: default;
101 min-height: 25px;
102 &[for]]
103 {
104 cursor:pointer; // show label with for as link ( focus on field )
105 }
106 @include bp(780)
107 {
108 font-size: 14px;
109 }
110 }
111
112
113 &:after, &:before { clear: both; }
114 }
115 // new stuff
116 .option {
117 // note that nth targets elements, not classes so nth
118 label {
119 margin-top: 2px;
120 &.mbcolor { margin-top: 5px; }
121 }
122
123 label:nth-of-type(2) {
124 margin-left: 30px;
125 width: 115px;
126 }
127 .control-group {
128 display: inline-block;
129 }
130 .rotate-left { @include rotate(-45); }
131 .rotate-right { @include rotate(45); }
132 }
133 }
134
135
136 .option-design {
137 margin-bottom: 10px;
138
139
140 .input td div.cell-label {
141 padding: 1px 10px 0px 5px;
142 font-weight: bold;
143 border-bottom: solid 1px #d1d1d1;
144 width: 180px;
145 font-size: 13px;
146 height: 30px;
147
148 // For expirations of tables
149 //&:before { content: 'table cell'; color: #ff0000; }
150 }
151 .default-other { // default text
152 font-size: 13px;
153 }
154 /* Gone with tables
155 th, td.label {
156 font-size: 13px;
157 } */
158 }
159
160
161 .option p.note, .option-design p.note {
162 font-style: italic;
163 display: inline-block;
164 clear:both;
165 color: #808080;
166 padding-left: 3px;
167 margin-top: 10px;
168 margin-bottom: 5px;
169 margin-left: 0;
170 display: block;
171 }
172
173
174
175 .mb-message.shortcode {
176 .expanded {
177 display: none;
178 .example {
179 strong { width: 300px;
180 display: inline-block;
181 }
182
183 }
184 }
185 .shortcode-expand {
186 //float: right;
187 clear: both;
188 font-weight: 700;
189 display: block;
190 margin: 5px 0;
191
192 cursor: pointer;
193 @include bp(1024)
194 {
195 float: none;
196 text-align: left;
197 margin: 10px 0;
198 display: block;
199 }
200 }
201 }
202
203 .manual-box
204 {
205 float: right;
206 margin: 3px 15px;
207 top: 0;
208 right: 0;
209
210 a {
211 text-align:center;
212 width: 100%;
213 background: #e0e0e0 none repeat scroll 0 0;
214 font-size: 13px;
215 font-weight: 600;
216 margin-left: 4px;
217 margin-top: 5px;
218 padding: 4px 8px;
219 position: relative;
220 text-decoration: none;
221 text-shadow: none;
222
223 }
224 }
225
226 .manual-entry {
227 display: none;
228
229 position: absolute;
230 border: 1px solid $c-border-dark;
231 background: rgba(255,255,255,1);
232
233 width: 45%;
234 right: 25px;
235 z-index: 199;
236 box-sizing: border-box;
237 padding-bottom: 20px;
238
239 h3 {
240 font-size: 18px;
241 width: calc(100%);
242 box-sizing: border-box;
243 padding: 10px 0;
244 border-bottom: 1px solid $c-border-light;
245 text-align: center;
246 margin: 0;
247 padding-right: 35px;
248 position: relative;
249
250
251 span {
252 box-sizing: border-box;
253 cursor: pointer;
254 width: 35px;
255 height: 100%;
256 font-size: 25px;
257 display: inline-block;
258 position: absolute;
259 right: 5px;
260 top: 0;
261 padding-top: 8px;
262 }
263 }
264
265 h4, p, ol, ul {
266 padding: 0 15px;
267 }
268 h4 { font-size: 16px; }
269 p { font-size: 13px; }
270
271
272 }
273
274 /* Preview window */
275 .output {
276 position: fixed;
277 top: 45px;
278 right: 20px;
279 background-color: #ffffff;
280 border: solid 1px #414141;
281 box-shadow: 0px 0px 6px #808080;
282 z-index: 99;
283 width: auto;
284 min-width: 300px;
285 @include bp(780) {
286 @include box-shadow(0,0,0,0);
287 top: 0;
288 left: 0;
289 right: 0;
290 position: relative;
291 margin-bottom: 15px;
292 border-color: #ccc;
293
294 }
295 .header {
296 color: #222222;
297 background-color: #ffffff;
298 border-bottom: solid 1px #cccccc;
299 font-family: "Open Sans", sans-serif;
300 font-size: 16px;
301 font-weight: bold;
302 padding: 8px 0px 8px 10px;
303 cursor: move;
304 position: relative;
305 .preview-toggle {
306 float: right;
307 font-size: 30px;
308 width:30px;
309 position: absolute;
310 top: 3px;
311 right: 0;
312
313 }
314 }
315 .inner {
316 padding: 5px;
317 p {
318
319 padding: 5px 0 5px 5px;
320 }
321 }
322 .input.mbcolor {
323 float: left;
324 position: relative;
325 margin-top: 5px;
326
327 .wp-picker-container.wp-picker-active {
328 padding: 15px;
329 border: 1px solid #ccc;
330 background-color: #fff;
331 position: absolute;
332 bottom: -15px;
333 left: -270px;
334 z-index: 102;
335 @include box-shadow(4px, 1px, 5px, #ccc);
336 }
337 }
338 .note {
339 float: left;
340 margin: 8px 0px 0px 10px;
341 }
342 .result {
343 padding: 20px 5px;
344 //margin: 20px;
345 p {
346 padding: 5px 0px 5px 0px;
347 margin: 0;
348 }
349 &.preview-border-box > * {
350 box-sizing: border-box;
351 }
352 }
353 } // output
354
355
356
357
358 /* Conditionals */
359 .conditional-option { display: none; }
360
361 /* Media queries interface */
362 .media_query {
363
364 width: 640px;
365 margin: 0 20px 15px 0;
366 border: 1px solid #ccc;
367 padding: 10px 15px;
368 display: inline-block;
369 clear: both;
370
371 position: relative;
372
373 .removebutton {
374 position: absolute;
375 right: 10px;
376 top: 10px;
377 cursor: pointer;
378 z-index: 100; // prevent label overlap;
379 padding: 10px 5px; // easier click
380
381 }
382 input:after {
383 clear: both;
384 }
385 .label {
386 clear: both;
387 margin-bottom: 15px;
388 }
389 label.title {
390 padding: 0;
391 font-size: 20px;
392 }
393 .custom .label, .custom .input {
394 //float: left;
395 }
396 .custom.hidden { display: none; }
397 .option.custom label:nth-of-type(2)
398 {
399 margin-left: 95px;
400 }
401 .description {
402 padding: 15px 0px;
403 text-align: left;
404 //min-height: 45px;
405 }
406 select { width: 60px; }
407 .input input {
408 //min-height: 22px;
409 //min-width:40px;
410 margin-top: 0px;
411 //height: 28px;
412 padding-top: 2px;
413 }
414
415 } // media_query
416
417 .option-container .media_query label {
418 //display: block;
419 //font-size:16px;
420 //text-align: center;
421 // cursor: default;
422 }
423
424 .media_queries_options .new-query {
425 margin-top: 25px;
426 select {
427 width: auto;
428 }
429 }
430
431
432 .media_option_prot, #media_desc {
433 display: none;
434 }
435
436 // The warning layout for the copy button dialog
437 .copy-warning {
438 width: 400px;
439 margin: 0 auto;
440 position: relative;
441 line-height: 1.1;
442
443 &:before {
444 content: "\f534";
445 font-size: 40px;
446 color: #ff0000;
447 width: 35px;
448 height: 35px;
449 font-family: "Dashicons";
450 position: absolute;
451 left: 20px;
452 top: 40%;
453 margin-top: -14px;
454 }
455
456 .example {
457 margin-bottom: 5px;
458 }
459
460
461 }
462
463 .form-actions {
464 @extend .button-bar;
465
466 /* margin-top: 15px;
467 margin-bottom: 15px;
468 padding-bottom: 15px;
469 border-bottom: dashed 1px #d1d1d1; */
470 a {
471 margin-right: 10px;
472 }
473 }
474
475