WorkflowHomePage.less 8.16 KB
Newer Older
邓超's avatar
邓超 committed
1
.pageContent {
2

邓超's avatar
邓超 committed
3 4 5 6 7 8 9 10 11 12 13
  background: url("../../../../assets/images/workFlow/index/bg.png") no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;

  .headerBox {
    height: 50px;
    display: flex;
    background-color: #e9f0ff;
    justify-content: space-between;
14
    margin: -12px 0 0 -12px;
邓超's avatar
邓超 committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

    .left {
      display: flex;
      flex: 1;

      .allFlows {
        width: 176px;
        height: 50px;
        background: url("../../../../assets/images/workFlow/index/all.png") no-repeat;
        background-size: 100% 100%;
        cursor: pointer;
      }

      .allFlowsChoose {
        background: url("../../../../assets/images/workFlow/index/allChoose.png") no-repeat;
        background-size: 100% 100%;
      }

      .flows {
        flex: 1;
        height: 50px;

37 38 39 40 41 42 43 44 45 46 47 48 49 50
        .tabBox {
          display: flex;

          .tab {
            height: 50px;

            line-height: 50px;
            text-align: center;
            padding: 0 20px;
            cursor: pointer;

          }

          .activeTab {
51 52 53
            // color: #3D78FF;
            color: white;
            background: #3D78FF;
54 55 56 57
          }
        }


邓超's avatar
邓超 committed
58 59 60 61 62 63 64

        .ant-tabs-tab {
          height: 50px;
          background-color: #e9f0ff;
          border-bottom: none;
        }

65 66 67 68
        .ant-tabs-tab:hover {
          color: rgba(0, 0, 0, 0.85);
        }

69 70 71 72
        .ant-tabs-tab .anticon {
          margin-right: 0;
        }

邓超's avatar
邓超 committed
73
        .ant-tabs-tab-active {
74 75 76 77
          // border-top: 2px solid #3D78FF;
          // border-bottom: none;
          // background: linear-gradient(0deg, #BED2F9 0%, #F2F7FF 100%);
          // color: #3D78FF;
邓超's avatar
邓超 committed
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
        }
      }
    }

    .right {
      height: 50px;
      display: flex;
      align-items: center;
      color: #3D78FF;
      cursor: pointer;
      margin-right: 12px;

      .icon {
        width: 18px;
        height: 15px;
        background: url("../../../../assets/images/workFlow/index/add.png") no-repeat;
        background-size: 100% 100%;
      }
    }
  }

  .controlBox {
    height: 65px;
    display: flex;
    align-items: center;
    font-size: 14px;
104
    position: relative;
邓超's avatar
邓超 committed
105 106 107

    .left {
      margin-right: 490px;
邓超's avatar
邓超 committed
108
      margin-left: 12px;
邓超's avatar
邓超 committed
109 110

      span {
111 112
        display: inline-block;
        width: 60px;
邓超's avatar
邓超 committed
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
        font-size: 18px;
        font-weight: 700;
        color: #3D78FF;
      }
    }

    .right {
      display: flex;

      .btn {
        display: flex;
        margin-right: 5px;
        align-items: center;
        background: #3D78FF;
        box-shadow: 0px 2px 2px 0px rgba(0, 34, 97, 0.1);
        border-radius: 15px;
        color: #fff;
        padding: 3px 16px;
        cursor: pointer;
      }

      .ant-input-affix-wrapper {
邓超's avatar
邓超 committed
135 136 137
        border: 1px solid #fff;
        border-right: none;
        height: 34px;
邓超's avatar
邓超 committed
138 139 140 141 142 143 144
        background-color: #C2D6FA;
        border-radius: 16px 0 0 16px;

        .ant-input {
          background-color: #C2D6FA;
          color: #7E8BA3;
          border: none;
邓超's avatar
邓超 committed
145
          outline: none;
邓超's avatar
邓超 committed
146 147 148 149 150 151 152 153
        }

        .ant-input::placeholder {

          color: #7E8BA3;
        }
      }

邓超's avatar
邓超 committed
154 155 156 157 158 159 160 161
      .ant-input-affix-wrapper-focused {
        height: 34px;
        outline: none;
        border: 1px solid #fff;
        border-right: none;
        box-shadow: none;
      }

邓超's avatar
邓超 committed
162 163
      .ant-input-group-addon {
        border-radius: 0 16px 16px 0;
邓超's avatar
邓超 committed
164 165
        border: 1px solid #fff;
        border-left: none;
邓超's avatar
邓超 committed
166 167 168 169 170 171 172 173

        .ant-input-search-button {
          border-radius: 0 16px 16px 0;
          background-color: #C2D6FA;
          border: none;
        }
      }
    }
174 175 176 177 178 179
    .showPDF {
      position: absolute;
      right: 100px;
      top: 50%;
      transform: translateY(-50%);
    }
邓超's avatar
邓超 committed
180 181 182 183 184
  }

  .flowTable {
    flex: 1;
    overflow-y: scroll;
185
    position: relative;
邓超's avatar
邓超 committed
186 187 188 189 190 191

    .flowGroup {
      .header {
        display: flex;
        align-items: center;
        height: 45px;
邓超's avatar
邓超 committed
192

邓超's avatar
邓超 committed
193 194 195 196 197 198

        .line {
          width: 3px;
          height: 12px;
          background-color: #3D78FF;
          margin-right: 5px;
邓超's avatar
邓超 committed
199
          margin-left: 5px;
邓超's avatar
邓超 committed
200 201 202 203 204 205

        }

        .name {
          font-size: 14px;
          color: #2A4260;
206 207
          margin: 0 10px;
          // cursor: pointer;
邓超's avatar
邓超 committed
208 209 210 211 212 213 214 215 216 217 218 219 220
        }
      }

      .groupBox {
        display: flex;
        flex-wrap: wrap;

        .flowBox {
          width: 350px;
          height: 222px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
221
          // cursor: pointer;
邓超's avatar
邓超 committed
222 223
          transition: transform 0.5s;
          margin-bottom: 5px;
224
          position: relative;
邓超's avatar
邓超 committed
225 226 227 228 229 230 231 232 233 234 235 236 237 238

          .header {
            display: flex;
            width: 100%;

            .title {
              width: 200px;
              margin-left: 15px;
              margin-top: 26px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              padding-left: 5px;
              box-sizing: border-box;
239
              font-size: 16px;
邓超's avatar
邓超 committed
240 241
            }

242

邓超's avatar
邓超 committed
243 244

            .editBtn {
245
              font-size: 12px;
邓超's avatar
邓超 committed
246
              display: flex;
247
              margin-left: 46px;
邓超's avatar
邓超 committed
248 249 250 251 252 253
              width: 67px;
              margin-top: 11px;
              justify-content: center;
              align-items: center;
              color: #fff;
              cursor: pointer;
254 255 256 257

              >span {
                margin-right: 2px;
              }
邓超's avatar
邓超 committed
258 259 260
            }
          }

261 262 263 264 265 266 267 268 269 270
          .mask {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            left: 50%;
            transform: translateX(-50%);
            width: 333px;
            height: 141px;
            border-radius: 0 20px 20px 20px;
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290

            z-index: 1;


          }

          .maskHover {
            background: linear-gradient(0deg, #A3C7F9 0%, #FFFFFF 99%);
            opacity: 0.65;
          }

          .buttonBox {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            left: 50%;
            transform: translateX(-50%);
            width: 333px;
            height: 141px;
291
            font-size: 16px;
292
            z-index: 2;
293 294 295 296 297 298 299

            .delete {
              display: none;
            }

            .lookDetail {
              display: none;
邓超's avatar
邓超 committed
300
              margin-right: 17px;
301 302 303
            }
          }

304
          .buttonHover {
305 306 307 308 309 310 311 312 313 314

            .lookDetail {
              display: block;

            }

            .delete {
              display: block;
              cursor: pointer;
            }
315

316 317
          }

邓超's avatar
邓超 committed
318 319 320 321 322 323
          .imgBox {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            margin-top: 1px;
324 325
            height: 130px;
            overflow: hidden;
326

邓超's avatar
邓超 committed
327
            img {
328 329 330 331 332
              width: 270px;
            }
            .noDataImg {
              width: 120px;
              height: 112px;
邓超's avatar
邓超 committed
333 334 335 336 337 338 339
            }
          }

          .bottom {
            display: flex;
            width: 100%;
            justify-content: space-between;
340
            padding: 0 20px;
邓超's avatar
邓超 committed
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
            margin-bottom: 8px;
            box-sizing: border-box;
          }

          &[type='1'] {
            background: url("../../../../assets/images/workFlow/index/card1.png") no-repeat;
            background-size: 100% 100%;
          }

          &[type='2'] {
            background: url("../../../../assets/images/workFlow/index/card2.png") no-repeat;
            background-size: 100% 100%;
          }

          &[type='3'] {
            background: url("../../../../assets/images/workFlow/index/card3.png") no-repeat;
            background-size: 100% 100%;
          }

          &[type='4'] {
            background: url("../../../../assets/images/workFlow/index/card4.png") no-repeat;
            background-size: 100% 100%;
          }

          &[type='0'] {
            background: url("../../../../assets/images/workFlow/index/card5.png") no-repeat;
            background-size: 100% 100%;
          }
        }

371 372 373
        // .flowBox:hover {
        //   transform: translateY(-10px);
        // }
邓超's avatar
邓超 committed
374 375 376
      }
    }
  }
377 378 379 380 381 382 383 384 385 386 387 388
}

.pageOms {
  margin-top: -12px;
  margin-left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
}

.pageEmbed {
  width: 100%;
  height: 100%;
邓超's avatar
邓超 committed
389
}