blob: 34ea9016505ce72a7b0bd057d30c4defdb9ac6f3 [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
20/* pos */
Rushabh Mehta203cc962016-04-07 15:25:43 +053021
22.pos-item-area {
23 padding: 0px 10px;
24}
25
26.pos-item-wrapper {
27 padding: 5px;
Anand Doshida858cc2015-02-24 17:50:44 +053028}
29
30.pos-item {
Anand Doshida858cc2015-02-24 17:50:44 +053031 overflow: hidden;
32 text-overflow: ellipsis;
33 cursor: pointer;
34 padding: 5px;
Rushabh Mehta203cc962016-04-07 15:25:43 +053035 padding-bottom: 15px;
Anand Doshida858cc2015-02-24 17:50:44 +053036 border: 1px solid #d1d8dd;
Rushabh Mehta203cc962016-04-07 15:25:43 +053037 margin-bottom: 5px;
Anand Doshida858cc2015-02-24 17:50:44 +053038}
39
40.pos-item-text {
41 padding: 0px 5px;
42}
43
44.pos-item .item-code {
45 margin-bottom: 0px;
46}
47
48.pos-item .no-image {
49 background-color: #fafbfc;
50 border: 1px dashed #d1d8dd;
51}
52
53.pos-item-image {
Rushabh Mehta203cc962016-04-07 15:25:43 +053054 width: 100%;
55 height: 0px;
56 padding: 50% 0;
57 text-align: center;
58 line-height: 0;
Rushabh Mehta5d0e8de2016-04-11 17:34:25 +053059 color: @text-extra-muted;
Rushabh Mehta203cc962016-04-07 15:25:43 +053060 font-size: 30px;
Faris Ansarid2173872016-08-09 14:15:31 +053061 background-size: contain;
Anand Doshida858cc2015-02-24 17:50:44 +053062 border: 1px solid transparent;
Faris Ansarid2173872016-08-09 14:15:31 +053063 background-position: center;
64 background-repeat: no-repeat;
Anand Doshida858cc2015-02-24 17:50:44 +053065}
66
67.pos-item-area {
68 border: 1px solid #d1d8dd;
69 border-top: none;
70}
71
72.pos-item-toolbar {
73 padding: 10px 0px;
74 border-bottom: 1px solid #d1d8dd;
75}
76
Rohit Waghchauree30f83a2017-02-24 18:02:50 +053077.item-list-area, .list-customers {
Anand Doshida858cc2015-02-24 17:50:44 +053078 padding: 15px 0px;
Faris Ansari0822e412016-12-21 18:16:45 +053079 overflow-y: scroll;
80 height: ~"calc(100vh - 162px)";
Anand Doshida858cc2015-02-24 17:50:44 +053081}
82
83.pos-toolbar, .pos-bill-toolbar {
84 padding: 10px 0px;
rohitwaghchaurec13dbd42017-02-01 18:07:22 +053085 // border-bottom: 1px solid #d1d8dd;
Anand Doshida858cc2015-02-24 17:50:44 +053086 height: 51px;
87}
88
89.pos-item-toolbar .form-group {
90 margin-bottom: 0px;
91}
92
93.pos-bill-wrapper {
94 border: 1px solid #d1d8dd;
95 border-top: none;
96 margin-right: -1px;
97}
98
99.pos-bill {
rohitwaghchaurec13dbd42017-02-01 18:07:22 +0530100 border-top: 1px solid @border-color;
Anand Doshida858cc2015-02-24 17:50:44 +0530101 margin-left: -15px;
102 margin-right: -15px;
103}
104
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530105.item-cart {
106 overflow-y: scroll;
107 height: ~"calc(100vh - 60vh)";
108}
109
110.edit-pos-item {
111 height: 40px;
112 font-size: 14px;
113 border-top: 1px solid @border-color;
114}
115
116.pos-bill-item:hover {
117 background-color: #f5f7fa;
118 cursor: pointer;
119}
120
Anand Doshida858cc2015-02-24 17:50:44 +0530121.pos-bill-row {
122 margin: 0px;
123 padding: 7px 0px;
124 border-top: 1px solid #d1d8dd;
125}
126
127.pos-bill-header {
128 border: none !important;
129 background-color: #f5f7fa;
130}
131
132.pos-item-qty {
133 display: inline-block;
134}
135
136.pos-qty-row > div {
137 padding: 5px 0px;
138}
139
140.pos-qty-btn {
141 margin-top: 3px;
142 cursor: pointer;
143 font-size: 120%;
144}
145
146.pos .search-area .form-group {
147 max-width: 100% !important;
148}
149
150.pos .tax-table {
151 margin-bottom: 10px;
152}
153
Anand Doshi906c2ba2015-07-17 15:11:24 +0530154.erpnext-icon {
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530155 width: 24px;ack
Anand Doshi906c2ba2015-07-17 15:11:24 +0530156 margin-right: 0px;
157 margin-top: -3px;
158}
Nabin Hait3769d872015-12-18 13:12:02 +0530159
160.pos .discount-amount-area {
161 .discount-field-col {
162 padding-left: 0px;
163 }
Rushabh Mehta203cc962016-04-07 15:25:43 +0530164
Nabin Hait3769d872015-12-18 13:12:02 +0530165 .input-group {
166 margin-top: 2px;
167 }
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530168}
169
170.dashboard-list-item {
171 background-color: inherit;
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530172 padding: 5px 0px;
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530173 border-bottom: 1px solid @border-color;
174}
175
Rushabh Mehtad1eba512016-06-13 17:46:55 +0530176#page-stock-balance .dashboard-list-item {
177 padding: 5px 15px;
178}
179
Rushabh Mehta3d2622c2016-04-25 17:53:42 +0530180.dashboard-list-item:last-child {
181 border-bottom: none;
182}
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530183
184.payment-toolbar {
Faris Ansari8e282c22016-07-24 11:36:19 +0530185 .row {
186 width: 323px;
187 margin: 0 auto;
188 }
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530189}
190
191.payment-mode {
192 cursor: pointer;
193 font-family: sans-serif;
194 font-size: 15px;
195}
196
197.pos-payment-row .col-xs-6 {
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530198 padding :15px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530199}
200
201.pos-payment-row {
202 border-bottom:1px solid #d1d8dd;
Rohit Waghchaure9fe40d52016-06-13 21:37:10 +0530203 margin: 2px 0px 5px 0px;
204 height: 60px;
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530205 margin-top: 0px;
206 margin-bottom: 0px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530207}
208
209.pos-payment-row:hover, .pos-keyboard-key:hover{
210 background-color: #FAFBFC;
211 cursor: pointer;
212}
213
214.pos-keyboard-key, .delete-btn {
215 border: 1px solid #d1d8dd;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530216 height:69px;
217 width:69px;
218 font-size:20px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530219 font-weight:200;
220 background-color: #FDFDFD;
221 border-color: #e8e8e8;
Rohit Waghchauree30f83a2017-02-24 18:02:50 +0530222 margin-left:-4px;
223}
224
225.pos-pay {
226 height:69px;
227 width:69px;
228 font-size:17px;
229 font-weight:200;
230 margin-left:-4px;
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530231}
232
Faris Ansari8e282c22016-07-24 11:36:19 +0530233.multimode-payments {
234 padding-left: 30px;
235}
236
237.payment-toolbar {
238 padding-right: 30px;
239}
240
rohitwaghchaurec13dbd42017-02-01 18:07:22 +0530241.list-row-head.pos-invoice-list {
242 border-top: 1px solid @border-color;
243}
244
Faris Ansari8e282c22016-07-24 11:36:19 +0530245body[data-route="pos"] .modal-dialog {
246 width: 750px;
247
248 @media (max-width: @screen-xs) {
249 width: auto;
250
251 .modal-content {
252 height: auto;
253 }
254 }
255}
256
257@media (max-width: @screen-xs) {
258 .amount-row h3 {
259 font-size: 15px;
260 }
261 .pos-keyboard-key, .delete-btn {
262 height: 50px;
263 }
264 .multimode-payments {
265 padding-left: 15px;
266 }
267 .payment-toolbar {
268 padding-right: 15px;
269 }
270}
271
Rohit Waghchauref2aa1762016-05-20 23:55:45 +0530272.amount-label {
273 font-size: 16px;
274}
275
276.selected-payment-mode {
277 background-color: #FAFBFC;
278 cursor: pointer;
279}
280
281.pos-invoice-list {
282 padding: 15px 10px;
283}
Rohit Waghchaurebaef2622016-08-05 15:41:36 +0530284
285.write_off_amount, .change_amount {
286 margin: 15px;
287 width: 130px;
288}
Neil Trini Lasrado2a9e0f62017-01-09 18:25:43 +0530289
290// assessment tool
291.frappe-control[data-fieldname='result_html'] {
292 overflow: scroll;
293}
294.assessment-result-tool {
295 table-layout: fixed;
296
297 input {
298 width: 100%;
299 border: 0;
300 outline: none;
301 text-align: right;
302 }
303
304 th {
305 white-space: nowrap;
306 overflow: hidden;
307 text-overflow: ellipsis;
308 }
309
310 .total-score, .grade, .score {
311 text-align: right;
312 }
313}