| 1 |
.o_hr_barcode_bg { |
| 2 |
height: 100%; |
| 3 |
display: flex; |
| 4 |
flex-flow: column nowrap; |
| 5 |
justify-content: center; |
| 6 |
align-items: center; |
| 7 |
|
| 8 |
@include media-breakpoint-up(md) { |
| 9 |
@include o-position-absolute(0, 0, 0, 0); |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
.o_hr_barcode_main { |
| 14 |
max-width: 600px; |
| 15 |
margin: auto; |
| 16 |
background: white; |
| 17 |
.o_barcode_mobile_container { |
| 18 |
margin-top: 40px; |
| 19 |
margin-bottom: -40px; |
| 20 |
img { |
| 21 |
height: 185px; |
| 22 |
width: 275px; |
| 23 |
} |
| 24 |
// In order to have the o_mobile_barcode button on both the image and the label, |
| 25 |
// We use negative margin at the bottom and 0 opacity (since not needed in the view) |
| 26 |
.o_mobile_barcode { |
| 27 |
opacity: 0; |
| 28 |
height: 225px; |
| 29 |
width: 275px; |
| 30 |
bottom: -40px; |
| 31 |
} |
| 32 |
.o_barcode_laser { |
| 33 |
height: 3px; |
| 34 |
width: 125%; |
| 35 |
left: -12.5%; |
| 36 |
} |
| 37 |
} |
| 38 |
@include media-breakpoint-down(md) { |
| 39 |
padding: 0 1em 1em .75em; |
| 40 |
} |
| 41 |
@include media-breakpoint-up(md) { |
| 42 |
flex: 0 0 auto; |
| 43 |
width: 550px; |
| 44 |
border-radius: 10px; |
| 45 |
-webkit-border-radius: 10px; |
| 46 |
-moz-border-radius: 10px; |
| 47 |
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6); |
| 48 |
font-size: 1.2em; |
| 49 |
padding: 0 1em 1em .75em; |
| 50 |
} |
| 51 |
} |