main.scss 26.7 KB
Newer Older
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1 2 3 4 5 6 7 8
/* Document
   ========================================================================== */


/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
Mr.奇淼('s avatar
Mr.奇淼( 已提交
9

1
1319612909 已提交
10
@import '@/style/basics.scss';
Mr.奇淼('s avatar
Mr.奇淼( 已提交
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}


/* Sections
     ========================================================================== */


/**
   * Remove the margin in all browsers.
   */

body {
    margin: 0;
}


/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}


/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}


/* Grouping content
     ========================================================================== */


/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}


/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/* Text-level semantics
     ========================================================================== */


/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}


/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}


/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: bolder;
}


/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}


/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}


/* Embedded content
     ========================================================================== */


/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}


/* Forms
     ========================================================================== */


/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}


/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}


/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}


/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}


/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}


/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}


/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}


/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}


/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}


/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}


/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}


/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}


/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}


/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

1
1319612909 已提交
368
::-webkit-file-upload-button {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}


/* Interactive
     ========================================================================== */


/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}


/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}


/* Misc
     ========================================================================== */


/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}


/**
   * Add the correct display in IE 10.
   */

[hidden] {
    display: none;
}

HTML,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
blockquote,
pre,
form,
fieldset,
table,
th,
td {
    border: none;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    margin: 0px;
    padding: 0px;
}

