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