1
0
mirror of https://github.com/flarum/core.git synced 2025-08-02 14:37:49 +02:00

Increase text contrast

closes #390
This commit is contained in:
Toby Zerner
2015-09-14 15:16:19 +09:30
parent cb1cdc1c08
commit f2d4b0cc6c
2 changed files with 8 additions and 2 deletions

View File

@@ -45,7 +45,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
.read & { .read & {
color: mix(@heading-color, @body-bg, 60%); color: mix(@heading-color, @body-bg, 55%);
} }
.unread & { .unread & {
font-weight: 600; font-weight: 600;
@@ -59,6 +59,12 @@
> li { > li {
display: inline; display: inline;
opacity: 0.7;
.transition(opacity 0.2s);
.DiscussionListItem:hover &, .DiscussionListItem.active & {
opacity: 1;
}
} }
.username { .username {
font-weight: bold; font-weight: bold;

View File

@@ -27,7 +27,7 @@
@text-color: #111; @text-color: #111;
@link-color: saturate(@primary-color, 10%); @link-color: saturate(@primary-color, 10%);
@heading-color: @text-color; @heading-color: @text-color;
@muted-color: hsl(@secondary-hue, min(25%, @secondary-sat), 60%); @muted-color: hsl(@secondary-hue, min(25%, @secondary-sat), 55%);
@muted-more-color: #aaa; @muted-more-color: #aaa;
@shadow-color: rgba(0, 0, 0, 0.35); @shadow-color: rgba(0, 0, 0, 0.35);