|
@ -46,12 +46,14 @@ |
|
|
</template> |
|
|
</template> |
|
|
</div> |
|
|
</div> |
|
|
<div class="header__col"> |
|
|
<div class="header__col"> |
|
|
<Logo /> |
|
|
|
|
|
<div v-if="!selectedOrig.iata && !isPickerVisible && isMapReady" class="logo-blurb"> |
|
|
|
|
|
from one of <strong>{{ airports_orig.length }}</strong> <span style="color: white;">local</span> airports |
|
|
|
|
|
</div> |
|
|
|
|
|
<div v-if="selectedOrig.iata && !selectedDest.iata && airports_dest.length > 1 && !isPickerVisible && isMapReady" class="logo-blurb"> |
|
|
|
|
|
to one of <strong>{{ airports_dest.length }}</strong> {{ getCompliment() }} destinations |
|
|
|
|
|
|
|
|
<div class="logo-wrapper"> |
|
|
|
|
|
<Logo /> |
|
|
|
|
|
<div v-if="!selectedOrig.iata && !isPickerVisible && isMapReady" class="logo-blurb"> |
|
|
|
|
|
from one of <strong>{{ airports_orig.length }}</strong> <span style="color: white;">local</span> airports |
|
|
|
|
|
</div> |
|
|
|
|
|
<div v-if="selectedOrig.iata && !selectedDest.iata && airports_dest.length > 1 && !isPickerVisible && isMapReady" class="logo-blurb"> |
|
|
|
|
|
to one of <strong>{{ airports_dest.length }}</strong> {{ getCompliment() }} destinations |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="header__col" /> |
|
|
<div class="header__col" /> |
|
@ -373,12 +375,20 @@ main { |
|
|
background: black; |
|
|
background: black; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.logo-wrapper { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.logo-blurb { |
|
|
.logo-blurb { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
left: clamp(47% + 1rem, 51% - 2rem, 47%); |
|
|
|
|
|
font-size: clamp(10px, 1rem, 18px); |
|
|
font-size: clamp(10px, 1rem, 18px); |
|
|
color: white; |
|
|
color: white; |
|
|
top: clamp(20px + 0.25rem, 4rem + 0.25rem, 50px + 0.25rem); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--logo-v-offset: -0.65rem; |
|
|
|
|
|
--logo-h-offset: 0.35rem; |
|
|
|
|
|
|
|
|
|
|
|
top: clamp(20px + var(--logo-v-offset), 4rem + var(--logo-v-offset), 50px + var(--logo-v-offset)); |
|
|
|
|
|
left: clamp(20px + var(--logo-h-offset), 4rem + var(--logo-h-offset), 50px + var(--logo-h-offset)); |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|