html,
body {
    height: 100%;
    width: 100%;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

a {
    text-decoration: none;
}

a:link {
    color: #fff;
}

a:visited {
    color: #fff;
}

a:hover {
    color: #fff;
}

a:active {
    color: #fff;
}

input::-ms-clear {
    display: none;
}

input::-ms-reveal {
    display: none;
}

input {
    -webkit-appearance: none;
    margin: 0;
    outline: none;
    padding: 0;
}

input::-webkit-input-placeholder {
    color: #ccc;
}

input::-ms-input-placeholder {
    color: #ccc;
}

input::-moz-placeholder {
    color: #ccc;
}

input[type=submit],
input[type=button] {
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

img {
    border: none;
}

ul,
ol,
li {
    list-style-type: none;
J
jinlan.du 已提交
533
}
534

1
1319612909 已提交
535 536
// 导航
#app {
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
    .pd-lr-15 {
        padding: 0 15px;
    }
    .height-full {
        height: 100%;
    }
    .width-full {
        width: 100%;
    }
    .dp-flex {
        display: flex;
    }
    .justify-content-center {
        justify-content: center;
    }
    .align-items {
        align-items: center;
    }
    .pd-0 {
        padding: 0;
    }
1
1319612909 已提交
558 559 560 561 562 563 564 565 566
    .el-container {
        position: relative;
        height: 100%;
        width: 100%;
    }
    .el-container.mobile.openside {
        position: fixed;
        top: 0;
    }
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587
    .el-aside {
        -webkit-transition: width .2s;
        transition: width .2s;
        width: $width-aside;
        background-color: $bg-aside;
        height: 100%;
        position: fixed;
        font-size: 0;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1001;
        overflow: hidden;
        .el-menu {
            border-right: none;
        }
        .tilte {
            min-height: $height-aside-tilte;
            line-height: $height-aside-tilte;
            background: $bg-aside;
            text-align: center;
588
            transition: all 0.3s;
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607
            .logoimg {
                width: $width-aside-img;
                height: $height-aside-img;
                vertical-align: middle;
                background: #fff;
                border-radius: 50%;
                padding: 3px;
            }
            .tit-text {
                display: inline-block;
                color: #fff;
                font-weight: 600;
                font-size: 20px;
                vertical-align: middle;
                padding-left: 10px;
            }
        }
    }
    .aside {
608 609 610 611 612
        .el-menu-item {
            >div {
                padding: 0 15px !important;
            }
        }
613 614 615
        .el-menu-vertical {
            background-color: $bg-aside;
        }
616
        .el-sub-menu {
617 618 619 620 621 622 623
            background-color: $bg-aside;
            .el-menu {
                .el-menu-item {
                    background-color: #000408;
                    height: 44px;
                    line-height: 44px;
                }
624
                .is-active {
625 626
                    background-color: #1890ff;
                    // 关闭三级菜单二级菜单样式
627 628
                    ul {
                        border: none;
629 630 631
                    }
                }
                // 关闭三级菜单二级菜单样式
632
                .is-active.is-opened {
633
                    background-color: #191a23;
634 635
                    ul {
                        border: none;
636 637 638 639
                    }
                }
            }
        }
640 641
        .el-menu-item:focus,
        .el-menu-item:hover {
642 643 644 645 646 647
            background-color: transparent;
        }
        .el-menu-item:hover i,
        .el-menu-item:hover span {
            color: #fff;
        }
648
        .el-sub-menu__title:hover {
649 650
            background-color: $bg-aside;
        }
651 652
        .el-sub-menu__title:hover i,
        .el-sub-menu__title:hover span {
653 654 655
            color: #fff;
        }
        .el-menu--inline {
P
piexlmax 已提交
656
            // border-left: 5px solid #2c3b41;
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
        }
    }
    .hideside {
        .aside {
            width: $width-hideside-aside;
        }
    }
    .mobile.hideside {
        .el-aside {
            -webkit-transition-duration: .2s;
            transition-duration: .2s;
            -webkit-transform: translate3d(-210px, 0, 0);
            transform: translate3d(-220px, 0, 0);
        }
    }
    .mobile {
        .el-aside {
            -webkit-transition: -webkit-transform .28s;
            transition: -webkit-transform .28s;
            transition: transform .28s;
            transition: transform .28s, -webkit-transform .28s;
            width: $width-mobile-aside;
        }
    }
1
1319612909 已提交
681 682 683 684
    .main-cont.el-main {
        min-height: 100%;
        -webkit-transition: margin-left .28s;
        transition: margin-left .28s;
685
        margin-left: $width-aside;
1
1319612909 已提交
686 687 688 689
        position: relative;
    }
    .hideside {
        .main-cont.el-main {
690
            margin-left: 54px;
1
1319612909 已提交
691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707
        }
    }
    .mobile {
        .main-cont.el-main {
            margin-left: 0px;
        }
    }
    .openside.mobile {
        .shadowBg {
            background: #000;
            opacity: .3;
            width: 100%;
            top: 0;
            height: 100%;
            position: absolute;
            z-index: 999;
            left: 0;
J
jinlan.du 已提交
708 709
        }
    }
710
}
J
jinlan.du 已提交
711

712 713 714 715 716
//   layout
.layout-cont {
    .main-cont {
        position: relative;
        &.el-main {
1
1319612909 已提交
717
            background-color: $bg-main;
718
            padding: 0;
J
jinlan.du 已提交
719 720
        }
    }
721
}
J
jinlan.du 已提交
722

723
.admin-box {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
724
    padding: 14px 20px;
725 726
    .el-button {
        padding: 7px 10px;
J
jinlan.du 已提交
727
    }
728 729 730 731 732 733
    .el-input__inner {
        height: 30px;
        line-height: 30px;
    }
    .el-input__icon {
        line-height: 30px;
J
jinlan.du 已提交
734
    }
735
}
J
jinlan.du 已提交
736

1
1319612909 已提交
737 738 739
.admin-box {
    min-height: calc(100vh - 200px);
    background-color: $white-bg;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
740 741
    padding: 14px;
    margin: 114px 14px 20px;
1
1319612909 已提交
742 743 744
    border-radius: 2px;
    .el-table--border {
        border-radius: 4px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
745
        margin-bottom: 14px;
1
1319612909 已提交
746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801
    }
    .el-table {
        thead {
            color: $color-table-thead;
        }
        th {
            padding: 5px 0;
            .cell {
                min-height: 34px;
                line-height: 34px;
            }
        }
        td {
            padding: 8px 0;
        }
        td,
        th.is-leaf {
            border-bottom: 1px solid #e8e8e8;
        }
    }
    .search-term {
        border-left: none;
        border-right: none;
        padding: 0 5px;
        .el-form-item {
            margin-bottom: 10px;
        }
    }
    .el-pagination {
        padding: 20px 0 0 0;
    }
    .upload-demo,
    .upload {
        padding: 0;
    }
    .system {
        padding: 0;
    }
    .el-form.el-form--inline {
        .el-form-item:last-child {
            margin-bottom: 0;
        }
    }
    .edit_container,
    .edit {
        padding: 0;
    }
}

.admin-box:after,
.admin-box:before {
    content: "";
    display: block;
    clear: both;
}

802
.button-box {
1
1319612909 已提交
803 804 805
    background: $white-bg;
    border: none;
    padding: 0 0 10px 0px;
806 807 808
}

.search-term {
1
1319612909 已提交
809
    background: $white-bg;
810 811 812 813
    padding: 0 15px;
    border-left: 1px solid #ebeef5;
    border-right: 1px solid #ebeef5;
}
J
jinlan.du 已提交
814 815

// table
816 817 818
.has-gutter {
    tr {
        th {
J
jinlan.du 已提交
819 820 821 822
            background-color: #fafafa;
        }
    }
}
823 824 825 826 827

.el-table--striped {
    .el-table__body {
        tr.el-table__row--striped {
            td {
1
1319612909 已提交
828
                background: #fff !important;
J
jinlan.du 已提交
829 830 831
            }
        }
    }
832 833 834 835
}

.el-table th,
.el-table tr {
J
jinlan.du 已提交
836 837
    background-color: #fafafa;
}
838 839

.el-pagination {
J
jinlan.du 已提交
840
    .btn-prev,
841
    .btn-next {
J
jinlan.du 已提交
842 843 844
        border: 1px solid #ddd;
        border-radius: 4px;
    }
845 846
    .el-pager {
        li {
J
jinlan.du 已提交
847 848 849 850 851 852
            color: #666;
            font-size: 12px;
            margin: 0 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
853
    }
1
1319612909 已提交
854
    padding: 20px 0 !important;
J
jinlan.du 已提交
855 856
}

857
.el-row {
J
jinlan.du 已提交
858
    padding: 10px 0;
859 860 861 862 863 864
    .el-col>label {
        line-height: 30px;
        text-align: right;
        width: 80%;
        padding-right: 15px;
        display: inline-block;
J
jinlan.du 已提交
865
    }
866
    .line {
J
jinlan.du 已提交
867 868 869 870
        line-height: 30px;
        text-align: center;
    }
}
871

J
jinlan.du 已提交
872
// edit_container
873
.edit_container {
1
1319612909 已提交
874
    background-color: $white-bg;
J
jinlan.du 已提交
875 876 877 878 879
    padding: 15px;
    .el-button {
        margin: 15px 0;
    }
}
880 881

.edit {
1
1319612909 已提交
882
    background-color: $white-bg;
883
    padding: 15px;
J
jinlan.du 已提交
884 885 886 887
    .el-button {
        margin: 15px 0;
    }
}
888

J
jinlan.du 已提交
889 890
// upload-demo
.upload-demo,
891
.upload {
P
piexlmax 已提交
892 893 894 895 896 897 898 899
    .upload-box{
        margin-bottom: 12px;
        display: flex;
        justify-content: flex-end;
        .upload-btn{
            margin-left: 12px;
        }
    }
1
1319612909 已提交
900
    background-color: $white-bg;
901 902
    padding: 15px;
    .el-upload-list__item-status-label {
J
jinlan.du 已提交
903 904 905
        right: 0;
        left: 120px;
    }
906
    .el-upload__tip {
J
jinlan.du 已提交
907
        margin: 10px 0;
908
    }
J
jinlan.du 已提交
909 910 911
}

// system
912
.system {
J
jinlan.du 已提交
913
    padding: 15px;
914
    .el-input__inner {
J
jinlan.du 已提交
915 916
        width: 80%;
    }
J
导航  
jinlan.du 已提交
917 918
}

1
1319612909 已提交
919 920 921
// .el-menu .el-menu--inline {
//     background: #2c3b41;
// }
922
// .el-sub-menu .el-sub-menu {
1
1319612909 已提交
923 924
//     background-color: #000408 !important;
// }
925
// .aside .el-scrollbar .el-scrollbar__view .el-sub-menu__title:hover {
1
1319612909 已提交
926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941
//     background-color: $bg-aside !important;
// }
// .el-menu--vertical {
//     .el-menu {
//         margin-left: -8px;
//         background-color: rgb(48, 65, 86);
//         .el-menu-item {
//             background-color: rgb(48, 65, 86);
//         }
//         .el-menu-item:focus,
//         .el-menu-item:hover {
//             background-color: #263445;
//             color: #fff;
//         }
//     }
// }
1
1319612909 已提交
942 943
// 导航*****
// add 5.13
Mr.奇淼('s avatar
Mr.奇淼( 已提交
944
.el-container {
1
1319612909 已提交
945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
    // .admin-box {
    //     padding: 15px;
    //     margin: 115px 15px 20px;
    //     border-radius: 2px;
    //     .button-box {
    //         border: none;
    //         padding: 0 0 10px 0px;
    //     }
    //     .el-table--border {
    //         border-radius: 4px;
    //         margin-bottom: 15px;
    //     }
    //     .el-table {
    //         thead {
    //             color: $color-table-thead;
    //         }
    //         th {
    //             padding: 5px 0;
    //             .cell {
    //                 min-height: 34px;
    //                 line-height: 34px;
    //             }
    //         }
    //         td {
    //             padding: 8px 0;
    //         }
    //         td,
    //         th.is-leaf {
    //             border-bottom: 1px solid #e8e8e8;
    //         }
    //     }
    //     .search-term {
    //         border-left: none;
    //         border-right: none;
    //         padding: 0 5px;
    //         .el-form-item {
    //             margin-bottom: 10px;
    //         }
    //     }
    //     .el-pagination {
    //         padding: 20px 0 0 0;
    //     }
    //     .upload-demo,
    //     .upload {
    //         padding: 0;
    //     }
    //     .system {
    //         padding: 0;
    //     }
    //     .el-form.el-form--inline {
    //         .el-form-item:last-child {
    //             margin-bottom: 0;
    //         }
    //     }
    //     .edit_container,
    //     .edit {
    //         padding: 0;
    //     }
    // }
    // .admin-box:after,
    // .admin-box:before {
    //     content: "";
    //     display: block;
    //     clear: both;
    // }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1010
    .tips {
1
1319612909 已提交
1011 1012 1013 1014
        margin-top: 10px;
        font-size: 14px;
        font-weight: 400;
        color: #606266;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1015
    }
1
1319612909 已提交
1016
}
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1017 1018

.el-container.layout-cont {
1
1319612909 已提交
1019 1020 1021 1022 1023
    // .header-cont,
    // .breadcrumb {
    //     height: 40px !important;
    //     line-height: 40px !important;
    // }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1024
    .main-cont.el-main {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1025
        background-color: $bg-main;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1026
        .menu-total {
P
piexlmax 已提交
1027
            cursor: pointer;
1
1319612909 已提交
1028 1029
            font-size: 22px;
            color: #838383;
1
1319612909 已提交
1030
            margin-top: 16px;
1
1319612909 已提交
1031
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1032 1033 1034
        // background-color: #f0f2f5;
    }
}
1
1319612909 已提交
1035

Mr.奇淼('s avatar
Mr.奇淼( 已提交
1036 1037 1038
.el-container.layout-cont {
    .main-cont {
        .router-history {
1
1319612909 已提交
1039 1040 1041 1042
            // box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
            background: #fff;
            padding: 0 6px;
            border-top: 1px solid $border-color;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1043
            padding: 0;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1044 1045 1046
            .el-tabs__header {
                margin: 0px 0 0 0;
                .el-tabs__item {
1
1319612909 已提交
1047 1048 1049 1050
                    height: $height-nav-scroll;
                    height: $height-nav-scroll;
                    border: none;
                    border-left: 1px solid $border-color;
P
piexlmax 已提交
1051 1052 1053 1054
                    border-right: 1px solid $border-color;
                    +.el-tabs__item{
                        border-left: 0px solid $border-color;
                    }
1
1319612909 已提交
1055
                }
P
piexlmax 已提交
1056
                
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1057 1058
                .el-tabs__item.is-active {
                    background-color: rgba(64, 158, 255, .08);
1
1319612909 已提交
1059
                }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1060
                .el-tabs__nav {
1
1319612909 已提交
1061
                    border: none;
1
1319612909 已提交
1062 1063 1064 1065
                }
            }
        }
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1066
}
1
1319612909 已提交
1067

Mr.奇淼('s avatar
Mr.奇淼( 已提交
1068 1069 1070
.el-table__row {
    .el-button.el-button--text.el-button--small {
        position: relative;
1
1319612909 已提交
1071
    }
J
jinlan.du 已提交
1072 1073 1074 1075 1076 1077 1078 1079 1080
    // .el-button.el-button--text.el-button--small::after {
    //     content: '';
    //     position: absolute;
    //     width: 1px;
    //     height: 50%;
    //     top: 5px;
    //     margin-left: 15px;
    //     background-color: #e8e8e8;
    // }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1081 1082
    .cell {
        button:last-child::after {
1
1319612909 已提交
1083 1084 1085
            content: '' !important;
            position: absolute !important;
            width: 0px !important;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1086 1087
        }
    }
1
1319612909 已提交
1088 1089
}

Mr.奇淼('s avatar
Mr.奇淼( 已提交
1090 1091 1092 1093 1094
.clear:after,
.clear:before {
    content: "";
    display: block;
    clear: both;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118
}

.el-table--striped .el-table__body tr.el-table__row--level-1 td:first-child {
    .cell {
        .el-table__indent {
            border-right: 1.5px solid #ccc;
            margin-left: 6px;
        }
        .el-table__placeholder {
            width: 10px;
        }
    }
}

.el-table--striped .el-table__body tr.el-table__row--level-2 td:first-child {
    .cell {
        .el-table__indent {
            border-right: 1.5px solid #ccc;
            margin-left: 6px;
        }
        .el-table__placeholder {
            width: 10px;
        }
    }
J
jinlan.du 已提交
1119
}
1120

Mr.奇淼('s avatar
Mr.奇淼( 已提交
1121 1122
.el-input-number__decrease,
.el-input-number__increase {
1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133
    position: absolute;
    z-index: 1;
    top: 6px !important;
    width: 42px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: #F5F7FA;
    color: #606266;
    cursor: pointer;
    font-size: 13px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1134 1135
}

1136 1137
.table-button+span {
    margin-left: 10px !important;
1
1319612909 已提交
1138 1139 1140 1141 1142
}

$headerHigh: 52px;
$mainHight: 100vh;
.dropdown-group {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1143
    min-width: 100px;
1
1319612909 已提交
1144
}
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1145

1
1319612909 已提交
1146
.topfix {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1147 1148 1149 1150
    position: fixed;
    top: 0;
    box-sizing: border-box;
    z-index: 999;
1151
    >.el-row {
1
1319612909 已提交
1152
        padding: 0;
1153
        .el-col-lg-14 {
1
1319612909 已提交
1154 1155 1156
            height: 60px;
        }
    }
1
1319612909 已提交
1157
}
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1158 1159 1160

.layout-cont {
    .right-box {
1161 1162
        height: $height-header;
        line-height: $height-header;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1163 1164
        text-align: center;
        vertical-align: middle;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1165
        margin-right: 10px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1166 1167 1168 1169 1170
        img {
            vertical-align: middle;
            border: 1px solid #ccc;
            border-radius: 6px;
        }
1
1319612909 已提交
1171
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1172
    .header-cont {
1
1319612909 已提交
1173
        height: $height-header;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1174
        background: #fff;
1
1319612909 已提交
1175
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1176 1177 1178 1179 1180 1181
    .main-cont {
        .breadcrumb {
            height: $height-header;
            line-height: $height-header;
            display: inline-block;
            background-color: #fff;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1182
            padding: 0;
1
1319612909 已提交
1183
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1184 1185 1186
        &.el-main {
            overflow: auto;
            background: #fff;
1
1319612909 已提交
1187
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1188 1189 1190 1191
        height: $mainHight !important;
        overflow: visible;
        position: relative;
        .menu-total {
P
piexlmax 已提交
1192 1193
            margin-left:6px;
            cursor: pointer;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208
            float: left;
            margin-top: 10px;
            width: 30px;
            height: 30px;
            line-height: 30px;
            font-size: 30px;
        }
        .aside {
            overflow: auto;
            // background: #fff;
            &::-webkit-scrollbar {
                display: none;
            }
        }
        .el-menu-vertical {
P
piexlmax 已提交
1209
            height: calc(100vh - 60px) !important;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1210 1211 1212 1213 1214 1215 1216 1217 1218
            visibility: auto;
            &:not(.el-menu--collapse) {
                width: 220px;
            }
        }
        .el-menu--collapse {
            width: 54px;
            li {
                .el-tooltip,
1219
                .el-sub-menu__title {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242
                    padding: 0px 15px !important;
                }
            }
        }
        &::-webkit-scrollbar {
            display: none;
        }
        &.main-left {
            width: auto !important;
        }
        &.main-right {
            .admin-title {
                float: left;
                font-size: 16px;
                vertical-align: middle;
                margin-left: 20px;
                img {
                    vertical-align: middle;
                }
                &.collapse {
                    width: 53px;
                }
            }
1
1319612909 已提交
1243 1244 1245
        }
    }
}
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1246

1
1319612909 已提交
1247
.screenfull {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1248
    display: inline-block;
1
1319612909 已提交
1249
}
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1250 1251 1252 1253 1254

.header-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
1
1319612909 已提交
1255 1256 1257 1258
}

.search-component {
    display: inline-block;
1
css  
1319612909 已提交
1259 1260
    overflow: hidden;
    height: 60px;
1261
    width: 120px;
1
css  
1319612909 已提交
1262
    text-align: center;
1
1319612909 已提交
1263
    .el-input__inner {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1264 1265
        border: none;
        border-bottom: 1px solid #606266;
1
1319612909 已提交
1266 1267
    }
    .el-dropdown-link {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1268
        cursor: pointer;
1
1319612909 已提交
1269 1270
    }
    .search-icon {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1271 1272 1273 1274 1275 1276
        font-size: $icon-size;
        margin-right: 14px;
        display: inline-block;
        vertical-align: middle;
        box-sizing: border-box;
        color: #606266;
1
1319612909 已提交
1277 1278
    }
    .dropdown-group {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1279
        min-width: 100px;
1
1319612909 已提交
1280
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1281 1282 1283 1284
}

.transition-box {
    overflow: hidden;
1285
    width: 120px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1286 1287 1288 1289
    text-align: center;
}

.screenfull {
1
css  
1319612909 已提交
1290 1291 1292
    overflow: hidden;
    width: 40px;
    text-align: center;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1293 1294 1295
}

.el-dropdown {
1
css  
1319612909 已提交
1296 1297
    overflow: hidden;
    height: 60px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1298 1299
}

1
1319612909 已提交
1300
// dashboard
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1301
.card {
1
1319612909 已提交
1302
    background-color: $white-bg;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1303 1304 1305 1306
    padding: 20px;
    border-radius: 4px;
    overflow: hidden;
    .car-left {
1
1319612909 已提交
1307
        height: $height-car;
1
1319612909 已提交
1308 1309
        // width: 70%;
        // float: left;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1310 1311
    }
    .car-right {
1
1319612909 已提交
1312
        height: $height-car;
1
1319612909 已提交
1313 1314
        // width: 29%;
        // float: left;
1
1319612909 已提交
1315 1316
        .flow,
        .user-number,
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1317
        .feedback {
1
1319612909 已提交
1318 1319
            width: $el-icon-mini;
            height: $el-icon-mini;
1
1319612909 已提交
1320 1321
            display: inline-block;
            border-radius: 50%;
1
1319612909 已提交
1322
            line-height: $el-icon-mini;
1
1319612909 已提交
1323 1324 1325 1326
            text-align: center;
            font-size: 13px;
            margin-right: 5px;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1327
        .flow {
1
1319612909 已提交
1328 1329 1330 1331
            background-color: #fff7e8;
            border-color: #feefd0;
            color: #faad14;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1332
        .user-number {
1
1319612909 已提交
1333 1334 1335 1336
            background-color: #ecf5ff;
            border-color: #d9ecff;
            color: #409eff;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1337
        .feedback {
1
1319612909 已提交
1338 1339
            background-color: #eef9e8;
            border-color: #dcf3d1;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1340
            color: #52c41a;
1
1319612909 已提交
1341
        }
1342 1343
        .card-item {
            padding-right: 20px;
1
1319612909 已提交
1344
            text-align: right;
1345
            margin-top: 12px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1346
            b {
1347
                margin-top: 6px;
1
1319612909 已提交
1348 1349 1350
                display: block;
            }
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1351 1352
    }
    .card-img {
1
1319612909 已提交
1353 1354
        width: $height-car;
        height: $height-car;
1
1319612909 已提交
1355 1356 1357
        display: inline-block;
        float: left;
        overflow: hidden;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1358
        img {
1
1319612909 已提交
1359
            width: 100%;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1360
            height: 100%;
1
1319612909 已提交
1361 1362 1363
            border-radius: 50%;
        }
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1364
    .text {
1
1319612909 已提交
1365
        height: $height-car;
1
1319612909 已提交
1366 1367 1368
        margin-left: 10px;
        float: left;
        margin-top: 14px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1369
        h4 {
1
1319612909 已提交
1370 1371 1372 1373
            font-size: 20px;
            color: #262626;
            font-weight: 500;
            white-space: nowrap;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1374 1375 1376 1377
            word-break: break-all;
            text-overflow: ellipsis;
        }
        .tips-text {
1
1319612909 已提交
1378 1379
            color: #8c8c8c;
            margin-top: 8px;
1380
            .el-icon {
1
1319612909 已提交
1381
                margin-right: 8px;
1382
                display: inline-block;
1
1319612909 已提交
1383
            }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1384
        }
1
1319612909 已提交
1385
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1386 1387 1388
}

.shadow {
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1389
    margin: 4px 0;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1390
    .grid-content {
1
1319612909 已提交
1391
        background-color: $white-bg;
1
1319612909 已提交
1392 1393
        border-radius: 4px;
        text-align: center;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1394
        padding: 10px 0;
1
1319612909 已提交
1395
        cursor: pointer;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1396
        .el-icon {
1
1319612909 已提交
1397 1398 1399
            width: $el-icon-small;
            height: $el-icon-small;
            font-size: $el-icon-small;
1
1319612909 已提交
1400 1401
            margin-bottom: 8px;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1402
    }
1
1319612909 已提交
1403 1404
}

P
piexlmax 已提交
1405 1406 1407 1408 1409 1410 1411 1412 1413
.gva-btn-list{
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-end;
    .el-button+.el-button{
        margin-left: 12px;
    }
}

1
1319612909 已提交
1414 1415 1416
::-webkit-scrollbar-track-piece {
    background-color: #f8f8f8;
}
K
klausY 已提交
1417

1
1319612909 已提交
1418
::-webkit-scrollbar {
K
klausY 已提交
1419 1420 1421 1422
    width: 9px;
    height: 9px;
}

1
1319612909 已提交
1423
::-webkit-scrollbar-thumb {
K
klausY 已提交
1424
    background-color: #dddddd;
1
1319612909 已提交
1425
    background-clip: padding-box;
K
klausY 已提交
1426 1427 1428 1429
    min-height: 28px;
    border-radius: 4px;
}

1
1319612909 已提交
1430
::-webkit-scrollbar-thumb:hover {
K
klausY 已提交
1431
    background-color: #bbb;
1432
}