blob: 0a4897070487b34aaa078ba02bd67e85e84ef98c [file] [log] [blame]
Rushabh Mehta5d0e8de2016-04-11 17:34:25 +05301@import "../../../../frappe/frappe/public/less/variables.less";
2
Anand Doshida858cc2015-02-24 17:50:44 +05303.erpnext-footer {
4 margin: 11px auto;
5 text-align: center;
6}
7
8.show-all-reports {
9 margin-top: 5px;
10 font-size: 11px;
11}
12
13/* toolbar */
14.toolbar-splash {
15 width: 32px;
16 height: 32px;
17 margin: -10px auto;
18}
19
Anand Doshi906c2ba2015-07-17 15:11:24 +053020.erpnext-icon {
Faris Ansariadcb3c62017-03-06 21:02:17 +053021 width: 24px;
Anand Doshi906c2ba2015-07-17 15:11:24 +053022 margin-right: 0px;
23 margin-top: -3px;
24}
Nabin Hait3769d872015-12-18 13:12:02 +053025
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053026.dashboard-list-item {
27 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +053028 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053029 border-bottom: 1px solid @border-color;
30}
31
Rushabh Mehtad1eba512016-06-13 17:46:55 +053032#page-stock-balance .dashboard-list-item {
33 padding: 5px 15px;
34}
35
Rushabh Mehta3d2622c2016-04-25 17:53:42 +053036.dashboard-list-item:last-child {
37 border-bottom: none;
38}
Rohit Waghchauref2aa1762016-05-20 23:55:45 +053039
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +053040// assessment tool
41.frappe-control[data-fieldname='result_html'] {
42 overflow: scroll;
43}
44.assessment-result-tool {
45 table-layout: fixed;
46
47 input {
48 width: 100%;
49 border: 0;
50 outline: none;
51 text-align: right;
52 }
53
54 th {
55 white-space: nowrap;
56 overflow: hidden;
57 text-overflow: ellipsis;
58 }
59
60 .total-score, .grade, .score {
61 text-align: right;
62 }
Faris Ansari1f261a82017-03-06 18:01:58 +053063}
64
Faris Ansari1fe15182017-03-10 14:50:39 +053065/* pos */
Faris Ansari1f261a82017-03-06 18:01:58 +053066
Faris Ansari1fe15182017-03-10 14:50:39 +053067body[data-route="pos"] {
68
69 .pos-bill-toolbar {
70 padding: 10px 0px;
71 height: 51px;
Faris Ansari1f261a82017-03-06 18:01:58 +053072 }
73
Faris Ansari1fe15182017-03-10 14:50:39 +053074 .pos-bill-item:hover, .list-customers-table > .pos-list-row:hover {
75 background-color: #f5f7fa;
76 cursor: pointer;
Faris Ansari1f261a82017-03-06 18:01:58 +053077 }
78
Faris Ansari1fe15182017-03-10 14:50:39 +053079 .pos-item-qty {
80 display: inline-block;
Faris Ansari1f261a82017-03-06 18:01:58 +053081 }
Faris Ansari1f261a82017-03-06 18:01:58 +053082
Faris Ansari1fe15182017-03-10 14:50:39 +053083 .pos-qty-row > div {
84 padding: 5px 0px;
85 }
Faris Ansari1f261a82017-03-06 18:01:58 +053086
Faris Ansari1fe15182017-03-10 14:50:39 +053087 .pos-qty-btn {
88 margin-top: 3px;
89 cursor: pointer;
90 font-size: 120%;
91 }
Faris Ansari1f261a82017-03-06 18:01:58 +053092
Faris Ansari1fe15182017-03-10 14:50:39 +053093 .search-area .form-group {
94 max-width: 100% !important;
95 }
Faris Ansari1f261a82017-03-06 18:01:58 +053096
Faris Ansari1fe15182017-03-10 14:50:39 +053097 .tax-table {
98 margin-bottom: 10px;
99 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530100
Faris Ansari1fe15182017-03-10 14:50:39 +0530101 .discount-field-col {
102 padding-left: 24px;
103 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530104
Faris Ansari1fe15182017-03-10 14:50:39 +0530105 .discount-amount-area {
106 .input-group:first-child {
107 margin-bottom: 2px;
108 }
109 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530110
Faris Ansari1fe15182017-03-10 14:50:39 +0530111 .payment-toolbar {
112 .row {
113 width: 323px;
114 margin: 0 auto;
115 }
116 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530117
Faris Ansari1fe15182017-03-10 14:50:39 +0530118 .payment-mode {
119 cursor: pointer;
120 font-family: sans-serif;
121 font-size: 15px;
122 }
Faris Ansari1f261a82017-03-06 18:01:58 +0530123
Faris Ansari1fe15182017-03-10 14:50:39 +0530124 .pos-payment-row .col-xs-6 {
125 padding :15px;
126 }
127
128 .pos-payment-row {
129 border-bottom:1px solid #d1d8dd;
130 margin: 2px 0px 5px 0px;
131 height: 60px;
132 margin-top: 0px;
133 margin-bottom: 0px;
134 }
135
136 .pos-payment-row:hover, .pos-keyboard-key:hover{
137 background-color: #FAFBFC;
138 cursor: pointer;
139 }
140
141 .pos-keyboard-key, .delete-btn {
142 border: 1px solid #d1d8dd;
143 height:85px;
144 width:85px;
145 margin:10px 10px;
146 font-size:24px;
147 font-weight:200;
148 background-color: #FDFDFD;
149 border-color: #e8e8e8;
150 }
151
152 .numeric-keypad {
153 border: 1px solid #d1d8dd;
154 height:69px;
155 width:69px;
156 font-size:20px;
157 font-weight:200;
158 background-color: #FDFDFD;
159 border-color: #e8e8e8;
160 margin-left:-4px;
161 }
162
163 .pos-pay {
164 height:69px;
165 width:69px;
166 font-size:17px;
167 font-weight:200;
168 margin-left:-4px;
169 }
170
171 .numeric-keypad {
172 height: 60px;
173 width: 60px;
174 font-size: 20px;
175 font-weight: 200;
176 border-radius: 0;
177 background-color: #fff;
178 margin-left:-4px;
179 }
180
181 .numeric_keypad {
182 margin-left: -15px;
183
184 & > .row > button {
185 border: none;
186 border-right: 1px solid @border-color;
187 border-bottom: 1px solid @border-color;
188
189 &:first-child {
190 border-left: 1px solid @border-color;
191 }
192 }
193
194 & > .row:first-child > button {
195 border-top: 1px solid @border-color;
196 }
197 }
198
199 .pos-pay {
200 background-color: @brand-primary;
201 border: none;
202 }
203
204 .multimode-payments {
205 padding-left: 30px;
206 }
207
208 .payment-toolbar {
209 padding-right: 30px;
210 }
211
212 .list-row-head.pos-invoice-list {
213 border-top: 1px solid @border-color;
214 }
215
216 .modal-dialog {
217 width: 750px;
218
219 @media (max-width: @screen-xs) {
220 width: auto;
221
222 .modal-content {
223 height: auto;
224 }
225 }
226 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530227
Faris Ansari45510102017-03-09 14:43:37 +0530228 @media (max-width: @screen-xs) {
Faris Ansari1fe15182017-03-10 14:50:39 +0530229 .amount-row h3 {
230 font-size: 15px;
231 }
232 .pos-keyboard-key, .delete-btn {
233 height: 50px;
234 }
235 .multimode-payments {
236 padding-left: 15px;
237 }
238 .payment-toolbar {
239 padding-right: 15px;
240 }
Faris Ansari45510102017-03-09 14:43:37 +0530241 }
242
Faris Ansari1fe15182017-03-10 14:50:39 +0530243 .amount-label {
244 font-size: 16px;
Faris Ansari339d9c92017-03-07 18:14:06 +0530245 }
Faris Ansari45510102017-03-09 14:43:37 +0530246
Faris Ansari1fe15182017-03-10 14:50:39 +0530247 .selected-payment-mode {
248 background-color: #FAFBFC;
249 cursor: pointer;
Faris Ansari45510102017-03-09 14:43:37 +0530250 }
251
Faris Ansari1fe15182017-03-10 14:50:39 +0530252 .pos-invoice-list {
253 padding: 15px 10px;
254 }
255
256 .write_off_amount, .change_amount {
257 margin: 15px;
258 width: 130px;
259 }
260
261 .pos-list-row {
262 display: table;
263 table-layout: fixed;
264 width: 100%;
Faris Ansari45510102017-03-09 14:43:37 +0530265 padding: 9px 15px;
Faris Ansari1fe15182017-03-10 14:50:39 +0530266 font-size: 12px;
267 margin: 0px;
268 border-bottom: 1px solid @border-color;
269
270 .cell {
271 display: table-cell;
272 vertical-align: middle;
273
274 &.price-cell {
275 width: 50%;
276 }
277 }
278
279 .subject {
280 width: 40%
281 }
282
283 .list-row-checkbox, .list-select-all {
284 margin-right: 7px;
285 }
Faris Ansari45510102017-03-09 14:43:37 +0530286 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530287
Faris Ansari1fe15182017-03-10 14:50:39 +0530288 .pos-bill-header {
289 background-color: #f5f7fa;
290 border: 1px solid @border-color;
291 padding: 13px 15px;
292 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530293
Faris Ansari1fe15182017-03-10 14:50:39 +0530294 .pos-list-row.active {
295 background-color: @light-yellow;
296 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530297
Faris Ansari1fe15182017-03-10 14:50:39 +0530298 .totals-area {
299 border-right: 1px solid @border-color;
300 border-left: 1px solid @border-color;
301 margin-bottom: 15px;
302 }
Faris Ansari339d9c92017-03-07 18:14:06 +0530303
Faris Ansari1fe15182017-03-10 14:50:39 +0530304 .tax-area .pos-list-row {
305 border: none;
306 }
Faris Ansari45510102017-03-09 14:43:37 +0530307
Faris Ansari1fe15182017-03-10 14:50:39 +0530308 .item-cart-items {
309 height: ~"calc(100vh - 526px)";
310 overflow: auto;
311 border: 1px solid @border-color;
312 border-top: none;
313 }
Faris Ansari45510102017-03-09 14:43:37 +0530314
Faris Ansari1fe15182017-03-10 14:50:39 +0530315 .no-items-message {
316 min-height: 200px;
317 display: flex;
318 align-items: center;
319 justify-content: center;
320 height: 100%;
321 }
322
323 .pos-list-row:last-child {
324 border-bottom: none;
325 }
326
327 .form-section-heading {
328 padding: 0;
329 }
330
331 .item-list {
332 border: 1px solid @border-color;
333 border-top: none;
334 max-height: ~"calc(100vh - 190px)";
335 overflow: auto;
336
337 @media (max-width: @screen-xs) {
338 max-height: initial;
339 }
340
341 .image-field {
342 height: 140px;
343 }
344
345 .pos-item-wrapper {
346 position: relative;
347 }
348
349 .price-info {
350 position: absolute;
351 left: 0;
352 bottom: 0;
353 margin: 0 0 15px 15px;
354 background-color: rgba(141, 153, 166, 0.6);
355 padding: 5px 9px;
356 border-radius: 3px;
357 color: #fff;
358 }
359 }
360
361 .pos-bill-toolbar {
362 margin-top: 10px;
363 }
364
365 .search-item .form-group {
366 margin: 0;
367 }
368
369 .item-list-area .pos-bill-header {
370 padding: 5px;
371 padding-left: 15px;
372 }
373
374 .pos-selected-item-action > .pos-list-row {
375 border: none;
376 }
377
378 .edit-customer-btn {
379 position: absolute;
380 right: 57px;
381 top: 15px;
382 z-index: 100;
383 }
384
385 .btn-more {
386 display: flex;
387 justify-content: center;
388 align-items: center;
389 cursor: pointer;
390 background-color: @light-bg;
391 min-height: 200px;
392 }
393
394 .collapse-btn {
395 cursor: pointer;
396 }
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530397}