default.less 9.0 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 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
@import '../../node_modules/font-awesome/less/font-awesome.less';
@import'/assets/styles/index.css';
@import '../theme/blue.theme.less';
@import '../theme/dark-blue.theme.less';
@import '../theme/default.theme.less';
@import './app-code-list.less';
@import './var.css';

#app {
    height: 100vh;
    width: 100vw;
}

.ibiz-page-tag .tags-body .tags-container .ivu-tag.tag-is-active .ivu-tag-text {
  color: #1890ff;
}
.ibiz-page-tag .tags-body .tags-container .ivu-tag .ivu-icon-ios-close {
  display: none;
}
.ibiz-page-tag .tags-body .tags-container .ivu-tag.tag-is-active .ivu-icon-ios-close,
.ibiz-page-tag .tags-body .tags-container .ivu-tag:hover .ivu-icon-ios-close {
  display: inline-block;
}
.ivu-card-head p {
  font-size: 14px;
  color: #333;
  font-weight: 400;
}
.app-app-menu .app-menus .ivu-card .ivu-card-body{
  line-height: 22px;
  margin-left: 10px;
  font-weight: 400;
}
.app-app-menu .app-menus .ivu-card:hover{
  box-shadow:  none;
}

.ivu-card-body .grid>.el-table .el-table__header-wrapper thead>tr th {
  background: rgb(245,245,245);
  border-right: 1px solid rgb(250,250,250);
}
.el-table td, .el-table th.is-leaf {
  border-bottom: 1px solid #ebeef5;
}
.el-table th {
  padding: 5px 0;
}
.el-table th.gutter:last-of-type {
    display: block !important;
    width: 10px !important;
}
.grid .el-table__body-wrapper .el-table__row td{
    border-left: 1px solid rgb(245,245,245);
    border-top: 1px solid rgb(245,245,245);
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
  background-color: #badfffba !important;
}
.grid .el-table__body-wrapper .grid-selected-row{
    background-color: #badfffba !important;
}

.el-table th .sort-caret.ascending{
    border-bottom-color: #f0f2f5;
}
.el-table th.ascending .sort-caret.ascending {
    border-bottom-color: #909399;
}
.el-table th .sort-caret.descending{
    border-top-color: #f0f2f5;
}
.el-table th.descending .sort-caret.descending {
    border-top-color: #909399;
}

// tab分页模式首页布局
.index_tab_content{
    >.view-container {
        height: calc(100% - 65px);
        margin: 0px 12px;
    }
}
// 面包屑模式首页布局
.index_route_content{
    >.view-container {
        height: calc(100% - 36px);
        margin: 12px;
    }
}

.view-container {
    padding: 0 12px;
    background: white;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.12), 0 0 6px 0 rgba(0,0,0,.04);
    // flex-direction: column;
    > .view-card {
        height: 100%;
        // display: flex;
        // flex-direction: column;
        > .ivu-card-head{
          min-height: 42px;
          border-color: rgb(221, 221, 221);
          border-style: solid;
          border-width: 0px 0px 1px;
          margin: 0px 0px 6px;
          padding: 6px 0px 2px;
          > .header-container{
            min-height: 42px;
            display: flex;
            flex-wrap: nowrap;
            align-items: flex-start;
            justify-content: space-between;
            > .caption-info{
              line-height: 42px;
              font-size: 18px;
              color: #1890ff;
              flex-shrink: 0;
              max-width: 50%;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
            }
            > .toolbar-container{
              margin-left: auto;
              display: flex;
              flex-wrap: wrap;
              align-items: center;
            }
          }
        }
        > .ivu-card-body {
            // height: 50%;
            // flex-grow: 1;
            height: calc(100% - 74px);
            padding: 0px;
            display: flex;
            flex-direction: column;
            > .content-container {
                height: 100%;
                display: flex;
                margin: 0;
                flex-direction: column;
                overflow: auto;
            }
        }
    }
    > .view-card.view-no-caption.view-no-toolbar {
        > .ivu-card-body {
            height: 100%;
        }
    }
}
.viewcontainer2 {
    height: 100%;
    width: 100%;
    padding: 0px 12px !important;
    margin: 0px !important;
    -webkit-box-shadow: none !important;
}
.viewcontainer3 {
    height: 100%;
    width: 100%;
    padding: 0px 12px !important;
    margin: 0px !important;
    -webkit-box-shadow: none !important;
}


/***    BRGIN:加载遮罩    ***/
.el-loading-mask {
    background-color: initial;
    .el-loading-spinner {
        .path {
            stroke-width: 3px;
        }
    }
}
/***    END:加载遮罩    ***/

.grid-row-select {
    background-color: #ecf5ff !important;
    td {
        background-color: #ecf5ff !important;
    }
}

