Blame view

src/pages/custom-service/components/common-form.scss 2.08 KB
simon committed
1 2
@import '@/styles/_support';

simon committed
3
.common-form-container {}
simon committed
4 5 6 7 8 9 10 11 12

.table {
  $girdHei: 4.333333rem;
  text-align: center;

  &-header {
    @include border-top-radius(.666667rem);
    display: flex;
    align-items: center;
simon committed
13
    height: 3.25rem;
simon committed
14 15 16 17 18 19 20 21
    color: #ffffff;
    font-weight: bold;
    letter-spacing: .1rem;

    &-item {}
  }

  &-content {
simon committed
22
    color: $cFontGray;
simon committed
23 24 25 26
    background-color: #f2f2f2;
    text-align: center;
    border: solid 1px #f2f2f2;
    @include border-bottom-radius(.666667rem);
simon committed
27
    $gridHei: 5.25rem;
simon committed
28 29 30 31 32 33 34 35 36 37 38

    &-item {
      position: relative;
      // @extend .fcc;
      display: flex;
      align-items: center;
      width: 100%;
      height: auto;

      .hl {
        position: absolute;
simon committed
39
        width: 6.45rem;
simon committed
40 41 42
        height: 1px;
        background-color: #dcdddd;
        bottom: 0;
simon committed
43
        left: 1rem;
simon committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
      }

      .grid {
        position: relative;
        height: $gridHei;
        @extend .fcc;
        // border-bottom: solid 1px #f2f2f2;
        background-color: #ffffff;

        .v-line {
          position: absolute;
          width: 1px;
          height: 2.25rem;
          background-color: #dcdddd;
          right: 0;
          top: 0;
          bottom: 0;
          margin: auto 0;
        }

simon committed
64
        .icon {
simon committed
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
          margin-right: .916667rem;
        }
      }

      .ww {
        position: relative;

        .h-line {
          position: absolute;
          width: 100%;
          height: 1px;
          background-color: #dcdddd;
          bottom: 0;
          left: 0;
        }
      }

      .w1 {}

      .w4 {
        .h-line {
simon committed
86
          width: 12rem;
simon committed
87
        }
simon committed
88

simon committed
89 90 91 92 93 94 95 96 97 98
        color: $cOrange;
      }
    }
  }

  .t1 {
    background-color: #f2f2f2;
  }

  .w1 {
simon committed
99
    width: 8.75rem; // 105
simon committed
100 101 102
  }

  .w2 {
simon committed
103
    width: 29rem; // 348
simon committed
104 105 106
  }

  .w3 {
simon committed
107
    width: 29.75rem; // 357
simon committed
108 109 110
  }

  .w4 {
simon committed
111 112
    width: 12rem;
    width: 13.75rem;
simon committed
113 114 115 116 117 118
  }
}

.orange {
  background-color: $cOrange;
}
simon committed
119 120 121 122

@media (max-width: 1200px) {
  .container {
    display: -webkit-box;
simon committed
123
    overflow-x: auto;
simon committed
124 125 126 127 128 129 130 131
    -webkit-overflow-scrolling: touch;
    width: 92vw;
  }
}

.container::-webkit-scrollbar {
  display: none;
}