审查视图

public/assets/less/backend.less 26.2 KB
Karson authored
1 2 3 4 5
@import (reference) "bootstrap-less/mixins.less";
@import (reference) "bootstrap-less/variables.less";
@import (reference) "fastadmin/mixins.less";
@import (reference) "fastadmin/variables.less";
@import "lesshat.less";
6 7
@import url("../css/bootstrap.css");
@import url("../css/fastadmin.css");
Karson authored
8
@import url("../css/skins/skin-black-green.css");
Karson authored
9 10 11
@import url("../css/iconfont.css");
@import url("../libs/font-awesome/css/font-awesome.min.css");
@import url("../libs/toastr/toastr.min.css");
12
@import url("../libs/fastadmin-layer/dist/theme/default/layer.css");
Karson authored
13 14 15 16
@import url("../libs/bootstrap-table/dist/bootstrap-table.min.css");
@import url("../libs/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css");
@import url("../libs/bootstrap-daterangepicker/daterangepicker.css");
@import url("../libs/nice-validator/dist/jquery.validator.css");
17
@import url("../libs/bootstrap-select/dist/css/bootstrap-select.min.css");
18
@import url("../libs/fastadmin-selectpage/selectpage.css");
19
@import url("../libs/bootstrap-slider/slider.css");
Karson authored
20
21 22 23
@main-bg: #f1f4f6;
@panel-intro-bg: darken(@main-bg, 3%);
@panel-nav-bg: #fff;
Karson authored
24
25 26
html,
body {
27
    height: 100%;
28 29
}
Karson authored
30
body {
31 32
    background: #f1f4f6;
    font-size: 13px;
Karson authored
33
}
34
Karson authored
35
body.is-dialog {
36
    background: #fff;
Karson authored
37 38 39
}

.selection {
40 41 42
    position: absolute;
    border: 1px solid #8B9;
    background-color: #BEC;
Karson authored
43
}
44
Karson authored
45
.main-header {
46
47 48 49
    .navbar {
        position: relative;
    }
Karson authored
50 51 52
}

.bootstrap-dialog .modal-dialog {
53 54
    /*width: 70%;*/
    max-width: 885px;
Karson authored
55
}
56
Karson authored
57
/*iOS兼容*/
58
html.ios-fix, html.ios-fix body {
59 60 61
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
Karson authored
62
}
63
64
.wrapper {
65
    height: 100%;
66
}
67
Karson authored
68
#header {
69
    //box-shadow: 0 2px 2px rgba(0,0,0,.05),0 1px 0 rgba(0,0,0,.05);
Karson authored
70
}
71
Karson authored
72
.content-wrapper {
73 74
    position: relative;
    height: 100%;
Karson authored
75
}
76 77

.control-relative {
78
    position: relative;
Karson authored
79
}
80
Karson authored
81
.tab-addtabs {
82 83 84 85 86
    //overflow: hidden;
    .tab-pane {
        height: 100%;
        width: 100%;
    }
Karson authored
87 88
}
89
.row-between {
90 91 92 93 94 95
    .col-xs-6 + .col-xs-6:before {
        content: "-";
        position: absolute;
        left: -2%;
        top: 6px;
    }
Karson authored
96 97
}
98
@media only screen and (min-width: 481px) {
99 100 101 102
    .row-flex {
        display: flex;
        flex-wrap: wrap;
    }
103
104 105 106 107
    .row-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
108
109 110 111 112
    .row-flex.row:after,
    .row-flex.row:before {
        display: flex;
    }
Karson authored
113
}
114 115

@media (max-width: 991px) {
116 117 118 119 120
    .main-header .navbar-custom-menu a {
        &.btn-danger {
            color: #fff;
            background-color: @brand-danger;
        }
121
122 123 124 125
        &.btn-primary {
            color: #fff;
            background-color: @brand-primary;
        }
126
    }
127
}
128
Karson authored
129
.common-search-table {
130 131 132 133
    min-height: 20px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
Karson authored
134
}
135
Karson authored
136 137
/* 固定的底部按钮 */
.fixed-footer {
138 139 140 141 142 143
    position: fixed;
    bottom: 0;
    background-color: #ecf0f1;
    width: 100%;
    margin-bottom: 0;
    padding: 10px;
Karson authored
144
}
145 146

