blob: f59883d407d3e92f3bc26e026e375cfc72fa8cf1 [file] [log] [blame]
Rushabh Mehtabedc1fe2012-01-17 18:17:06 +05301.erpnext-footer {
Anand Doshida858cc2015-02-24 17:50:44 +05302 margin: 11px auto;
3 text-align: center;
Pratik Vyasc1e6e4c2011-06-08 14:37:15 +05304}
Anand Doshi575545d2012-06-13 19:36:55 +05305.show-all-reports {
Anand Doshida858cc2015-02-24 17:50:44 +05306 margin-top: 5px;
7 font-size: 11px;
Anand Doshi1fe3bc52013-06-06 18:55:20 +05308}
Anand Doshi1fe3bc52013-06-06 18:55:20 +05309/* toolbar */
10.toolbar-splash {
Anand Doshida858cc2015-02-24 17:50:44 +053011 width: 32px;
12 height: 32px;
13 margin: -10px auto;
Akhilesh Darjeef83576b2013-09-18 18:35:12 +053014}
Akhilesh Darjeef83576b2013-09-18 18:35:12 +053015/* pos */
Rushabh Mehta203cc962016-04-07 15:25:43 +053016.pos-item-wrapper {
17 padding: 5px;
18}
Akhilesh Darjeef83576b2013-09-18 18:35:12 +053019.pos-item {
Anand Doshida858cc2015-02-24 17:50:44 +053020 overflow: hidden;
21 text-overflow: ellipsis;
22 cursor: pointer;
23 padding: 5px;
Rushabh Mehta203cc962016-04-07 15:25:43 +053024 padding-bottom: 15px;
Anand Doshida858cc2015-02-24 17:50:44 +053025 border: 1px solid #d1d8dd;
Rushabh Mehta203cc962016-04-07 15:25:43 +053026 margin-bottom: 5px;
Anand Doshi9b955fe2015-01-05 16:19:12 +053027}
Anand Doshi50d7e8c2015-01-06 17:14:13 +053028.pos-item-text {
Anand Doshida858cc2015-02-24 17:50:44 +053029 padding: 0px 5px;
Anand Doshi50d7e8c2015-01-06 17:14:13 +053030}
Anand Doshi9b955fe2015-01-05 16:19:12 +053031.pos-item .item-code {
Anand Doshida858cc2015-02-24 17:50:44 +053032 margin-bottom: 0px;
Anand Doshi9b955fe2015-01-05 16:19:12 +053033}
Anand Doshi9b955fe2015-01-05 16:19:12 +053034.pos-item .no-image {
Anand Doshida858cc2015-02-24 17:50:44 +053035 background-color: #fafbfc;
36 border: 1px dashed #d1d8dd;
Anand Doshi9b955fe2015-01-05 16:19:12 +053037}
Anand Doshi9b955fe2015-01-05 16:19:12 +053038.pos-item-image {
Rushabh Mehta203cc962016-04-07 15:25:43 +053039 width: 100%;
40 height: 0px;
41 padding: 50% 0;
42 text-align: center;
43 line-height: 0;
Rushabh Mehta5d0e8de2016-04-11 17:34:25 +053044 color: #d1d8dd;
Rushabh Mehta203cc962016-04-07 15:25:43 +053045 font-size: 30px;
Faris Ansarid2173872016-08-09 14:15:31 +053046 background-size: contain;
Anand Doshida858cc2015-02-24 17:50:44 +053047 border: 1px solid transparent;
Faris Ansarid2173872016-08-09 14:15:31 +053048 background-position: center;
49 background-repeat: no-repeat;
Akhilesh Darjeef83576b2013-09-18 18:35:12 +053050}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053051.pos-item-toolbar {
Faris Ansari1f261a82017-03-06 18:01:58 +053052 height: 51px;
Anand Doshida858cc2015-02-24 17:50:44 +053053 padding: 10px 0px;
54 border-bottom: 1px solid #d1d8dd;
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053055}
Anand Doshida858cc2015-02-24 17:50:44 +053056.pos-toolbar,
57.pos-bill-toolbar {
58 padding: 10px 0px;
Anand Doshida858cc2015-02-24 17:50:44 +053059 height: 51px;
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053060}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053061.pos-item-toolbar .form-group {
Anand Doshida858cc2015-02-24 17:50:44 +053062 margin-bottom: 0px;
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053063}
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053064.edit-pos-item {
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +053065 height: 50px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053066 font-size: 14px;
67 border-top: 1px solid #d1d8dd;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +053068 padding-top: 12px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053069}
70.pos-bill-item:hover {
71 background-color: #f5f7fa;
72 cursor: pointer;
73}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053074.pos-item-qty {
Anand Doshida858cc2015-02-24 17:50:44 +053075 display: inline-block;
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053076}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053077.pos-qty-row > div {
Anand Doshida858cc2015-02-24 17:50:44 +053078 padding: 5px 0px;
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053079}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053080.pos-qty-btn {
Anand Doshida858cc2015-02-24 17:50:44 +053081 margin-top: 3px;
82 cursor: pointer;
83 font-size: 120%;
Rushabh Mehtaab8bde02014-08-12 15:15:39 +053084}
Anand Doshi9b955fe2015-01-05 16:19:12 +053085.pos .search-area .form-group {
Anand Doshida858cc2015-02-24 17:50:44 +053086 max-width: 100% !important;
Anand Doshi9b955fe2015-01-05 16:19:12 +053087}
Anand Doshi9b955fe2015-01-05 16:19:12 +053088.pos .tax-table {
Anand Doshida858cc2015-02-24 17:50:44 +053089 margin-bottom: 10px;
Anand Doshi9b955fe2015-01-05 16:19:12 +053090}
Anand Doshi906c2ba2015-07-17 15:11:24 +053091.erpnext-icon {
92 width: 24px;
Faris Ansariadcb3c62017-03-06 21:02:17 +053093 margin-right: 0px;
Anand Doshi906c2ba2015-07-17 15:11:24 +053094 margin-top: -3px;
95}
Nabin Hait3769d872015-12-18 13:12:02 +053096.pos .discount-amount-area .discount-field-col {
97 padding-left: 0px;
98}
99.pos .discount-amount-area .input-group {
100 margin-top: 2px;
101}
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530102.dashboard-list-item {
103 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530104 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530105 border-bottom: 1px solid #d1d8dd;
106}
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530107#page-stock-balance .dashboard-list-item {
108 padding: 5px 15px;
109}
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530110.dashboard-list-item:last-child {
111 border-bottom: none;
112}
Faris Ansari8e282c22016-07-24 11:36:19 +0530113.payment-toolbar .row {
114 width: 323px;
115 margin: 0 auto;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530116}
117.payment-mode {
118 cursor: pointer;
119 font-family: sans-serif;
120 font-size: 15px;
121}
122.pos-payment-row .col-xs-6 {
Rohit Waghchauree4e69ec2016-08-17 16:20:13 +0530123 padding: 15px;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530124}
125.pos-payment-row {
126 border-bottom: 1px solid #d1d8dd;
127 margin: 2px 0px 5px 0px;
Rushabh Mehtaa55fb642016-06-14 15:54:17 +0530128 height: 60px;
Rohit Waghchauree4e69ec2016-08-17 16:20:13 +0530129 margin-top: 0px;
130 margin-bottom: 0px;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530131}
132.pos-payment-row:hover,
133.pos-keyboard-key:hover {
134 background-color: #FAFBFC;
135 cursor: pointer;
136}
137.pos-keyboard-key,
138.delete-btn {
139 border: 1px solid #d1d8dd;
Rohit Waghchaure56a79742017-02-28 16:51:17 +0530140 height: 85px;
141 width: 85px;
142 margin: 10px 10px;
143 font-size: 24px;
144 font-weight: 200;
145 background-color: #FDFDFD;
146 border-color: #e8e8e8;
147}
148.numeric-keypad {
149 border: 1px solid #d1d8dd;
Rohit Waghchaure86ab6a92017-02-24 18:02:50 +0530150 height: 69px;
151 width: 69px;
152 font-size: 20px;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530153 font-weight: 200;
154 background-color: #FDFDFD;
155 border-color: #e8e8e8;
Rohit Waghchaure86ab6a92017-02-24 18:02:50 +0530156 margin-left: -4px;
157}
158.pos-pay {
159 height: 69px;
160 width: 69px;
161 font-size: 17px;
162 font-weight: 200;
163 margin-left: -4px;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530164}
165.numeric-keypad {
Faris Ansari1f261a82017-03-06 18:01:58 +0530166 height: 60px;
167 width: 60px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530168 font-size: 20px;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530169 font-weight: 200;
Faris Ansari1f261a82017-03-06 18:01:58 +0530170 border-radius: 0;
171 background-color: #fff;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530172 margin-left: -4px;
173}
Faris Ansari1f261a82017-03-06 18:01:58 +0530174.numeric_keypad {
175 margin-left: -15px;
176}
177.numeric_keypad > .row > button {
178 border: none;
179 border-right: 1px solid #d1d8dd;
180 border-bottom: 1px solid #d1d8dd;
181}
182.numeric_keypad > .row > button:first-child {
183 border-left: 1px solid #d1d8dd;
184}
185.numeric_keypad > .row:first-child > button {
186 border-top: 1px solid #d1d8dd;
187}
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530188.pos-pay {
Faris Ansari1f261a82017-03-06 18:01:58 +0530189 background-color: #5E64FF;
190 border: none;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530191}
Faris Ansari8e282c22016-07-24 11:36:19 +0530192.multimode-payments {
193 padding-left: 30px;
194}
195.payment-toolbar {
196 padding-right: 30px;
197}
rohitwaghchaurec13dbd42017-02-01 18:07:22 +0530198.list-row-head.pos-invoice-list {
199 border-top: 1px solid #d1d8dd;
200}
Faris Ansari8e282c22016-07-24 11:36:19 +0530201body[data-route="pos"] .modal-dialog {
202 width: 750px;
203}
204@media (max-width: 767px) {
205 body[data-route="pos"] .modal-dialog {
206 width: auto;
207 }
208 body[data-route="pos"] .modal-dialog .modal-content {
209 height: auto;
210 }
211}
212@media (max-width: 767px) {
213 .amount-row h3 {
214 font-size: 15px;
215 }
216 .pos-keyboard-key,
217 .delete-btn {
218 height: 50px;
219 }
220 .multimode-payments {
221 padding-left: 15px;
222 }
223 .payment-toolbar {
224 padding-right: 15px;
225 }
226}
Anand Doshiac7c81b2016-05-26 16:41:04 +0530227.amount-label {
228 font-size: 16px;
229}
230.selected-payment-mode {
231 background-color: #FAFBFC;
232 cursor: pointer;
233}
234.pos-invoice-list {
235 padding: 15px 10px;
236}
Rohit Waghchauree4e69ec2016-08-17 16:20:13 +0530237.write_off_amount,
238.change_amount {
239 margin: 15px;
240 width: 130px;
241}
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530242.frappe-control[data-fieldname='result_html'] {
243 overflow: scroll;
244}
245.assessment-result-tool {
246 table-layout: fixed;
247}
248.assessment-result-tool input {
249 width: 100%;
250 border: 0;
251 outline: none;
252 text-align: right;
253}
254.assessment-result-tool th {
255 white-space: nowrap;
256 overflow: hidden;
257 text-overflow: ellipsis;
258}
259.assessment-result-tool .total-score,
260.assessment-result-tool .grade,
261.assessment-result-tool .score {
262 text-align: right;
263}
Faris Ansari1f261a82017-03-06 18:01:58 +0530264.pos-list-row {
265 display: table;
266 table-layout: fixed;
267 width: 100%;
268 padding: 9px 15px;
269 font-size: 12px;
270 margin: 0px;
271 border-bottom: 1px solid #d1d8dd;
272}
273.pos-list-row .cell {
274 display: table-cell;
275 vertical-align: middle;
276}
277.pos-list-row .subject {
Faris Ansari07c9f352017-03-09 17:03:14 +0530278 width: 40%;
Faris Ansari1f261a82017-03-06 18:01:58 +0530279}
280.pos-list-row .list-row-checkbox,
281.pos-list-row .list-select-all {
282 margin-right: 7px;
283}
284.pos-bill-header {
285 background-color: #f5f7fa;
286 border: 1px solid #d1d8dd;
Faris Ansari339d9c92017-03-07 18:14:06 +0530287 padding: 13px 15px;
Faris Ansari1f261a82017-03-06 18:01:58 +0530288}
Faris Ansari339d9c92017-03-07 18:14:06 +0530289.pos-list-row.active {
Faris Ansari1f261a82017-03-06 18:01:58 +0530290 background-color: #fffce7;
291}
292.totals-area {
293 border-right: 1px solid #d1d8dd;
294 border-left: 1px solid #d1d8dd;
295 margin-bottom: 15px;
296}
Faris Ansari1f261a82017-03-06 18:01:58 +0530297.item-cart-items {
Faris Ansari45510102017-03-09 14:43:37 +0530298 height: calc(100vh - 526px);
Faris Ansari1f261a82017-03-06 18:01:58 +0530299 overflow: auto;
300 border: 1px solid #d1d8dd;
301 border-top: none;
302}
Faris Ansari45510102017-03-09 14:43:37 +0530303.pos .no-items-message {
304 min-height: 200px;
Faris Ansari1f261a82017-03-06 18:01:58 +0530305 display: flex;
306 align-items: center;
307 justify-content: center;
308 height: 100%;
309}
Faris Ansari07c9f352017-03-09 17:03:14 +0530310.pos .pos-list-row:last-child {
Faris Ansari1f261a82017-03-06 18:01:58 +0530311 border-bottom: none;
312}
313.pos .form-section-heading {
314 padding: 0;
315}
316.pos {
317 overflow: hidden;
318}
319.pos .item-list {
Faris Ansari45510102017-03-09 14:43:37 +0530320 border: 1px solid #d1d8dd;
321 border-top: none;
322 max-height: calc(100vh - 190px);
Faris Ansari339d9c92017-03-07 18:14:06 +0530323 overflow: auto;
324}
Faris Ansari45510102017-03-09 14:43:37 +0530325@media (max-width: 767px) {
326 .pos .item-list {
327 max-height: initial;
328 }
329}
Faris Ansari339d9c92017-03-07 18:14:06 +0530330.pos .item-list .image-field {
331 height: 140px;
332}
Faris Ansari45510102017-03-09 14:43:37 +0530333.pos .item-list .pos-item-wrapper {
334 position: relative;
335}
336.pos .item-list .price-info {
337 position: absolute;
338 right: 0;
339 bottom: 0;
340 background-color: rgba(0, 0, 0, 0.1);
341 padding: 9px 15px;
342}
Faris Ansari339d9c92017-03-07 18:14:06 +0530343.pos-bill-toolbar {
344 margin-top: 10px;
345}
346.pos .search-item .form-group {
347 margin: 0;
348}
349.item-list-area .pos-bill-header {
350 padding: 5px;
351 padding-left: 15px;
352}
353.pos-selected-item-action > .pos-list-row {
354 border: none;
Faris Ansari1f261a82017-03-06 18:01:58 +0530355}
Faris Ansari45510102017-03-09 14:43:37 +0530356.edit-customer-btn {
357 position: absolute;
358 right: 57px;
359 top: 15px;
360 z-index: 100;
361}
362.btn-more {
363 display: flex;
364 justify-content: center;
365 align-items: center;
366 cursor: pointer;
367 background-color: #fafbfc;
368 min-height: 200px;
369}