fix(time-travelers): don't timeshift background without Hourglass (#10468)

This commit is contained in:
Sabe Jones
2018-06-27 12:12:36 -05:00
committed by Matteo Pagliazzi
parent 50b98d8d92
commit 0062e5b1f1

View File

@@ -22,7 +22,7 @@
)
.standard-page
div.featuredItems
.background
.background(:class="{'background-closed': closed, 'background-open': !closed }")
div.npc(:class="{'closed': closed }")
div.featured-label
span.rectangle
@@ -34,8 +34,6 @@
span.text(v-once) {{ $t('timeTravelersPopoverNoSubMobile') }}
span.rectangle
h1.mb-4.page-header(v-once) {{ $t('timeTravelers') }}
.clearfix(v-if="!closed")
div.float-right
span.dropdown-label {{ $t('sortBy') }}
@@ -164,12 +162,9 @@
height: 216px;
.background {
background: url('~assets/images/npc/#{$npc_timetravelers_flavor}/time_travelers_background.png');
background-repeat: repeat-x;
width: 100%;
height: 216px;
position: absolute;
top: 0;
@@ -180,6 +175,14 @@
justify-content: center;
align-items: center;
}
.background-open {
background: url('~assets/images/npc/#{$npc_timetravelers_flavor}/time_travelers_background.png');
height: 188px;
}
.background-closed {
background: url('~assets/images/npc/normal/time_travelers_background.png');
height: 216px;
}
.content {
display: flex;