table.table-template {
147
    overflow: hidden;
Karson authored
148
}
149
Karson authored
150
.sp_container {
151 152 153 154 155
    .msg-box {
        position: absolute;
        right: 0;
        top: 0;
    }
Karson authored
156
157 158
    .sp_element_box {
        overflow: unset;
Karson authored
159
160 161 162
        > li.input_box {
            position: unset;
        }
Karson authored
163
164 165 166
        .msg-box {
            right: -24px;
        }
Karson authored
167 168 169 170
    }
}

@media (max-width: 767px) {
171 172 173
    .sp_container .sp_element_box .msg-box {
        left: inherit;
    }
Karson authored
174
}
175 176

.toast-top-right-index {
177 178
    top: 62px;
    right: 12px;
Karson authored
179 180 181
}

.bootstrap-select .status {
182 183 184 185 186 187 188 189
    background: #f0f0f0;
    clear: both;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: -5px;
    padding: 10px 20px;
Karson authored
190 191
}
Karson authored
192
select.bs-select-hidden, select.selectpicker {
193 194 195
    display: inherit !important;
    max-height: 31px;
    overflow: hidden;
196
197 198 199 200 201
    &[multiple] {
        height: 31px;
        //visibility: hidden;
        padding: 0;
        background: #f4f4f4;
202
203 204 205 206
        option {
            color: #f4f4f4;
            .opacity(0);
        }
207
208 209 210 211 212
        @media not all and (min-resolution: .001dpcm) {
            @supports (-webkit-appearance:none) {
                visibility: hidden;
            }
        }
213
    }
Karson authored
214 215
}
Karson authored
216
.img-center {
217 218 219
    margin: 0 auto;
    display: inline;
    float: none;
Karson authored
220 221 222 223 224 225
}

/*
 * RIBBON
 */
#ribbon {
226 227 228
    overflow: hidden;
    padding: 15px 15px 0 15px;
    position: relative;
229
230
    a {
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
        color: #777 !important;
        text-decoration: none !important;
    }

    .breadcrumb {
        display: inline-block;
        margin: 0;
        padding: 0;
        background: none;
        vertical-align: top;
    }

    .breadcrumb > .active,
    .breadcrumb li {
        color: #aaa;
    }

    .shortcut {
        a {
            margin-left: 10px;
        }
Karson authored
252 253 254 255 256
    }

}

.is-dialog {
257 258 259
    #main {
        background: #fff;
    }
260
261 262 263
    .layer-footer {
        display: none;
    }
Karson authored
264
}
265
Karson authored
266
form.form-horizontal .control-label {
267
    font-weight: normal;
Karson authored
268 269
}
270
.user-panel > .image img {
271 272
    width: 45px;
    height: 45px;
Karson authored
273 274 275 276
}

