Merge branch 'themes3' into shigusegubu-themes3

This commit is contained in:
Henry Jameson 2024-03-25 19:07:40 +02:00
commit 85b656c260
17 changed files with 1146 additions and 302 deletions

View file

@ -9,10 +9,6 @@
outline: none;
}
&:hover {
box-shadow: var(--shadow);
}
.chat-list-item-left {
margin-right: 1em;
}

View file

@ -206,6 +206,7 @@
</div>
<div
v-else
class="Conversation -hidden"
:style="hiddenStyle"
/>
</template>
@ -216,6 +217,11 @@
.Conversation {
z-index: 1;
&.-hidden {
background: var(--__panel-background);
backdrop-filter: var(--__panel-backdrop-filter);
}
.conversation-dive-to-top-level-box {
padding: var(--status-margin);
border-bottom: 1px solid var(--border);

View file

@ -38,7 +38,7 @@ export default {
return (this.poll && this.poll.options) || []
},
expiresAt () {
return (this.poll && this.poll.expires_at) || 0
return (this.poll && this.poll.expires_at) || null
},
expired () {
return (this.poll && this.poll.expired) || false

View file

@ -78,13 +78,16 @@
</button>
<div class="total">
<template v-if="typeof poll.voters_count === 'number'">
{{ $tc("polls.people_voted_count", poll.voters_count, { count: poll.voters_count }) }}&nbsp;·&nbsp;
{{ $tc("polls.people_voted_count", poll.voters_count, { count: poll.voters_count }) }}
</template>
<template v-else>
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }}&nbsp;·&nbsp;
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }}
</template>
<span v-if="expiresAt !== null">
&nbsp;·&nbsp;
</span>
</div>
<span>
<span v-if="expiresAt !== null">
<i18n-t
scope="global"
:keypath="expired ? 'polls.expired' : 'polls.expires_in'"

View file

@ -154,11 +154,6 @@
text-align: center;
}
.Search .tab-switcher .tabs {
background: var(--__panel-background);
backdrop-filter: var(--__panel-backdrop-filter);
}
@media all and (max-width: 800px) {
.search-nav-heading {
.tab-switcher .tabs .tab-wrapper {

View file

@ -347,6 +347,7 @@
position: relative;
display: flex;
align-items: center;
overflow: hidden;
&::before {
content: "";

View file

@ -1,6 +1,7 @@
.Timeline {
.timeline-body {
background: none;
backdrop-filter: none;
}
.alert-badge {

View file

@ -168,11 +168,6 @@
// No sticky header on user profile
--currentPanelStack: 1;
.tab-switcher .tabs {
background: var(--__panel-background);
backdrop-filter: var(--__panel-backdrop-filter);
}
.user-birthday {
margin: 0 0.75em 0.5em;
}