blob: 857ae06a1ecc2c25ab111c7def085c1a478ce98f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
.o_website_sale_image_list .o_kanban_view.o_kanban_ungrouped {
width: auto;
.o_kanban_record{
flex: 0 1 50%;
position: relative;
@include media-breakpoint-up(md) {
flex: 0 0 percentage(1/3);
}
@include media-breakpoint-up(lg) {
flex: 0 0 percentage(1/5);
}
@include media-breakpoint-up(xl) {
flex: 0 0 percentage(1/6);
}
// make the image square and in the center
.o_squared_image {
position: relative;
overflow: hidden;
padding-bottom: 100%;
> img {
position: absolute;
margin: auto;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
}
.o_product_image_size {
position: absolute;
top: 0;
left: 0;
}
}
}
.o_website_sale_image_modal {
.o_website_sale_image_modal_container {
border-left: 1px solid gray('400');
.o_field_image {
margin-bottom: 0;
box-shadow: 0 2px 10px gray('300');
> img {
border: 1px solid gray('400');
height: 200px;
width: auto;
}
.o_form_image_controls {
@include o-hover-opacity(0.7, 1);
padding: 2%;
}
}
}
.o_video_container {
height: 200px;
position: relative;
@include o-we-preview-box($text-muted);
.o_invalid_warning {
width: 90%;
@include o-position-absolute($top: 50%, $left: 50%);
transform: translate(-50%, -50%);
}
}
}
|