/*panel扩展描述样式*/
.panel-intro {
277 278
    margin-bottom: 0;
    border: none;
279
280 281 282 283 284 285
    > .panel-heading {
        padding: 15px;
        padding-bottom: 0;
        background: @panel-intro-bg;
        border-color: @panel-intro-bg;
        position: relative;
286
287 288
        .panel-lead {
            margin-bottom: 15px;
289
290 291 292 293 294 295
            em {
                display: block;
                font-weight: bold;
                font-style: normal;
            }
        }
Karson authored
296
297 298 299 300 301 302 303
        .panel-title {
            height: 25px;
            font-weight: normal;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
Karson authored
304
305 306 307 308 309
        .panel-control {
            height: 42px;
            position: absolute;
            top: 8px;
            right: 8px;
310
311 312 313 314
            .fa {
                font-size: 14px;
            }
        }
315
316 317 318 319
        .nav-tabs {
            border-bottom: 0;
            margin-bottom: 0;
        }
Karson authored
320
321 322 323 324 325 326 327
        .nav-tabs > li > a {
            margin-right: 4px;
            color: #95a5a6;
            background-color: darken(@panel-intro-bg, 5%);
            border: 1px solid @panel-intro-bg;
            border-bottom-color: transparent;
        }
328
329 330 331 332 333
        .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
            border: 1px solid @panel-intro-bg;
            color: #7b8a8b;
            background-color: darken(@panel-intro-bg, 10%);
        }
334
335 336 337 338 339 340
        .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
            color: #7b8a8b;
            background-color: #ffffff;
            border-bottom-color: transparent;
            cursor: default;
        }
Karson authored
341 342
    }
}
343
Karson authored
344 345
/*单表格*/
.panel-tabs {
346 347
    .panel-heading {
        padding: 12px 15px 12px 15px;
348
349 350 351
        .panel-lead {
            margin-bottom: 0px;
        }
352
353
        .panel-title {
Karson authored
354
355
        }
Karson authored
356 357
    }
}
358
Karson authored
359 360 361
/*选项卡*/
.panel-nav {
362 363 364 365 366 367
    .panel-heading {
        padding: 0px;
        padding-bottom: 0;
        background: @main-bg;
        border-color: @main-bg;
    }
368
369 370 371 372 373
    .nav-tabs > li > a {
        padding: 12px 15px;
        background-color: @panel-intro-bg;
        border: 1px solid @main-bg;
    }
374
375 376 377 378
    .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
        border: 1px solid @panel-intro-bg;
        background-color: @panel-intro-bg;
    }
379
380 381 382 383
    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        border-color: @main-bg;
        border-bottom-color: transparent;
    }
Karson authored
384
}
385
Karson authored
386
/*顶栏addtabs*/
387
.nav-addtabs {
388
    height: 100%;
389
390 391 392 393
    &.disable-top-badge {
        > li > a > .pull-right-container {
            display: none;
        }
394
    }
395
396
    border: none;
397
398 399
    > li {
        margin: 0;
400
401 402 403 404 405 406 407 408 409 410 411 412 413
        > a {
            height: 50px;
            line-height: 50px;
            padding: 0 15px;
            border-radius: 0;
            border: none;
            border-right: 1px solid rgba(0, 0, 0, 0.05);
            margin: 0;
            color: #95a5a6;

            &:hover, &:focus {
                border: none;
                color: #2c3e50;
Karson authored
414
                border-right: 1px solid rgba(0, 0, 0, 0.02);
415 416
            }
        }
417
418 419 420 421 422 423
        &.active > a {
            height: 50px;
            line-height: 50px;
            padding: 0 15px;
            border-radius: 0;
            border: none;
Karson authored
424
            border-right: 1px solid rgba(0, 0, 0, 0.02);
425 426 427 428 429 430 431 432
            background: #f1f4f6;
            color: #2c3e50;
            overflow: hidden;

            &:hover, &:focus {
                border: none;
                color: #2c3e50;
                background: #f1f4f6;
Karson authored
433
                border-right: 1px solid rgba(0, 0, 0, 0.02);
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
        .close-tab {
            font-size: 10px;
            position: absolute;
            right: 0px;
            top: 50%;
            margin-top: -8px;
            z-index: 100;
            cursor: pointer;
            color: #eee;

            &:before {
                content: "\e626";
                font-family: iconfont;
                font-style: normal;
                font-weight: normal;
                text-decoration: inherit;
                font-size: 18px;
            }

            display: none;
        }
    }
459
460 461 462 463 464
    .open > a {
        &:hover, &:focus {
            border-right: 1px solid rgba(0, 0, 0, 0.05);
        }
    }
465
466 467 468 469 470 471 472
    ul li {
        position: relative;
    }

    li:hover > .close-tab {
        display: block;
    }
473 474 475 476
}

#firstnav {
    height: 50px;
477 478 479
    border-bottom: 1px solid transparent;
    box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
    position: relative;
480
481 482 483 484 485 486 487 488
    .sidebar-toggle {
        position: absolute;
        width: 45px;
        text-align: center;
        height: 50px;
        line-height: 50px;
        padding: 0;
    }
489
490 491 492 493 494 495 496 497 498 499 500 501 502
    .nav-addtabs {
        position: absolute;
        left: 45px;
        z-index: 98;
    }

    .navbar-custom-menu {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 99;
        background: transparent;
    }
503 504 505 506
}

/*次栏菜单栏*/
#secondnav {
507 508 509 510 511 512 513 514 515 516 517 518
    display: none;
    height: 44px;
    position: absolute;
    top: 50px;
    left: 0;
    background: #fff;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
    padding: 5px 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
519
520 521
    .nav-addtabs {
        height: 100%;
522
523 524 525 526 527
        &.disable-top-badge {
            > li > a > .pull-right-container {
                display: none;
            }
        }
528
529
        border: none;
530
531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582
        > li {
            border: 1px solid #eee;
            border-radius: 3px;
            padding: 0 15px;
            height: 30px;
            line-height: 30px;
            margin: 2px 5px 2px 0;
            background: #fff;

            > a {
                display: block;
                color: #495060 !important;
                height: 100%;
                padding: 0;
                line-height: 28px;
                font-size: 12px;
                vertical-align: middle;
                opacity: 1;
                overflow: hidden;
                background: none;
                border: none;
            }

            &.active {
                border-color: #bdbebd;
                background-color: #f7f7f7;
            }

            .close-tab {
                font-size: 10px;
                position: absolute;
                right: 0px;
                top: 50%;
                margin-top: -8px;
                z-index: 100;
                cursor: pointer;
                color: #eee;

                &:before {
                    content: "\e626";
                    font-family: iconfont;
                    font-style: normal;
                    font-weight: normal;
                    text-decoration: inherit;
                    font-size: 18px;
                }
            }

            &:hover, &:focus {
                border-color: #bdbebd;
            }
        }
583
584 585
        ul li {
            position: relative;
Karson authored
586
        }
587
588 589 590 591 592
        li:hover > .close-tab {
            display: block;
            border-color: #222e32;
            color: #222e32
        }
Karson authored
593
    }
594
595
}
596
597 598 599
.multiplenav {
    .content-wrapper, .right-side {
        padding-top: 50px;
Karson authored
600
    }
601
602 603 604
    #firstnav .nav-addtabs {
        padding-right: 450px;
    }
