| 1 |
.clearfix() { |
| 2 |
&:before, |
| 3 |
&:after { |
| 4 |
content: " "; // 1 |
| 5 |
display: table; // 2 |
| 6 |
} |
| 7 |
|
| 8 |
&:after { |
| 9 |
clear: both; |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
.erp-clear { |
| 14 |
clear: both; |
| 15 |
} |
| 16 |
|
| 17 |
.erp-button-danger { |
| 18 |
background: #e14d43 !important; |
| 19 |
border-color: #d02c21 #ba281e #ba281e !important; |
| 20 |
color: white !important; |
| 21 |
-webkit-box-shadow: 0 1px 0 #ba281e !important; |
| 22 |
-moz-box-shadow: 0 1px 0 #ba281e !important; |
| 23 |
-o-box-shadow: 0 1px 0 #ba281e !important; |
| 24 |
-ms-box-shadow: 0 1px 0 #ba281e !important; |
| 25 |
box-shadow: 0 1px 0 #ba281e !important; |
| 26 |
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e !important; |
| 27 |
} |
| 28 |
|
| 29 |
.erp_form_generic() { |
| 30 |
|
| 31 |
ol, li { |
| 32 |
list-style: none; |
| 33 |
margin: 0; |
| 34 |
padding: 0; |
| 35 |
} |
| 36 |
|
| 37 |
.photo-container { |
| 38 |
display: inline-block; |
| 39 |
width: 128px; |
| 40 |
position: relative; |
| 41 |
|
| 42 |
img { |
| 43 |
max-width: 80px; |
| 44 |
height: auto; |
| 45 |
} |
| 46 |
|
| 47 |
.erp-remove-photo { |
| 48 |
position: absolute; |
| 49 |
top: 0; |
| 50 |
left: 0; |
| 51 |
background: rgba(0, 0,0, 0.5); |
| 52 |
width: 80px; |
| 53 |
height: 80px; |
| 54 |
color: red; |
| 55 |
text-align: center; |
| 56 |
text-decoration: none; |
| 57 |
font-size: 50px; |
| 58 |
padding-top: 30px; |
| 59 |
display: none; |
| 60 |
} |
| 61 |
|
| 62 |
&:hover { |
| 63 |
.erp-remove-photo { |
| 64 |
display: inline-block; |
| 65 |
} |
| 66 |
} |
| 67 |
} |
| 68 |
|
| 69 |
ol.form-fields { |
| 70 |
.clearfix(); |
| 71 |
|
| 72 |
> li { |
| 73 |
float: left; |
| 74 |
width: 100%; |
| 75 |
padding-bottom: 5px; |
| 76 |
|
| 77 |
> label { |
| 78 |
width: 15%; |
| 79 |
display: inline-block; |
| 80 |
vertical-align: top; |
| 81 |
} |
| 82 |
|
| 83 |
select { |
| 84 |
max-width: 55%; |
| 85 |
} |
| 86 |
} |
| 87 |
|
| 88 |
&.two-col { |
| 89 |
li { |
| 90 |
width: 50%; |
| 91 |
|
| 92 |
label { |
| 93 |
width: 30%; |
| 94 |
} |
| 95 |
|
| 96 |
&:nth-child(2n+1) { |
| 97 |
clear: both; |
| 98 |
} |
| 99 |
} |
| 100 |
} |
| 101 |
|
| 102 |
li.name-container { |
| 103 |
width: 100%; |
| 104 |
float: none; |
| 105 |
|
| 106 |
> label { |
| 107 |
float: left; |
| 108 |
width: 15%; |
| 109 |
margin-top: 22px; |
| 110 |
} |
| 111 |
|
| 112 |
ol { |
| 113 |
float: left; |
| 114 |
width: 85%; |
| 115 |
|
| 116 |
label { |
| 117 |
display: block; |
| 118 |
color: #aaa; |
| 119 |
width: 100%; |
| 120 |
} |
| 121 |
|
| 122 |
li.middle-name { |
| 123 |
width: 185px; |
| 124 |
|
| 125 |
input { |
| 126 |
width: 98%; |
| 127 |
} |
| 128 |
} |
| 129 |
} |
| 130 |
} |
| 131 |
} |
| 132 |
|
| 133 |
fieldset { |
| 134 |
margin-bottom: 20px; |
| 135 |
padding-top: 15px; |
| 136 |
border-top: 1px solid #eee; |
| 137 |
|
| 138 |
&.no-border { |
| 139 |
border-top: none; |
| 140 |
} |
| 141 |
|
| 142 |
legend { |
| 143 |
font-weight: bold; |
| 144 |
padding-right: 20px; |
| 145 |
margin-bottom: 10px; |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
ol.fields-inline { |
| 150 |
li { |
| 151 |
display: inline-block; |
| 152 |
} |
| 153 |
} |
| 154 |
} |
| 155 |
|
| 156 |
.select2-container--default { |
| 157 |
.select2-selection--single { |
| 158 |
border: 1px solid #ddd; |
| 159 |
} |
| 160 |
} |
| 161 |
|
| 162 |
@import "crm.less"; |
| 163 |
@import "hrm.less"; |
| 164 |
// @import "accounting.less"; |
| 165 |
@import "erp-dropdown.less"; |
| 166 |
|
| 167 |
#wp-admin-bar-erp-mode-switch .ab-icon.dashicons-randomize { |
| 168 |
padding-top: 7px !important; |
| 169 |
} |
| 170 |
|
| 171 |
.erp-hide { |
| 172 |
display:none; |
| 173 |
} |
| 174 |
|
| 175 |
.erp-loader { |
| 176 |
position: absolute; |
| 177 |
width: 20px; |
| 178 |
height: 20px; |
| 179 |
background: url('../../assets/images/spinner-2x.gif') center center no-repeat; |
| 180 |
z-index: 99; |
| 181 |
background-size: 20px; |
| 182 |
} |
| 183 |
|
| 184 |
span.required { |
| 185 |
color: red; |
| 186 |
} |
| 187 |
|
| 188 |
.clearfix { |
| 189 |
.clearfix(); |
| 190 |
} |
| 191 |
|
| 192 |
table.erp-table { |
| 193 |
&.full-width { |
| 194 |
width: 100%; |
| 195 |
} |
| 196 |
} |
| 197 |
|
| 198 |
.erp-license-status.has-error, |
| 199 |
.erp-license-status.has-error p { |
| 200 |
color: red; |
| 201 |
} |
| 202 |
|
| 203 |
/*---------------------------------------- |
| 204 |
Table style in settings area |
| 205 |
----------------------------------------*/ |
| 206 |
.vtable-wrap { |
| 207 |
|
| 208 |
.list-table-inner { |
| 209 |
form { |
| 210 |
|
| 211 |
} |
| 212 |
} |
| 213 |
|
| 214 |
.vtbale-table-wrapper { |
| 215 |
position: relative; |
| 216 |
|
| 217 |
table.vtable { |
| 218 |
position: relative; |
| 219 |
width: 100%; |
| 220 |
height: 100%; |
| 221 |
|
| 222 |
tbody.vtbale-tbody { |
| 223 |
tr.vtable-ajax-loading { |
| 224 |
height: 50px; |
| 225 |
} |
| 226 |
} |
| 227 |
} |
| 228 |
|
| 229 |
.vtable-loader-bg { |
| 230 |
width: 100%; |
| 231 |
height: 100%; |
| 232 |
background: #fafafa; |
| 233 |
position: absolute; |
| 234 |
top: 0px; |
| 235 |
left:0px; |
| 236 |
opacity: 0.4; |
| 237 |
} |
| 238 |
|
| 239 |
.vtable-loader { |
| 240 |
position: absolute; |
| 241 |
width: 30px; |
| 242 |
height: 30px; |
| 243 |
background: url('../../assets/images/spinner-2x.gif') center center no-repeat; |
| 244 |
z-index: 99; |
| 245 |
background-size: 30px; |
| 246 |
top:38%; |
| 247 |
left:50%; |
| 248 |
} |
| 249 |
|
| 250 |
} |
| 251 |
|
| 252 |
} |
| 253 |
|
| 254 |
td.erp-settings-table-wrapper { |
| 255 |
padding: 0 15px 10px 0;; |
| 256 |
} |
| 257 |
|
| 258 |
table.erp-settings-table { |
| 259 |
th { |
| 260 |
padding: 9px 7px!important; |
| 261 |
vertical-align: middle; |
| 262 |
} |
| 263 |
|
| 264 |
th.erp-settings-table-status, |
| 265 |
td.erp-settings-table-status { |
| 266 |
width: 1em; |
| 267 |
} |
| 268 |
|
| 269 |
td { |
| 270 |
padding: 7px; |
| 271 |
line-height: 2em; |
| 272 |
vertical-align: middle; |
| 273 |
} |
| 274 |
|
| 275 |
th.erp-settings-table-name, |
| 276 |
td.erp-settings-table-name { |
| 277 |
padding-left: 15px !important; |
| 278 |
|
| 279 |
a { |
| 280 |
font-weight: 700; |
| 281 |
} |
| 282 |
} |
| 283 |
|
| 284 |
tr:nth-child(odd) td { |
| 285 |
background: #f9f9f9; |
| 286 |
} |
| 287 |
} |
| 288 |
|
| 289 |
/*---------------------------------------- |
| 290 |
A simple 6 column grid framework |
| 291 |
----------------------------------------*/ |
| 292 |
.erp-grid-container { |
| 293 |
width: 100%; |
| 294 |
|
| 295 |
* { |
| 296 |
box-sizing: border-box; |
| 297 |
} |
| 298 |
|
| 299 |
.row { |
| 300 |
.clearfix(); |
| 301 |
} |
| 302 |
|
| 303 |
[class*='col-'] { |
| 304 |
float: left; |
| 305 |
min-height: 1px; |
| 306 |
width: 16.66%; |
| 307 |
padding: 12px; |
| 308 |
} |
| 309 |
|
| 310 |
.col-1 { width: 16.66%; } |
| 311 |
.col-2 { width: 33.33%; } |
| 312 |
.col-3 { width: 50%; } |
| 313 |
.col-4 { width: 66.66%; } |
| 314 |
.col-5 { width: 83.33%; } |
| 315 |
.col-6 { width: 100%; } |
| 316 |
|
| 317 |
// responsive |
| 318 |
// tablets |
| 319 |
@media all and (max-width:800px){ |
| 320 |
.col-1{ width: 33.33%; } |
| 321 |
.col-2{ width: 50%; } |
| 322 |
.col-3{ width: 83.33%; } |
| 323 |
.col-4{ width: 100%; } |
| 324 |
.col-5{ width: 100%; } |
| 325 |
.col-6{ width: 100%; } |
| 326 |
|
| 327 |
.row .col-2:last-of-type{ |
| 328 |
width: 100%; |
| 329 |
} |
| 330 |
|
| 331 |
.row .col-5 ~ .col-1{ |
| 332 |
width: 100%; |
| 333 |
} |
| 334 |
} |
| 335 |
|
| 336 |
// small devices |
| 337 |
@media all and (max-width:650px){ |
| 338 |
.col-1{ width: 50%; } |
| 339 |
.col-2{ width: 100%; } |
| 340 |
.col-3{ width: 100%; } |
| 341 |
.col-4{ width: 100%; } |
| 342 |
.col-5{ width: 100%; } |
| 343 |
.col-6{ width: 100%; } |
| 344 |
} |
| 345 |
} |
| 346 |
|
| 347 |
.erp { |
| 348 |
|
| 349 |
.erp-single-container { |
| 350 |
.clearfix(); |
| 351 |
margin-top: 10px; |
| 352 |
|
| 353 |
.erp-area-left { |
| 354 |
width: 72%; |
| 355 |
min-width: 463px; |
| 356 |
float: left; |
| 357 |
margin-right: 10px; |
| 358 |
|
| 359 |
&.full-width { |
| 360 |
width: 100%; |
| 361 |
float: none; |
| 362 |
margin-right: 0; |
| 363 |
} |
| 364 |
|
| 365 |
.erp-profile-top { |
| 366 |
.clearfix(); |
| 367 |
margin-bottom: 45px; |
| 368 |
|
| 369 |
.erp-avatar { |
| 370 |
float: left; |
| 371 |
width: 128px; |
| 372 |
position: relative; |
| 373 |
|
| 374 |
.inactive { |
| 375 |
background: url('../images/inactive.png') no-repeat; |
| 376 |
background-position: 50%; |
| 377 |
position: absolute; |
| 378 |
bottom: 0px; |
| 379 |
left: 0px; |
| 380 |
background-size: 105px 31px; |
| 381 |
height: 31px; |
| 382 |
width: 100%; |
| 383 |
-ms-transform: rotate(-8deg); /* IE 9 */ |
| 384 |
-webkit-transform: rotate(-8deg); /* Chrome, Safari, Opera */ |
| 385 |
transform: rotate(-8deg); |
| 386 |
} |
| 387 |
|
| 388 |
|
| 389 |
img { |
| 390 |
max-width: 100%; |
| 391 |
margin-top: 15px; |
| 392 |
} |
| 393 |
} |
| 394 |
|
| 395 |
.erp-user-info { |
| 396 |
float: left; |
| 397 |
margin-left: 25px; |
| 398 |
width: 60%; |
| 399 |
|
| 400 |
a { |
| 401 |
text-decoration: none; |
| 402 |
} |
| 403 |
} |
| 404 |
} |
| 405 |
} |
| 406 |
|
| 407 |
.erp-area-right { |
| 408 |
float: right; |
| 409 |
width: 25%; |
| 410 |
} |
| 411 |
} |
| 412 |
|
| 413 |
.postbox { |
| 414 |
h3.hndle { |
| 415 |
font-size: 14px; |
| 416 |
padding: 8px 12px; |
| 417 |
margin: 0; |
| 418 |
line-height: 1.4; |
| 419 |
} |
| 420 |
|
| 421 |
.handlediv::before { |
| 422 |
content: '\f142'; |
| 423 |
right: 12px; |
| 424 |
font: 400 20px/1 dashicons; |
| 425 |
speak: none; |
| 426 |
display: inline-block; |
| 427 |
padding: 8px 10px; |
| 428 |
top: 0; |
| 429 |
position: relative; |
| 430 |
-webkit-font-smoothing: antialiased; |
| 431 |
-moz-osx-font-smoothing: grayscale; |
| 432 |
text-decoration: none!important; |
| 433 |
} |
| 434 |
|
| 435 |
&.company-postbox { |
| 436 |
#major-publishing-actions { |
| 437 |
margin: -12px -12px -23px -12px; |
| 438 |
} |
| 439 |
} |
| 440 |
} |
| 441 |
|
| 442 |
table.form-table td { |
| 443 |
padding: 6px 10px; |
| 444 |
} |
| 445 |
|
| 446 |
.erp-hr-new-leave-request-wrap { |
| 447 |
margin: 20px 0px; |
| 448 |
} |
| 449 |
} |
| 450 |
|
| 451 |
ul.erp-list { |
| 452 |
width: 100%; |
| 453 |
|
| 454 |
&.list-inline { |
| 455 |
li { |
| 456 |
display: inline-block; |
| 457 |
margin-right: 10px; |
| 458 |
} |
| 459 |
} |
| 460 |
|
| 461 |
&.list-two-side { |
| 462 |
li { |
| 463 |
clear:both; |
| 464 |
|
| 465 |
span { |
| 466 |
float: right; |
| 467 |
} |
| 468 |
} |
| 469 |
|
| 470 |
} |
| 471 |
|
| 472 |
&.list-sep { |
| 473 |
li { |
| 474 |
border-bottom: 1px dotted #eee; |
| 475 |
padding: 0px 0px 8px; |
| 476 |
|
| 477 |
&:last-child { |
| 478 |
border-bottom: none; |
| 479 |
} |
| 480 |
} |
| 481 |
} |
| 482 |
|
| 483 |
&.two-col { |
| 484 |
.clearfix(); |
| 485 |
|
| 486 |
li { |
| 487 |
line-height:1.5em; |
| 488 |
float:left; |
| 489 |
display:inline; |
| 490 |
width: 50%; |
| 491 |
} |
| 492 |
} |
| 493 |
|
| 494 |
&.separated { |
| 495 |
label { |
| 496 |
min-width: 28%; |
| 497 |
display: inline-block; |
| 498 |
vertical-align: top; |
| 499 |
} |
| 500 |
|
| 501 |
span.sep { |
| 502 |
width: 15px; |
| 503 |
display: inline-block; |
| 504 |
} |
| 505 |
} |
| 506 |
|
| 507 |
&.blur { |
| 508 |
label { |
| 509 |
color: #777; |
| 510 |
} |
| 511 |
} |
| 512 |
|
| 513 |
&.blocked { |
| 514 |
li { |
| 515 |
margin-bottom: 8px; |
| 516 |
} |
| 517 |
|
| 518 |
> li > label { |
| 519 |
display: block; |
| 520 |
padding-bottom: 5px; |
| 521 |
} |
| 522 |
} |
| 523 |
|
| 524 |
&.no-style { |
| 525 |
li { |
| 526 |
list-style: none; |
| 527 |
} |
| 528 |
} |
| 529 |
|
| 530 |
li.two-col { |
| 531 |
.clearfix(); |
| 532 |
|
| 533 |
.cols { |
| 534 |
float: left; |
| 535 |
width: 48%; |
| 536 |
margin-right: 2%; |
| 537 |
|
| 538 |
&.last { |
| 539 |
margin-right: 0; |
| 540 |
} |
| 541 |
} |
| 542 |
} |
| 543 |
} |
| 544 |
|
| 545 |
ul.erp-dashboard-announcement { |
| 546 |
li { |
| 547 |
padding:5px; |
| 548 |
position:relative; |
| 549 |
|
| 550 |
.announcement-title { |
| 551 |
padding-right: 90px; |
| 552 |
|
| 553 |
a { |
| 554 |
font-size: 15px; |
| 555 |
text-decoration: none; |
| 556 |
} |
| 557 |
|
| 558 |
span.announcement-date { |
| 559 |
font-size: 12px; |
| 560 |
font-weight: normal; |
| 561 |
margin-right: 50px; |
| 562 |
} |
| 563 |
} |
| 564 |
|
| 565 |
p { |
| 566 |
margin: 2px 0px 0px; |
| 567 |
} |
| 568 |
|
| 569 |
.announcement-row-actions { |
| 570 |
visibility: hidden; |
| 571 |
position: absolute; |
| 572 |
top: 5px; |
| 573 |
right: 10px; |
| 574 |
|
| 575 |
a { |
| 576 |
color: #222; |
| 577 |
text-decoration: none; |
| 578 |
width: auto; |
| 579 |
display: inline-block; |
| 580 |
margin-left: 10px; |
| 581 |
|
| 582 |
.dashicons { |
| 583 |
font-size: 18px; |
| 584 |
line-height: 1.2; |
| 585 |
} |
| 586 |
} |
| 587 |
} |
| 588 |
|
| 589 |
&.read { |
| 590 |
|
| 591 |
.announcement-row-actions { |
| 592 |
|
| 593 |
.mark-read { |
| 594 |
display: none; |
| 595 |
} |
| 596 |
} |
| 597 |
} |
| 598 |
|
| 599 |
&:first-child { |
| 600 |
border-bottom: 1px solid #eee; |
| 601 |
} |
| 602 |
|
| 603 |
&.unread { |
| 604 |
background :#fafafa; |
| 605 |
} |
| 606 |
|
| 607 |
&:hover { |
| 608 |
background: #fafafa; |
| 609 |
.announcement-row-actions { |
| 610 |
visibility: visible; |
| 611 |
} |
| 612 |
} |
| 613 |
} |
| 614 |
} |
| 615 |
|
| 616 |
table.vendor-list-table { |
| 617 |
th.col-username, td.col-username { |
| 618 |
width: 40%; |
| 619 |
} |
| 620 |
|
| 621 |
th.col-balance, td.col-balance { |
| 622 |
width: 15%; |
| 623 |
} |
| 624 |
} |
| 625 |
|
| 626 |
table.invoice-list-table { |
| 627 |
td.col-inv-no, th.col-inv-no { |
| 628 |
width: 12%; |
| 629 |
} |
| 630 |
} |
| 631 |
|
| 632 |
table.audit-log-table { |
| 633 |
td.col-action, th.col-action { |
| 634 |
width: 8%; |
| 635 |
} |
| 636 |
|
| 637 |
td.col-amount, th.col-amount { |
| 638 |
width: 12%; |
| 639 |
} |
| 640 |
|
| 641 |
td.col-date, th.col-date { |
| 642 |
width: 11%; |
| 643 |
} |
| 644 |
} |
| 645 |
|
| 646 |
.company-accounts { |
| 647 |
.account { |
| 648 |
.clearfix(); |
| 649 |
|
| 650 |
.inside { |
| 651 |
padding: 0 11px; |
| 652 |
} |
| 653 |
} |
| 654 |
|
| 655 |
h2 { |
| 656 |
a { |
| 657 |
text-decoration: none; |
| 658 |
font-size: 12px; |
| 659 |
background: #e0e0e0; |
| 660 |
border-radius: 2px; |
| 661 |
padding: 0px 8px; |
| 662 |
margin-left: 4px; |
| 663 |
font-weight: 600; |
| 664 |
|
| 665 |
&:hover { |
| 666 |
background: #363b3f; |
| 667 |
color: #fff; |
| 668 |
} |
| 669 |
} |
| 670 |
} |
| 671 |
|
| 672 |
.logo-area { |
| 673 |
float: left; |
| 674 |
width: 15%; |
| 675 |
margin-right: 15px; |
| 676 |
|
| 677 |
img { |
| 678 |
max-width: 100%; |
| 679 |
} |
| 680 |
} |
| 681 |
|
| 682 |
.content-area { |
| 683 |
float: left; |
| 684 |
width: 80%; |
| 685 |
} |
| 686 |
} |
| 687 |
|
| 688 |
.erp-company-single { |
| 689 |
|
| 690 |
#company-locations { |
| 691 |
margin-top: 15px; |
| 692 |
} |
| 693 |
|
| 694 |
.postbox.company-location { |
| 695 |
width: 240px; |
| 696 |
min-width: 220px; |
| 697 |
float: left; |
| 698 |
margin-right: 15px; |
| 699 |
margin-bottom: 15px; |
| 700 |
|
| 701 |
.inside { |
| 702 |
min-height: 90px; |
| 703 |
} |
| 704 |
|
| 705 |
.actions { |
| 706 |
text-align: right; |
| 707 |
padding: 0 5px 5px 0; |
| 708 |
|
| 709 |
a { |
| 710 |
text-decoration: none; |
| 711 |
color: #999; |
| 712 |
|
| 713 |
&:hover { |
| 714 |
color: #0099d5; |
| 715 |
} |
| 716 |
} |
| 717 |
} |
| 718 |
} |
| 719 |
} |
| 720 |
|
| 721 |
.erp-ui-dialog { |
| 722 |
&.ui-dialog { |
| 723 |
padding: 0; |
| 724 |
z-index: 160000; |
| 725 |
|
| 726 |
.ui-dialog-titlebar-close { |
| 727 |
top: 22%; |
| 728 |
right: 0; |
| 729 |
width: 45px; |
| 730 |
height: 45px; |
| 731 |
} |
| 732 |
|
| 733 |
.ui-dialog-title { |
| 734 |
line-height: 30px; |
| 735 |
color: #5d6d74; |
| 736 |
font-size: 20px; |
| 737 |
text-shadow: 0 1px 1px #fff; |
| 738 |
font-weight: 400; |
| 739 |
} |
| 740 |
} |
| 741 |
|
| 742 |
&.ui-widget-content { |
| 743 |
// border: 1px solid #ddd; |
| 744 |
border: none; |
| 745 |
} |
| 746 |
|
| 747 |
&.ui-corner-all, .ui-corner-all { |
| 748 |
border-radius: 0 !important; |
| 749 |
} |
| 750 |
|
| 751 |
.ui-widget-header { |
| 752 |
border: none; |
| 753 |
border-bottom: 1px solid #ddd; |
| 754 |
background: #fff; |
| 755 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); |
| 756 |
|
| 757 |
.ui-state-default { |
| 758 |
border: none; |
| 759 |
border-left: 1px solid #ddd; |
| 760 |
background: #fff; |
| 761 |
} |
| 762 |
} |
| 763 |
} |
| 764 |
|
| 765 |
.ui-widget-overlay { |
| 766 |
z-index: 159999; |
| 767 |
background: #000; |
| 768 |
opacity: .7; |
| 769 |
} |
| 770 |
|
| 771 |
.erp-modal { |
| 772 |
background: #fff; |
| 773 |
position: fixed; |
| 774 |
top: 10%; |
| 775 |
bottom: 10%; |
| 776 |
right: 15%; |
| 777 |
left: 15%; |
| 778 |
// display: block; |
| 779 |
display: none; |
| 780 |
box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); |
| 781 |
z-index: 160000; |
| 782 |
|
| 783 |
* { box-sizing: border-box; } |
| 784 |
|
| 785 |
&.smaller { |
| 786 |
bottom: 30%; |
| 787 |
top: 15%; |
| 788 |
left: 30%; |
| 789 |
right: 30%; |
| 790 |
} |
| 791 |
|
| 792 |
&.medium { |
| 793 |
bottom: 20%; |
| 794 |
top: 10%; |
| 795 |
left: 25%; |
| 796 |
right: 25%; |
| 797 |
} |
| 798 |
|
| 799 |
.loader { |
| 800 |
position: absolute; |
| 801 |
width: 100%; |
| 802 |
height: 100%; |
| 803 |
background: #fff url('../../assets/images/spinner-2x.gif') center center no-repeat; |
| 804 |
z-index: 99; |
| 805 |
display: none; |
| 806 |
background-size: 20px; |
| 807 |
} |
| 808 |
|
| 809 |
.close { |
| 810 |
position: absolute; |
| 811 |
top: 0; |
| 812 |
right: 0; |
| 813 |
font: 300 1.71429em "dashicons" !important; |
| 814 |
color: #777; |
| 815 |
content: '\f335'; |
| 816 |
display: inline-block; |
| 817 |
padding: 10px 20px; |
| 818 |
z-index: 5; |
| 819 |
text-decoration: none; |
| 820 |
height: 50px; |
| 821 |
border-left: 1px solid #ddd; |
| 822 |
|
| 823 |
&:hover { |
| 824 |
background: #eee; |
| 825 |
opacity: 0.8; |
| 826 |
} |
| 827 |
|
| 828 |
&:active { |
| 829 |
background: #eee; |
| 830 |
opacity: 0.4; |
| 831 |
} |
| 832 |
} |
| 833 |
|
| 834 |
.modal-header { |
| 835 |
position: absolute; |
| 836 |
top: 0; |
| 837 |
left: 0; |
| 838 |
right: 0; |
| 839 |
height: 50px; |
| 840 |
z-index: 4; |
| 841 |
border-bottom: 1px solid #ddd; |
| 842 |
padding-left: 15px; |
| 843 |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); |
| 844 |
|
| 845 |
h2 { |
| 846 |
line-height: 50px; |
| 847 |
text-align: left; |
| 848 |
margin-top: 0; |
| 849 |
color: #5d6d74; |
| 850 |
font-size: 20px; |
| 851 |
text-shadow: 0 1px 1px #fff; |
| 852 |
} |
| 853 |
|
| 854 |
.modal-suggession { |
| 855 |
position: absolute; |
| 856 |
top:50px; |
| 857 |
left:0px; |
| 858 |
padding: 10px; |
| 859 |
color: #8a6d3b; |
| 860 |
background-color: #fcf8e3; |
| 861 |
border:1px solid #faebcc; |
| 862 |
width:100%; |
| 863 |
} |
| 864 |
} |
| 865 |
|
| 866 |
.content-container { |
| 867 |
position: absolute; |
| 868 |
top: 50px; |
| 869 |
right: 0; |
| 870 |
bottom: 50px; |
| 871 |
left: 0; |
| 872 |
overflow: auto; |
| 873 |
padding: 2.14286em 5em; |
| 874 |
} |
| 875 |
|
| 876 |
.content { |
| 877 |
margin: 0 auto; |
| 878 |
max-width: 900px; |
| 879 |
text-align: left; |
| 880 |
|
| 881 |
.row { |
| 882 |
.clearfix(); |
| 883 |
margin-bottom: 12px; |
| 884 |
|
| 885 |
label { |
| 886 |
min-width: 130px; |
| 887 |
line-height: 1.5em; |
| 888 |
display: inline-block; |
| 889 |
vertical-align: top; |
| 890 |
float: left; |
| 891 |
|
| 892 |
&.block { |
| 893 |
display: block; |
| 894 |
} |
| 895 |
} |
| 896 |
|
| 897 |
select { |
| 898 |
max-width: 62%; |
| 899 |
} |
| 900 |
|
| 901 |
span.checkbox { |
| 902 |
float: left; |
| 903 |
width: 63%; |
| 904 |
|
| 905 |
label { |
| 906 |
margin-bottom: 10px; |
| 907 |
min-width: 100%; |
| 908 |
|
| 909 |
} |
| 910 |
} |
| 911 |
|
| 912 |
span.description { |
| 913 |
display: block; |
| 914 |
margin-left: 130px; |
| 915 |
padding: 5px 0 0 0; |
| 916 |
} |
| 917 |
} |
| 918 |
|
| 919 |
img { |
| 920 |
max-width: 100%; |
| 921 |
height: auto; |
| 922 |
} |
| 923 |
} |
| 924 |
|
| 925 |
p { |
| 926 |
font-size: 1.10em; |
| 927 |
} |
| 928 |
|
| 929 |
footer { |
| 930 |
position: absolute; |
| 931 |
left: 0; |
| 932 |
bottom: 0; |
| 933 |
width: 100%; |
| 934 |
padding: 12px 20px; |
| 935 |
border-top: 1px solid #ddd; |
| 936 |
background: #fff; |
| 937 |
text-align: right; |
| 938 |
|
| 939 |
ul { |
| 940 |
margin: 0; |
| 941 |
} |
| 942 |
li { |
| 943 |
display: inline-block; |
| 944 |
margin: 0; |
| 945 |
|
| 946 |
.erp-loader { |
| 947 |
position: relative; |
| 948 |
margin-right: 7px; |
| 949 |
padding-top: 18px; |
| 950 |
top: 5px; |
| 951 |
} |
| 952 |
} |
| 953 |
} |
| 954 |
.button-secondary, |
| 955 |
.button-primary:active { |
| 956 |
// fixing weird core bug thingy |
| 957 |
vertical-align: baseline; |
| 958 |
} |
| 959 |
} |
| 960 |
|
| 961 |
.erp-modal-backdrop { |
| 962 |
position: fixed; |
| 963 |
z-index: 159999; |
| 964 |
top: 0; |
| 965 |
left: 0; |
| 966 |
right: 0; |
| 967 |
bottom: 0; |
| 968 |
min-height: 360px; |
| 969 |
background: #000; |
| 970 |
opacity: .7; |
| 971 |
display: none; |
| 972 |
} |
| 973 |
|
| 974 |
form.erp-form { |
| 975 |
ol.erp-form-fields, |
| 976 |
ul.erp-form-fields { |
| 977 |
list-style: none; |
| 978 |
margin-left: 0; |
| 979 |
|
| 980 |
&.two-col { |
| 981 |
.clearfix(); |
| 982 |
|
| 983 |
li { |
| 984 |
line-height:1.5em; |
| 985 |
float:left; |
| 986 |
display:inline; |
| 987 |
width: 50%; |
| 988 |
} |
| 989 |
} |
| 990 |
} |
| 991 |
|
| 992 |
.erp-form-field { |
| 993 |
.clearfix(); |
| 994 |
padding: 10px 0; |
| 995 |
|
| 996 |
> label { |
| 997 |
float: left; |
| 998 |
min-width: 150px; |
| 999 |
font-weight: bold; |
| 1000 |
vertical-align: top;; |
| 1001 |
color: #23282d; |
| 1002 |
font-size: 14px; |
| 1003 |
} |
| 1004 |
|
| 1005 |
.description { |
| 1006 |
margin-left: 5px; |
| 1007 |
} |
| 1008 |
|
| 1009 |
&.invalid { |
| 1010 |
background-color: rgba(255, 0, 0, 0.08); |
| 1011 |
} |
| 1012 |
} |
| 1013 |
|
| 1014 |
.block { |
| 1015 |
.erp-form-field { |
| 1016 |
> label { |
| 1017 |
float: none; |
| 1018 |
display: block; |
| 1019 |
margin-bottom: 10px; |
| 1020 |
} |
| 1021 |
} |
| 1022 |
} |
| 1023 |
} |
| 1024 |
|
| 1025 |
ul.edit-address { |
| 1026 |
|
| 1027 |
li { |
| 1028 |
display: block; |
| 1029 |
clear: both; |
| 1030 |
padding-bottom: 5px; |
| 1031 |
} |
| 1032 |
|
| 1033 |
label { |
| 1034 |
display: block; |
| 1035 |
} |
| 1036 |
|
| 1037 |
li.city-wrap { |
| 1038 |
.clearfix(); |
| 1039 |
width: 100%; |
| 1040 |
|
| 1041 |
input { |
| 1042 |
max-width: 90%; |
| 1043 |
} |
| 1044 |
|
| 1045 |
span { |
| 1046 |
float: left; |
| 1047 |
width: 30%; |
| 1048 |
} |
| 1049 |
} |
| 1050 |
} |
| 1051 |
|
| 1052 |
.terminate-form-wrap { |
| 1053 |
.row { |
| 1054 |
label { |
| 1055 |
width: 155px !important; |
| 1056 |
} |
| 1057 |
} |
| 1058 |
} |
| 1059 |
|
| 1060 |
.align-right { |
| 1061 |
text-align: right !important; |
| 1062 |
} |
| 1063 |
|
| 1064 |
.align-left { |
| 1065 |
text-align: left !important; |
| 1066 |
} |
| 1067 |
|
| 1068 |
.erp-text-center { |
| 1069 |
text-align: center; |
| 1070 |
} |
| 1071 |
|
| 1072 |
.erp-left { |
| 1073 |
float: left; |
| 1074 |
} |
| 1075 |
|
| 1076 |
.erp-right { |
| 1077 |
float: right; |
| 1078 |
} |
| 1079 |
|
| 1080 |
.input-group { |
| 1081 |
display: table; |
| 1082 |
|
| 1083 |
input, select { |
| 1084 |
margin: 0; |
| 1085 |
} |
| 1086 |
|
| 1087 |
.input-group-addon { |
| 1088 |
width: 1%; |
| 1089 |
white-space: nowrap; |
| 1090 |
vertical-align: middle; |
| 1091 |
background-color: #f5f5f5; |
| 1092 |
padding: 2px 12px; |
| 1093 |
display: table-cell; |
| 1094 |
border: 1px solid #ddd; |
| 1095 |
text-align: center; |
| 1096 |
|
| 1097 |
&:first-child { |
| 1098 |
border-right: 0; |
| 1099 |
} |
| 1100 |
|
| 1101 |
&:last-child { |
| 1102 |
border-left: 0; |
| 1103 |
} |
| 1104 |
} |
| 1105 |
} |
| 1106 |
|
| 1107 |
.erp-settings { |
| 1108 |
.erp-subsubsub { |
| 1109 |
list-style: none; |
| 1110 |
font-size: 13px; |
| 1111 |
color: #666; |
| 1112 |
} |
| 1113 |
.erp-subsubsub li { |
| 1114 |
display: inline-block; |
| 1115 |
padding: 0px; |
| 1116 |
margin: 0px; |
| 1117 |
white-space: nowrap; |
| 1118 |
|
| 1119 |
a { |
| 1120 |
text-decoration: none; |
| 1121 |
border: none; |
| 1122 |
line-height: 2; |
| 1123 |
padding: .2em; |
| 1124 |
} |
| 1125 |
} |
| 1126 |
|
| 1127 |
.erp-nav-tab-active { |
| 1128 |
color: #000; |
| 1129 |
font-weight: 600; |
| 1130 |
} |
| 1131 |
|
| 1132 |
.erp-settings-title-before-field { |
| 1133 |
margin: 6px 0; |
| 1134 |
} |
| 1135 |
|
| 1136 |
.erp-settings-radio { |
| 1137 |
margin-top: 3px; |
| 1138 |
} |
| 1139 |
|
| 1140 |
p.description { |
| 1141 |
font-size: 12px; |
| 1142 |
color: #777; |
| 1143 |
} |
| 1144 |
} |
| 1145 |
|
| 1146 |
.erp-attachment-area { |
| 1147 |
overflow: auto; |
| 1148 |
padding: 2px 2px; |
| 1149 |
|
| 1150 |
width: 32%; |
| 1151 |
|
| 1152 |
|
| 1153 |
.erp-drop-jon { |
| 1154 |
border: 1px dashed #b4b9be; |
| 1155 |
.erp-pre-load-image-wrap { |
| 1156 |
background: red; |
| 1157 |
height: 100px; |
| 1158 |
width: 100px; |
| 1159 |
} |
| 1160 |
.bar { |
| 1161 |
background-color: #83b4d8; |
| 1162 |
border-radius: 3px; |
| 1163 |
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); |
| 1164 |
height: 5px; |
| 1165 |
width: 0; |
| 1166 |
z-index: 9; |
| 1167 |
} |
| 1168 |
.erp-attc-link-text { |
| 1169 |
text-align: center; |
| 1170 |
padding: 12px 0; |
| 1171 |
} |
| 1172 |
.erp-image-wrap { |
| 1173 |
float: left; |
| 1174 |
position: relative; |
| 1175 |
padding-left: 17px; |
| 1176 |
padding-top: 10px; |
| 1177 |
.erp-img-progress { |
| 1178 |
border: 1px solid #ddd; |
| 1179 |
padding: 5px; |
| 1180 |
border-radius: 5px; |
| 1181 |
background: #fff; |
| 1182 |
width: 80px; |
| 1183 |
height: 80px; |
| 1184 |
} |
| 1185 |
|
| 1186 |
.attachment-name { |
| 1187 |
|
| 1188 |
img { |
| 1189 |
border: 1px solid #ddd; |
| 1190 |
padding: 5px; |
| 1191 |
border-radius: 5px; |
| 1192 |
background: #fff; |
| 1193 |
max-width: 150px; |
| 1194 |
} |
| 1195 |
} |
| 1196 |
.caption { |
| 1197 |
background: #000; |
| 1198 |
border: medium none; |
| 1199 |
border-radius: 0; |
| 1200 |
color: red; |
| 1201 |
display: none; |
| 1202 |
height: 80px; |
| 1203 |
left: 23px; |
| 1204 |
line-height: 150%; |
| 1205 |
opacity: 0.5; |
| 1206 |
padding-top: 0; |
| 1207 |
position: absolute; |
| 1208 |
text-align: center; |
| 1209 |
text-decoration: none; |
| 1210 |
top: 16px; |
| 1211 |
width: 80px; |
| 1212 |
} |
| 1213 |
|
| 1214 |
&:hover .caption { |
| 1215 |
display: inline-block; |
| 1216 |
} |
| 1217 |
|
| 1218 |
.erp-del-attc-button { |
| 1219 |
color: red; |
| 1220 |
display: block; |
| 1221 |
font-size: 28px; |
| 1222 |
font-weight: bold; |
| 1223 |
padding-top: 30px; |
| 1224 |
text-decoration: none; |
| 1225 |
} |
| 1226 |
|
| 1227 |
} |
| 1228 |
|
| 1229 |
} |
| 1230 |
} |
| 1231 |
|
| 1232 |
.erp-activation-cloud-prompt { |
| 1233 |
width: 100%; |
| 1234 |
margin: 0 !important; |
| 1235 |
padding: 0; |
| 1236 |
border: 1px solid #e5e5e5; |
| 1237 |
background-color: #fff; |
| 1238 |
font-weight: normal; |
| 1239 |
box-shadow: none; |
| 1240 |
-webkit-box-shadow: none; |
| 1241 |
display: -ms-flex; |
| 1242 |
display: -webkit-flex; |
| 1243 |
display: flex; |
| 1244 |
|
| 1245 |
* { |
| 1246 |
box-sizing: border-box; |
| 1247 |
} |
| 1248 |
|
| 1249 |
.activation-prompt-text { |
| 1250 |
width: 60%; |
| 1251 |
background-color: #f8f8f8; |
| 1252 |
padding: 16px 20px; |
| 1253 |
border-right: 1px solid #e5e5e5; |
| 1254 |
} |
| 1255 |
|
| 1256 |
input[type="email"] { |
| 1257 |
width: 200px; |
| 1258 |
min-height: 32px; |
| 1259 |
} |
| 1260 |
|
| 1261 |
.button-primary { |
| 1262 |
margin-right: 10px; |
| 1263 |
} |
| 1264 |
|
| 1265 |
.erp-button-xs { |
| 1266 |
font-size: small; |
| 1267 |
} |
| 1268 |
|
| 1269 |
.activation-form-container { |
| 1270 |
width: 40%; |
| 1271 |
padding-top: 9px; |
| 1272 |
padding-right: 20px; |
| 1273 |
margin-left: 30px; |
| 1274 |
text-align: right; |
| 1275 |
} |
| 1276 |
} |
| 1277 |
|
| 1278 |
.erp-progress-status-indicator { |
| 1279 |
.status { |
| 1280 |
text-align: center; font-size: 16px; |
| 1281 |
#progress-total { |
| 1282 |
font-weight: bold; color: #3b99fc; |
| 1283 |
} |
| 1284 |
#completed-total { |
| 1285 |
color: green; |
| 1286 |
} |
| 1287 |
#failed-total { |
| 1288 |
color: red; |
| 1289 |
} |
| 1290 |
} |
| 1291 |
.progress { |
| 1292 |
progress { |
| 1293 |
width:100%; |
| 1294 |
} |
| 1295 |
} |
| 1296 |
} |
| 1297 |
|
| 1298 |
trix-editor ul { |
| 1299 |
list-style-type: disc; |
| 1300 |
margin-left: 2em; |
| 1301 |
} |
| 1302 |
|
| 1303 |
// toastr - notification |
| 1304 |
// -------------------------------------------------- |
| 1305 |
.wp-admin #toast-container { |
| 1306 |
|
| 1307 |
&.toast-top-right { |
| 1308 |
top: 40px; |
| 1309 |
right: 18px; |
| 1310 |
} |
| 1311 |
|
| 1312 |
& > div { |
| 1313 |
opacity: 1; |
| 1314 |
} |
| 1315 |
|
| 1316 |
& > :hover { |
| 1317 |
opacity: .9; |
| 1318 |
} |
| 1319 |
} |
| 1320 |
|
| 1321 |
// Dashboard Info Box |
| 1322 |
// -------------------------------------------------- |
| 1323 |
.erp-info-box { |
| 1324 |
display: flex; |
| 1325 |
flex-wrap: wrap; |
| 1326 |
justify-content: space-between; |
| 1327 |
margin-left: -12px; |
| 1328 |
margin-right: -12px; |
| 1329 |
|
| 1330 |
.erp-info-box-item { |
| 1331 |
padding-left: 12px; |
| 1332 |
padding-right: 12px; |
| 1333 |
flex: 1; |
| 1334 |
margin-bottom: 20px; |
| 1335 |
|
| 1336 |
.erp-info-box-item-inner { |
| 1337 |
position: relative; |
| 1338 |
height: 100%; |
| 1339 |
background-color: #fff; |
| 1340 |
border: 1px solid #e5e5e5; |
| 1341 |
padding-bottom: 30px; |
| 1342 |
|
| 1343 |
.erp-info-box-content { |
| 1344 |
height: 100%; |
| 1345 |
|
| 1346 |
.erp-info-box-content-row { |
| 1347 |
height: 100%; |
| 1348 |
display: flex; |
| 1349 |
flex-wrap: wrap; |
| 1350 |
justify-content: space-between; |
| 1351 |
|
| 1352 |
.erp-info-box-content-left { |
| 1353 |
flex: 1; |
| 1354 |
padding: 12px; |
| 1355 |
align-self: center; |
| 1356 |
text-align: center; |
| 1357 |
|
| 1358 |
h3 { |
| 1359 |
font-size: 37px; |
| 1360 |
margin: 10px 0 10px 0; |
| 1361 |
line-height: 1; |
| 1362 |
} |
| 1363 |
|
| 1364 |
p { |
| 1365 |
font-size: 14px; |
| 1366 |
} |
| 1367 |
} |
| 1368 |
|
| 1369 |
.erp-info-box-content-right { |
| 1370 |
flex: 1; |
| 1371 |
padding: 20px 12px; |
| 1372 |
} |
| 1373 |
} |
| 1374 |
|
| 1375 |
.erp-info-box-list { |
| 1376 |
margin: 0; |
| 1377 |
padding: 0; |
| 1378 |
list-style-type: none; |
| 1379 |
|
| 1380 |
li { |
| 1381 |
margin-bottom: 5px; |
| 1382 |
|
| 1383 |
a { |
| 1384 |
text-decoration: none; |
| 1385 |
} |
| 1386 |
|
| 1387 |
&:last-child { |
| 1388 |
margin-bottom: 0; |
| 1389 |
} |
| 1390 |
} |
| 1391 |
} |
| 1392 |
} |
| 1393 |
|
| 1394 |
.erp-info-box-footer { |
| 1395 |
position: absolute; |
| 1396 |
bottom: 0; |
| 1397 |
left: 0; |
| 1398 |
width: 100%; |
| 1399 |
|
| 1400 |
a { |
| 1401 |
display: block; |
| 1402 |
background-color: #0073aa; |
| 1403 |
color: #fff; |
| 1404 |
text-align: center; |
| 1405 |
text-decoration: none; |
| 1406 |
padding: 6px; |
| 1407 |
height: 30px; |
| 1408 |
|
| 1409 |
&:hover { |
| 1410 |
background-color: darken(#0073aa, 10%); |
| 1411 |
} |
| 1412 |
} |
| 1413 |
} |
| 1414 |
} |
| 1415 |
} |
| 1416 |
|
| 1417 |
} |
| 1418 |
|
| 1419 |
@import "responsive.less"; |
| 1420 |
|