PluginProbe
MaxButtons – Create buttons / 6.3
MaxButtons – Create buttons v6.3
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.3, at assets/scss/_editor.scss

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