Karson authored
605
}
606
Karson authored
607 608 609 610 611 612 613 614 615 616 617 618
@media (max-width: 767px) {
    .multipletab {
        .fixed .content-wrapper, .fixed .right-side {
            padding-top: 94px;
        }

        .content-wrapper, .right-side {
            padding-top: 94px;
        }
    }
}
619 620 621 622
.multipletab {
    #secondnav {
        display: block;
    }
623
624 625 626 627
    &.multiplenav {
        .content-wrapper, .right-side {
            padding-top: 94px;
        }
Karson authored
628 629 630 631

        #firstnav .nav-tabs {
            overflow: hidden;
        }
632 633
    }
}
634
635 636
.main-sidebar .sidebar-form {
    overflow: visible;
637
638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
    .menuresult {
        z-index: 999;
        position: absolute;
        top: 34px;
        left: -1px;
        width: 100%;
        max-height: 250px;
        overflow: auto;
        margin: 0;
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;

        a {
            border-top: 1px solid #eee;
            display: block;
            background-color: #fff;
            border-bottom: 1px solid #eee;
            margin-bottom: -1px;
            display: block;
            padding: 10px 15px;
            color: #222d32;

            &:hover {
                background: #eee;
            }
        }
665
    }
Karson authored
666
}
667
Karson authored
668
.input-group .sp_result_area {
669
    width: 100%;
Karson authored
670
}
671 672

.sidebar-menu {
673 674 675 676
    &.show-submenu {
        .treeview-menu {
            display: block;
        }
Karson authored
677
    }
678
679 680 681
    > li .badge {
        margin-top: 0;
    }
682
683 684 685
    .treeview-menu > li > a {
        font-size: inherit;
    }
Karson authored
686
}
687
Karson authored
688
.sidebar-collapse {
689 690 691 692
    .user-panel > .image img {
        width: 25px;
        height: 25px;
    }
Karson authored
693 694
}
695
@media (min-width: 768px) {
696
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
Karson authored
697
        top: 42px;
698
    }
