move definitions for timeline header buttons to Panel.scss, now called
rightside buttons
This commit is contained in:
parent
ce6ce4b6cd
commit
0331e42ee8
6 changed files with 41 additions and 60 deletions
|
|
@ -13,38 +13,6 @@
|
|||
background-color: var(--cGreen);
|
||||
}
|
||||
|
||||
.timeline-header-button {
|
||||
align-self: stretch;
|
||||
text-align: center;
|
||||
width: var(--__panel-heading-height);
|
||||
height: var(--__panel-heading-height);
|
||||
margin: calc(-1 * var(--panel-heading-height-padding)) 0;
|
||||
margin-right: calc(-1 * var(--__panel-heading-gap));
|
||||
|
||||
> button {
|
||||
box-sizing: border-box;
|
||||
padding: calc(1 * var(--panel-heading-height-padding)) 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
svg {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.timeline-header-icon {
|
||||
align-self: stretch;
|
||||
text-align: center;
|
||||
width: var(--__panel-heading-height);
|
||||
margin-right: calc(-1 * var(--__panel-heading-gap));
|
||||
|
||||
svg {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
}
|
||||
|
||||
.loadmore-button {
|
||||
position: relative
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
:timeline-name="timelineName"
|
||||
/>
|
||||
<div
|
||||
class="timeline-header-button"
|
||||
class="rightside-button"
|
||||
v-if="showScrollTop && !embedded"
|
||||
>
|
||||
<button
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
<template v-if="mobileLayout && !embedded">
|
||||
<div
|
||||
class="timeline-header-button"
|
||||
class="rightside-button"
|
||||
v-if="showLoadButton"
|
||||
>
|
||||
<button
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
<div
|
||||
v-else-if="!embedded"
|
||||
class="loadmore-text faint veryfaint timeline-header-icon"
|
||||
class="loadmore-text faint veryfaint rightside-icon"
|
||||
@click.prevent
|
||||
>
|
||||
<FAIcon
|
||||
|
|
@ -66,8 +66,8 @@
|
|||
{{ $t('timeline.up_to_date') }}
|
||||
</div>
|
||||
</template>
|
||||
<QuickFilterSettings v-if="!embedded" class="timeline-header-button"/>
|
||||
<QuickViewSettings v-if="!embedded" class="timeline-header-button"/>
|
||||
<QuickFilterSettings v-if="!embedded" class="rightside-button"/>
|
||||
<QuickViewSettings v-if="!embedded" class="rightside-button"/>
|
||||
</div>
|
||||
<div :class="classes.body">
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue