Rushabh Mehta | 5d0e8de | 2016-04-11 17:34:25 +0530 | [diff] [blame] | 1 | @import "../../../../frappe/frappe/public/less/variables.less"; |
2 | |||||
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 3 | .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 Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 21 | |
22 | .pos-item-area { | ||||
23 | padding: 0px 10px; | ||||
24 | } | ||||
25 | |||||
26 | .pos-item-wrapper { | ||||
27 | padding: 5px; | ||||
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 28 | } |
29 | |||||
30 | .pos-item { | ||||
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 31 | overflow: hidden; |
32 | text-overflow: ellipsis; | ||||
33 | cursor: pointer; | ||||
34 | padding: 5px; | ||||
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 35 | padding-bottom: 15px; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 36 | border: 1px solid #d1d8dd; |
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 37 | margin-bottom: 5px; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 38 | } |
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 Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 54 | width: 100%; |
55 | height: 0px; | ||||
56 | padding: 50% 0; | ||||
57 | text-align: center; | ||||
58 | line-height: 0; | ||||
Rushabh Mehta | 5d0e8de | 2016-04-11 17:34:25 +0530 | [diff] [blame] | 59 | color: @text-extra-muted; |
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 60 | font-size: 30px; |
Faris Ansari | d217387 | 2016-08-09 14:15:31 +0530 | [diff] [blame] | 61 | background-size: contain; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 62 | border: 1px solid transparent; |
Faris Ansari | d217387 | 2016-08-09 14:15:31 +0530 | [diff] [blame] | 63 | background-position: center; |
64 | background-repeat: no-repeat; | ||||
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 65 | } |
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 Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame^] | 77 | .item-list-area, .list-customers { |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 78 | padding: 15px 0px; |
Faris Ansari | 0822e41 | 2016-12-21 18:16:45 +0530 | [diff] [blame] | 79 | overflow-y: scroll; |
80 | height: ~"calc(100vh - 162px)"; | ||||
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 81 | } |
82 | |||||
83 | .pos-toolbar, .pos-bill-toolbar { | ||||
84 | padding: 10px 0px; | ||||
rohitwaghchaure | c13dbd4 | 2017-02-01 18:07:22 +0530 | [diff] [blame] | 85 | // border-bottom: 1px solid #d1d8dd; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 86 | 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 { | ||||
rohitwaghchaure | c13dbd4 | 2017-02-01 18:07:22 +0530 | [diff] [blame] | 100 | border-top: 1px solid @border-color; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 101 | margin-left: -15px; |
102 | margin-right: -15px; | ||||
103 | } | ||||
104 | |||||
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame^] | 105 | .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 Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 121 | .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 Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 154 | .erpnext-icon { |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 155 | width: 24px;ack |
Anand Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 156 | margin-right: 0px; |
157 | margin-top: -3px; | ||||
158 | } | ||||
Nabin Hait | 3769d87 | 2015-12-18 13:12:02 +0530 | [diff] [blame] | 159 | |
160 | .pos .discount-amount-area { | ||||
161 | .discount-field-col { | ||||
162 | padding-left: 0px; | ||||
163 | } | ||||
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 164 | |
Nabin Hait | 3769d87 | 2015-12-18 13:12:02 +0530 | [diff] [blame] | 165 | .input-group { |
166 | margin-top: 2px; | ||||
167 | } | ||||
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 168 | } |
169 | |||||
170 | .dashboard-list-item { | ||||
171 | background-color: inherit; | ||||
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 172 | padding: 5px 0px; |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 173 | border-bottom: 1px solid @border-color; |
174 | } | ||||
175 | |||||
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 176 | #page-stock-balance .dashboard-list-item { |
177 | padding: 5px 15px; | ||||
178 | } | ||||
179 | |||||
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 180 | .dashboard-list-item:last-child { |
181 | border-bottom: none; | ||||
182 | } | ||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 183 | |
184 | .payment-toolbar { | ||||
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 185 | .row { |
186 | width: 323px; | ||||
187 | margin: 0 auto; | ||||
188 | } | ||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 189 | } |
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 Waghchaure | baef262 | 2016-08-05 15:41:36 +0530 | [diff] [blame] | 198 | padding :15px; |
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 199 | } |
200 | |||||
201 | .pos-payment-row { | ||||
202 | border-bottom:1px solid #d1d8dd; | ||||
Rohit Waghchaure | 9fe40d5 | 2016-06-13 21:37:10 +0530 | [diff] [blame] | 203 | margin: 2px 0px 5px 0px; |
204 | height: 60px; | ||||
Rohit Waghchaure | baef262 | 2016-08-05 15:41:36 +0530 | [diff] [blame] | 205 | margin-top: 0px; |
206 | margin-bottom: 0px; | ||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 207 | } |
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 Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame^] | 216 | height:69px; |
217 | width:69px; | ||||
218 | font-size:20px; | ||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 219 | font-weight:200; |
220 | background-color: #FDFDFD; | ||||
221 | border-color: #e8e8e8; | ||||
Rohit Waghchaure | e30f83a | 2017-02-24 18:02:50 +0530 | [diff] [blame^] | 222 | 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 Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 231 | } |
232 | |||||
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 233 | .multimode-payments { |
234 | padding-left: 30px; | ||||
235 | } | ||||
236 | |||||
237 | .payment-toolbar { | ||||
238 | padding-right: 30px; | ||||
239 | } | ||||
240 | |||||
rohitwaghchaure | c13dbd4 | 2017-02-01 18:07:22 +0530 | [diff] [blame] | 241 | .list-row-head.pos-invoice-list { |
242 | border-top: 1px solid @border-color; | ||||
243 | } | ||||
244 | |||||
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 245 | body[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 Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 272 | .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 Waghchaure | baef262 | 2016-08-05 15:41:36 +0530 | [diff] [blame] | 284 | |
285 | .write_off_amount, .change_amount { | ||||
286 | margin: 15px; | ||||
287 | width: 130px; | ||||
288 | } | ||||
Neil Trini Lasrado | 2a9e0f6 | 2017-01-09 18:25:43 +0530 | [diff] [blame] | 289 | |
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 | } |