| 1 |
@import "../base/colors"; |
| 2 |
|
| 3 |
.tableberg-upsell-modal { |
| 4 |
position: fixed; |
| 5 |
top: 0; |
| 6 |
left: 0; |
| 7 |
height: 100%; |
| 8 |
width: 100%; |
| 9 |
display: flex; |
| 10 |
justify-content: center; |
| 11 |
align-items: center; |
| 12 |
z-index: 1000000; |
| 13 |
|
| 14 |
&-backdrop { |
| 15 |
position: absolute; |
| 16 |
top: 0; |
| 17 |
left: 0; |
| 18 |
height: 100%; |
| 19 |
width: 100%; |
| 20 |
background: rgba(0, 0, 0, 0.5); |
| 21 |
backdrop-filter: blur(3px); |
| 22 |
} |
| 23 |
|
| 24 |
&-container { |
| 25 |
position: relative; |
| 26 |
max-width: 500px; |
| 27 |
width: 70%; |
| 28 |
} |
| 29 |
|
| 30 |
&-area { |
| 31 |
background: white; |
| 32 |
border-radius: 5px; |
| 33 |
box-shadow: 2px 4px 6px #100e65; |
| 34 |
|
| 35 |
h2 { |
| 36 |
border-top-left-radius: inherit; |
| 37 |
border-top-right-radius: inherit; |
| 38 |
background: $o-blue-100; |
| 39 |
color: $o-blue-500; |
| 40 |
text-align: center; |
| 41 |
margin: 0; |
| 42 |
padding: 10px; |
| 43 |
font-size: 1rem; |
| 44 |
|
| 45 |
svg { |
| 46 |
height: 1em; |
| 47 |
width: 1em; |
| 48 |
} |
| 49 |
} |
| 50 |
} |
| 51 |
|
| 52 |
&-content { |
| 53 |
padding: 30px 40px; |
| 54 |
padding-bottom: 10px; |
| 55 |
|
| 56 |
img { |
| 57 |
display: block; |
| 58 |
width: 100%; |
| 59 |
min-height: 100px; |
| 60 |
border-radius: 5px; |
| 61 |
border: 1px solid #ebebeb; |
| 62 |
max-height: 70vh; |
| 63 |
object-fit: contain; |
| 64 |
} |
| 65 |
p { |
| 66 |
text-align: center; |
| 67 |
} |
| 68 |
} |
| 69 |
|
| 70 |
&-footer { |
| 71 |
display: flex; |
| 72 |
padding: 30px; |
| 73 |
padding-top: 10px; |
| 74 |
justify-content: space-evenly; |
| 75 |
align-items: center; |
| 76 |
|
| 77 |
button, |
| 78 |
a { |
| 79 |
margin: 0; |
| 80 |
padding: 5px 15px; |
| 81 |
box-shadow: |
| 82 |
0 4px 6px -1px #0000001a, |
| 83 |
0 2px 4px -2px #0000001a; |
| 84 |
border-radius: 5px; |
| 85 |
border: 1px solid rgb(224, 224, 224); |
| 86 |
background: white; |
| 87 |
cursor: pointer; |
| 88 |
} |
| 89 |
|
| 90 |
a { |
| 91 |
background: $o-blue-500; |
| 92 |
color: white; |
| 93 |
text-decoration: none; |
| 94 |
} |
| 95 |
} |
| 96 |
|
| 97 |
.tableberg-upsell-modal-prev, |
| 98 |
.tableberg-upsell-modal-next { |
| 99 |
position: absolute; |
| 100 |
top: 50%; |
| 101 |
cursor: pointer; |
| 102 |
background: transparent; |
| 103 |
border: none; |
| 104 |
color: white; |
| 105 |
font-size: 4rem; |
| 106 |
filter: drop-shadow(2px 4px 6px #100e65); |
| 107 |
transform: translateY(-50%); |
| 108 |
} |
| 109 |
|
| 110 |
.tableberg-upsell-modal-prev { |
| 111 |
right: calc(100% + 80px); |
| 112 |
} |
| 113 |
|
| 114 |
.tableberg-upsell-modal-next { |
| 115 |
left: calc(100% + 80px); |
| 116 |
} |
| 117 |
|
| 118 |
.tableberg-upsell-modal-text:not(img + p) { |
| 119 |
font-size: 1.1rem; |
| 120 |
} |
| 121 |
} |
| 122 |
|