| 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 |
&.color { 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 |
cursor: pointer; |
| 188 |
@include bp(1024) |
| 189 |
{ |
| 190 |
float: none; |
| 191 |
text-align: left; |
| 192 |
margin: 10px 0; |
| 193 |
display: block; |
| 194 |
} |
| 195 |
} |
| 196 |
} |
| 197 |
|
| 198 |
.manual-box |
| 199 |
{ |
| 200 |
float: right; |
| 201 |
margin: 3px 15px; |
| 202 |
top: 0; |
| 203 |
right: 0; |
| 204 |
|
| 205 |
a { |
| 206 |
text-align:center; |
| 207 |
width: 100%; |
| 208 |
background: #e0e0e0 none repeat scroll 0 0; |
| 209 |
font-size: 13px; |
| 210 |
font-weight: 600; |
| 211 |
margin-left: 4px; |
| 212 |
margin-top: 5px; |
| 213 |
padding: 4px 8px; |
| 214 |
position: relative; |
| 215 |
text-decoration: none; |
| 216 |
text-shadow: none; |
| 217 |
|
| 218 |
} |
| 219 |
} |
| 220 |
|
| 221 |
.manual-entry { |
| 222 |
display: none; |
| 223 |
|
| 224 |
position: absolute; |
| 225 |
border: 1px solid $c-border-dark; |
| 226 |
background: rgba(255,255,255,1); |
| 227 |
|
| 228 |
width: 45%; |
| 229 |
right: 25px; |
| 230 |
z-index: 199; |
| 231 |
box-sizing: border-box; |
| 232 |
padding-bottom: 20px; |
| 233 |
|
| 234 |
h3 { |
| 235 |
font-size: 18px; |
| 236 |
width: calc(100%); |
| 237 |
box-sizing: border-box; |
| 238 |
padding: 10px 0; |
| 239 |
border-bottom: 1px solid $c-border-light; |
| 240 |
text-align: center; |
| 241 |
margin: 0; |
| 242 |
padding-right: 35px; |
| 243 |
position: relative; |
| 244 |
|
| 245 |
|
| 246 |
span { |
| 247 |
box-sizing: border-box; |
| 248 |
cursor: pointer; |
| 249 |
width: 35px; |
| 250 |
height: 100%; |
| 251 |
font-size: 25px; |
| 252 |
display: inline-block; |
| 253 |
position: absolute; |
| 254 |
right: 5px; |
| 255 |
top: 0; |
| 256 |
padding-top: 8px; |
| 257 |
} |
| 258 |
} |
| 259 |
|
| 260 |
h4, p, ol, ul { |
| 261 |
padding: 0 15px; |
| 262 |
} |
| 263 |
h4 { font-size: 16px; } |
| 264 |
p { font-size: 13px; } |
| 265 |
|
| 266 |
|
| 267 |
} |
| 268 |
|
| 269 |
/* Preview window */ |
| 270 |
.output { |
| 271 |
position: fixed; |
| 272 |
top: 45px; |
| 273 |
right: 20px; |
| 274 |
background-color: #ffffff; |
| 275 |
border: solid 1px #414141; |
| 276 |
box-shadow: 0px 0px 6px #808080; |
| 277 |
z-index: 99; |
| 278 |
width: auto; |
| 279 |
min-width: 300px; |
| 280 |
@include bp(780) { |
| 281 |
@include box-shadow(0,0,0,0); |
| 282 |
top: 0; |
| 283 |
left: 0; |
| 284 |
right: 0; |
| 285 |
position: relative; |
| 286 |
margin-bottom: 15px; |
| 287 |
border-color: #ccc; |
| 288 |
|
| 289 |
} |
| 290 |
.header { |
| 291 |
color: #222222; |
| 292 |
background-color: #ffffff; |
| 293 |
border-bottom: solid 1px #cccccc; |
| 294 |
font-family: "Open Sans", sans-serif; |
| 295 |
font-size: 16px; |
| 296 |
font-weight: bold; |
| 297 |
padding: 8px 0px 8px 10px; |
| 298 |
cursor: move; |
| 299 |
position: relative; |
| 300 |
.preview-toggle { |
| 301 |
float: right; |
| 302 |
font-size: 30px; |
| 303 |
width:30px; |
| 304 |
position: absolute; |
| 305 |
top: 3px; |
| 306 |
right: 0; |
| 307 |
|
| 308 |
} |
| 309 |
} |
| 310 |
.inner { |
| 311 |
padding: 5px; |
| 312 |
p { |
| 313 |
|
| 314 |
padding: 5px 0 5px 5px; |
| 315 |
} |
| 316 |
} |
| 317 |
.input.color { |
| 318 |
float: left; |
| 319 |
position: relative; |
| 320 |
margin-top: 5px; |
| 321 |
|
| 322 |
.wp-picker-container.wp-picker-active { |
| 323 |
padding: 30px; |
| 324 |
border: 1px solid #ccc; |
| 325 |
background-color: #fff; |
| 326 |
position: absolute; |
| 327 |
bottom: -15px; |
| 328 |
left: -270px; |
| 329 |
z-index: 102; |
| 330 |
@include box-shadow(4px, 1px, 5px, #ccc); |
| 331 |
} |
| 332 |
} |
| 333 |
.note { |
| 334 |
float: left; |
| 335 |
margin: 8px 0px 0px 10px; |
| 336 |
} |
| 337 |
.result { |
| 338 |
padding: 20px 5px; |
| 339 |
//margin: 20px; |
| 340 |
p { |
| 341 |
padding: 5px 0px 5px 0px; |
| 342 |
margin: 0; |
| 343 |
} |
| 344 |
} |
| 345 |
} // output |
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
/* Conditionals */ |
| 351 |
.conditional-option { display: none; } |
| 352 |
|
| 353 |
/* Media queries interface */ |
| 354 |
.media_query { |
| 355 |
|
| 356 |
width: 55%; |
| 357 |
margin: 0 20px 15px 0; |
| 358 |
border: 1px solid #ccc; |
| 359 |
padding: 10px 15px; |
| 360 |
display: inline-block; |
| 361 |
clear: both; |
| 362 |
|
| 363 |
position: relative; |
| 364 |
//float:left; |
| 365 |
.removebutton { |
| 366 |
position: absolute; |
| 367 |
right: 10px; |
| 368 |
top: 10px; |
| 369 |
cursor: pointer; |
| 370 |
z-index: 100; // prevent label overlap; |
| 371 |
padding: 10px 5px; // easier click |
| 372 |
|
| 373 |
} |
| 374 |
input:after { |
| 375 |
clear: both; |
| 376 |
} |
| 377 |
.label { |
| 378 |
clear: both; |
| 379 |
margin-bottom: 15px; |
| 380 |
} |
| 381 |
label.title { |
| 382 |
padding: 0; |
| 383 |
font-size: 20px; |
| 384 |
} |
| 385 |
.custom .label, .custom .input { |
| 386 |
//float: left; |
| 387 |
} |
| 388 |
.custom.hidden { display: none; } |
| 389 |
.description { |
| 390 |
padding: 15px 0px; |
| 391 |
text-align: left; |
| 392 |
//min-height: 45px; |
| 393 |
} |
| 394 |
select { width: 60px; } |
| 395 |
.input input { |
| 396 |
//min-height: 22px; |
| 397 |
//min-width:40px; |
| 398 |
margin-top: 0px; |
| 399 |
//height: 28px; |
| 400 |
padding-top: 2px; |
| 401 |
} |
| 402 |
|
| 403 |
} // media_query |
| 404 |
|
| 405 |
.option-container .media_query label { |
| 406 |
//display: block; |
| 407 |
//font-size:16px; |
| 408 |
//text-align: center; |
| 409 |
// cursor: default; |
| 410 |
} |
| 411 |
|
| 412 |
.media_queries_options .new-query { |
| 413 |
margin-top: 25px; |
| 414 |
select { |
| 415 |
width: auto; |
| 416 |
} |
| 417 |
} |
| 418 |
|
| 419 |
|
| 420 |
.media_option_prot, #media_desc { |
| 421 |
display: none; |
| 422 |
} |
| 423 |
|
| 424 |
.form-actions { |
| 425 |
@extend .button-bar; |
| 426 |
|
| 427 |
/* margin-top: 15px; |
| 428 |
margin-bottom: 15px; |
| 429 |
padding-bottom: 15px; |
| 430 |
border-bottom: dashed 1px #d1d1d1; */ |
| 431 |
a { |
| 432 |
margin-right: 10px; |
| 433 |
} |
| 434 |
} |
| 435 |
|
| 436 |
|