审查视图

public/assets/less/backend.less 21.3 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 9 10 11
@import url("../css/skins/skin-green.css");
@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 27 28 29
html,
body {
  height: 100%;
}
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
  .logo, .navbar {
    .transition(none);
  }
49
50 51 52
  .navbar {
    position: relative;
  }
Karson authored
53 54 55
}

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

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

  .row-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
  }

  .row-flex.row:after,
  .row-flex.row:before {
    display: flex;
  }
Karson authored
117
}
118 119 120 121 122 123

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

table.table-template {
  overflow: hidden;
Karson authored
152
}
153
Karson authored
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
.sp_container {
  .msg-box {
    position: absolute;
    right: 0;
    top: 0;
  }

  .sp_element_box {
    overflow: unset;

    > li.input_box {
      position: unset;
    }

    .msg-box {
      right: -24px;
    }
  }
}

@media (max-width: 767px) {
  .sp_container .sp_element_box .msg-box {
    left: inherit;
  }
Karson authored
178
}
179 180 181 182

.toast-top-right-index {
  top: 62px;
  right: 12px;
Karson authored
183 184 185
}

.bootstrap-select .status {
186 187 188 189 190 191 192 193
  background: #f0f0f0;
  clear: both;
  color: #999;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: -5px;
  padding: 10px 20px;
Karson authored
194 195
}
Karson authored
196 197 198 199
select.bs-select-hidden, select.selectpicker {
  display: inherit !important;
  max-height: 31px;
  overflow: hidden;
200 201 202
  &[multiple] > option {
    height:31px;
  }
Karson authored
203 204
}
Karson authored
205
.img-center {
206 207 208
  margin: 0 auto;
  display: inline;
  float: none;
Karson authored
209 210 211 212 213 214
}

/*
 * RIBBON
 */
#ribbon {
215 216 217
  overflow: hidden;
  padding: 15px 15px 0 15px;
  position: relative;
Karson authored
218
219 220 221 222
  a {
    color: #777 !important;
    text-decoration: none !important;
  }
223
224 225 226 227 228 229 230
  .breadcrumb {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: none;
    vertical-align: top;
  }
Karson authored
231
232 233 234 235
  .breadcrumb > .active,
  .breadcrumb li {
    color: #aaa;
  }
236
237 238 239
  .shortcut {
    a {
      margin-left: 10px;
Karson authored
240
    }
241
  }
Karson authored
242 243 244 245

}

.is-dialog {
246 247 248
  #main {
    background: #fff;
  }
249
250 251 252
  .layer-footer {
    display: none;
  }
Karson authored
253
}
254
Karson authored
255
form.form-horizontal .control-label {
256
  font-weight: normal;
Karson authored
257 258
}
259 260 261
.user-panel > .image img {
  width: 45px;
  height: 45px;
Karson authored
262 263 264 265
}

/*panel扩展描述样式*/
.panel-intro {
266 267
  margin-bottom: 0;
  border: none;
268
269 270 271 272 273 274
  > .panel-heading {
    padding: 15px;
    padding-bottom: 0;
    background: @panel-intro-bg;
    border-color: @panel-intro-bg;
    position: relative;
275
276 277
    .panel-lead {
      margin-bottom: 15px;
278
279 280 281 282 283 284
      em {
        display: block;
        font-weight: bold;
        font-style: normal;
      }
    }
Karson authored
285
286 287 288 289 290 291 292
    .panel-title {
      height: 25px;
      font-weight: normal;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
Karson authored
293
294 295 296 297 298
    .panel-control {
      height: 42px;
      position: absolute;
      top: 8px;
      right: 8px;
299
300 301 302 303
      .fa {
        font-size: 14px;
      }
    }
304
305 306 307 308
    .nav-tabs {
      border-bottom: 0;
      margin-bottom: 0;
    }
Karson authored
309
310 311 312 313 314 315 316
    .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;
    }
317
318 319 320 321 322
    .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%);
    }
323
324 325 326 327 328
    .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
329
    }
330
  }
Karson authored
331
}
332
Karson authored
333 334
/*单表格*/
.panel-tabs {
335 336
  .panel-heading {
    padding: 12px 15px 12px 15px;
337
338 339 340
    .panel-lead {
      margin-bottom: 0px;
    }
341
342
    .panel-title {
Karson authored
343 344

    }
345
  }
Karson authored
346
}
347
Karson authored
348 349 350
/*选项卡*/
.panel-nav {
351 352 353 354 355 356
  .panel-heading {
    padding: 0px;
    padding-bottom: 0;
    background: @main-bg;
    border-color: @main-bg;
  }
357
358 359 360 361 362
  .nav-tabs > li > a {
    padding: 12px 15px;
    background-color: @panel-intro-bg;
    border: 1px solid @main-bg;
  }
363
364 365 366 367
  .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
    border: 1px solid @panel-intro-bg;
    background-color: @panel-intro-bg;
  }
368
369 370 371 372
  .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
373
}
374
Karson authored
375
/*顶栏addtabs*/
376 377
.nav-addtabs {
  height: 100%;
378
379 380 381 382 383
  &.disable-top-badge {
    > li > a > .pull-right-container {
      display: none;
    }
  }
384
385
  border: none;
386
387 388
  > li {
    margin: 0;
389
390 391 392 393 394 395 396 397 398
    > 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;
399
400 401 402 403 404 405
      &:hover, &:focus {
        border: none;
        color: #2c3e50;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
      }
    }
406
407 408 409 410 411 412 413 414 415 416
    &.active > a {
      height: 50px;
      line-height: 50px;
      padding: 0 15px;
      border-radius: 0;
      border: none;
      border-right: 1px solid rgba(0, 0, 0, 0.05);
      background: #f1f4f6;
      color: #2c3e50;
      overflow: hidden;
417
418 419 420 421 422 423 424
      &:hover, &:focus {
        border: none;
        color: #2c3e50;
        background: #f1f4f6;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
      }
    }
425
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443
    .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;
      }
444
445 446 447
      display: none;
    }
  }
448
449 450 451 452 453
  .open > a {
    &:hover, &:focus {
      border-right: 1px solid rgba(0, 0, 0, 0.05);
    }
  }
454
455 456 457
  ul li {
    position: relative;
  }
458
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478
  li:hover > .close-tab {
    display: block;
  }
}

.multiplenav {
  .content-wrapper, .right-side {
    padding-top: 94px;
  }

  #firstnav .nav-addtabs {
    padding-right: 450px;
  }
}

#firstnav {
  height: 50px;
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  position: relative;
479
480 481 482 483 484 485 486 487
  .sidebar-toggle {
    position: absolute;
    width: 45px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    padding: 0;
  }
488
489 490 491 492 493
  .nav-addtabs {
    position: absolute;
    left: 45px;
    z-index: 98;
  }
494
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516
  .navbar-custom-menu {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    background: transparent;
  }
}

/*次栏菜单栏*/
#secondnav {
  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;
517
518 519
  .nav-addtabs {
    height: 100%;
520
Karson authored
521
    &.disable-top-badge {
522 523 524 525
      > li > a > .pull-right-container {
        display: none;
      }
    }
526
527
    border: none;
528
529 530 531 532 533 534 535 536
    > li {
      border: 1px solid #eee;
      border-radius: 3px;
      padding: 0 15px;
      height: 30px;
      line-height: 30px;
      margin: 2px 5px 2px 0;
      background: #fff;
537
538 539 540 541 542 543 544 545 546 547 548 549 550
      > 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;
      }
551
552 553 554 555
      &.active {
        border-color: #bdbebd;
        background-color: #f7f7f7;
      }
556
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573
      .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;
Karson authored
574
        }
575
      }
576
577 578 579
      &:hover, &:focus {
        border-color: #bdbebd;
      }
Karson authored
580
    }
581
Karson authored
582
    ul li {
583
      position: relative;
Karson authored
584
    }
585
Karson authored
586
    li:hover > .close-tab {
587 588 589
      display: block;
      border-color: #222e32;
      color: #222e32
Karson authored
590
    }
591 592
  }
Karson authored
593
}
594
Karson authored
595
.main-sidebar .sidebar-form {
596
  overflow: visible;
597
598 599 600 601 602 603 604 605 606 607 608 609
  .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;
610
611 612 613 614 615 616 617 618 619
    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;
620
621 622 623 624 625
      &:hover {
        background: #eee;
      }
    }
  }
Karson authored
626
}
627
Karson authored
628
.input-group .sp_result_area {
629
  width: 100%;
Karson authored
630
}
631 632 633 634 635

.sidebar-menu {
  &.show-submenu {
    .treeview-menu {
      display: block;
Karson authored
636
    }
637
  }
638
639 640 641
  > li .badge {
    margin-top: 0;
  }
642
643
  .treeview-menu > li > a {
644
    font-size: inherit;
645
  }
Karson authored
646
}
647
Karson authored
648
.sidebar-collapse {
649 650 651 652
  .user-panel > .image img {
    width: 25px;
    height: 25px;
  }
Karson authored
653 654
}
655 656 657 658 659 660 661 662 663
@media (min-width: 768px) {
  .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
    top: 41px;
  }

  .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
    top: 7px !important;
    height: 17px;
  }
Karson authored
664 665 666
}

.fieldlist dd {
667 668
  display: block;
  margin: 5px 0;
669
670 671 672 673
  input {
    display: inline-block;
    width: 300px;
  }
674
675 676 677
  input:first-child {
    width: 110px;
  }
678
679 680 681 682 683 684
  ins {
    width: 110px;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
  }
Karson authored
685 686
}
Karson authored
687 688
/* 弹窗中的表单 */
.form-layer {
689 690 691
  height: 100%;
  min-height: 150px;
  min-width: 300px;
692
693 694 695 696 697 698 699 700 701
  .form-body {
    width: 100%;
    overflow: auto;
    top: 0;
    position: absolute;
    z-index: 10;
    bottom: 50px;
    padding: 15px;
  }
702
703 704 705 706 707 708 709 710 711 712
  .form-footer {
    height: 50px;
    line-height: 50px;
    background-color: #ecf0f1;
    width: 100%;
    position: absolute;
    z-index: 200;
    bottom: 0;
    margin: 0;
  }
713
714 715 716 717
  .form-footer .form-group {
    margin-left: 0;
    margin-right: 0;
  }
Karson authored
718 719
}
Karson authored
720
#treeview {
721 722 723 724
  .jstree-container-ul .jstree-node {
    display: block;
    clear: both;
  }
725
726 727 728 729
  .jstree-leaf:not(:first-child) {
    float: left;
    background: none;
    margin-left: 0;
730
    min-width: 80px;
731 732
    clear: none;
  }
733
734 735 736 737
  .jstree-leaf {
    float: left;
    margin-left: 0;
    padding-left: 24px;
738
    min-width: 80px;
739 740 741
    clear: none;
    color: #777;
  }
742
743 744 745
  .jstree-leaf > .jstree-icon, .jstree-leaf .jstree-themeicon {
    display: none;
  }
746
747 748 749 750 751
  .jstree-last {
    background-image: url("../img/32px.png");
    background-position: -292px -4px;
    background-repeat: repeat-y;
  }
752
753 754 755
  .jstree-children {
    .clearfix();
  }
756
757 758 759
  .jstree-themeicon {
    display: none;
  }
Karson authored
760 761 762 763
}

/*去除bootstrap-table的边框*/
.fixed-table-container {
764
  border: none !important;
Karson authored
765 766
}
767 768
/*修复nice-validator新版下的一处BUG*/
.nice-validator {
769
  input, select, textarea, [contenteditable] {
Karson authored
770
    vertical-align: top;
771 772 773 774
    display: inline-block;
    *display: inline;
    *zoom: 1;
  }
775 776
}
Karson authored
777
/*修复nice-validator和summernote的编辑框冲突*/
778 779
.nice-validator .note-editor .note-editing-area .note-editable {
  display: inherit;
Karson authored
780 781 782
}

/*预览区域*/
Karson authored
783
.plupload-preview, .faupload-preview {
784 785
  padding: 0 10px;
  margin-bottom: 0;
786
787 788 789
  li {
    margin-top: 15px;
  }
790
791 792 793
  .thumbnail {
    margin-bottom: 10px;
  }
794
795 796
  a {
    display: block;
797
798 799 800
    &:first-child {
      height: 90px;
    }
801
802 803 804 805 806
    img {
      height: 80px;
      object-fit: cover;
    }
  }
Karson authored
807 808 809
}

.pjax-loader-bar .progress {
810 811 812 813 814 815 816 817
  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
818
}
819
Karson authored
820
.dropdown-menu.text-left {
821 822 823
  a, li {
    text-align: left !important;
  }
Karson authored
824
}
825 826 827

.bootstrap-table .fixed-table-toolbar .dropdown-menu {
  overflow: auto;
Karson authored
828
}
829
830
.bootstrap-table .fa-toggle-on.fa-2x {
831 832 833 834 835 836
  font-size: 1.86em;
}

.bootstrap-table .form-commonsearch .form-group {
  margin-left: 0;
  margin-right: 0;
837
  white-space: nowrap;
838
}
839 840 841 842

.toolbar {
  margin-top: 10px;
  margin-bottom: 10px;
Karson authored
843
}
844 845 846

.fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
  line-height: inherit;
Karson authored
847
}
848 849 850 851

.fixed-table-toolbar .toolbar {
  margin-top: 0;
  margin-bottom: 0;
Karson authored
852 853 854
}

.bootstrap-table table tbody tr:first-child td .bs-checkbox {
855
  vertical-align: middle;
Karson authored
856
}
857
Karson authored
858
.bootstrap-table td.bs-checkbox {
859
  vertical-align: middle;
Karson authored
860
}
861
862 863 864 865 866 867
table.table-nowrap {
  tbody > tr > td, thead > tr > th {
    white-space: nowrap;
  }
}
868 869
.fixed-table-container thead th .sortable {
  padding-right: 0;
870
}
871
Karson authored
872
.dropdown-submenu {
873
  position: relative;
874
875 876 877 878 879 880 881 882
  > .dropdown-menu {
    overflow: auto;
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    .border-radius(0 6px 6px 6px);
  }
883
884 885 886 887
  &:hover {
    > .dropdown-menu {
      display: block;
    }
888
889 890 891 892
    > a:after {
      border-left-color: #fff;
    }
  }
893
894 895 896 897 898 899 900 901 902 903 904 905 906
  > a:after {
    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;
  }
907
908 909
  &.pull-left {
    float: none;
910
911 912 913 914 915 916
    > .dropdown-menu {
      left: -100%;
      margin-left: 10px;
      .border-radius(6px 0 6px 6px);
    }
  }
Karson authored
917 918 919 920
}

/*重写toast的几个背景色*/
.toast-primary {
921
  background-color: #48c9b0 !important;
Karson authored
922
}
923
Karson authored
924
.toast-success {
925
  background-color: #18bc9c !important;
Karson authored
926
}
927
Karson authored
928
.toast-error {
929
  background-color: #e74c3c !important;
Karson authored
930
}
931
Karson authored
932
.toast-info {
933
  background-color: #5dade2 !important;
Karson authored
934
}
935
Karson authored
936
.toast-warning {
937
  background-color: #f1c40f !important;
Karson authored
938
}
939
Karson authored
940
.toast-inverse {
941
  background-color: #34495e !important;
Karson authored
942
}
943
Karson authored
944
.toast-default {
945
  background-color: #bdc3c7 !important;
Karson authored
946
}
947 948 949 950 951

