CONTROL.less.ftl 4.1 KB
Newer Older
1
// 基于 @CONTROL/表格/CONTROL.less.ftl 生成
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 28
.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;
    }
29 30 31 32
    .el-table-column--selection .cell {
        padding-left: 0px;
        padding-right: 0px;
    }
33 34 35 36
    .app-column-link, .app-format-data{
      display: inline;
    }
    .el-table {
37 38 39
      height: 100%;
      display:flex;
      flex-direction: column;
40
      justify-content: flex-start;
41
      .el-table__row{
42
        .grid-uiaction-divider {
43
          padding:0 10px 0 10px;
44
          border-left: 1px #b3b3b3 solid;
45
        }
46 47 48
        .grid-first-uiaction {
          padding:0 10px 0 10px;
        }
49
      }
tony001's avatar
tony001 committed
50 51 52 53 54 55 56 57
      .quick-toolbar{
          display: inline-block;
          button{
            background: #ebf3fb;
            color: #2575ca;
            border: 0;
        }
      }
58 59 60 61 62
      .el-tooltip{
        .ivu-form-item{
          margin-bottom: unset !important;
        }
      }
63
      .el-table__body .edit-cell{
64
        padding:0;
65 66
        .app-form-item{
          margin-top: 20px;
67
          margin-bottom: 20px;
68
        }
69
      }
Shine-zwj's avatar
Shine-zwj committed
70
      .el-table__header-wrapper{
Mosher's avatar
Mosher committed
71 72 73
        min-height: 45px;
        max-height: 100px;
        height: auto;
Shine-zwj's avatar
Shine-zwj committed
74 75
      }
      .el-table__footer-wrapper{
Mosher's avatar
Mosher committed
76 77 78
        min-height: 45px;
        max-height: 100px;
        height: auto;
Shine-zwj's avatar
Shine-zwj committed
79
      }
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
    }
    .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
97 98 99 100 101 102 103 104 105 106 107 108 109 110
        .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;
              }
          }
        }
111 112 113 114 115 116 117 118 119
    }
}
.ivu-modal-content{
    .footer{
        .ivu-row{
            text-align: right;
        }
    }
}
tony001's avatar
tony001 committed
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
.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;
      }
    }
  }
}
150

tony001's avatar
tony001 committed
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
.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
176

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