699
700 701 702 703
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
        top: 7px !important;
        height: 17px;
    }
Karson authored
704 705 706
}

.fieldlist dd {
707 708
    display: block;
    margin: 5px 0;
709
710 711 712 713
    input {
        display: inline-block;
        width: 300px;
    }
714
715 716 717
    input:first-child {
        width: 110px;
    }
718
719 720 721 722 723 724
    ins {
        width: 110px;
        display: inline-block;
        text-decoration: none;
        font-weight: bold;
    }
Karson authored
725 726
}
Karson authored
727 728
/* 弹窗中的表单 */
.form-layer {
729 730 731
    height: 100%;
    min-height: 150px;
    min-width: 300px;
732
733 734 735 736 737 738 739 740 741
    .form-body {
        width: 100%;
        overflow: auto;
        top: 0;
        position: absolute;
        z-index: 10;
        bottom: 50px;
        padding: 15px;
    }
742
743 744 745 746 747 748 749 750 751 752
    .form-footer {
        height: 50px;
        line-height: 50px;
        background-color: #ecf0f1;
        width: 100%;
        position: absolute;
        z-index: 200;
        bottom: 0;
        margin: 0;
    }
753
754 755 756 757
    .form-footer .form-group {
        margin-left: 0;
        margin-right: 0;
    }
Karson authored
758 759
}
Karson authored
760
#treeview {
761 762 763 764
    .jstree-container-ul .jstree-node {
        display: block;
        clear: both;
    }
765
766 767 768 769 770 771 772
    .jstree-leaf:not(:first-child) {
        float: left;
        background: none;
        margin-left: 0;
        min-width: 80px;
        clear: none;
    }
773
774 775 776 777 778 779 780 781
    .jstree-leaf {
        float: left;
        margin-left: 0;
        padding-left: 24px;
        min-width: 80px;
        clear: none;
        color: #777;
    }
782
783 784 785
    .jstree-leaf > .jstree-icon, .jstree-leaf .jstree-themeicon {
        display: none;
    }
786
787 788 789 790 791
    .jstree-last {
        background-image: url("../img/32px.png");
        background-position: -292px -4px;
        background-repeat: repeat-y;
    }
792
793 794 795
    .jstree-children {
        .clearfix();
    }
796
797 798 799
    .jstree-themeicon {
        display: none;
    }
Karson authored
800 801 802 803
}

/*去除bootstrap-table的边框*/
.fixed-table-container {
804
    border: none !important;
805
806 807 808
    tbody .selected td {
        background-color: rgba(216, 224, 230, .5);
    }
809 810 811 812

    .bs-checkbox {
        min-width: 36px;
    }
Karson authored
813 814
}
815 816
/*修复nice-validator新版下的一处BUG*/
.nice-validator {
817 818 819 820 821 822
    input, select, textarea, [contenteditable] {
        vertical-align: top;
        display: inline-block;
        *display: inline;
        *zoom: 1;
    }
823 824
}
Karson authored
825
/*修复nice-validator和summernote的编辑框冲突*/
826
.nice-validator .note-editor .note-editing-area .note-editable {
827
    display: inherit;
Karson authored
828 829 830
}

/*预览区域*/
Karson authored
831
.plupload-preview, .faupload-preview {
832 833
    padding: 0 10px;
    margin-bottom: 0;
834
835 836 837
    li {
        margin-top: 15px;
    }
838
839 840 841
    .thumbnail {
        margin-bottom: 10px;
    }
842
843 844
    a {
        display: block;
845
846 847 848
        &:first-child {
            height: 90px;
        }
849
850 851 852 853
        img {
            height: 80px;
            object-fit: cover;
        }
854
    }
Karson authored
855 856 857
}

