Minor style fixes
This commit is contained in:
parent
af49b53a9b
commit
d2c6f94c33
|
@ -5,19 +5,6 @@
|
||||||
.albumInfo {
|
.albumInfo {
|
||||||
margin-right: 224px;
|
margin-right: 224px;
|
||||||
|
|
||||||
.topic {
|
|
||||||
.link {
|
|
||||||
@include font-size(1.6rem);
|
|
||||||
|
|
||||||
color: var(--blue-link);
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
& > h1 {
|
& > h1 {
|
||||||
margin: 16px 0 0;
|
margin: 16px 0 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@ import { Icon } from '../../_shared/Icon'
|
||||||
import { Topic } from '../../../graphql/types.gen'
|
import { Topic } from '../../../graphql/types.gen'
|
||||||
import { getPagePath } from '@nanostores/router'
|
import { getPagePath } from '@nanostores/router'
|
||||||
import { router } from '../../../stores/router'
|
import { router } from '../../../stores/router'
|
||||||
|
import { CardTopic } from '../../Feed/CardTopic'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
title: string
|
title: string
|
||||||
|
@ -29,11 +30,7 @@ export const AudioHeader = (props: Props) => {
|
||||||
</div>
|
</div>
|
||||||
<div class={styles.albumInfo}>
|
<div class={styles.albumInfo}>
|
||||||
<Show when={props.topic}>
|
<Show when={props.topic}>
|
||||||
<div class={styles.topic}>
|
<CardTopic title={props.topic.title} slug={props.topic.slug} />
|
||||||
<a href={getPagePath(router, 'topic', { slug: props.topic.slug })} class={styles.link}>
|
|
||||||
{props.topic.title}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</Show>
|
</Show>
|
||||||
<h1>{props.title}</h1>
|
<h1>{props.title}</h1>
|
||||||
<Show when={props.artistData}>
|
<Show when={props.artistData}>
|
||||||
|
|
|
@ -90,19 +90,22 @@
|
||||||
|
|
||||||
.authorName {
|
.authorName {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
display: block;
|
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-bottom: 0.8rem;
|
margin-bottom: 0.8rem;
|
||||||
|
|
||||||
.listWrapper &:before {
|
.listWrapper & {
|
||||||
content: '';
|
display: block;
|
||||||
height: 100%;
|
|
||||||
left: 0;
|
&:before {
|
||||||
position: absolute;
|
content: '';
|
||||||
top: 0;
|
height: 100%;
|
||||||
width: 100%;
|
left: 0;
|
||||||
z-index: 2;
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -470,21 +473,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttonWriteAuthorPage {
|
|
||||||
background: #f6f6f6 !important;
|
|
||||||
border-radius: 0.8rem;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: #e9e9ee !important;
|
|
||||||
border-color: #e9e9ee;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:active {
|
|
||||||
background: #ccc !important;
|
|
||||||
border-color: #ccc;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.authorPage {
|
.authorPage {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
|
|
@ -353,9 +353,8 @@ export const AuthorCard = (props: Props) => {
|
||||||
|
|
||||||
<Show when={!props.hideWriteButton}>
|
<Show when={!props.hideWriteButton}>
|
||||||
<button
|
<button
|
||||||
class={styles.button}
|
class={clsx(styles.button, styles.buttonSubscribe)}
|
||||||
classList={{
|
classList={{
|
||||||
[styles.buttonWriteAuthorPage]: !props.isAuthorsList,
|
|
||||||
'button--subscribe': !props.isAuthorsList,
|
'button--subscribe': !props.isAuthorsList,
|
||||||
'button--subscribe-topic': props.isAuthorsList,
|
'button--subscribe-topic': props.isAuthorsList,
|
||||||
[styles.buttonWrite]: props.liteButtons && props.isAuthorsList
|
[styles.buttonWrite]: props.liteButtons && props.isAuthorsList
|
||||||
|
|
|
@ -250,7 +250,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.mainNavigationItemActive {
|
.mainNavigationItemActive {
|
||||||
background: var(--link-hover-background);
|
background: var(--link-hover-background) !important;
|
||||||
color: var(--link-hover-color) !important;
|
color: var(--link-hover-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
margin-bottom: 1.2rem;
|
margin-bottom: 1.2rem;
|
||||||
margin-top: 0.5rem !important;
|
margin-top: 0.5rem !important;
|
||||||
|
|
||||||
a {
|
a:link {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.withPadding {
|
main.withPadding {
|
||||||
padding-top: 58px;
|
padding-top: 58px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,8 @@
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a:link,
|
||||||
|
:global(.link) {
|
||||||
border: none;
|
border: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
|
@ -100,7 +101,9 @@
|
||||||
|
|
||||||
.shareControl {
|
.shareControl {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
transition: color 0.3s, background-color 0.3s;
|
transition:
|
||||||
|
color 0.3s,
|
||||||
|
background-color 0.3s;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
|
@ -645,7 +645,7 @@ figure {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user