Faris Ansari | 5f8b358 | 2019-03-19 11:48:32 +0530 | [diff] [blame] | 1 | @import "frappe/public/scss/variables"; |
2 | |||||
3 | .product-image img { | ||||
4 | min-height: 20rem; | ||||
5 | max-height: 30rem; | ||||
6 | } | ||||
7 | |||||
8 | .filter-options { | ||||
9 | max-height: 300px; | ||||
10 | overflow: auto; | ||||
11 | } | ||||
12 | |||||
13 | .item-slideshow-image { | ||||
14 | height: 3rem; | ||||
15 | width: 3rem; | ||||
16 | object-fit: contain; | ||||
17 | padding: 0.5rem; | ||||
18 | border: 1px solid $border-color; | ||||
19 | border-radius: 4px; | ||||
20 | cursor: pointer; | ||||
21 | |||||
22 | &:hover, &.active { | ||||
23 | border-color: $primary; | ||||
24 | } | ||||
25 | } | ||||
26 | |||||
27 | .address-card { | ||||
28 | cursor: pointer; | ||||
29 | position: relative; | ||||
30 | |||||
31 | .check { | ||||
32 | display: none; | ||||
33 | } | ||||
34 | |||||
35 | &.active { | ||||
36 | border-color: $primary; | ||||
37 | |||||
38 | .check { | ||||
39 | display: inline-flex; | ||||
40 | } | ||||
41 | } | ||||
42 | } | ||||
43 | |||||
44 | .check { | ||||
45 | display: inline-flex; | ||||
46 | padding: 0.25rem; | ||||
47 | background: $primary; | ||||
48 | color: white; | ||||
49 | border-radius: 50%; | ||||
50 | font-size: 12px; | ||||
51 | width: 24px; | ||||
52 | height: 24px; | ||||
53 | } |