blob: 052e8c87a750dcd87249c209821e15663f2b4fdb [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 Waghchaure56a79742017-02-28 16:51:17 +053064<<<<<<< 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 Waghchauree30f83a2017-02-24 18:02:50 +053081.edit-pos-item {
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +053082 height: 50px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053083 font-size: 14px;
84 border-top: 1px solid #d1d8dd;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +053085 padding-top: 12px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053086}
87.pos-bill-item:hover {
88 background-color: #f5f7fa;
89 cursor: pointer;
90}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053091.pos-item-qty {
Anand Doshida858cc2015-02-24 17:50:44 +053092 display: inline-block;
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053093}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053094.pos-qty-row > div {
Anand Doshida858cc2015-02-24 17:50:44 +053095 padding: 5px 0px;
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053096}
Rushabh Mehtaa9ba5ef2014-12-19 16:20:32 +053097.pos-qty-btn {
Anand Doshida858cc2015-02-24 17:50:44 +053098 margin-top: 3px;
99 cursor: pointer;
100 font-size: 120%;
Rushabh Mehtaab8bde02014-08-12 15:15:39 +0530101}
Anand Doshi9b955fe2015-01-05 16:19:12 +0530102.pos .search-area .form-group {
Anand Doshida858cc2015-02-24 17:50:44 +0530103 max-width: 100% !important;
Anand Doshi9b955fe2015-01-05 16:19:12 +0530104}
Anand Doshi9b955fe2015-01-05 16:19:12 +0530105.pos .tax-table {
Anand Doshida858cc2015-02-24 17:50:44 +0530106 margin-bottom: 10px;
Anand Doshi9b955fe2015-01-05 16:19:12 +0530107}
Anand Doshi906c2ba2015-07-17 15:11:24 +0530108.erpnext-icon {
109 width: 24px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530110 ackmargin-right: 0px;
Anand Doshi906c2ba2015-07-17 15:11:24 +0530111 margin-top: -3px;
112}
Nabin Hait3769d872015-12-18 13:12:02 +0530113.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 Mehta3d2622c2016-04-25 17:53:42 +0530119.dashboard-list-item {
120 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530121 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530122 border-bottom: 1px solid #d1d8dd;
123}
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530124#page-stock-balance .dashboard-list-item {
125 padding: 5px 15px;
126}
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530127.dashboard-list-item:last-child {
128 border-bottom: none;
129}
Faris Ansari8e282c22016-07-24 11:36:19 +0530130.payment-toolbar .row {
131 width: 323px;
132 margin: 0 auto;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530133}
134.payment-mode {
135 cursor: pointer;
136 font-family: sans-serif;
137 font-size: 15px;
138}
139.pos-payment-row .col-xs-6 {
Rohit Waghchauree4e69ec2016-08-17 16:20:13 +0530140 padding: 15px;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530141}
142.pos-payment-row {
143 border-bottom: 1px solid #d1d8dd;
144 margin: 2px 0px 5px 0px;
Rushabh Mehtaa55fb642016-06-14 15:54:17 +0530145 height: 60px;
Rohit Waghchauree4e69ec2016-08-17 16:20:13 +0530146 margin-top: 0px;
147 margin-bottom: 0px;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530148}
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 Waghchaure56a79742017-02-28 16:51:17 +0530157 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 Waghchaure86ab6a92017-02-24 18:02:50 +0530167 height: 69px;
168 width: 69px;
169 font-size: 20px;
Rohit Waghchauref0c7ba42017-02-28 16:51:17 +0530170 font-weight: 200;
171 background-color: #FDFDFD;
172 border-color: #e8e8e8;
Rohit Waghchaure86ab6a92017-02-24 18:02:50 +0530173 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 Waghchauref0c7ba42017-02-28 16:51:17 +0530181}
182.numeric-keypad {
Faris Ansari1f261a82017-03-06 18:01:58 +0530183 height: 60px;
184 width: 60px;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530185 font-size: 20px;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530186 font-weight: 200;
Faris Ansari1f261a82017-03-06 18:01:58 +0530187 border-radius: 0;
188 background-color: #fff;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530189 margin-left: -4px;
190}
Faris Ansari1f261a82017-03-06 18:01:58 +0530191.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 Waghchauree30f83a2017-02-24 18:02:50 +0530205.pos-pay {
Faris Ansari1f261a82017-03-06 18:01:58 +0530206 background-color: #5E64FF;
207 border: none;
Anand Doshiac7c81b2016-05-26 16:41:04 +0530208}
Faris Ansari8e282c22016-07-24 11:36:19 +0530209.multimode-payments {
210 padding-left: 30px;
211}
212.payment-toolbar {
213 padding-right: 30px;
214}
rohitwaghchaurec13dbd42017-02-01 18:07:22 +0530215.list-row-head.pos-invoice-list {
216 border-top: 1px solid #d1d8dd;
217}
Faris Ansari8e282c22016-07-24 11:36:19 +0530218body[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 Doshiac7c81b2016-05-26 16:41:04 +0530244.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 Waghchauree4e69ec2016-08-17 16:20:13 +0530254.write_off_amount,
255.change_amount {
256 margin: 15px;
257 width: 130px;
258}
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530259.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 Ansari1f261a82017-03-06 18:01:58 +0530281.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}
313body[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}