main.scss 21.0 KB
Newer Older
1
1319612909 已提交
1

Mr.奇淼('s avatar
Mr.奇淼( 已提交
2 3 4 5 6 7 8 9
/* Document
   ========================================================================== */


/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
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 368 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
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.
   */

 ::-webkit-file-upload-button {
    -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 537 538 539 540 541 542 543 544 545
// .el-table__body-wrapper {
//     tr {
//         td {
//             .cell {
//                 .el-button+.el-button {
//                     margin-left: 0;
//                 }
//             }
//         }
//     }
// }
J
jinlan.du 已提交
546 547

// navbar
548 549 550 551
.aside {
    .el-scrollbar {
        .el-scrollbar__view {
            .el-menu-vertical {
1
1319612909 已提交
552
                background-color: $bg-aside;
J
jinlan.du 已提交
553
            }
554 555 556 557 558
            .el-menu-item:hover i,
            .el-menu-item:hover span {
                color: #fff;
            }
            li {
1
1319612909 已提交
559
                background-color: $bg-aside;
560 561 562 563 564 565 566 567 568 569 570 571
                ul {
                    .el-menu-item {
                        background-color: #000408;
                        height: 44px;
                        line-height: 44px;
                    }
                    .is-active {
                        background-color: #1890ff;
                    }
                }
            }
            .el-submenu__title:hover {
1
1319612909 已提交
572
                background-color: $bg-aside;
573 574 575 576 577 578 579
            }
            .el-submenu__title:hover i,
            .el-submenu__title:hover span {
                color: #fff;
            }
            .el-menu--inline {
                border-left: 5px solid #2c3b41;
J
jinlan.du 已提交
580 581 582
            }
        }
    }
583
}
J
jinlan.du 已提交
584

585 586 587 588 589 590 591
//   layout
.layout-cont {
    .main-cont {
        position: relative;
        &.el-main {
            background-color: #ecf0f5;
            padding: 0;
J
jinlan.du 已提交
592
        }
1
1319612909 已提交
593
       
J
jinlan.du 已提交
594
    }
595
}
J
jinlan.du 已提交
596

597 598 599 600
.admin-box {
    padding: 15px 20px;
    .el-button {
        padding: 7px 10px;
J
jinlan.du 已提交
601
    }
602 603 604 605 606 607
    .el-input__inner {
        height: 30px;
        line-height: 30px;
    }
    .el-input__icon {
        line-height: 30px;
J
jinlan.du 已提交
608
    }
609
}
J
jinlan.du 已提交
610

611 612 613 614 615 616 617 618 619 620 621
.button-box {
    background: #fff;
    border: 1px solid #ebeef5;
    border-bottom: none;
}

.search-term {
    background: #fff;
    padding: 0 15px;
    border-left: 1px solid #ebeef5;
    border-right: 1px solid #ebeef5;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
622
    .demo-form-inline {
1
1319612909 已提交
623 624
        margin-bottom: 10px;
    }
625
}
J
jinlan.du 已提交
626 627

// table
628 629 630
.has-gutter {
    tr {
        th {
J
jinlan.du 已提交
631 632 633 634
            background-color: #fafafa;
        }
    }
}
635 636 637 638 639

.el-table--striped {
    .el-table__body {
        tr.el-table__row--striped {
            td {
J
jinlan.du 已提交
640 641 642 643
                background: #fff!important;
            }
        }
    }
644 645 646 647
}

.el-table th,
.el-table tr {
J
jinlan.du 已提交
648 649
    background-color: #fafafa;
}
650 651

.el-pagination {
J
jinlan.du 已提交
652
    .btn-prev,
653
    .btn-next {
J
jinlan.du 已提交
654 655 656
        border: 1px solid #ddd;
        border-radius: 4px;
    }
657 658
    .el-pager {
        li {
J
jinlan.du 已提交
659 660 661 662 663 664
            color: #666;
            font-size: 12px;
            margin: 0 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
665
    }
1
1319612909 已提交
666
    padding: 20px 0!important;
J
jinlan.du 已提交
667 668
}

669
.el-row {
J
jinlan.du 已提交
670
    padding: 10px 0;
671 672 673 674 675 676
    .el-col>label {
        line-height: 30px;
        text-align: right;
        width: 80%;
        padding-right: 15px;
        display: inline-block;
J
jinlan.du 已提交
677
    }
678
    .line {
J
jinlan.du 已提交
679 680 681 682
        line-height: 30px;
        text-align: center;
    }
}
683

J
jinlan.du 已提交
684
// edit_container
685
.edit_container {
J
jinlan.du 已提交
686 687 688 689 690 691
    background-color: #fff;
    padding: 15px;
    .el-button {
        margin: 15px 0;
    }
}
692 693

.edit {
J
jinlan.du 已提交
694
    background-color: #fff;
695
    padding: 15px;
J
jinlan.du 已提交
696 697 698 699
    .el-button {
        margin: 15px 0;
    }
}
700

J
jinlan.du 已提交
701 702
// upload-demo
.upload-demo,
703
.upload {
J
jinlan.du 已提交
704
    background-color: #fff;
705 706
    padding: 15px;
    .el-upload-list__item-status-label {
J
jinlan.du 已提交
707 708 709
        right: 0;
        left: 120px;
    }
710
    .el-upload__tip {
J
jinlan.du 已提交
711
        margin: 10px 0;
712
    }
J
jinlan.du 已提交
713 714 715
}

// system
716
.system {
J
jinlan.du 已提交
717
    padding: 15px;
718
    .el-input__inner {
J
jinlan.du 已提交
719 720
        width: 80%;
    }
J
导航  
jinlan.du 已提交
721 722 723 724
}

// 导航
#app {
725
    .el-container {
J
导航  
jinlan.du 已提交
726 727 728 729 730 731 732 733
        position: relative;
        height: 100%;
        width: 100%;
    }
    .el-container.mobile.openside {
        position: fixed;
        top: 0;
    }
734 735
    .hideside {
        .aside {
J
导航  
jinlan.du 已提交
736 737 738
            width: 54px!important;
        }
    }
739
    .el-aside {
1
1319612909 已提交
740 741 742 743 744 745 746 747 748 749 750 751
            -webkit-transition: width .2s;
            transition: width .2s;
            width: 220px;
            background-color: $bg-aside;
            height: 100%;
            position: fixed;
            font-size: 0;
            top: 0;
            bottom: 0;
            left: 0;
            z-index: 1001;
            overflow: hidden;
J
导航  
jinlan.du 已提交
752
    }
753 754
    .mobile.hideside {
        .el-aside {
J
导航  
jinlan.du 已提交
755 756 757
            // pointer-events: none;
            -webkit-transition-duration: .2s;
            transition-duration: .2s;
758 759
            -webkit-transform: translate3d(-210px, 0, 0);
            transform: translate3d(-220px, 0, 0);
J
导航  
jinlan.du 已提交
760 761
        }
    }
762 763
    .mobile {
        .el-aside {
J
导航  
jinlan.du 已提交
764 765 766
            -webkit-transition: -webkit-transform .28s;
            transition: -webkit-transform .28s;
            transition: transform .28s;
767
            transition: transform .28s, -webkit-transform .28s;
J
导航  
jinlan.du 已提交
768 769 770
            width: 210px!important
        }
    }
771
    .el-container {
J
导航  
jinlan.du 已提交
772 773 774
        position: relative;
        height: 100%;
        width: 100%;
775
        .el-aside {
J
导航  
jinlan.du 已提交
776
            // transition: none;
777
            .aside {
J
导航  
jinlan.du 已提交
778
                background: #000;
779
                .el-menu {
J
导航  
jinlan.du 已提交
780 781 782 783 784
                    border-right: none;
                }
            }
        }
    }
785
    .main-cont.el-main {
J
导航  
jinlan.du 已提交
786 787 788 789 790 791
        min-height: 100%;
        -webkit-transition: margin-left .28s;
        transition: margin-left .28s;
        margin-left: 220px;
        position: relative;
    }
792 793
    .hideside {
        .main-cont.el-main {
J
导航  
jinlan.du 已提交
794 795 796
            margin-left: 54px;
        }
    }
797 798
    .mobile {
        .main-cont.el-main {
J
导航  
jinlan.du 已提交
799 800 801
            margin-left: 0px;
        }
    }
802 803
    .openside.mobile {
        .shadowBg {
J
导航  
jinlan.du 已提交
804 805 806 807 808 809 810 811 812 813 814
            background: #000;
            opacity: .3;
            width: 100%;
            top: 0;
            height: 100%;
            position: absolute;
            z-index: 999;
            left: 0;
        }
    }
}
815

1
1319612909 已提交
816 817 818
// .el-menu .el-menu--inline {
//     background: #2c3b41;
// }
819

1
1319612909 已提交
820 821 822
// .el-submenu .el-submenu {
//     background-color: #000408 !important;
// }
823 824

.aside .el-scrollbar .el-scrollbar__view .el-submenu__title:hover {
1
1319612909 已提交
825
    background-color: $bg-aside !important;
826 827
}

1
1319612909 已提交
828

829 830 831

.el-menu--vertical {
    .el-menu {
J
jinlan.du 已提交
832
        margin-left: -8px;
833 834 835
        background-color: rgb(48, 65, 86);
        .el-menu-item {
            background-color: rgb(48, 65, 86);
J
jinlan.du 已提交
836
        }
837 838
        .el-menu-item:focus,
        .el-menu-item:hover {
J
jinlan.du 已提交
839 840 841 842 843 844
            background-color: #263445;
            color: #fff;
        }
    }
}

1
1319612909 已提交
845 846
// 导航*****
// add 5.13
Mr.奇淼('s avatar
Mr.奇淼( 已提交
847 848
.el-container {
    .admin-box {
1
1319612909 已提交
849
        padding:15px;
1
css  
1319612909 已提交
850
        margin: 115px 15px 20px;
1
1319612909 已提交
851
        border-radius: 2px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
852
        .button-box {
1
1319612909 已提交
853 854 855
            border: none;
            padding: 0 0 10px 0px;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
856
        .el-table--border {
1
1319612909 已提交
857 858 859
            border-radius: 4px;
            margin-bottom: 15px;
        }
1
css  
1319612909 已提交
860
      
Mr.奇淼('s avatar
Mr.奇淼( 已提交
861
        .el-table {
1
css  
1319612909 已提交
862 863 864
            thead{
                color: $color-table-thead;
            }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
865
            th {
1
1319612909 已提交
866
                padding: 5px 0;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
867
                .cell {
1
1319612909 已提交
868 869 870 871
                    min-height: 34px;
                    line-height: 34px;
                }
            }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
872
            td {
1
1319612909 已提交
873 874 875
                padding: 8px 0;
            }
            td,
Mr.奇淼('s avatar
Mr.奇淼( 已提交
876
            th.is-leaf {
1
1319612909 已提交
877 878 879
                border-bottom: 1px solid #e8e8e8;
            }
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
880
        .search-term {
1
1319612909 已提交
881 882 883
            border-left: none;
            border-right: none;
            padding: 0 5px;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
884
            .el-form-item {
1
1319612909 已提交
885 886 887
                margin-bottom: 10px;
            }
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
888
        .el-pagination {
1
1319612909 已提交
889 890
            padding: 20px 0 0 0;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
891 892
        .upload-demo,
        .upload {
1
1319612909 已提交
893 894
            padding: 0;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
895
        .system {
1
1319612909 已提交
896 897
            padding: 0;
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
898 899 900 901
        .el-form.el-form--inline {
            .el-form-item:last-child {
                margin-bottom: 0;
            }
1
1319612909 已提交
902 903
        }
        .edit_container,
Mr.奇淼('s avatar
Mr.奇淼( 已提交
904
        .edit {
1
1319612909 已提交
905 906 907 908 909 910 911 912 913
            padding: 0;
        }
    }
    .admin-box:after,
    .admin-box:before {
        content: "";
        display: block;
        clear: both;
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
914
    .tips {
1
1319612909 已提交
915 916 917 918
        margin-top: 10px;
        font-size: 14px;
        font-weight: 400;
        color: #606266;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
919
    }
1
1319612909 已提交
920
}
Mr.奇淼('s avatar
Mr.奇淼( 已提交
921 922

.el-container.layout-cont {
1
1319612909 已提交
923 924 925 926 927
    // .header-cont,
    // .breadcrumb {
    //     height: 40px !important;
    //     line-height: 40px !important;
    // }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
928
    .main-cont.el-main {
1
1319612909 已提交
929 930
        background-color:$bg-main;
      
Mr.奇淼('s avatar
Mr.奇淼( 已提交
931
        .menu-total {
1
1319612909 已提交
932 933
            font-size: 22px;
            color: #838383;
1
1319612909 已提交
934
            margin-top: 16px;
1
1319612909 已提交
935
        }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
936 937 938
        // background-color: #f0f2f5;
    }
}
1
1319612909 已提交
939

Mr.奇淼('s avatar
Mr.奇淼( 已提交
940 941 942
.el-container.layout-cont {
    .main-cont {
        .router-history {
1
1319612909 已提交
943 944 945 946 947
            // box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
            background: #fff;
            padding: 0 6px;
            border-top: 1px solid $border-color;
           padding: 0;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
948 949 950
            .el-tabs__header {
                margin: 0px 0 0 0;
                .el-tabs__item {
1
1319612909 已提交
951 952 953 954 955 956 957 958 959 960
                    height: $height-nav-scroll;
                    height: $height-nav-scroll;
                    border: none;
                    border-left: 1px solid $border-color;
                }
                .el-tabs__item.is-active{
                    background-color: rgba(64,158,255,.08);
                }
                .el-tabs__nav{
                    border: none;
1
1319612909 已提交
961 962 963 964
                }
            }
        }
    }
Mr.奇淼('s avatar
Mr.奇淼( 已提交
965
}
1
1319612909 已提交
966

Mr.奇淼('s avatar
Mr.奇淼( 已提交
967 968 969
.el-table__row {
    .el-button.el-button--text.el-button--small {
        position: relative;
1
1319612909 已提交
970
    }
J
jinlan.du 已提交
971 972 973 974 975 976 977 978 979
    // .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.奇淼( 已提交
980 981
    .cell {
        button:last-child::after {
1
1319612909 已提交
982
            content: ''!important;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
983
            position: absolute!important;
1
1319612909 已提交
984
            width: 0px!important;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
985 986
        }
    }
1
1319612909 已提交
987 988
}

Mr.奇淼('s avatar
Mr.奇淼( 已提交
989 990 991 992 993
.clear:after,
.clear:before {
    content: "";
    display: block;
    clear: both;
Mr.奇淼('s avatar
Mr.奇淼( 已提交
994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
}

.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 已提交
1018
}
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031

.el-input-number__decrease, .el-input-number__increase{
    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.奇淼( 已提交
1032 1033 1034 1035 1036
}


.table-button{
    margin-right:8px !important;
1
1319612909 已提交
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
}


$headerHigh: 52px;
$mainHight: 100vh;
.dropdown-group {
  min-width: 100px;
}
.topfix {
  position: fixed;
  top: 0;
  box-sizing: border-box;
  z-index: 999;
}
.admin-box {
1
css  
1319612909 已提交
1052
  min-height: calc(100vh - 200px);
1
1319612909 已提交
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175
  background-color: rgb(255, 255, 255);
  margin-top: 100px;
}
.el-scrollbar__wrap {
  padding-bottom: 17px;
}
.layout-cont {
  .right-box {
    text-align: center;
    vertical-align: middle;
    img {
      vertical-align: middle;
      border: 1px solid #ccc;
      border-radius: 6px;
    }
  }

  .header-cont {
    height: $height-header;
    background: #fff;
  }
  .main-cont {
    .breadcrumb {
      height: $height-header;
      line-height: $height-header;
      display: inline-block;
      background-color: #fff;
      padding: 0 24px;
    }
    .fl-right{
        height: $height-header;
        line-height: $height-header;
    }

    &.el-main {
      overflow: auto;
      background: #fff;
      // padding: 0px 10px;
      // background: #fff;
    }
    height: $mainHight !important;
    overflow: visible;
    position: relative;
    .menu-total {
      // z-index: 5;
      // position: absolute;
      // top: 10px;
      // right: -35px;
      margin-left: -10px;
      float: left;
      margin-top: 10px;
      width: 30px;
      height: 30px;
      line-height: 30px;
      font-size: 30px;
      // border: 0 solid #ffffff;
      // border-radius: 50%;
      // background: #fff;
    }
    .aside {
      overflow: auto;
      // background: #fff;
      &::-webkit-scrollbar {
        display: none;
      }
    }
    .el-menu-vertical {
      height: calc(100vh - 64px) !important;
      visibility: auto;
      &:not(.el-menu--collapse) {
        width: 220px;
      }
    }
    .el-menu--collapse {
      width: 54px;
      li {
        .el-tooltip,
        .el-submenu__title {
          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;
        }
      }
    }
  }
}
.tilte {
  min-height: 64px;
  line-height: 64px;
  background: $bg-aside;
  text-align: center;
  .logoimg {
    width: 30px;
    height: 30px;
    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;
1
1319612909 已提交
1176
    padding-left: 10px;
1
1319612909 已提交
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210
  }
}


.screenfull {
  display: inline-block;
}
.header-avatar{
	display: flex;
	justify-content: center;
	align-items: center;
}

.search-component {
    display: inline-block;
    .el-input__inner {
      border: none;
      border-bottom: 1px solid #606266;
    }
    .el-dropdown-link {
      cursor: pointer;
    }
    .search-icon {
      font-size: $icon-size;
      margin-right: 14px;
      display: inline-block;
      vertical-align: middle;
      box-sizing: border-box;
      color: #606266;
    }
    .dropdown-group {
      min-width: 100px;
    }
  }