Minor style fixes
This commit is contained in:
parent
7128b148c2
commit
d1b17e47b3
|
@ -451,8 +451,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttonWrite {
|
.buttonWrite {
|
||||||
|
background: #ccc;
|
||||||
color: #000;
|
color: #000;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
font-weight: 500;
|
||||||
transition:
|
transition:
|
||||||
background-color 0.3s,
|
background-color 0.3s,
|
||||||
color 0.3s;
|
color 0.3s;
|
||||||
|
|
|
@ -327,9 +327,9 @@ export const AuthorCard = (props: Props) => {
|
||||||
|
|
||||||
<Show when={!props.hideWriteButton}>
|
<Show when={!props.hideWriteButton}>
|
||||||
<button
|
<button
|
||||||
class={clsx(styles.button, styles.buttonSubscribe)}
|
class={styles.button}
|
||||||
classList={{
|
classList={{
|
||||||
'button--subscribe': !props.isAuthorsList,
|
'button--light': !props.isAuthorsList,
|
||||||
'button--subscribe-topic': props.isAuthorsList,
|
'button--subscribe-topic': props.isAuthorsList,
|
||||||
[styles.buttonWrite]: props.liteButtons && props.isAuthorsList
|
[styles.buttonWrite]: props.liteButtons && props.isAuthorsList
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -115,12 +115,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.shoutAuthor,
|
|
||||||
.shoutDate {
|
|
||||||
@include font-size(1.4rem);
|
|
||||||
}
|
|
||||||
|
|
||||||
.shoutAuthor {
|
.shoutAuthor {
|
||||||
|
@include font-size(1.4rem);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-right: 1.6rem;
|
margin-right: 1.6rem;
|
||||||
|
|
||||||
|
@ -139,9 +135,11 @@
|
||||||
.shoutDate {
|
.shoutDate {
|
||||||
color: #9fa1a7;
|
color: #9fa1a7;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
@include font-size(1.2rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.shoutDetails {
|
.shoutDetails {
|
||||||
|
align-items: end;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
@ -149,8 +147,7 @@
|
||||||
.shoutDetailsFeedMode {
|
.shoutDetailsFeedMode {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
.shoutAuthor,
|
.shoutAuthor {
|
||||||
.shoutDate {
|
|
||||||
@include font-size(1.2rem);
|
@include font-size(1.2rem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -194,19 +191,27 @@
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
margin-bottom: 1.4rem;
|
margin-bottom: 1.4rem;
|
||||||
transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
|
transition:
|
||||||
|
color 0.2s,
|
||||||
|
background-color 0.2s,
|
||||||
|
box-shadow 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shoutCardLinkContainer {
|
.shoutCardLinkContainer {
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
|
transition:
|
||||||
|
color 0.2s,
|
||||||
|
background-color 0.2s,
|
||||||
|
box-shadow 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shoutCardEditControl {
|
.shoutCardEditControl {
|
||||||
border-radius: 2em;
|
border-radius: 2em;
|
||||||
min-height: 2.6em;
|
min-height: 2.6em;
|
||||||
padding: 0 1.4em;
|
padding: 0 1.4em;
|
||||||
transition: background-color 0.2s, color 0.2s;
|
transition:
|
||||||
|
background-color 0.2s,
|
||||||
|
color 0.2s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--background-color-invert);
|
background: var(--background-color-invert);
|
||||||
|
|
|
@ -421,6 +421,10 @@
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
@include media-breakpoint-up(xl) {
|
||||||
|
right: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.control {
|
.control {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
@ -219,6 +219,7 @@ export const Header = (props: Props) => {
|
||||||
<Link
|
<Link
|
||||||
onMouseOver={() => toggleSubnavigation(true, setIsKnowledgeBaseVisible)}
|
onMouseOver={() => toggleSubnavigation(true, setIsKnowledgeBaseVisible)}
|
||||||
onMouseOut={() => hideSubnavigation}
|
onMouseOut={() => hideSubnavigation}
|
||||||
|
routeName="guide"
|
||||||
body={t('Knowledge base')}
|
body={t('Knowledge base')}
|
||||||
active={isKnowledgeBaseVisible()}
|
active={isKnowledgeBaseVisible()}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -158,8 +158,9 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 20px;
|
line-height: 1.8rem;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
vertical-align: bottom;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: rgb(0 0 0 / 50%);
|
color: rgb(0 0 0 / 50%);
|
||||||
|
|
|
@ -289,12 +289,16 @@ button {
|
||||||
|
|
||||||
.button--light {
|
.button--light {
|
||||||
@include font-size(1.5rem);
|
@include font-size(1.5rem);
|
||||||
|
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
|
border-radius: 0.8rem;
|
||||||
color: #000;
|
color: #000;
|
||||||
font-weight: 400;
|
font-weight: 500;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0.6rem 1.2rem 0.6rem 1rem;
|
padding: 0.6rem 1.2rem 0.6rem 1rem;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: #e9e9ee;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button--subscribe-topic {
|
.button--subscribe-topic {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user