merge: Customize Sidebar/Visitor/About separately from app icon. (!632)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/632 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
commit
0bd6d48c7e
15 changed files with 98 additions and 8 deletions
|
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<template>
|
||||
<div v-if="instance" :class="$style.root">
|
||||
<div :class="[$style.main, $style.panel]">
|
||||
<img :src="instance.iconUrl || '/apple-touch-icon.png'" alt="" :class="$style.mainIcon"/>
|
||||
<img :src="instance.sidebarLogoUrl || instance.iconUrl || '/apple-touch-icon.png'" alt="" :class="instance.sidebarLogoUrl ? $style.wideIcon : $style.mainIcon"/>
|
||||
<button class="_button _acrylic" :class="$style.mainMenu" @click="showMenu"><i class="ti ti-dots"></i></button>
|
||||
<div :class="$style.mainFg">
|
||||
<h1 :class="$style.mainTitle">
|
||||
|
|
@ -126,6 +126,14 @@ function showMenu(ev: MouseEvent) {
|
|||
filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
|
||||
}
|
||||
|
||||
.wideIcon {
|
||||
min-width: 85px;
|
||||
max-width: 60%;
|
||||
margin-top: -47px;
|
||||
vertical-align: bottom;
|
||||
filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
|
||||
}
|
||||
|
||||
.mainMenu {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue