CONTROL.less.ftl 4.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
.grid {
    flex-grow: 1;
    height: 100%;
    overflow: auto;
    .el-table__body-wrapper::-webkit-scrollbar {
      /*滚动条整体样式*/
      width : 10px !important;  /*高宽分别对应横竖滚动条的尺寸*/
      height: 10px !important;
    }
    .el-table__body-wrapper::-webkit-scrollbar-thumb {
      /*滚动条颜色*/
      border-radius   : 10px !important;
      background-color: #cecece !important;
    }
    .el-table__body-wrapper::-webkit-scrollbar-track {
      /*滚动条里面轨道*/
      box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
      background   : #ededed !important;
      border-radius: 10px !important;
    }
    /*表格文字过长省略*/
    .el-table th>.cell, .el-table td>.cell{
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      word-break: break-all;
    }
28 29 30 31
    .el-table-column--selection .cell {
        padding-left: 0px;
        padding-right: 0px;
    }
32 33 34 35
    .app-column-link, .app-format-data{
      display: inline;
    }
    .el-table {
36 37 38
      height: 100%;
      display:flex;
      flex-direction: column;
39
      justify-content: flex-start;
40
      .el-table__row{
41
        .grid-uiaction-divider {
42
          padding:0 10px 0 10px;
43
          border-left: 1px #b3b3b3 solid;
44
        }
45 46 47
        .grid-first-uiaction {
          padding:0 10px 0 10px;
        }
48
      }
tony001's avatar
tony001 committed
49 50 51 52 53 54 55 56
      .quick-toolbar{
          display: inline-block;
          button{
            background: #ebf3fb;
            color: #2575ca;
            border: 0;
        }
      }
57 58 59 60 61
      .el-tooltip{
        .ivu-form-item{
          margin-bottom: unset !important;
        }
      }
62
      .el-table__body .edit-cell{
63
        padding:0;
64 65
        .app-form-item{
          margin-top: 20px;
66
          margin-bottom: 20px;
67
        }
68
      }
Shine-zwj's avatar
Shine-zwj committed
69
      .el-table__header-wrapper{
Mosher's avatar
Mosher committed
70 71 72
        min-height: 45px;
        max-height: 100px;
        height: auto;
Shine-zwj's avatar
Shine-zwj committed
73 74
      }
      .el-table__footer-wrapper{
Mosher's avatar
Mosher committed
75 76 77
        min-height: 45px;
        max-height: 100px;
        height: auto;
Shine-zwj's avatar
Shine-zwj committed
78
      }
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
    }
    .grid-pagination {
        height: 50px;
        padding: 6px 0px;
        .page-button {
            button  {
                padding: 0;
                font-size: 16px;
                min-width: 32px;
                height: 32px;
                margin-right: 4px;
            }
        }
        .page-column {
            position: absolute;
            left: 0;
        }
tony001's avatar
tony001 committed
96 97 98 99 100 101 102 103 104 105 106 107 108 109
        .batch-toolbar{
            position: absolute;
            left: 105px;
          >.toolbar-container{
              button  {
                  font-size: 16px;
                  min-width: 32px;
                  height: 32px;
                  margin-right: 4px;
                  margin-top: 0;
                  margin-bottom: 0;
              }
          }
        }
110 111 112 113 114 115 116 117 118
    }
}
.ivu-modal-content{
    .footer{
        .ivu-row{
            text-align: right;
        }
    }
}
tony001's avatar
tony001 committed
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
.cell-indeterminate {
  >div>label {
    >span {
      .el-checkbox__inner {
        background-color: #409eff;
        border-color: #409eff;
      }
      .el-checkbox__inner:before {
        content: "";
        position: absolute;
        display: block;
        background-color: #fff;
        height: 2px;
        transform: scale(.5);
        left: 0;
        right: 0;
        top: 5px;
      }
    }
    >span.is-checked {
      .el-checkbox__inner {
        background-color: #409eff;
        border-color: #409eff;
      }
      .el-checkbox__inner:after {
        border: 0px;
      }
    }
  }
}
149

tony001's avatar
tony001 committed
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
.cell-select-all {
  >div>label {
    >span {
      .el-checkbox__inner {
        background-color: #409eff;
        border-color: #409eff;
      }
      .el-checkbox__inner:after {
        box-sizing: content-box;
        content: "";
        border: 1px solid #fff;
        border-left: 0;
        border-top: 0;
        height: 7px;
        left: 4px;
        position: absolute;
        top: 1px;
        transform: rotate(45deg) scaleY(1);
        width: 3px;
        transition: transform .15s ease-in .05s;
        transform-origin: center;
      }
    }
  }
}
tony001's avatar
tony001 committed
175

176 177 178
<#ibizinclude>
../@MACRO/CSS/DEFAULT.less.ftl
</#ibizinclude>