Rushabh Mehta | bedc1fe | 2012-01-17 18:17:06 +0530 | [diff] [blame] | 1 | .erpnext-footer { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 2 | margin: 11px auto; |
3 | text-align: center; | ||||
Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 4 | } |
Anand Doshi | 575545d | 2012-06-13 19:36:55 +0530 | [diff] [blame] | 5 | .show-all-reports { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 6 | margin-top: 5px; |
7 | font-size: 11px; | ||||
Anand Doshi | 1fe3bc5 | 2013-06-06 18:55:20 +0530 | [diff] [blame] | 8 | } |
Anand Doshi | 1fe3bc5 | 2013-06-06 18:55:20 +0530 | [diff] [blame] | 9 | /* toolbar */ |
10 | .toolbar-splash { | ||||
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 11 | width: 32px; |
12 | height: 32px; | ||||
13 | margin: -10px auto; | ||||
Akhilesh Darjee | f83576b | 2013-09-18 18:35:12 +0530 | [diff] [blame] | 14 | } |
Akhilesh Darjee | f83576b | 2013-09-18 18:35:12 +0530 | [diff] [blame] | 15 | /* pos */ |
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 16 | .pos-item-wrapper { |
17 | padding: 5px; | ||||
18 | } | ||||
Akhilesh Darjee | f83576b | 2013-09-18 18:35:12 +0530 | [diff] [blame] | 19 | .pos-item { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 20 | overflow: hidden; |
21 | text-overflow: ellipsis; | ||||
22 | cursor: pointer; | ||||
23 | padding: 5px; | ||||
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 24 | padding-bottom: 15px; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 25 | border: 1px solid #d1d8dd; |
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 26 | margin-bottom: 5px; |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 27 | } |
Anand Doshi | 50d7e8c | 2015-01-06 17:14:13 +0530 | [diff] [blame] | 28 | .pos-item-text { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 29 | padding: 0px 5px; |
Anand Doshi | 50d7e8c | 2015-01-06 17:14:13 +0530 | [diff] [blame] | 30 | } |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 31 | .pos-item .item-code { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 32 | margin-bottom: 0px; |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 33 | } |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 34 | .pos-item .no-image { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 35 | background-color: #fafbfc; |
36 | border: 1px dashed #d1d8dd; | ||||
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 37 | } |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 38 | .pos-item-image { |
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 39 | width: 100%; |
40 | height: 0px; | ||||
41 | padding: 50% 0; | ||||
42 | text-align: center; | ||||
43 | line-height: 0; | ||||
Rushabh Mehta | 5d0e8de | 2016-04-11 17:34:25 +0530 | [diff] [blame] | 44 | color: #d1d8dd; |
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 45 | font-size: 30px; |
Faris Ansari | d217387 | 2016-08-09 14:15:31 +0530 | [diff] [blame] | 46 | background-size: contain; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 47 | border: 1px solid transparent; |
Faris Ansari | d217387 | 2016-08-09 14:15:31 +0530 | [diff] [blame] | 48 | background-position: center; |
49 | background-repeat: no-repeat; | ||||
Akhilesh Darjee | f83576b | 2013-09-18 18:35:12 +0530 | [diff] [blame] | 50 | } |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 51 | .pos-item-toolbar { |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 52 | height: 51px; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 53 | padding: 10px 0px; |
54 | border-bottom: 1px solid #d1d8dd; | ||||
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 55 | } |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 56 | .pos-toolbar, |
57 | .pos-bill-toolbar { | ||||
58 | padding: 10px 0px; | ||||
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 59 | height: 51px; |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 60 | } |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 61 | .pos-item-toolbar .form-group { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 62 | margin-bottom: 0px; |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 63 | } |
Rohit Waghchaure | 56a7974 | 2017-02-28 16:51:17 +0530 | [diff] [blame^] | 64 | <<<<<<< d8a807e5853af7f9d633b32c2aff0c80ebca7d3d |
65 | ======= | ||||
66 | .pos-bill-wrapper { | ||||
67 | border: 1px solid #d1d8dd; | ||||
68 | border-top: none; | ||||
69 | margin-right: -1px; | ||||
70 | } | ||||
71 | .pos-bill { | ||||
72 | border-top: 1px solid #d1d8dd; | ||||
73 | margin-left: -15px; | ||||
74 | margin-right: -15px; | ||||
75 | } | ||||
76 | .item-cart { | ||||
77 | overflow-y: scroll; | ||||
78 | height: calc(100vh - 72vh); | ||||
79 | } | ||||
80 | >>>>>>> added event on numeric keypad | ||||
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 81 | .edit-pos-item { |
Rohit Waghchaure | f0c7ba4 | 2017-02-28 16:51:17 +0530 | [diff] [blame] | 82 | height: 50px; |
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 83 | font-size: 14px; |
84 | border-top: 1px solid #d1d8dd; | ||||
Rohit Waghchaure | f0c7ba4 | 2017-02-28 16:51:17 +0530 | [diff] [blame] | 85 | padding-top: 12px; |
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 86 | } |
87 | .pos-bill-item:hover { | ||||
88 | background-color: #f5f7fa; | ||||
89 | cursor: pointer; | ||||
90 | } | ||||
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 91 | .pos-item-qty { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 92 | display: inline-block; |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 93 | } |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 94 | .pos-qty-row > div { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 95 | padding: 5px 0px; |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 96 | } |
Rushabh Mehta | a9ba5ef | 2014-12-19 16:20:32 +0530 | [diff] [blame] | 97 | .pos-qty-btn { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 98 | margin-top: 3px; |
99 | cursor: pointer; | ||||
100 | font-size: 120%; | ||||
Rushabh Mehta | ab8bde0 | 2014-08-12 15:15:39 +0530 | [diff] [blame] | 101 | } |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 102 | .pos .search-area .form-group { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 103 | max-width: 100% !important; |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 104 | } |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 105 | .pos .tax-table { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 106 | margin-bottom: 10px; |
Anand Doshi | 9b955fe | 2015-01-05 16:19:12 +0530 | [diff] [blame] | 107 | } |
Anand Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 108 | .erpnext-icon { |
109 | width: 24px; | ||||
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 110 | ackmargin-right: 0px; |
Anand Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 111 | margin-top: -3px; |
112 | } | ||||
Nabin Hait | 3769d87 | 2015-12-18 13:12:02 +0530 | [diff] [blame] | 113 | .pos .discount-amount-area .discount-field-col { |
114 | padding-left: 0px; | ||||
115 | } | ||||
116 | .pos .discount-amount-area .input-group { | ||||
117 | margin-top: 2px; | ||||
118 | } | ||||
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 119 | .dashboard-list-item { |
120 | background-color: inherit; | ||||
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 121 | padding: 5px 0px; |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 122 | border-bottom: 1px solid #d1d8dd; |
123 | } | ||||
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 124 | #page-stock-balance .dashboard-list-item { |
125 | padding: 5px 15px; | ||||
126 | } | ||||
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 127 | .dashboard-list-item:last-child { |
128 | border-bottom: none; | ||||
129 | } | ||||
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 130 | .payment-toolbar .row { |
131 | width: 323px; | ||||
132 | margin: 0 auto; | ||||
Anand Doshi | ac7c81b | 2016-05-26 16:41:04 +0530 | [diff] [blame] | 133 | } |
134 | .payment-mode { | ||||
135 | cursor: pointer; | ||||
136 | font-family: sans-serif; | ||||
137 | font-size: 15px; | ||||
138 | } | ||||
139 | .pos-payment-row .col-xs-6 { | ||||
Rohit Waghchaure | e4e69ec | 2016-08-17 16:20:13 +0530 | [diff] [blame] | 140 | padding: 15px; |
Anand Doshi | ac7c81b | 2016-05-26 16:41:04 +0530 | [diff] [blame] | 141 | } |
142 | .pos-payment-row { | ||||
143 | border-bottom: 1px solid #d1d8dd; | ||||
144 | margin: 2px 0px 5px 0px; | ||||
Rushabh Mehta | a55fb64 | 2016-06-14 15:54:17 +0530 | [diff] [blame] | 145 | height: 60px; |
Rohit Waghchaure | e4e69ec | 2016-08-17 16:20:13 +0530 | [diff] [blame] | 146 | margin-top: 0px; |
147 | margin-bottom: 0px; | ||||
Anand Doshi | ac7c81b | 2016-05-26 16:41:04 +0530 | [diff] [blame] | 148 | } |
149 | .pos-payment-row:hover, | ||||
150 | .pos-keyboard-key:hover { | ||||
151 | background-color: #FAFBFC; | ||||
152 | cursor: pointer; | ||||
153 | } | ||||
154 | .pos-keyboard-key, | ||||
155 | .delete-btn { | ||||
156 | border: 1px solid #d1d8dd; | ||||
Rohit Waghchaure | 56a7974 | 2017-02-28 16:51:17 +0530 | [diff] [blame^] | 157 | height: 85px; |
158 | width: 85px; | ||||
159 | margin: 10px 10px; | ||||
160 | font-size: 24px; | ||||
161 | font-weight: 200; | ||||
162 | background-color: #FDFDFD; | ||||
163 | border-color: #e8e8e8; | ||||
164 | } | ||||
165 | .numeric-keypad { | ||||
166 | border: 1px solid #d1d8dd; | ||||
Rohit Waghchaure | 86ab6a9 | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 167 | height: 69px; |
168 | width: 69px; | ||||
169 | font-size: 20px; | ||||
Rohit Waghchaure | f0c7ba4 | 2017-02-28 16:51:17 +0530 | [diff] [blame] | 170 | font-weight: 200; |
171 | background-color: #FDFDFD; | ||||
172 | border-color: #e8e8e8; | ||||
Rohit Waghchaure | 86ab6a9 | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 173 | margin-left: -4px; |
174 | } | ||||
175 | .pos-pay { | ||||
176 | height: 69px; | ||||
177 | width: 69px; | ||||
178 | font-size: 17px; | ||||
179 | font-weight: 200; | ||||
180 | margin-left: -4px; | ||||
Rohit Waghchaure | f0c7ba4 | 2017-02-28 16:51:17 +0530 | [diff] [blame] | 181 | } |
182 | .numeric-keypad { | ||||
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 183 | height: 60px; |
184 | width: 60px; | ||||
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 185 | font-size: 20px; |
Anand Doshi | ac7c81b | 2016-05-26 16:41:04 +0530 | [diff] [blame] | 186 | font-weight: 200; |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 187 | border-radius: 0; |
188 | background-color: #fff; | ||||
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 189 | margin-left: -4px; |
190 | } | ||||
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 191 | .numeric_keypad { |
192 | margin-left: -15px; | ||||
193 | } | ||||
194 | .numeric_keypad > .row > button { | ||||
195 | border: none; | ||||
196 | border-right: 1px solid #d1d8dd; | ||||
197 | border-bottom: 1px solid #d1d8dd; | ||||
198 | } | ||||
199 | .numeric_keypad > .row > button:first-child { | ||||
200 | border-left: 1px solid #d1d8dd; | ||||
201 | } | ||||
202 | .numeric_keypad > .row:first-child > button { | ||||
203 | border-top: 1px solid #d1d8dd; | ||||
204 | } | ||||
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame] | 205 | .pos-pay { |
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 206 | background-color: #5E64FF; |
207 | border: none; | ||||
Anand Doshi | ac7c81b | 2016-05-26 16:41:04 +0530 | [diff] [blame] | 208 | } |
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 209 | .multimode-payments { |
210 | padding-left: 30px; | ||||
211 | } | ||||
212 | .payment-toolbar { | ||||
213 | padding-right: 30px; | ||||
214 | } | ||||
rohitwaghchaure | c13dbd4 | 2017-02-01 18:07:22 +0530 | [diff] [blame] | 215 | .list-row-head.pos-invoice-list { |
216 | border-top: 1px solid #d1d8dd; | ||||
217 | } | ||||
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 218 | body[data-route="pos"] .modal-dialog { |
219 | width: 750px; | ||||
220 | } | ||||
221 | @media (max-width: 767px) { | ||||
222 | body[data-route="pos"] .modal-dialog { | ||||
223 | width: auto; | ||||
224 | } | ||||
225 | body[data-route="pos"] .modal-dialog .modal-content { | ||||
226 | height: auto; | ||||
227 | } | ||||
228 | } | ||||
229 | @media (max-width: 767px) { | ||||
230 | .amount-row h3 { | ||||
231 | font-size: 15px; | ||||
232 | } | ||||
233 | .pos-keyboard-key, | ||||
234 | .delete-btn { | ||||
235 | height: 50px; | ||||
236 | } | ||||
237 | .multimode-payments { | ||||
238 | padding-left: 15px; | ||||
239 | } | ||||
240 | .payment-toolbar { | ||||
241 | padding-right: 15px; | ||||
242 | } | ||||
243 | } | ||||
Anand Doshi | ac7c81b | 2016-05-26 16:41:04 +0530 | [diff] [blame] | 244 | .amount-label { |
245 | font-size: 16px; | ||||
246 | } | ||||
247 | .selected-payment-mode { | ||||
248 | background-color: #FAFBFC; | ||||
249 | cursor: pointer; | ||||
250 | } | ||||
251 | .pos-invoice-list { | ||||
252 | padding: 15px 10px; | ||||
253 | } | ||||
Rohit Waghchaure | e4e69ec | 2016-08-17 16:20:13 +0530 | [diff] [blame] | 254 | .write_off_amount, |
255 | .change_amount { | ||||
256 | margin: 15px; | ||||
257 | width: 130px; | ||||
258 | } | ||||
Neil Trini Lasrado | 2a9e0f6 | 2017-01-09 18:25:43 +0530 | [diff] [blame] | 259 | .frappe-control[data-fieldname='result_html'] { |
260 | overflow: scroll; | ||||
261 | } | ||||
262 | .assessment-result-tool { | ||||
263 | table-layout: fixed; | ||||
264 | } | ||||
265 | .assessment-result-tool input { | ||||
266 | width: 100%; | ||||
267 | border: 0; | ||||
268 | outline: none; | ||||
269 | text-align: right; | ||||
270 | } | ||||
271 | .assessment-result-tool th { | ||||
272 | white-space: nowrap; | ||||
273 | overflow: hidden; | ||||
274 | text-overflow: ellipsis; | ||||
275 | } | ||||
276 | .assessment-result-tool .total-score, | ||||
277 | .assessment-result-tool .grade, | ||||
278 | .assessment-result-tool .score { | ||||
279 | text-align: right; | ||||
280 | } | ||||
Faris Ansari | 1f261a8 | 2017-03-06 18:01:58 +0530 | [diff] [blame] | 281 | .pos-list-row { |
282 | display: table; | ||||
283 | table-layout: fixed; | ||||
284 | width: 100%; | ||||
285 | padding: 9px 15px; | ||||
286 | font-size: 12px; | ||||
287 | margin: 0px; | ||||
288 | border-bottom: 1px solid #d1d8dd; | ||||
289 | } | ||||
290 | .pos-list-row .cell { | ||||
291 | display: table-cell; | ||||
292 | vertical-align: middle; | ||||
293 | } | ||||
294 | .pos-list-row .subject { | ||||
295 | width: 50%; | ||||
296 | } | ||||
297 | .pos-list-row .list-row-checkbox, | ||||
298 | .pos-list-row .list-select-all { | ||||
299 | margin-right: 7px; | ||||
300 | } | ||||
301 | .pos-bill-header { | ||||
302 | background-color: #f5f7fa; | ||||
303 | border: 1px solid #d1d8dd; | ||||
304 | } | ||||
305 | .pos-bill-item.active { | ||||
306 | background-color: #fffce7; | ||||
307 | } | ||||
308 | .totals-area { | ||||
309 | border-right: 1px solid #d1d8dd; | ||||
310 | border-left: 1px solid #d1d8dd; | ||||
311 | margin-bottom: 15px; | ||||
312 | } | ||||
313 | body[data-route="pos"] .page-body { | ||||
314 | height: calc(100vh - 40px); | ||||
315 | } | ||||
316 | .item-cart-items { | ||||
317 | height: 30vh; | ||||
318 | overflow: auto; | ||||
319 | border: 1px solid #d1d8dd; | ||||
320 | border-top: none; | ||||
321 | } | ||||
322 | .item-cart-items .no-items-message { | ||||
323 | display: flex; | ||||
324 | align-items: center; | ||||
325 | justify-content: center; | ||||
326 | height: 100%; | ||||
327 | } | ||||
328 | .pos .items .pos-list-row:last-child { | ||||
329 | border-bottom: none; | ||||
330 | } | ||||
331 | .pos .form-section-heading { | ||||
332 | padding: 0; | ||||
333 | } | ||||
334 | .pos { | ||||
335 | overflow: hidden; | ||||
336 | } | ||||
337 | .pos .item-list { | ||||
338 | border-left: 1px solid #d1d8dd; | ||||
339 | border-right: 1px solid #d1d8dd; | ||||
340 | } |