/***    BRGIN:表单错误信息2    ***/
.app-form-item-error-info {
    display: flex;
    .icon {
        width: 30px;
        flex-shrink: 0;
    }
    .contant{
        flex-grow: 1;
    }
}
/***    END:表单错误信息2    ***/

/***    BRGIN:多数据视图属性布局    ***/
.property-layout-left, .property-layout-right {
    display: flex;
    height: 100%;
    > div {
        height: 100%;
    }
    > div:nth-child(1) {
        flex-grow: 1;
        padding-left: 0;
        display: flex;
        flex-direction: column;
    }
    > div:nth-child(2) {
        flex-shrink: 0;
    }
}
.property-layout-top, .property-layout-bottom {
    display: flex;
    height: 100%;
    > div:nth-child(1) {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    > div:nth-child(2) {
        flex-shrink: 0;
    }
}
.property-layout-left {
    flex-direction: row-reverse;
    > div:nth-child(1) {
        border-left: 1px solid #ddd;
        padding-left: 16px;
    }
}
.property-layout-right {
    flex-direction: row;
    > div:nth-child(1) {
        border-right: 1px solid #ddd;
        padding-right: 16px;
    }
}
.property-layout-top {
    flex-direction: column-reverse;
    > div:nth-child(1) {
        border-top: 1px solid #ddd;
        padding-top: 16px;
    }
}
.property-layout-bottom {
    flex-direction: column;
    > div:nth-child(1) {
        border-bottom: 1px solid #ddd;
        padding-bottom: 16px;
    }
}

.view-container.degridview, .view-container.degridview9, .view-container.dewfgridview, .view-container.delistview, .view-container.delistview9, .view-container.dedataview, .view-container.dedataview9,.view-container.dechartview,.view-container.dechartview9,.view-container.decalendarview,.view-container.decalendarview9{
  >.view-card.view-no-caption{
    >.ivu-card-body{
      height: 100%;
    }
  }
  >.view-card{
    >.ivu-card-body{
        >.content-container{
            .quick-group-container,.quick-search-input{
                float: left;
                margin-top: 6px;
                margin-bottom: 6px;
            }
            .quick-search-container{
                float: left;
                margin-top: -2px;
                margin-bottom: 6px;
            }
        }
    }
  }
}

.start-workflow-select-wraper {
    z-index: 3000 !important;
}
// tooltip最大宽度1166px
.el-tooltip__popper.is-dark{
  max-width: 1166px;
}

/***    END:多数据视图属性布局    ***/

// 自定义视图布局
.app-view-layout{
    width: 100%;
    height: 100%;
296
    padding: 0 12px;
297
    background-color: #ffffff;
298 299 300 301 302 303
    .container-item__pos{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        flex-grow: 1;
    }
304 305 306 307 308 309
    .app-ctrl-pos .app-app-menu {
        height: 100%
    }
    .app-scroll-container .ibiz-page-tag {
        margin: 0;
    }
310 311 312
    .ibiz-page-tag .tag-tabs .el-tabs .el-tabs__nav {
        padding: 0;
    }
313 314 315 316
    .app-ctrl-pos.toolbar {
        .ivu-btn {
            margin: 6px 0 4px 4px;
        }
317 318 319 320 321
    }
    .app-ctrl-pos>.pickupviewpanel {
        height: 100%;
        padding-top: 8px;
    }
322
}
323
.app-view-layout__appindexview,.app-view-layout__apploginview  {
324 325
    padding: 0;
}
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

// 看板视图,卡片模式
// .view-container.appportalview,.view-container.deportalview,.view-container.deportalview9{
//   >.view-card>.ivu-card-body>.content-container{
//     background: #efefef;
//   }
//   .dashboard{
//     padding: 8px;
//   }
//   .portlet-container{
//     background: #efefef;
//   }
//   .portlet-container::after{
//     content: "";
//     clear: both;
//   }
//   .portlet{
//     margin: 8px;
//     height: calc(100% - 16px);
//     width: calc(100% - 16px);
//     background: #fff;
//     border-radius: 4px;
//     box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 2px 6px 0 rgba(0,0,0,.045);
//     border: 1px solid transparent;
//     >.portlet-with-title{
//       margin-bottom: 12px;
//       height: calc(100% - 64px);
//     }
//     >.portlet-without-title{
//       margin-top: 12px;
//       margin-bottom: 12px;
//       height: calc(100% - 24px);
//     }
//   }
// }

// // 看板视图,无缝模式
// .view-container.appportalview.seamless-mode,.view-container.deportalview.seamless-mode,.view-container.deportalview9.seamless-mode{
//   >.view-card>.ivu-card-body>.content-container{
//     background: transparent;
//   }
//   .portlet-container{
//     background: transparent;
//   }
//   .portlet{
//     background: transparent;
//   }
// }

375

376
@import './user.less';