| 1 |
html, body { |
| 2 |
height: 100%; |
| 3 |
width: 100%; |
| 4 |
margin: 0; |
| 5 |
padding: 0; |
| 6 |
overflow: hidden; |
| 7 |
} |
| 8 |
ul, ol { |
| 9 |
padding: 0; |
| 10 |
margin: 0; |
| 11 |
} |
| 12 |
li { |
| 13 |
list-style-type: none; |
| 14 |
} |
| 15 |
::-webkit-scrollbar { |
| 16 |
display: none; |
| 17 |
} |
| 18 |
|
| 19 |
.o_customer_display { |
| 20 |
flex-direction: column; |
| 21 |
|
| 22 |
@include media-breakpoint-up(md) { |
| 23 |
flex-direction: row; |
| 24 |
} |
| 25 |
|
| 26 |
@media (orientation: portrait) { |
| 27 |
flex-direction: column; |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
.o_customer_display_logo img { |
| 32 |
max-height: 10rem; |
| 33 |
|
| 34 |
@include media-breakpoint-down(md) { |
| 35 |
max-height: 5rem; |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
.o_customer_display_sidebar { |
| 40 |
background: center / cover no-repeat; |
| 41 |
border-right: $border-width solid $border-color; |
| 42 |
flex-basis: 50%; |
| 43 |
|
| 44 |
@include media-breakpoint-down(md) { |
| 45 |
border-right: 0; |
| 46 |
border-bottom: $border-width solid $border-color; |
| 47 |
} |
| 48 |
|
| 49 |
@media (orientation: portrait) { |
| 50 |
flex-basis: 0; |
| 51 |
} |
| 52 |
} |
| 53 |
.o_customer_display_main { |
| 54 |
flex-basis: 50%; |
| 55 |
|
| 56 |
@media (orientation: portrait) { |
| 57 |
flex-basis: 0; |
| 58 |
} |
| 59 |
} |
| 60 |
.o_customer_display_orderline { |
| 61 |
scroll-snap-align: center; |
| 62 |
animation: item_in 1s ease; |
| 63 |
padding: 0 !important; |
| 64 |
|
| 65 |
&:not(:last-child) { |
| 66 |
border-bottom: $border-width solid $border-color; |
| 67 |
} |
| 68 |
|
| 69 |
.price-per-unit { |
| 70 |
font-size: $font-size-base; |
| 71 |
} |
| 72 |
} |
| 73 |
|
| 74 |
@keyframes item_in { |
| 75 |
0% { |
| 76 |
opacity: 0; |
| 77 |
margin-top: -30px; |
| 78 |
} |
| 79 |
50% { |
| 80 |
margin-top: 0; |
| 81 |
} |
| 82 |
100% { |
| 83 |
opacity: 1; |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
.o_line_container { |
| 88 |
width: 4rem; |
| 89 |
height: 60px; |
| 90 |
padding: map-get($spacers, 2); |
| 91 |
|
| 92 |
img { |
| 93 |
max-height: 100%; |
| 94 |
max-width: 100%; |
| 95 |
border-radius: $border-radius-lg !important; |
| 96 |
} |
| 97 |
} |