.pjax-loader-bar .progress {
858 859 860 861 862 863 864 865
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #77b6ff;
    box-shadow: 0 0 10px rgba(119, 182, 255, 0.7);
    -webkit-transition: width 0.4s ease;
    transition: width 0.4s ease;
Karson authored
866
}
867
Karson authored
868
.dropdown-menu.text-left {
869 870 871
    a, li {
        text-align: left !important;
    }
Karson authored
872
}
873 874

.bootstrap-table .fixed-table-toolbar .dropdown-menu {
875
    overflow: auto;
Karson authored
876
}
877
878
.bootstrap-table .fa-toggle-on.fa-2x {
879
    font-size: 1.86em;
880 881 882
}

.bootstrap-table .form-commonsearch .form-group {
883 884 885
    margin-left: 0;
    margin-right: 0;
    white-space: nowrap;
886
}
887 888

.toolbar {
889 890
    margin-top: 10px;
    margin-bottom: 10px;
Karson authored
891
}
892 893

.fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
894
    line-height: inherit;
Karson authored
895
}
896 897

.fixed-table-toolbar .toolbar {
898 899
    margin-top: 0;
    margin-bottom: 0;
Karson authored
900 901 902
}

.bootstrap-table table tbody tr:first-child td .bs-checkbox {
903
    vertical-align: middle;
Karson authored
904
}
905
Karson authored
906
.bootstrap-table td.bs-checkbox {
907
    vertical-align: middle;
Karson authored
908
}
909
910
table.table-nowrap {
911 912 913
    tbody > tr > td, thead > tr > th {
        white-space: nowrap;
    }
914 915
}
916
.fixed-table-container thead th .sortable {
917
    padding-right: 0;
918
}
919
Karson authored
920
.dropdown-submenu {
921
    position: relative;
922
923
    > .dropdown-menu {
924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939
        overflow: auto;
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        .border-radius(0 6px 6px 6px);
    }

    &:hover {
        > .dropdown-menu {
            display: block;
        }

        > a:after {
            border-left-color: #fff;
        }
940
    }
941
942
    > a:after {
943 944 945 946 947 948 949 950 951 952 953
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
954
    }
955
956 957
    &.pull-left {
        float: none;
958
959 960 961 962 963
        > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            .border-radius(6px 0 6px 6px);
        }
964
    }
Karson authored
965 966 967 968
}

/*重写toast的几个背景色*/
.toast-primary {
969
    background-color: #48c9b0 !important;
Karson authored
970
}
971
Karson authored
972
.toast-success {
973
    background-color: #18bc9c !important;
Karson authored
974
}
975
Karson authored
976
.toast-error {
977
    background-color: #e74c3c !important;
Karson authored
978
}
979
Karson authored
980
.toast-info {
981
    background-color: #5dade2 !important;
Karson authored
982
}
983
Karson authored
984
.toast-warning {
985
    background-color: #f1c40f !important;
Karson authored
986
}
987
Karson authored
988
.toast-inverse {
989
    background-color: #34495e !important;
Karson authored
990
}
991
Karson authored
992
.toast-default {
993
    background-color: #bdc3c7 !important;
Karson authored
994
}
995 996

