Blame view

src/views/ywbl/ywsq/ywsq.scss 4.59 KB
任超 committed
1 2
.ywsq {
  display: flex;
任超 committed
3
  height: 100%;
任超 committed
4

任超 committed
5 6 7 8
  /deep/.el-collapse-item__header {
    padding-left: 20px;
    font-weight: 700;
    font-size: 16px;
任超 committed
9 10 11 12 13 14 15
    border: 1px solid $borderColor;
    border-top: none;
  }

  .active {
    background-color: $light-blue !important;
    color: $menuText !important;
任超 committed
16 17
  }

任超 committed
18 19 20 21 22
  .cactive {
    border: 1px solid $light-blue !important;
    color: $light-blue !important;
  }

任超 committed
23
  .ywsq-left {
任超 committed
24
    width: 270px;
任超 committed
25 26 27 28
    background-color: #fff;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
任超 committed
29 30 31 32
    display: flex;
    flex-direction: column;

    .item-list {
33
      max-height: calc(100vh - 360px);
任超 committed
34 35
      overflow-y: auto;
    }
任超 committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

    p {
      width: 100%;
      line-height: 36px;
      border: 1px solid $borderColor;
      font-weight: 700;
      padding: 5px 0 5px 10px;
      background-color: #fff;
      margin-bottom: 5px;
      box-sizing: border-box;
      cursor: pointer;
      border-radius: 3px;

      &:hover {
        border: 1px solid $light-blue;
        color: $light-blue;
      }
    }
任超 committed
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71

    .box-card {
      margin-bottom: 20px;
      cursor: pointer;
    }

    .item-title {
      font-size: 18px;
      font-weight: 700;
      padding: 20px;

      &:hover {
        background-color: $light-blue;
        color: $menuText;
      }
    }

    .item-list {
任超 committed
72
      padding: 0 20px 0 20px;
任超 committed
73

任超 committed
74

任超 committed
75 76

      li {
任超 committed
77
        cursor: pointer;
任超 committed
78 79 80 81 82 83 84
        line-height: 36px;
        background-color: rgb(235, 235, 235);
        margin-top: 10px;
        padding-left: 10px;
        border-radius: 2px;
        box-sizing: border-box;
        border: 1px solid rgb(235, 235, 235);
任超 committed
85
        transition: all 0.3s;
任超 committed
86 87

        &:hover {
任超 committed
88
          border: 1px solid $light-blue !important;
任超 committed
89
          color: $light-blue;
任超 committed
90 91 92 93 94 95
        }
      }
    }
  }

  .ywsq-right {
任超 committed
96
    width: calc(100% - 255px);
任超 committed
97
    margin-left: 5px;
任超 committed
98 99 100
    height: 100%;
    display: flex;
    flex-direction: column;
任超 committed
101 102

    .right-type {
任超 committed
103
      margin-bottom: 5px;
任超 committed
104
    }
任超 committed
105 106 107 108 109 110 111

    .right-title {
      font-size: 18px;
      font-weight: 700;
      padding: 20px;
      border-bottom: 1px solid $borderColor;

任超 committed
112 113 114 115 116 117
    }

    .type-content {
      @include flex;
      justify-content: space-between;
      padding: 0 20px;
任超 committed
118
      margin: 20px 0;
任超 committed
119
      min-height: 50px;
任超 committed
120 121 122

      li {
        width: 23.5%;
任超 committed
123
        height: 50px;
任超 committed
124 125 126 127 128 129
        line-height: 50px;
        border: 1px solid $borderColor;
        border-radius: 5px;
        box-sizing: border-box;
        padding-left: 10px;
        transition: all 0.3s;
任超 committed
130
        cursor: pointer;
任超 committed
131 132 133 134 135 136 137 138
        @include flex;
        justify-content: space-between;
        margin-left: 20px;
        cursor: pointer;

        p {
          @include flex-center;
        }
任超 committed
139 140

        &:hover {
任超 committed
141
          border: 1px solid $light-blue !important;
任超 committed
142 143
          color: $light-blue;
        }
任超 committed
144 145 146 147 148

        p:nth-child(1) {
          flex: 1;
          width: 100%;
          padding: 3px;
149

任超 committed
150 151 152 153 154 155 156 157 158 159 160 161
        }

        p:nth-child(2) {
          width: 50px;
          height: 50px;
          border-left: 1px solid $borderColor;
          cursor: pointer;
        }

        i {
          font-size: 24px;
        }
任超 committed
162 163 164 165
      }
    }

    .right-situation {
任超 committed
166 167 168
      flex: 1;
      height: 100%;

任超 committed
169
      ul {
任超 committed
170 171
        padding: 20px;
        @include flex;
任超 committed
172
        flex-wrap: wrap;
任超 committed
173
        margin-left: -10px;
任超 committed
174
        justify-content: space-between;
任超 committed
175

任超 committed
176 177
        &:after {
          content: "";
任超 committed
178
          width: 48%; //与块级的宽度相同
任超 committed
179 180 181 182
          display: block;
          height: 0;
        }

任超 committed
183
        li {
任超 committed
184 185
          width: 48.5%;
          height: 40px;
任超 committed
186 187 188
          border: 1px solid $borderColor;
          @include flex;
          justify-content: space-between;
任超 committed
189
          margin-left: 10px;
任超 committed
190
          cursor: pointer;
任超 committed
191
          margin-bottom: 15px;
任超 committed
192

193
          p:nth-child(2) {
任超 committed
194 195 196
            @include flex-center;
          }

任超 committed
197
          &:hover {
任超 committed
198
            border: 1px solid $light-blue !important;
任超 committed
199 200
            color: $light-blue;
          }
任超 committed
201 202 203 204 205

          p:nth-child(1) {
            flex: 1;
            width: 100%;
            padding: 3px;
206 207 208
            padding-left: 30px;
            display: flex;
            align-items: center;
任超 committed
209 210 211 212
          }

          p:nth-child(2) {
            width: 50px;
任超 committed
213
            height: 40px;
任超 committed
214 215 216 217 218 219 220 221
            border-left: 1px solid $borderColor;
            cursor: pointer;
          }

          i {
            font-size: 24px;
          }
        }
任超 committed
222 223
      }
    }
任超 committed
224

任超 committed
225 226 227 228 229 230
    .registration {
      li:hover {
        border: 1px solid $borderColor !important;
        color: $light-blue;
      }

任超 committed
231

任超 committed
232 233
    }

任超 committed
234 235 236 237 238
    .submit-button {
      padding: 15px 0;
      text-align: center;
      background-color: #fff;
    }
任超 committed
239
  }
任超 committed
240 241

  .right-btn {
1  
liangyifan committed
242 243 244
    text-align: center;
    margin-top: 20px;
  }
任超 committed
245
}