#toast-container {
  > div, > div:hover {
    .box-shadow(0 0 3px #eee);
  }
Karson authored
952
}
953
Karson authored
954 955
.layui-layer-fast {
956 957 958 959 960 961 962 963
  .layui-layer-title {
    background: #2c3e50 !important;
    color: #fff !important;
    border-bottom: none;
    //只有当包含layui-layer-title标题时才显示按钮
    ~ .layui-layer-setwin {
      top: 0px;
      height: 42px;
964
965 966 967 968 969
      > a {
        height: 42px;
        line-height: 42px;
        display: inline-block;
      }
Karson authored
970
    }
971
  }
Karson authored
972
973 974 975 976
  &.layui-layer-border {
    border: none !important;
    box-shadow: 1px 1px 50px rgba(0, 0, 0, .3) !important;
  }
977
978 979 980 981
  &.layui-layer-iframe {
    //overflow:hidden!important;
    overflow: visible;
  }
982
983 984 985
  .layui-layer-moves {
    .box-sizing(content-box);
  }
986
987
  /*自定义底部灰色操作区*/
988
989 990 991 992 993
  .layui-layer-btn {
    text-align: center !important;
    padding: 10px !important;
    background: #ecf0f1;
    overflow: hidden;
994
995 996 997 998 999 1000 1001 1002
    a {
      background-color: #95a5a6;
      border-color: #95a5a6;
      color: #fff !important;
      height: 31px;
      margin-top: 0;
      border: 1px solid transparent;
    }
1003
1004 1005 1006 1007 1008
    .layui-layer-btn0 {
      background-color: #18bc9c;
      border-color: #18bc9c;
    }
  }
1009
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019
  .layui-layer-footer {
    padding: 8px 20px;
    background-color: #ecf0f1;
    height: auto;
    text-align: inherit !important;
  }

  .layui-layer-setwin {
    > a {
      background: none !important;
1020
1021 1022 1023
      cite {
        display: none;
      }
1024
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
      &: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;
      }
1037
1038 1039 1040 1041
      &:hover {
        text-decoration: none !important;
        background: none !important;
      }
1042
1043 1044 1045 1046
      &:focus {
        text-decoration: none !important;
      }
    }
1047
1048 1049
    .layui-layer-min {
      display: none;
1050
1051 1052 1053 1054
      &:after {
        content: "\e625";
      }
    }
1055
1056 1057
    .layui-layer-max {
      display: none;
1058
1059 1060 1061 1062
      &:after {
        content: "\e623";
      }
    }
1063
1064 1065
    .layui-layer-maxmin {
      display: none;
1066
1067 1068 1069 1070
      &:after {
        content: "\e624";
      }
    }
1071
1072 1073 1074 1075 1076
    .layui-layer-close1 {
      &:after {
        content: "\e626";
      }
    }
1077
1078 1079
    //样式二关闭按钮
    .layui-layer-close2, .layui-layer-close2:hover {
1080
      background: url('../libs/fastadmin-layer/dist/theme/default/icon.png') no-repeat -149px -31px !important;
1081 1082
      top: -30px;
      right: -30px;
1083
1084 1085 1086
      &:after {
        display: none;
      }
Karson authored
1087
    }
1088
  }
Karson authored
1089
}
1090
1091
.layui-layer-content {
1092
  clear: both;
1093
}
1094
1095
.layui-layer-fast-msg {
1096
  min-width: 100px;
1097 1098 1099 1100 1101
}

.layui-layer-fast-tab {
  .layui-layer-title {
    .layui-this {
1102
      color: #333;
1103 1104
    }
  }
1105
1106
  .layui-layer-content {
1107
    .layui-layer-tabmain {
1108 1109
      margin: 0;
      padding: 0;
1110
    }
1111
  }
1112
}
Karson authored
1113
Karson authored
1114 1115
.input-group > .msg-box.n-right {
  position: absolute;
Karson authored
1116
}
1117 1118 1119 1120 1121 1122 1123 1124 1125

@media (min-width: 564px) {
  body.is-dialog .daterangepicker {
    min-width: 130px;
  }

  body.is-dialog .daterangepicker .ranges ul {
    width: 130px;
  }
1126
}
Karson authored
1127 1128 1129