#toast-container {
997 998 999
    > div, > div:hover {
        .box-shadow(0 0 3px #eee);
    }
Karson authored
1000
}
1001
Karson authored
1002 1003
.layui-layer-fast {
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018
    .layui-layer-title {
        background: #2c3e50 !important;
        color: #fff !important;
        border-bottom: none;
        //只有当包含layui-layer-title标题时才显示按钮
        ~ .layui-layer-setwin {
            top: 0px;
            height: 42px;

            > a {
                height: 42px;
                line-height: 42px;
                display: inline-block;
            }
        }
Karson authored
1019 1020
    }
1021 1022 1023 1024
    &.layui-layer-border {
        border: none !important;
        box-shadow: 1px 1px 50px rgba(0, 0, 0, .3) !important;
    }
1025
1026 1027 1028
    &.layui-layer-iframe {
        //overflow:hidden!important;
        overflow: visible;
1029
    }
1030
1031 1032
    .layui-layer-moves {
        .box-sizing(content-box);
1033
    }
1034
1035
    /*自定义底部灰色操作区*/
1036
1037 1038 1039 1040 1041
    .layui-layer-btn {
        text-align: center !important;
        padding: 10px !important;
        background: #ecf0f1;
        overflow: hidden;
1042
1043 1044 1045 1046 1047 1048 1049 1050
        a {
            background-color: #95a5a6;
            border-color: #95a5a6;
            color: #fff !important;
            height: 31px;
            margin-top: 0;
            border: 1px solid transparent;
        }
1051
1052 1053 1054 1055 1056
        .layui-layer-btn0 {
            background-color: #18bc9c;
            border-color: #18bc9c;
        }
    }
1057
1058 1059 1060 1061 1062
    .layui-layer-footer {
        padding: 8px 20px;
        background-color: #ecf0f1;
        height: auto;
        text-align: inherit !important;
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
    .layui-layer-setwin {
        > a {
            background: none !important;

            cite {
                display: none;
            }

            &:after {
                content: "\e625";
                font-family: iconfont;
                font-style: normal;
                font-weight: normal;
                text-decoration: inherit;
                position: absolute;
                font-size: 18px;
                color: #fff;
                margin: 0;
                z-index: 1;
            }

            &:hover {
                text-decoration: none !important;
                background: none !important;
            }

            &:focus {
                text-decoration: none !important;
            }
        }
1095
1096 1097
        .layui-layer-min {
            display: none;
1098
1099 1100 1101 1102
            &:after {
                content: "\e625";
            }
        }
1103
1104 1105
        .layui-layer-max {
            display: none;
1106
1107 1108 1109 1110
            &:after {
                content: "\e623";
            }
        }
1111
1112 1113
        .layui-layer-maxmin {
            display: none;
1114
1115 1116 1117 1118
            &:after {
                content: "\e624";
            }
        }
1119
1120 1121 1122 1123 1124
        .layui-layer-close1 {
            &:after {
                content: "\e626";
            }
        }
1125
1126 1127 1128 1129 1130 1131 1132 1133 1134 1135
        //样式二关闭按钮
        .layui-layer-close2, .layui-layer-close2:hover {
            background: url('../libs/fastadmin-layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
            top: -30px;
            right: -30px;

            &:after {
                display: none;
            }
        }
Karson authored
1136 1137
    }
}
1138
1139
.layui-layer-content {
1140
    clear: both;
1141
}
1142
1143
.layui-layer-fast-msg {
1144
    min-width: 100px;
1145 1146 1147
}

.layui-layer-fast-tab {
1148 1149 1150 1151
    .layui-layer-title {
        .layui-this {
            color: #333;
        }
1152
    }
1153
1154 1155 1156 1157 1158
    .layui-layer-content {
        .layui-layer-tabmain {
            margin: 0;
            padding: 0;
        }
1159
    }
1160
}
Karson authored
1161
Karson authored
1162
.input-group > .msg-box.n-right {
1163
    position: absolute;
Karson authored
1164
}
1165 1166

@media (min-width: 564px) {
1167 1168 1169
    body.is-dialog .daterangepicker {
        min-width: 130px;
    }
1170
1171 1172 1173
    body.is-dialog .daterangepicker .ranges ul {
        width: 130px;
    }
1174
}
Karson authored
1175 1176 1177

/*手机版样式*/
@media (max-width: @screen-phone) {
1178 1179 1180 1181
    #firstnav {
        .nav-addtabs {
            //display: none;
        }
1182
1183 1184 1185 1186 1187 1188
        .navbar-custom-menu {
            ul li a {
                padding-left: 10px;
                padding-right: 10px;
            }
        }
1189
1190 1191 1192
        .navbar-nav > .user-menu .user-image {
            margin-top: -3px;
        }
1193 1194
    }
1195 1196 1197 1198
    .fixed-table-toolbar {
        .columns-right.btn-group {
            display: none;
        }
1199 1200
    }
1201
    .fixed .content-wrapper, .fixed .right-side {
1202
        padding-top: 50px;
1203 1204
    }
1205 1206 1207
    .main-sidebar, .left-side {
        padding-top: 144px;
    }
1208
Karson authored
1209
}
1210
Karson authored
1211
/*平板样式*/
1212
@media (max-width: @screen-xs-max) {
Karson authored
1213
Karson authored
1214
    .wrapper .main-header .logo {
1215 1216 1217 1218 1219 1220 1221
        border-bottom: 0 solid transparent;
        position: absolute;
        top: 0;
        z-index: 1200;
        width: 130px;
        left: 50%;
        margin-left: -65px;
1222
    }
1223
Karson authored
1224
    .sidebar .mobilenav a.btn-app {
1225 1226 1227 1228
        color: #444;
        width: 100px;
        height: 70px;
        font-size: 13px;
Karson authored
1229 1230
        border: none;
        background: #fff;
1231
1232 1233
        i.fa {
            font-size: 24px;
1234
            display: inline-block;
1235
        }
1236
1237 1238 1239 1240
        span {
            margin-top: 5px;
            display: block;
        }
1241
1242 1243 1244
        &.active {
            color: #222d32;
        }
1245
    }
1246
Karson authored
1247
    .wrapper .main-header .navbar .dropdown-menu li {
1248 1249
        > a {
            color: #333;
1250
1251 1252 1253 1254
            &:hover {
                background: #eee;
            }
        }
1255
1256 1257
        &.active > a {
            color: #fff;
1258
1259 1260 1261 1262 1263
            &:hover {
                background: #222d32
            }
        }
    }
1264
1265 1266
    .main-sidebar, .left-side {
        padding-top: 50px;
1267
    }
1268
Karson authored
1269 1270 1271 1272 1273 1274
    .multiplenav {
        .main-sidebar {
            padding-top: 95px;
        }
    }
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293
    .n-bootstrap {
        .n-right {
            margin-top: 0;
            top: -20px;
            position: absolute;
            left: 0;
            text-align: right;
            width: 100%;

            .msg-wrap {
                position: relative;
            }
        }

        .col-xs-12 > .n-right {
            .msg-wrap {
                margin-right: 15px;
            }
        }
1294
    }
Karson authored
1295 1296 1297 1298
}

/*修复radio和checkbox样式对齐*/
.radio, .checkbox {
1299 1300
    > label {
        margin-right: 10px;
1301
1302 1303 1304
        > input {
            margin: 2px 0 0;
        }
Karson authored
1305
    }
1306 1307 1308
}

.wipecache li a {
1309
    color: #444444 !important;
1310 1311 1312 1313
}

/*修正开关关闭下的颜色值*/
.btn-switcher {
1314 1315 1316 1317
    &.disabled {
        opacity: .6;
        cursor: not-allowed;
    }
1318
1319 1320 1321
    .text-gray {
        color: #d2d6de !important;
    }
1322
}
1323 1324

.jumpto input {
1325 1326 1327 1328 1329 1330
    height: 31px;
    width: 50px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
1331 1332
}
1333 1334 1335 1336
.fixed-columns, .fixed-columns-right {
    position: absolute;
    top: 0;
    height: 100%;
1337
    min-height: 41px;
1338 1339 1340 1341
    background-color: #fff;
    box-sizing: border-box;
    z-index: 1;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, .08);
1342 1343 1344 1345 1346 1347

    .fixed-table-body {
        min-height: 41px;
        overflow-x: hidden !important
    }
1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374
}

.fixed-columns {
    left: 0;
}

.fixed-columns-right {
    right: 0;
    box-shadow: -1px 0 8px rgba(0, 0, 0, .08);
}

.fix-sticky {
    position: fixed;
    z-index: 100;

    thead {
        background: #fff;

        th, th:first-child {
            border-left: 0;
            border-right: 0;
            border-bottom: 1px solid #eee;
            border-radius: 0;
        }
    }
}
1375
.sidebar-menu li.treeview-open > a > .fa-angle-left, .sidebar-menu li.treeview-open > a > .pull-right-container > .fa-angle-left {
1376 1377 1378 1379
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
1380
}