diff --git a/public/icons/bookmark-x.svg b/public/icons/bookmark-x.svg index e55f6b2d..611542d8 100644 --- a/public/icons/bookmark-x.svg +++ b/public/icons/bookmark-x.svg @@ -1,4 +1,3 @@ - - + + diff --git a/public/icons/bookmark.svg b/public/icons/bookmark.svg index 54831593..9930c548 100644 --- a/public/icons/bookmark.svg +++ b/public/icons/bookmark.svg @@ -1,4 +1,3 @@ - - + + diff --git a/src/components/Article/Comment.tsx b/src/components/Article/Comment.tsx index 6b498458..7a0eb1e7 100644 --- a/src/components/Article/Comment.tsx +++ b/src/components/Article/Comment.tsx @@ -118,7 +118,7 @@ export default (props: { containerCssClass={stylesHeader.control} trigger={ } diff --git a/src/components/Article/FullArticle.tsx b/src/components/Article/FullArticle.tsx index 49e299ac..f29ebde2 100644 --- a/src/components/Article/FullArticle.tsx +++ b/src/components/Article/FullArticle.tsx @@ -156,7 +156,7 @@ export const FullArticle = (props: ArticleProps) => {
- + {props.article.stat?.viewed}
@@ -169,7 +169,7 @@ export const FullArticle = (props: ArticleProps) => {
} + trigger={} />
diff --git a/src/components/Article/RatingControl.module.scss b/src/components/Article/RatingControl.module.scss index 9734fd92..68001845 100644 --- a/src/components/Article/RatingControl.module.scss +++ b/src/components/Article/RatingControl.module.scss @@ -10,16 +10,20 @@ .ratingControl { align-items: center; + border: 2px solid; + border-radius: 100%; display: flex; justify-content: center; height: 0.9em; line-height: 0; @include font-size(3.6rem); - color: #777; + padding: 0; width: 0.9em; - transition: 0.15s all linear; + &:hover { - transform: scale(1.2); + background: #000; + border-color: #000; + color: #fff; } } diff --git a/src/components/Article/RatingControl.tsx b/src/components/Article/RatingControl.tsx index d8622b2c..a052c5f7 100644 --- a/src/components/Article/RatingControl.tsx +++ b/src/components/Article/RatingControl.tsx @@ -10,13 +10,9 @@ interface RatingControlProps { export const RatingControl = (props: RatingControlProps) => { return (
- + {props?.rating || ''} - +
) } diff --git a/src/components/Author/Card.module.scss b/src/components/Author/Card.module.scss index f2a20fc8..ef8a6339 100644 --- a/src/components/Author/Card.module.scss +++ b/src/components/Author/Card.module.scss @@ -12,11 +12,6 @@ } } -.s24 { - width: 24px; - height: 24px; -} - .authorDetails { display: flex; flex: 1; diff --git a/src/components/Author/Card.tsx b/src/components/Author/Card.tsx index c0f1b60a..bf7b0cec 100644 --- a/src/components/Author/Card.tsx +++ b/src/components/Author/Card.tsx @@ -119,7 +119,7 @@ export const AuthorCard = (props: AuthorCardProps) => { disabled={isSubscribing()} > - + {t('Follow')} diff --git a/src/components/Feed/Beside.tsx b/src/components/Feed/Beside.tsx index f9a98079..e97842fb 100644 --- a/src/components/Feed/Beside.tsx +++ b/src/components/Feed/Beside.tsx @@ -37,14 +37,14 @@ export const Beside = (props: BesideProps) => { {t('All authors')} - + {t('All topics')} - + diff --git a/src/components/Nav/Header.module.scss b/src/components/Nav/Header.module.scss index 5f98f2b2..a56ac66f 100644 --- a/src/components/Nav/Header.module.scss +++ b/src/components/Nav/Header.module.scss @@ -12,10 +12,12 @@ padding: 0 divide($container-padding-x, 2); } } + .icon { - height: 1.2em; - width: 1.2em; + height: 1em; + width: 1em; } + a:hover { .icon { filter: invert(1); diff --git a/src/components/Nav/Header.tsx b/src/components/Nav/Header.tsx index cb8d364e..862b5611 100644 --- a/src/components/Nav/Header.tsx +++ b/src/components/Nav/Header.tsx @@ -127,13 +127,16 @@ export const Header = (props: Props) => { setIsSharePopupVisible(isVisible) }} containerCssClass={styles.control} - trigger={} + trigger={} /> - + + + event.preventDefault()}> + diff --git a/src/components/Nav/HeaderAuth.tsx b/src/components/Nav/HeaderAuth.tsx index a86befd2..7100bf44 100644 --- a/src/components/Nav/HeaderAuth.tsx +++ b/src/components/Nav/HeaderAuth.tsx @@ -44,7 +44,7 @@ export const HeaderAuth = (props: HeaderAuthProps) => { diff --git a/src/styles/Article.module.scss b/src/styles/Article.module.scss index ac196459..e292a237 100644 --- a/src/styles/Article.module.scss +++ b/src/styles/Article.module.scss @@ -150,13 +150,21 @@ img { vertical-align: baseline; .icon { - height: 1.5em; + height: 1.6em; display: inline-block; margin-right: 0.2em; + max-width: 1.4em; + max-height: 1.4em; transition: filter 0.2s; vertical-align: middle; } + .iconEye { + height: 1.8em; + max-width: 1.8em; + max-height: 1.8em; + } + img { display: block; }