| 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 |
position: relative; |
| 15 |
z-index: 1; |
| 16 |
|
| 17 |
.title { |
| 18 |
|
| 19 |
font-size: 18px; |
| 20 |
padding: 9px 8px 9px 10px; |
| 21 |
text-align: left; |
| 22 |
text-shadow: 0px 1px 0px #ffffff; |
| 23 |
position: relative; |
| 24 |
z-index: 1; |
| 25 |
} |
| 26 |
.section-title { |
| 27 |
padding: 15px; |
| 28 |
margin-top: 10px; |
| 29 |
font-weight: 700; |
| 30 |
font-size: 16px; |
| 31 |
} |
| 32 |
|
| 33 |
// new struct layout |
| 34 |
.section-title { |
| 35 |
background-color: #fff; |
| 36 |
|
| 37 |
} |
| 38 |
|
| 39 |
// Used @ social sharing |
| 40 |
.option-list { |
| 41 |
//float: left; |
| 42 |
display: inline-block; |
| 43 |
&:after { clear: both; } |
| 44 |
.help { |
| 45 |
float: right; |
| 46 |
margin-top: 5px; |
| 47 |
} |
| 48 |
} |
| 49 |
|
| 50 |
.help { |
| 51 |
|
| 52 |
position: relative; |
| 53 |
//width: 18px; |
| 54 |
//height: 18px; |
| 55 |
font-size: 24px; |
| 56 |
color: #666; |
| 57 |
margin-left: 10px; |
| 58 |
|
| 59 |
span { |
| 60 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; //"Open Sans",sans-serif; |
| 61 |
font-size: 13px; |
| 62 |
background-color:#fff; |
| 63 |
color: #444; |
| 64 |
position: absolute; |
| 65 |
display: none; |
| 66 |
padding: 12px 10px; |
| 67 |
top: 0; |
| 68 |
left: 30px; |
| 69 |
min-width: 250px; |
| 70 |
border-radius: 5px; |
| 71 |
text-align: left; |
| 72 |
z-index: 1000; // above all |
| 73 |
border: 1px solid #ccc; |
| 74 |
line-height: 18px; |
| 75 |
box-shadow: 2px 2px 3px #ccc; |
| 76 |
.nowrap { |
| 77 |
white-space: nowrap; |
| 78 |
} |
| 79 |
p { |
| 80 |
// white-space: nowrap; |
| 81 |
} |
| 82 |
.shortcode { |
| 83 |
color: 555; |
| 84 |
// text-decoration: underline; |
| 85 |
white-space: nowrap; |
| 86 |
} |
| 87 |
|
| 88 |
} |
| 89 |
&:hover span { |
| 90 |
display: block; |
| 91 |
} |
| 92 |
} |
| 93 |
|
| 94 |
.block_sidebar { |
| 95 |
position: absolute; |
| 96 |
right: 0; |
| 97 |
top: 0; |
| 98 |
left: calc(100% - 50px); |
| 99 |
//width: 50px; |
| 100 |
height: 100%; |
| 101 |
transition: all 400ms linear; |
| 102 |
z-index: 1; |
| 103 |
background-color: #fff; |
| 104 |
overflow: hidden; |
| 105 |
width: 50px; |
| 106 |
|
| 107 |
&.active { |
| 108 |
left: 0; |
| 109 |
bottom: 0; |
| 110 |
right: 0; |
| 111 |
top: 0; |
| 112 |
width: 100%; |
| 113 |
// transition: all 500ms linear; |
| 114 |
|
| 115 |
.open_control |
| 116 |
{ |
| 117 |
left: 0; |
| 118 |
// right: 0; |
| 119 |
// width: 50px; |
| 120 |
} |
| 121 |
.inside { |
| 122 |
opacity: 1; |
| 123 |
padding-left: 80px; |
| 124 |
} |
| 125 |
|
| 126 |
.title { |
| 127 |
padding-left: 80px; |
| 128 |
background: #fff; |
| 129 |
z-index: 3; |
| 130 |
|
| 131 |
} |
| 132 |
|
| 133 |
|
| 134 |
} |
| 135 |
.open_control { |
| 136 |
background: #eee; |
| 137 |
background: linear-gradient(90deg, #ccc, #fff); |
| 138 |
z-index: 4; |
| 139 |
width: 50px; |
| 140 |
height: 100%; |
| 141 |
position: absolute; |
| 142 |
top: 0; |
| 143 |
left: 0; |
| 144 |
cursor: pointer; |
| 145 |
border-top-left-radius: 6px; |
| 146 |
border-bottom-left-radius: 6px; |
| 147 |
border-left: 3px solid rgba(204,204,204,0.7); |
| 148 |
span { |
| 149 |
font-size: 16px; |
| 150 |
text-transform: uppercase; |
| 151 |
font-weight: 700; |
| 152 |
color: rgba(0,0,0,0.3); |
| 153 |
position: absolute; |
| 154 |
top: 40%; |
| 155 |
//margin: -15px 0 0 -10px; |
| 156 |
white-space: nowrap; |
| 157 |
left:0; |
| 158 |
right: 0; |
| 159 |
transform: rotate(90deg); |
| 160 |
letter-spacing: 1.05px; |
| 161 |
word-spacing: 1.1em |
| 162 |
|
| 163 |
} |
| 164 |
|
| 165 |
} |
| 166 |
|
| 167 |
.inside { |
| 168 |
opacity: 0; |
| 169 |
} |
| 170 |
} |
| 171 |
} |
| 172 |
|
| 173 |
|
| 174 |
.option-container > .inside, .block_sidebar > .inside { |
| 175 |
padding: 10px 15px 10px 15px; |
| 176 |
border-top: solid 1px #cccccc; |
| 177 |
background-color: #ffffff; |
| 178 |
|
| 179 |
// option-design should dissapear |
| 180 |
// option finetuning in elements.scss |
| 181 |
.option, .option-design { |
| 182 |
margin-bottom: 10px; |
| 183 |
display: block; |
| 184 |
position: relative; |
| 185 |
&.hidden { |
| 186 |
display: none; |
| 187 |
} |
| 188 |
// dot label on it's way out as well |
| 189 |
.label, > label{ |
| 190 |
display: inline-block; |
| 191 |
font-weight: bold; |
| 192 |
padding-left: 3px; |
| 193 |
padding-top: 5px; |
| 194 |
width: 145px; |
| 195 |
vertical-align: top; |
| 196 |
cursor: default; |
| 197 |
min-height: 25px; |
| 198 |
&[for]] |
| 199 |
{ |
| 200 |
cursor:pointer; // show label with for as link ( focus on field ) |
| 201 |
} |
| 202 |
@include bp(780) |
| 203 |
{ |
| 204 |
font-size: 14px; |
| 205 |
} |
| 206 |
} |
| 207 |
|
| 208 |
|
| 209 |
&:after, &:before { clear: both; } |
| 210 |
} |
| 211 |
// new stuff |
| 212 |
.option { |
| 213 |
// note that nth targets elements, not classes so nth |
| 214 |
label { |
| 215 |
margin-top: 2px; |
| 216 |
&.mbcolor { margin-top: 5px; } |
| 217 |
} |
| 218 |
|
| 219 |
label:nth-of-type(2) { |
| 220 |
margin-left: 30px; |
| 221 |
width: 115px; |
| 222 |
} |
| 223 |
.control-group { |
| 224 |
display: inline-block; |
| 225 |
} |
| 226 |
.rotate-left { @include rotate(-45); } |
| 227 |
.rotate-right { @include rotate(45); } |
| 228 |
} |
| 229 |
} |
| 230 |
|
| 231 |
|
| 232 |
.option-design { |
| 233 |
margin-bottom: 10px; |
| 234 |
|
| 235 |
|
| 236 |
.input td div.cell-label { |
| 237 |
padding: 1px 10px 0px 5px; |
| 238 |
font-weight: bold; |
| 239 |
border-bottom: solid 1px #d1d1d1; |
| 240 |
width: 180px; |
| 241 |
font-size: 13px; |
| 242 |
height: 30px; |
| 243 |
|
| 244 |
// For expirations of tables |
| 245 |
//&:before { content: 'table cell'; color: #ff0000; } |
| 246 |
} |
| 247 |
.default-other { // default text |
| 248 |
font-size: 13px; |
| 249 |
} |
| 250 |
/* Gone with tables |
| 251 |
th, td.label { |
| 252 |
font-size: 13px; |
| 253 |
} */ |
| 254 |
} |
| 255 |
|
| 256 |
|
| 257 |
.option p.note, .option-design p.note { |
| 258 |
font-style: italic; |
| 259 |
display: inline-block; |
| 260 |
clear:both; |
| 261 |
color: #808080; |
| 262 |
padding-left: 3px; |
| 263 |
margin-top: 10px; |
| 264 |
margin-bottom: 5px; |
| 265 |
margin-left: 0; |
| 266 |
display: block; |
| 267 |
} |
| 268 |
|
| 269 |
|
| 270 |
.option p.warning { |
| 271 |
border-left: 5px solid #d98500; |
| 272 |
font-size: 13px; |
| 273 |
padding-left: 18px; |
| 274 |
line-height: 20px; |
| 275 |
max-width: 450px; |
| 276 |
|
| 277 |
} |
| 278 |
|
| 279 |
.option p.error { |
| 280 |
@extend p.warning; |
| 281 |
border-color: #ff0000; |
| 282 |
font-weight: 600; |
| 283 |
|
| 284 |
} |
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
.mb-message.shortcode { |
| 289 |
h4 { |
| 290 |
font-size: 16px; |
| 291 |
} |
| 292 |
strong { font-weight: 600; } |
| 293 |
|
| 294 |
.expanded { |
| 295 |
display: none; |
| 296 |
p { font-size: 14px; line-height: 22px; } |
| 297 |
|
| 298 |
.example { |
| 299 |
strong { width: 300px; |
| 300 |
display: inline-block; |
| 301 |
} |
| 302 |
|
| 303 |
} |
| 304 |
} |
| 305 |
.shortcode-expand { |
| 306 |
//float: right; |
| 307 |
clear: both; |
| 308 |
font-weight: 700; |
| 309 |
display: block; |
| 310 |
margin: 5px 0; |
| 311 |
|
| 312 |
cursor: pointer; |
| 313 |
@include bp(1024) |
| 314 |
{ |
| 315 |
float: none; |
| 316 |
text-align: left; |
| 317 |
margin: 10px 0; |
| 318 |
display: block; |
| 319 |
} |
| 320 |
} |
| 321 |
} |
| 322 |
|
| 323 |
.manual-box |
| 324 |
{ |
| 325 |
float: right; |
| 326 |
margin: 3px 15px; |
| 327 |
top: 0; |
| 328 |
right: 0; |
| 329 |
|
| 330 |
a { |
| 331 |
text-align:center; |
| 332 |
width: 100%; |
| 333 |
background: #e0e0e0 none repeat scroll 0 0; |
| 334 |
font-size: 13px; |
| 335 |
font-weight: 600; |
| 336 |
margin-left: 4px; |
| 337 |
margin-top: 5px; |
| 338 |
padding: 4px 8px; |
| 339 |
position: relative; |
| 340 |
text-decoration: none; |
| 341 |
text-shadow: none; |
| 342 |
|
| 343 |
} |
| 344 |
} |
| 345 |
|
| 346 |
.manual-entry { |
| 347 |
display: none; |
| 348 |
|
| 349 |
position: absolute; |
| 350 |
border: 1px solid $c-border-dark; |
| 351 |
background: rgba(255,255,255,1); |
| 352 |
|
| 353 |
width: 45%; |
| 354 |
right: 25px; |
| 355 |
z-index: 199; |
| 356 |
box-sizing: border-box; |
| 357 |
padding-bottom: 20px; |
| 358 |
|
| 359 |
h3 { |
| 360 |
font-size: 18px; |
| 361 |
width: calc(100%); |
| 362 |
box-sizing: border-box; |
| 363 |
padding: 10px 0; |
| 364 |
border-bottom: 1px solid $c-border-light; |
| 365 |
text-align: center; |
| 366 |
margin: 0; |
| 367 |
padding-right: 35px; |
| 368 |
position: relative; |
| 369 |
|
| 370 |
|
| 371 |
span { |
| 372 |
box-sizing: border-box; |
| 373 |
cursor: pointer; |
| 374 |
width: 35px; |
| 375 |
height: 100%; |
| 376 |
font-size: 25px; |
| 377 |
display: inline-block; |
| 378 |
position: absolute; |
| 379 |
right: 5px; |
| 380 |
top: 0; |
| 381 |
padding-top: 8px; |
| 382 |
} |
| 383 |
} |
| 384 |
|
| 385 |
h4, p, ol, ul { |
| 386 |
padding: 0 15px; |
| 387 |
} |
| 388 |
h4 { font-size: 16px; } |
| 389 |
p { font-size: 13px; } |
| 390 |
|
| 391 |
|
| 392 |
} |
| 393 |
|
| 394 |
/* Preview window */ |
| 395 |
.output { |
| 396 |
position: fixed; |
| 397 |
top: 45px; |
| 398 |
right: 20px; |
| 399 |
background-color: #ffffff; |
| 400 |
border: solid 1px #414141; |
| 401 |
box-shadow: 0px 0px 6px #808080; |
| 402 |
z-index: 99; |
| 403 |
width: auto; |
| 404 |
min-width: 300px; |
| 405 |
@include bp(780) { |
| 406 |
@include box-shadow(0,0,0,0); |
| 407 |
top: 0; |
| 408 |
left: 0; |
| 409 |
right: 0; |
| 410 |
position: relative; |
| 411 |
margin-bottom: 15px; |
| 412 |
border-color: #ccc; |
| 413 |
|
| 414 |
} |
| 415 |
.header { |
| 416 |
color: #222222; |
| 417 |
background-color: #ffffff; |
| 418 |
border-bottom: solid 1px #cccccc; |
| 419 |
font-family: "Open Sans", sans-serif; |
| 420 |
font-size: 16px; |
| 421 |
font-weight: bold; |
| 422 |
padding: 8px 0px 8px 10px; |
| 423 |
cursor: move; |
| 424 |
position: relative; |
| 425 |
.preview-toggle { |
| 426 |
float: right; |
| 427 |
font-size: 30px; |
| 428 |
width:30px; |
| 429 |
position: absolute; |
| 430 |
top: 3px; |
| 431 |
right: 0; |
| 432 |
|
| 433 |
} |
| 434 |
} |
| 435 |
.inner { |
| 436 |
padding: 5px; |
| 437 |
p { |
| 438 |
|
| 439 |
padding: 5px 0 5px 5px; |
| 440 |
} |
| 441 |
} |
| 442 |
.input.mbcolor { |
| 443 |
float: left; |
| 444 |
position: relative; |
| 445 |
margin-top: 5px; |
| 446 |
|
| 447 |
.wp-picker-container.wp-picker-active { |
| 448 |
padding: 15px; |
| 449 |
border: 1px solid #ccc; |
| 450 |
background-color: #fff; |
| 451 |
position: absolute; |
| 452 |
bottom: -15px; |
| 453 |
left: -270px; |
| 454 |
z-index: 102; |
| 455 |
@include box-shadow(4px, 1px, 5px, #ccc); |
| 456 |
} |
| 457 |
} |
| 458 |
.note { |
| 459 |
float: left; |
| 460 |
margin: 8px 0px 0px 10px; |
| 461 |
} |
| 462 |
.result { |
| 463 |
padding: 20px 5px; |
| 464 |
//margin: 20px; |
| 465 |
p { |
| 466 |
padding: 5px 0px 5px 0px; |
| 467 |
margin: 0; |
| 468 |
} |
| 469 |
&.preview-border-box > * { |
| 470 |
box-sizing: border-box; |
| 471 |
} |
| 472 |
} |
| 473 |
} // output |
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
/* Conditionals */ |
| 479 |
.conditional-option { display: none; } |
| 480 |
|
| 481 |
/* Media queries interface */ |
| 482 |
|
| 483 |
select[name='new_query']='new_query'] |
| 484 |
{ |
| 485 |
width: auto; |
| 486 |
} |
| 487 |
|
| 488 |
.media_query { |
| 489 |
|
| 490 |
width: 640px; |
| 491 |
margin: 0 20px 15px 0; |
| 492 |
border: 1px solid #ccc; |
| 493 |
padding: 10px 15px; |
| 494 |
display: inline-block; |
| 495 |
clear: both; |
| 496 |
|
| 497 |
position: relative; |
| 498 |
|
| 499 |
.removebutton { |
| 500 |
position: absolute; |
| 501 |
right: 10px; |
| 502 |
top: 10px; |
| 503 |
cursor: pointer; |
| 504 |
z-index: 100; // prevent label overlap; |
| 505 |
padding: 10px 5px; // easier click |
| 506 |
|
| 507 |
} |
| 508 |
input:after { |
| 509 |
clear: both; |
| 510 |
} |
| 511 |
.label { |
| 512 |
clear: both; |
| 513 |
margin-bottom: 15px; |
| 514 |
} |
| 515 |
label.title { |
| 516 |
padding: 0; |
| 517 |
font-size: 20px; |
| 518 |
} |
| 519 |
.custom .label, .custom .input { |
| 520 |
//float: left; |
| 521 |
} |
| 522 |
.custom.hidden { display: none; } |
| 523 |
.option.custom label:nth-of-type(2) |
| 524 |
{ |
| 525 |
margin-left: 95px; |
| 526 |
} |
| 527 |
.description { |
| 528 |
padding: 15px 0px; |
| 529 |
text-align: left; |
| 530 |
//min-height: 45px; |
| 531 |
} |
| 532 |
select { width: 60px; } |
| 533 |
.input input { |
| 534 |
//min-height: 22px; |
| 535 |
//min-width:40px; |
| 536 |
margin-top: 0px; |
| 537 |
//height: 28px; |
| 538 |
padding-top: 2px; |
| 539 |
} |
| 540 |
|
| 541 |
} // media_query |
| 542 |
|
| 543 |
.option-container .media_query label { |
| 544 |
//display: block; |
| 545 |
//font-size:16px; |
| 546 |
//text-align: center; |
| 547 |
// cursor: default; |
| 548 |
} |
| 549 |
|
| 550 |
.media_queries_options .new-query { |
| 551 |
margin-top: 25px; |
| 552 |
select { |
| 553 |
width: auto; |
| 554 |
} |
| 555 |
} |
| 556 |
|
| 557 |
|
| 558 |
.media_option_prot, #media_desc { |
| 559 |
display: none; |
| 560 |
} |
| 561 |
|
| 562 |
// The warning layout for the copy button dialog |
| 563 |
.copy-warning { |
| 564 |
width: 400px; |
| 565 |
margin: 0 auto; |
| 566 |
position: relative; |
| 567 |
line-height: 1.1; |
| 568 |
|
| 569 |
&:before { |
| 570 |
content: "\f534"; |
| 571 |
font-size: 40px; |
| 572 |
color: #ff0000; |
| 573 |
width: 35px; |
| 574 |
height: 35px; |
| 575 |
font-family: "Dashicons"; |
| 576 |
position: absolute; |
| 577 |
left: 20px; |
| 578 |
top: 40%; |
| 579 |
margin-top: -14px; |
| 580 |
} |
| 581 |
|
| 582 |
.example { |
| 583 |
margin-bottom: 5px; |
| 584 |
} |
| 585 |
|
| 586 |
|
| 587 |
} |
| 588 |
|
| 589 |
.form-actions { |
| 590 |
@extend .button-bar; |
| 591 |
|
| 592 |
/* margin-top: 15px; |
| 593 |
margin-bottom: 15px; |
| 594 |
padding-bottom: 15px; |
| 595 |
border-bottom: dashed 1px #d1d1d1; */ |
| 596 |
a { |
| 597 |
margin-right: 10px; |
| 598 |
} |
| 599 |
} |
| 600 |
|