move definitions for timeline header buttons to Panel.scss, now called
rightside buttons
This commit is contained in:
parent
ce6ce4b6cd
commit
0331e42ee8
@ -20,10 +20,12 @@
|
||||
<QuickFilterSettings
|
||||
v-if="!collapsable"
|
||||
:conversation="true"
|
||||
class="rightside-button"
|
||||
/>
|
||||
<QuickViewSettings
|
||||
v-if="!collapsable"
|
||||
:conversation="true"
|
||||
class="rightside-button"
|
||||
/>
|
||||
</div>
|
||||
<div class="conversation-body panel-body">
|
||||
|
@ -29,27 +29,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notification {
|
||||
|
@ -21,7 +21,7 @@
|
||||
>{{ unseenCount }}</span>
|
||||
</div>
|
||||
<div
|
||||
class="timeline-header-button"
|
||||
class="rightside-button"
|
||||
v-if="showScrollTop"
|
||||
>
|
||||
<button
|
||||
@ -46,7 +46,7 @@
|
||||
>
|
||||
{{ $t('notifications.read') }}
|
||||
</button>
|
||||
<NotificationFilters class="timeline-header-button" />
|
||||
<NotificationFilters class="rightside-button" />
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div
|
||||
|
@ -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
|
||||
|
@ -196,6 +196,38 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rightside-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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rightside-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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.panel-footer {
|
||||
|
Loading…
Reference in New Issue
Block a user