Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 1 | @border-color: #d1d8dd; |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 2 | @light-border-color: #EBEFF2; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 3 | |
| 4 | .web-long-description { |
| 5 | font-size: 18px; |
| 6 | line-height: 200%; |
| 7 | } |
| 8 | .item-stock { |
| 9 | margin-bottom: 10px !important; |
| 10 | } |
| 11 | |
| 12 | .product-link { |
| 13 | display: block; |
| 14 | text-align: center; |
| 15 | } |
| 16 | |
| 17 | .product-image-wrapper { |
| 18 | max-width: 300px; |
| 19 | margin: auto; |
| 20 | border-radius: 4px; |
| 21 | } |
| 22 | |
| 23 | @media (max-width: 767px) { |
| 24 | .product-image { |
| 25 | height: 0px; |
| 26 | padding: 0px 0px 100%; |
| 27 | overflow: hidden; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | .product-image-square { |
| 32 | width: 100%; |
| 33 | height: 0; |
| 34 | padding: 50% 0px; |
| 35 | background-size: cover; |
| 36 | background-repeat: no-repeat; |
| 37 | background-position: center top; |
| 38 | border-radius: 0.5em; |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 39 | border: 1px solid @light-border-color; |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | .product-image.missing-image { |
| 43 | .product-image-square; |
| 44 | border: 1px dashed @border-color; |
| 45 | position: relative; |
| 46 | } |
| 47 | |
| 48 | .product-image.missing-image .octicon { |
| 49 | font-size: 32px; |
| 50 | color: @border-color; |
| 51 | } |
| 52 | |
| 53 | .product-text { |
| 54 | padding: 15px 0px; |
| 55 | } |
Anand Doshi | 81bded1 | 2015-05-27 16:48:06 -0400 | [diff] [blame] | 56 | |
| 57 | @media (max-width: 767px) { |
| 58 | .product-search { |
| 59 | width: 100%; |
| 60 | margin-bottom: 13px; |
| 61 | } |
| 62 | } |