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 | |||||
77 | .item-list-area { | ||||
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; | ||||
85 | border-bottom: 1px solid #d1d8dd; | ||||
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 { | ||||
100 | margin-left: -15px; | ||||
101 | margin-right: -15px; | ||||
102 | } | ||||
103 | |||||
104 | .pos-bill-row { | ||||
105 | margin: 0px; | ||||
106 | padding: 7px 0px; | ||||
107 | border-top: 1px solid #d1d8dd; | ||||
108 | } | ||||
109 | |||||
110 | .pos-bill-header { | ||||
111 | border: none !important; | ||||
112 | background-color: #f5f7fa; | ||||
113 | } | ||||
114 | |||||
115 | .pos-item-qty { | ||||
116 | display: inline-block; | ||||
117 | } | ||||
118 | |||||
119 | .pos-qty-row > div { | ||||
120 | padding: 5px 0px; | ||||
121 | } | ||||
122 | |||||
123 | .pos-qty-btn { | ||||
124 | margin-top: 3px; | ||||
125 | cursor: pointer; | ||||
126 | font-size: 120%; | ||||
127 | } | ||||
128 | |||||
129 | .pos .search-area .form-group { | ||||
130 | max-width: 100% !important; | ||||
131 | } | ||||
132 | |||||
133 | .pos .tax-table { | ||||
134 | margin-bottom: 10px; | ||||
135 | } | ||||
136 | |||||
Anand Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 137 | .erpnext-icon { |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 138 | width: 24px;ack |
Anand Doshi | 906c2ba | 2015-07-17 15:11:24 +0530 | [diff] [blame] | 139 | margin-right: 0px; |
140 | margin-top: -3px; | ||||
141 | } | ||||
Nabin Hait | 3769d87 | 2015-12-18 13:12:02 +0530 | [diff] [blame] | 142 | |
143 | .pos .discount-amount-area { | ||||
144 | .discount-field-col { | ||||
145 | padding-left: 0px; | ||||
146 | } | ||||
Rushabh Mehta | 203cc96 | 2016-04-07 15:25:43 +0530 | [diff] [blame] | 147 | |
Nabin Hait | 3769d87 | 2015-12-18 13:12:02 +0530 | [diff] [blame] | 148 | .input-group { |
149 | margin-top: 2px; | ||||
150 | } | ||||
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 151 | } |
152 | |||||
153 | .dashboard-list-item { | ||||
154 | background-color: inherit; | ||||
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 155 | padding: 5px 0px; |
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 156 | border-bottom: 1px solid @border-color; |
157 | } | ||||
158 | |||||
Rushabh Mehta | d1eba51 | 2016-06-13 17:46:55 +0530 | [diff] [blame] | 159 | #page-stock-balance .dashboard-list-item { |
160 | padding: 5px 15px; | ||||
161 | } | ||||
162 | |||||
Rushabh Mehta | 3d2622c | 2016-04-25 17:53:42 +0530 | [diff] [blame] | 163 | .dashboard-list-item:last-child { |
164 | border-bottom: none; | ||||
165 | } | ||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 166 | |
167 | .payment-toolbar { | ||||
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 168 | .row { |
169 | width: 323px; | ||||
170 | margin: 0 auto; | ||||
171 | } | ||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 172 | } |
173 | |||||
174 | .payment-mode { | ||||
175 | cursor: pointer; | ||||
176 | font-family: sans-serif; | ||||
177 | font-size: 15px; | ||||
178 | } | ||||
179 | |||||
180 | .pos-payment-row .col-xs-6 { | ||||
Rohit Waghchaure | baef262 | 2016-08-05 15:41:36 +0530 | [diff] [blame] | 181 | padding :15px; |
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 182 | } |
183 | |||||
184 | .pos-payment-row { | ||||
185 | border-bottom:1px solid #d1d8dd; | ||||
Rohit Waghchaure | 9fe40d5 | 2016-06-13 21:37:10 +0530 | [diff] [blame] | 186 | margin: 2px 0px 5px 0px; |
187 | height: 60px; | ||||
Rohit Waghchaure | baef262 | 2016-08-05 15:41:36 +0530 | [diff] [blame] | 188 | margin-top: 0px; |
189 | margin-bottom: 0px; | ||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 190 | } |
191 | |||||
192 | .pos-payment-row:hover, .pos-keyboard-key:hover{ | ||||
193 | background-color: #FAFBFC; | ||||
194 | cursor: pointer; | ||||
195 | } | ||||
196 | |||||
197 | .pos-keyboard-key, .delete-btn { | ||||
198 | border: 1px solid #d1d8dd; | ||||
199 | height:85px; | ||||
200 | width:85px; | ||||
201 | margin:10px 10px; | ||||
202 | font-size:24px; | ||||
203 | font-weight:200; | ||||
204 | background-color: #FDFDFD; | ||||
205 | border-color: #e8e8e8; | ||||
206 | } | ||||
207 | |||||
Faris Ansari | 8e282c2 | 2016-07-24 11:36:19 +0530 | [diff] [blame] | 208 | .multimode-payments { |
209 | padding-left: 30px; | ||||
210 | } | ||||
211 | |||||
212 | .payment-toolbar { | ||||
213 | padding-right: 30px; | ||||
214 | } | ||||
215 | |||||
216 | body[data-route="pos"] .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 | } | ||||
227 | |||||
228 | @media (max-width: @screen-xs) { | ||||
229 | .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 | } | ||||
241 | } | ||||
242 | |||||
Rohit Waghchaure | f2aa176 | 2016-05-20 23:55:45 +0530 | [diff] [blame] | 243 | .amount-label { |
244 | font-size: 16px; | ||||
245 | } | ||||
246 | |||||
247 | .selected-payment-mode { | ||||
248 | background-color: #FAFBFC; | ||||
249 | cursor: pointer; | ||||
250 | } | ||||
251 | |||||
252 | .pos-invoice-list { | ||||
253 | padding: 15px 10px; | ||||
254 | } | ||||
Rohit Waghchaure | baef262 | 2016-08-05 15:41:36 +0530 | [diff] [blame] | 255 | |
256 | .write_off_amount, .change_amount { | ||||
257 | margin: 15px; | ||||
258 | width: 130px; | ||||
259 | } | ||||
Neil Trini Lasrado | 2a9e0f6 | 2017-01-09 18:25:43 +0530 | [diff] [blame] | 260 | |
261 | // assessment tool | ||||
262 | .frappe-control[data-fieldname='result_html'] { | ||||
263 | overflow: scroll; | ||||
264 | } | ||||
265 | .assessment-result-tool { | ||||
266 | table-layout: fixed; | ||||
267 | |||||
268 | input { | ||||
269 | width: 100%; | ||||
270 | border: 0; | ||||
271 | outline: none; | ||||
272 | text-align: right; | ||||
273 | } | ||||
274 | |||||
275 | th { | ||||
276 | white-space: nowrap; | ||||
277 | overflow: hidden; | ||||
278 | text-overflow: ellipsis; | ||||
279 | } | ||||
280 | |||||
281 | .total-score, .grade, .score { | ||||
282 | text-align: right; | ||||
283 | } | ||||
284 | } |