blob: 96dd0966abc2a03898f54181ed2924af1c5aa2c4 [file] [log] [blame]
Anand Doshida858cc2015-02-24 17:50:44 +05301@border-color: #d1d8dd;
Rushabh Mehta156ce602015-09-11 18:49:59 +05302@light-border-color: #EBEFF2;
Anand Doshida858cc2015-02-24 17:50:44 +05303
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 Mehta156ce602015-09-11 18:49:59 +053039 border: 1px solid @light-border-color;
Anand Doshida858cc2015-02-24 17:50:44 +053040}
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 Doshi81bded12015-05-27 16:48:06 -040056
57@media (max-width: 767px) {
58 .product-search {
59 width: 100%;
60 margin-bottom: 13px;
61 }
62}