blob: 448bd3b75bcc2c57de225d64de63bf922ebd1763 [file] [log] [blame]
Solufyin3be899c2018-08-07 18:28:39 +05301@import "variables.less";
Anand Doshida858cc2015-02-24 17:50:44 +05302
3.web-long-description {
4 font-size: 18px;
5 line-height: 200%;
6}
Anand Doshie3bd78e2016-04-22 18:53:21 +05307
Rushabh Mehtaaedad642016-10-04 11:40:22 +05308.web-page-content {
9 margin-bottom: 30px;
10}
11
Anand Doshida858cc2015-02-24 17:50:44 +053012.item-stock {
13 margin-bottom: 10px !important;
14}
15
16.product-link {
17 display: block;
18 text-align: center;
19}
20
Solufyin3be899c2018-08-07 18:28:39 +053021
22.product-image img {
23 max-height: 500px;
24 margin: 0 auto;
25}
26
Anand Doshida858cc2015-02-24 17:50:44 +053027@media (max-width: 767px) {
28 .product-image {
29 height: 0px;
30 padding: 0px 0px 100%;
31 overflow: hidden;
32 }
33}
34
35.product-image-square {
36 width: 100%;
37 height: 0;
38 padding: 50% 0px;
39 background-size: cover;
40 background-repeat: no-repeat;
41 background-position: center top;
Anand Doshida858cc2015-02-24 17:50:44 +053042}
43
44.product-image.missing-image {
45 .product-image-square;
Anand Doshida858cc2015-02-24 17:50:44 +053046 position: relative;
Anand Doshie3bd78e2016-04-22 18:53:21 +053047 background-color: @light-border-color;
Anand Doshida858cc2015-02-24 17:50:44 +053048}
49
50.product-image.missing-image .octicon {
51 font-size: 32px;
52 color: @border-color;
53}
54
Anand Doshia6f48682016-04-09 22:25:21 +053055.product-search {
56 margin-bottom: 15px;
57}
58
59
Anand Doshi81bded12015-05-27 16:48:06 -040060@media (max-width: 767px) {
61 .product-search {
62 width: 100%;
Anand Doshi81bded12015-05-27 16:48:06 -040063 }
64}
Kanchan Chauhan11638ba2016-04-20 16:20:49 +053065
66.borderless td, .borderless th {
67 border-bottom: 1px solid @light-border-color;
68 padding-left:0px !important;
69 line-height: 1.8em !important;
70}
71
72.item-desc {
73 border-top: 2px solid @light-border-color;
74 padding-top:10px;
75}
Kanchan Chauhane0818f82016-04-22 14:39:02 +053076
77.featured-products {
78 border-top: 1px solid @light-border-color;
79}
Anand Doshie3bd78e2016-04-22 18:53:21 +053080
81.transaction-list-item {
Anand Doshie3bd78e2016-04-22 18:53:21 +053082 .indicator {
Anand Doshie3bd78e2016-04-22 18:53:21 +053083 font-weight: inherit;
84 color: @text-muted;
Anand Doshie3bd78e2016-04-22 18:53:21 +053085 }
86
87 .transaction-time {
Anand Doshie3bd78e2016-04-22 18:53:21 +053088 margin-top: 5px;
89 }
Rushabh Mehtad40e6612017-01-10 14:46:45 +053090
Anand Doshie3bd78e2016-04-22 18:53:21 +053091}
92
93// order.html
94.transaction-subheading {
95 .indicator {
96 font-weight: inherit;
97 color: @text-muted;
98 }
99}
100
101.order-container {
102 margin: 50px 0px;
103
104 .order-item-header .h6 {
105 padding: 7px 15px;
106 }
107
108 .order-items {
109 margin: 30px 0px 0px;
110 }
111
112 .order-item-table {
113 margin: 0px -15px;
114 }
115
116 .order-item-header {
117 border-bottom: 1px solid #d1d8dd;
118 }
119
120 .order-image-col {
121 padding-right: 0px;
122 }
123
124 .order-image {
125 max-width: 55px;
126 max-height: 55px;
127 margin-top: -5px;
128 }
129
130 .order-taxes {
131 margin-top: 30px;
132
133 .row {
134 margin-top: 15px;
135 }
136 }
137
138 .tax-grand-total-row {
Anand Doshie3bd78e2016-04-22 18:53:21 +0530139 padding-top: 15px;
Rushabh Mehtaac123c52016-05-20 16:36:56 +0530140 padding-bottom: 30px;
Anand Doshie3bd78e2016-04-22 18:53:21 +0530141 }
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530142
143 .tax-grand-total {
144 display: inline-block;
145 font-size: 16px;
146 font-weight: bold;
147 margin-top: 5px;
148 }
Anand Doshie3bd78e2016-04-22 18:53:21 +0530149}
150
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530151.cart-container {
152 margin: 50px 0px;
Rushabh Mehtab6bca562016-09-13 14:37:09 +0530153
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530154 .checkout {
155 margin-bottom:15px;
156 }
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530157
158 .cart-item-header .h6 {
159 padding: 7px 15px;
160 }
161
162 .cart-items {
163 margin: 30px 0px 0px;
164 }
165
166 .cart-item-table {
167 margin: 0px -15px;
168 }
169
170 .cart-item-header {
171 border-bottom: 1px solid #d1d8dd;
172 }
173
174 .cart-image-col {
175 padding-right: 0px;
176 }
177
178 .cart-image {
179 max-width: 55px;
180 max-height: 55px;
181 margin-top: -5px;
182 }
183
184 .cart-taxes {
185 margin-top: 30px;
186
187 .row {
188 margin-top: 15px;
189 }
190 }
191
192 .tax-grand-total-row {
193 border-top: 1px solid @border-color;
194 padding-top: 15px;
195 }
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530196
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530197 .cart-addresses {
198 margin-top: 50px;
199 }
200}
201
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530202.cart-items-dropdown .cart-dropdown,
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530203.item_name_dropdown {
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530204 display: none;
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530205
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530206}
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530207
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530208.cart-dropdown-container {
209 width: 400px;
210 padding: 15px;
Rushabh Mehtab6bca562016-09-13 14:37:09 +0530211
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530212 .item-price {
213 display: block !important;
214 padding-bottom: 10px;
215 }
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530216
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530217 .cart-item-header {
218 border-bottom: 1px solid #d1d8dd;
219 }
Rushabh Mehtab6bca562016-09-13 14:37:09 +0530220
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530221 .cart-items-dropdown {
222 max-height: 350px;
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530223 }
Rushabh Mehtab6bca562016-09-13 14:37:09 +0530224
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530225 .cart-items-dropdown .cart-dropdown {
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530226 display:block;
Solufyin3be899c2018-08-07 18:28:39 +0530227 margin-top:15px;
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530228 }
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530229
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530230 .item_name_dropdown {
231 display:block;
232 }
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530233
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530234 .item-description,
235 .cart-items .checkout,
236 .item_name_and_description {
237 display: none;
238 }
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530239
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530240 .checkout-btn {
Britlogbe9a7232018-02-12 06:58:57 +0100241 padding-bottom:25px;
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530242 }
243 .col-name-description {
244 margin-bottom:8px;
245 }
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530246}
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530247
Kanchan Chauhanc8d47da2016-06-22 15:46:38 +0530248.number-spinner {
249 width:100px;
250 margin-top:5px;
251}
252
253.cart-btn {
254 border-color: #ccc;
255}
256.cart-qty {
257 text-align:center;
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530258}
259
Anand Doshia6f48682016-04-09 22:25:21 +0530260.product-list-link {
261 .row {
262 border-bottom: 1px solid @light-border-color;
263 }
264
265 .row:hover {
266 background-color: @light-bg;
267 }
268
269 .row > div {
270 padding-top: 15px;
271 padding-bottom: 15px;
272 }
273}
274
275.product-list-link:first-child .row {
276 border-top: 1px solid @light-border-color;
277}
278
279.item-group-nav-buttons {
280 margin-top: 15px;
281}
282
Rushabh Mehtaac123c52016-05-20 16:36:56 +0530283.footer-subscribe {
284 .btn-default {
285 background-color: transparent;
286 border: 1px solid @border-color;
287 }
288}
289
Anand Doshia6f48682016-04-09 22:25:21 +0530290@media (min-width: 992px) {
291 .footer-subscribe {
292 max-width: 350px;
293 }
294}
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530295
296.item-group-content {
297 margin-top: 30px;
298}
299
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530300.product-image-img {
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530301 border: 1px solid @light-border-color;
302 border-radius: 3px;
303}
304
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530305.product-text {
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530306 border-top: 1px solid @light-border-color;
307 padding: 15px;
308 word-wrap: break-word;
309 height: 75px;
Faris Ansari8371c1c2017-04-17 11:12:21 +0530310 display: block; /* Fallback for non-webkit */
311 display: -webkit-box;
312 max-width: 100%;
313 margin: 0 auto;
314 -webkit-line-clamp: 3;
315 -webkit-box-orient: vertical;
316 overflow: hidden;
317 text-overflow: ellipsis;
Kanchan Chauhan239b3512016-05-02 11:43:44 +0530318}
319
Rushabh Mehta4b9238a2016-05-12 15:22:59 +0530320.product-image-wrapper {
321 padding-bottom: 40px;
pratu16x760fe77c2017-02-13 21:52:43 +0530322}
323
324.duration-bar {
325 display: inline-block;
326 color: white;
pratu16x760fe77c2017-02-13 21:52:43 +0530327 background: #8FD288;
328 padding: 3px;
329}
330
331.duration-invisible {
332 visibility: hidden;
333}
334
335.duration-value {
336 float: right;
337}
338
339.bar-outer-text {
340 color: #8FD288;
341 background: none;
342 float: none;
343 border: none;
pratu16x7462e89e2017-02-14 17:17:28 +0530344}
345
346.bom-spec {
347 margin-bottom: 20px;
Solufyin3be899c2018-08-07 18:28:39 +0530348}
349
350// For Item Alternate Image
351.item-alternative-image {
352 padding: 5px;
353 margin-bottom: 5px;
354
355 &:hover {
356 border-color: @brand-primary;
357 }
358}