Simplified single-site network overview. Added Jules Jordan favicons.

This commit is contained in:
2020-01-07 00:30:51 +01:00
parent 6ba604709e
commit 89064e9e0c
21 changed files with 82 additions and 42 deletions

View File

@@ -5,8 +5,14 @@
>
<FilterBar :fetch-releases="fetchNetwork" />
<div class="network">
<div class="sidebar">
<div
class="network"
:class="{ nosites: sites.length === 0 }"
>
<div
v-show="sites.length > 0"
class="sidebar"
>
<a
v-tooltip.bottom="`Go to ${network.url}`"
:href="network.url"
@@ -31,7 +37,10 @@
/>
</div>
<div class="header">
<div
class="header"
:class="{ hideable: sites.length > 0 }"
>
<a
v-tooltip.bottom="`Go to ${network.url}`"
:href="network.url"
@@ -130,6 +139,10 @@ export default {
flex-grow: 1;
justify-content: stretch;
overflow-y: auto;
&.nosites {
flex-direction: column;
}
}
.content-inner {
@@ -169,11 +182,21 @@ export default {
.header {
width: 100%;
height: 3rem;
display: none;
display: flex;
flex-shrink: 0;
justify-content: center;
border-bottom: solid 1px $shadow-hint;
background: $profile;
&.hideable {
display: none;
}
.logo {
max-width: 20rem;
height: 100%;
padding: .5rem;
}
}
.sites.compact {
@@ -194,7 +217,8 @@ export default {
}
@media(max-width: $breakpoint) {
.header {
.header,
.header.hideable {
display: flex;
}
@@ -214,12 +238,6 @@ export default {
flex-direction: column;
}
.logo {
max-width: 20rem;
height: 100%;
padding: .5rem;
}
.sidebar {
display: none;
height: auto;

View File

@@ -81,18 +81,6 @@
<span class="chain">presents</span>
<a
v-if="release.studio"
:href="`/site/${release.studio.slug}`"
>
<img
:src="`/img/logos/${release.network.slug}/${release.studio.slug}.png`"
:title="release.studio.name"
class="logo logo-site"
>
</a>
<a
v-else
:href="`/site/${release.site.slug}`"
>
<img