/*手机版样式*/
@media (max-width: @screen-phone) {
1130
  #firstnav {
Karson authored
1131
    .nav-addtabs {
1132
      //display: none;
Karson authored
1133
    }
1134
1135 1136 1137 1138 1139
    .navbar-custom-menu {
      ul li a {
        padding-left: 10px;
        padding-right: 10px;
      }
Karson authored
1140
    }
1141
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
    .navbar-nav > .user-menu .user-image {
      margin-top: -3px;
    }
  }

  .fixed-table-toolbar {
    .columns-right.btn-group {
      display: none;
    }
  }

  .fixed .content-wrapper, .fixed .right-side {
    padding-top: 50px;
  }

  .multiplenav {
1158
    .fixed .content-wrapper, .fixed .right-side {
1159 1160 1161 1162 1163
      padding-top: 94px;
    }

    .content-wrapper, .right-side {
      padding-top: 94px;
1164
    }
1165 1166 1167 1168 1169 1170
  }

  .main-sidebar, .left-side {
    padding-top: 144px;
  }
Karson authored
1171
}
1172
Karson authored
1173
/*平板样式*/
1174
@media (max-width: @screen-xs-max) {
Karson authored
1175
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192
  body .wrapper .main-header .logo {
    background: none;
    color: #fff;
    border-bottom: 0 solid transparent;
    position: absolute;
    top: 0;
    z-index: 1200;
    width: 130px;
    left: 50%;
    margin-left: -65px;
  }

  body .sidebar .mobilenav a.btn-app {
    color: #444;
    width: 100px;
    height: 70px;
    font-size: 13px;
1193
1194 1195 1196
    i.fa {
      font-size: 24px;
    }
1197
1198 1199 1200 1201
    span {
      margin-top: 5px;
      display: block;
    }
1202
1203 1204 1205 1206 1207 1208 1209 1210
    &.active {
      color: #222d32;
    }
  }

  body .wrapper .main-header .navbar .dropdown-menu li {
    > a {
      color: #333;
1211
1212 1213 1214 1215
      &:hover {
        background: #eee;
      }
    }
1216
1217 1218
    &.active > a {
      color: #fff;
1219
1220 1221 1222 1223 1224 1225 1226
      &:hover {
        background: #222d32
      }
    }
  }

  .main-sidebar, .left-side {
1227
    padding-top: 50px;
1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
  }

  .n-bootstrap {
    .n-right {
      margin-top: 0;
      top: -20px;
      position: absolute;
      left: 0;
      text-align: right;
      width: 100%;
1238
1239 1240 1241 1242
      .msg-wrap {
        position: relative;
      }
    }
1243
1244 1245 1246 1247 1248 1249
    .col-xs-12 > .n-right {
      .msg-wrap {
        margin-right: 15px;
      }
    }
  }
Karson authored
1250 1251 1252 1253
}

/*修复radio和checkbox样式对齐*/
.radio, .checkbox {
1254 1255
  > label {
    margin-right: 10px;
1256
1257 1258
    > input {
      margin: 2px 0 0;
Karson authored
1259
    }
1260
  }
1261 1262 1263
}

.wipecache li a {
1264
  color: #444444 !important;
1265 1266 1267 1268 1269 1270 1271 1272
}

/*修正开关关闭下的颜色值*/
.btn-switcher {
  &.disabled {
    opacity: .6;
    cursor: not-allowed;
  }
1273
1274 1275 1276 1277
  .text-gray {
    color: #d2d6de !important;
  }
}
1278 1279 1280 1281 1282 1283 1284 1285

.jumpto input {
  height: 31px;
  width: 50px;
  margin-left: 5px;
  margin-right: 5px;
  text-align: center;
  display: inline-block;
1286 1287 1288 1289 1290 1291 1292 1293
}

.sidebar-menu li.treeview-open > a > .fa-angle-left, .sidebar-menu li.treeview-open > a > .pull-right-container > .fa-angle-left {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}