Blame view

babylon-vue-4.0.0/src/assets/sass/layout/_invoice.scss 4.79 KB
0f94839d   함상기   babylon client fo...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
  .invoice-wrapper{
      background-color: #f8f8fc;
  
      .invoice-content {
          padding: 25px;
  
          .invoice-header {
              display: flex;
              justify-content: space-between;
              align-items: flex-start;
              margin-bottom: 40px;
  
              .invoice-no {
                  > h1 {
                      font-size: 21px;
                      font-weight: 600;
                      margin: 0;
                      color: #525257;
                      line-height: 1.29;
                  }
  
                  > h3 {
                      font-size: 16px;
                      font-weight: bold;
                      margin: 0;
                      line-height: 1.69;
                      color: #7d7d81;
                  }
              }
  
              .invoice-logo {
                  text-align: right;
  
                  > img {
                      height: 50px;
                  }
  
                  > p {
                      color: #212121;
                      line-height: 1.43;
                      letter-spacing: 0.25px;
                      margin: 0;
                  }
              }
          }
  
          .invoice-table-1{
              width: 100%;
              border-radius: 4px;
              border: solid 1px #ebebef;
              background-color: #ffffff;
              margin-bottom: 40px;
  
              .invoice-table-header{
                  background-color: #ebebef;
                  padding: 7px 24px 7px 13px;
  
                  > span {
                      color: #525257;
                      font-size: 11px;
                      font-weight: 600;
                  }
              }
              .invoice-table-content {
                  background-color: #ffffff;
                  padding: 7px 12px;
  
                  .invoice-table-row{
                      > span {
                          color: #252529;
                          font-size: 13px;
                          font-weight: 600;
                      }
                  }
              }
  
              &.items {
  
                  .invoice-table-content {
                      .invoice-table-row {
                          padding: 11px 15px;
                          border-radius: 4px;
                          border: solid 1px #ebebef;
                          margin-bottom: 6px;
                      }
                  }
              }
          }
  
          .invoice-footer {
  
              .invoice-table-2 {
  
                  .invoice-table-col {
                      display: flex;
                      flex-direction: column;
  
                      span,
                      input {
                          margin-bottom: 12px;
                          padding: 12px 11px;
                          border: solid 1px #ebebef;
                          color: #252529;
                          font-size: 13px;
                          font-weight: 600;
                      }
  
                      &.header-col {
                          text-align: right;
  
                          > span {
                              background-color: #ebebef;
                              @include border-radius-left(4px);
                          }
                      }
  
                      &.content-col {
  
                          > span {
                              background-color: #ffffff;
                              @include border-radius-right(4px);
                          }
                      }
                  }
  
                  &.summary {
                      .invoice-table-col {
                          &.header-col {
                              margin-left: 40px;
                          }
  
                          &.content-col {
                          }
  
                          hr{
                              width: 100%;
                              opacity: 0.1;
                              background-color: #292b2c;
                              border: none;
                              height: 1px;
                              margin: 26px 0;
                          }
                      }
                  }
              }
          }
      }
  }
  
  @media(max-width: 768px) {
      .invoice-wrapper {
          .invoice-content {
              .invoice-footer {
                  .invoice-table-2 {
                      &.summary {
                          margin-top: 40px;
  
                          .invoice-table-col {
                              &.header-col {
                                  margin-left: 0;
                              }
                          }
                      }
                  }
              }
          }
      }
  }
  
  @media print{
      body * {
          visibility: hidden;
      }
      #invoice-content * {
          visibility: visible;
      }
      #invoice-content {
          position: absolute;
          left: 0;
          top: 0;
      }
      #invoice-content{
          .card{
              box-shadow: none;
  
              &.invoice-table{
                  margin-bottom: 10px;
                  background-color: transparent;
              }
          }
      }
  }