Skip to content

Commit 8c28abe

Browse files
committed
refactor: remove unused mark as read styles and adjust transition properties
1 parent 8b88c68 commit 8c28abe

File tree

1 file changed

+6
-34
lines changed

1 file changed

+6
-34
lines changed

src/assets/App.css

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ a {
5151
align-items: center;
5252
}
5353

54-
.readPostWrapper {
55-
position: relative;
56-
}
57-
58-
.readPostWrapper .subTitle::after {
59-
content: ' \2705';
60-
margin-left: 0.2em;
61-
font-size: 0.85em;
62-
}
63-
6454
.loadingIcon {
6555
color: var(--app-name-text-color);
6656
}
@@ -478,7 +468,8 @@ a {
478468
padding: 0;
479469
pointer-events: all;
480470
text-align: center;
481-
transition: opacity 0.3s ease, right 0.3s ease, transform 0.1s ease, background-color 0.15s ease, color 0.15s ease;
471+
transition: opacity 0.3s ease, right 0.3s ease, transform 0.1s ease, background-color 0.15s ease,
472+
color 0.15s ease;
482473
width: 28px;
483474
margin-bottom: 6px;
484475
margin-right: 6px;
@@ -501,29 +492,6 @@ a {
501492
}
502493
}
503494

504-
.markAsReadAction {
505-
position: relative;
506-
}
507-
508-
.markAsReadTooltip {
509-
position: absolute;
510-
bottom: 100%;
511-
right: 5px;
512-
margin-bottom: 6px;
513-
padding: 4px 8px;
514-
background-color: var(--card-action-button-background);
515-
color: var(--card-action-button-color);
516-
font-size: 12px;
517-
white-space: nowrap;
518-
border-radius: 4px;
519-
opacity: 0;
520-
transition: opacity 0.2s ease;
521-
}
522-
523-
.markAsReadAction:hover .markAsReadTooltip {
524-
opacity: 1;
525-
}
526-
527495
.centerMessageWrapper.cardLoading {
528496
position: absolute;
529497
top: 0;
@@ -607,6 +575,10 @@ a {
607575
.rowTitle:hover {
608576
color: var(--primary-hover-text-color);
609577
}
578+
579+
.blockRow.isRead {
580+
opacity: 0.3;
581+
}
610582
.titleWithCover {
611583
display: block;
612584
width: 100%;

0 commit comments

Comments
 (0)