WorkflowHomePage.less 7.67 KB
Newer Older
邓超's avatar
邓超 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
.pageContent {
  margin-top: -12px;
  margin-left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  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;
17
    margin: -12px 0 0 -12px;
邓超's avatar
邓超 committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

    .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;

40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
        .tabBox {
          display: flex;

          .tab {
            height: 50px;

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

          }

          .activeTab {
            color: #3D78FF;
          }
        }


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

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

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

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

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

    .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;

    .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 174 175 176 177 178

        .ant-input-search-button {
          border-radius: 0 16px 16px 0;
          background-color: #C2D6FA;
          border: none;
        }
      }
    }
  }

  .flowTable {
    flex: 1;
    overflow-y: scroll;
179
    position: relative;
邓超's avatar
邓超 committed
180 181 182 183 184 185

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

邓超's avatar
邓超 committed
187 188 189 190 191 192

        .line {
          width: 3px;
          height: 12px;
          background-color: #3D78FF;
          margin-right: 5px;
邓超's avatar
邓超 committed
193
          margin-left: 5px;
邓超's avatar
邓超 committed
194 195 196 197 198 199

        }

        .name {
          font-size: 14px;
          color: #2A4260;
邓超's avatar
邓超 committed
200
          cursor: pointer;
邓超's avatar
邓超 committed
201 202 203 204 205 206 207 208 209 210 211 212 213
        }
      }

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

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

          .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;

            }

235

邓超's avatar
邓超 committed
236 237 238 239

            .editBtn {
              font-size: 14px;
              display: flex;
240
              margin-left: 46px;
邓超's avatar
邓超 committed
241 242 243 244 245 246 247 248 249
              width: 67px;
              margin-top: 11px;
              justify-content: center;
              align-items: center;
              color: #fff;
              cursor: pointer;
            }
          }

250 251 252 253 254 255 256 257 258 259
          .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;
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279

            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;
280
            font-size: 16px;
281
            z-index: 2;
282 283 284 285 286 287 288

            .delete {
              display: none;
            }

            .lookDetail {
              display: none;
邓超's avatar
邓超 committed
289
              margin-right: 17px;
290 291 292
            }
          }

293
          .buttonHover {
294 295 296 297 298 299 300 301 302 303

            .lookDetail {
              display: block;

            }

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

305 306
          }

邓超's avatar
邓超 committed
307 308 309 310 311 312
          .imgBox {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            margin-top: 1px;
313 314
            height: 130px;
            overflow: hidden;
315

邓超's avatar
邓超 committed
316
            img {
317
              width: 320px;
邓超's avatar
邓超 committed
318 319 320 321 322 323 324
            }
          }

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

356 357 358
        // .flowBox:hover {
        //   transform: translateY(-10px);
        // }
邓超's avatar
邓超 committed
359 360 361 362
      }
    }
  }
}