Blame view

src/pages/custom-service/components/policy-head-list.scss 4.14 KB
joe committed
1
@import '@/styles/_support';
simon committed
2

1  
joe committed
3
.list-container {
simon committed
4
  overflow-x: auto;
simon committed
5
  margin-bottom: 2rem;
joe committed
6
}
1  
joe committed
7

joe committed
8 9 10 11
.hide {
  max-height: 0;
  border-bottom: none;
}
1  
joe committed
12 13 14 15 16

.table-contaner {
  position: relative;
}

simon committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
.download {
  position: relative;

  &-tips {
    display: none;
    position: absolute;
    top: -3px;
    left: 20px;
    z-index: 11;
    padding: 2px;
    @include border-tans();
    min-width: 80px;
  }
}

1  
joe committed
32 33 34 35 36 37
.guide {
  position: absolute;
  transition: all 0.5s;
  cursor: pointer;
  width: 1rem;
  height: .666667rem;
joe committed
38
  background: url("~@/assets/images/insurance-query/triangle-down2.png") no-repeat center center;
1  
joe committed
39
  background-size: 100% 100%;
joe committed
40 41
  top: 16px;
  right: 26px;
1  
joe committed
42 43 44 45 46 47 48
}

.rotate180 {
  transform: rotate(180deg);
  transition: all 0.5s;
}

joe committed
49
.cell-group {
simon committed
50
  margin-bottom: 1rem;
simon committed
51

simon committed
52 53 54
  &:last-child {
    margin-bottom: 0;
  }
simon committed
55

simon committed
56 57 58
  div {
    color: #4c4948;
  }
simon committed
59

simon committed
60 61 62 63 64
  .w1 {
    // width: 10rem;
    width: 20rem;
    text-align: center;
  }
joe committed
65

simon committed
66 67 68 69 70
  .w2 {
    // width: 6.25rem;
    width: 12.5rem;
    text-align: center;
  }
simon committed
71

simon committed
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
  .table-header {
    // width: 64.166667rem;
    height: 3.25rem;
    border-top-left-radius: .666667rem;
    border-top-right-radius: .666667rem;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;

    .normal-header {
      // width: 58.833333rem;
      @extend .bb;
      padding: 0 2.75rem;
      width: 100%;
      margin: auto;
joe committed
87
      display: flex;
simon committed
88
      justify-content: space-between;
joe committed
89
      align-items: center;
simon committed
90

simon committed
91 92 93 94 95 96 97 98 99 100 101 102 103
      .title {
        font-weight: bold;
        color: #575453;
      }

      .guide {
        transition: all 0.5s;
        cursor: pointer;
        width: 1rem;
        height: .666667rem;
        background: url("~@/assets/images/insurance-query/triangle-down.png") no-repeat center center;
        background-size: 100% 100%;
      }
simon committed
104

simon committed
105 106 107
      .rotate180 {
        transform: rotate(180deg);
        transition: all 0.5s;
joe committed
108 109
      }
    }
simon committed
110
  }
simon committed
111

simon committed
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
  .table-content {
    // width: 64.166667rem;

    height: auto;
    max-height: 50rem;
    // display: inline-block;
    border-bottom-left-radius: .666667rem;
    border-bottom-right-radius: .666667rem;
    border-left: solid .083333rem #f2f2f2;
    border-right: solid .083333rem #f2f2f2;
    border-bottom: solid .083333rem #f2f2f2;
    padding: 0 2.75rem;
    // max-height: 41.666667rem;
    transition: max-height ease-out 0.3s !important;
    overflow: auto;

    .data-line {
      // padding: 0 2.75rem;
      height: 4.416667rem;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
simon committed
135

simon committed
136
      .td {
joe committed
137
        display: flex;
simon committed
138
        justify-content: center;
joe committed
139
        align-items: center;
simon committed
140

simon committed
141

joe committed
142
      }
simon committed
143

simon committed
144 145 146 147 148
      .cell1 {
        width: 98%;
        display: flex;
        justify-content: space-between;
        margin: auto;
joe committed
149
      }
simon committed
150

simon committed
151 152 153
      .separator-v {
        height: 2.5rem;
        width: .166667rem;
joe committed
154
        background-color: #f2f2f2;
simon committed
155
        margin: 0 .916667rem;
joe committed
156 157
      }
    }
simon committed
158

simon committed
159 160 161 162 163
    .label span {
      color: $cOrange;
      margin-left: .583333rem;
      cursor: pointer;
      text-decoration: underline;
joe committed
164
    }
simon committed
165

simon committed
166 167 168 169
    .separator-h {
      width: 100%;
      height: 1px;
      background-color: #f2f2f2;
joe committed
170
    }
simon committed
171
  }
joe committed
172

simon committed
173 174
  .orange {
    background-color: $cOrange !important;
joe committed
175

simon committed
176 177
    div {
      color: #ffffff;
joe committed
178
    }
simon committed
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
  }

  .hide {
    max-height: 0;
    border-bottom: none;
  }

  .sp {
    text-decoration: underline;
    padding: 0 .4rem;
  }

  .ac {
    color: $cOrange !important;
  }
joe committed
194 195 196 197
}

.show-more-btn {
  width: 100%;
joe committed
198
  color: $cOrange !important;
simon committed
199
  text-decoration: underline;
joe committed
200 201 202
  cursor: pointer;
  justify-content: center !important;
}
simon committed
203

joe committed
204 205 206 207 208
.pointer {
  cursor: pointer;
}

.activity {
joe committed
209
  background-color: $cOrange !important;
joe committed
210
  opacity: .5;
simon committed
211 212

  div {
joe committed
213 214 215 216
    color: #FFFFFF !important;
  }
}

simon committed
217
.empty {
joe committed
218 219 220 221 222 223
  height: 41.666667rem;
  display: flex;
  align-items: center;
  justify-content: center;

  .tips {
joe committed
224
    align-items: center;
joe committed
225 226 227 228 229 230 231 232
    display: flex;

    .icon {
      margin-right: 5px;
      display: inline-block;
    }

    .btn {
joe committed
233
      color: $cOrange;
joe committed
234 235
    }
  }
simon committed
236
}
simon committed
237 238 239 240 241 242 243 244 245 246 247 248 249

@media (max-width: 1200px) {
  .list-container {
    display: -webkit-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 92vw;

  }
}

.list-container::-webkit-scrollbar {
  display: none;
simon committed
250
}