PluginProbe
MaxButtons – Create buttons / 7.1.2
MaxButtons – Create buttons v7.1.2
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 7.1.2, at assets/scss/_editor.scss

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