mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
Improve tag tile text contrast
This commit is contained in:
parent
f7068cd6d3
commit
0718d2159e
@ -61,8 +61,8 @@ export default class TagsPage extends Component {
|
||||
<a className="TagTile-lastDiscussion"
|
||||
href={app.route.discussion(lastDiscussion, lastDiscussion.lastPostNumber())}
|
||||
config={m.route}>
|
||||
{humanTime(lastDiscussion.lastTime())}
|
||||
<span className="TagTile-lastDiscussion-title">{lastDiscussion.title()}</span>
|
||||
{humanTime(lastDiscussion.lastTime())}
|
||||
</a>
|
||||
) : (
|
||||
<span className="TagTile-lastDiscussion"/>
|
||||
@ -94,12 +94,4 @@ export default class TagsPage extends Component {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
config() {
|
||||
IndexPage.prototype.config.apply(this, arguments);
|
||||
}
|
||||
|
||||
onunload() {
|
||||
IndexPage.prototype.onunload.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
|
@ -64,18 +64,18 @@
|
||||
}
|
||||
}
|
||||
.TagTile-name {
|
||||
font-size: 20px;
|
||||
font-size: 18px;
|
||||
margin: 0 0 10px;
|
||||
font-weight: normal;
|
||||
font-weight: bold;
|
||||
}
|
||||
.TagTile-description {
|
||||
font-size: 14px;
|
||||
opacity: 0.5;
|
||||
opacity: 0.7;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.TagTile-children {
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
|
||||
a {
|
||||
@ -90,7 +90,8 @@
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
line-height: 21px;
|
||||
opacity: 0.5;
|
||||
opacity: 0.7;
|
||||
font-size: 12px;
|
||||
|
||||
&, &:hover {
|
||||
background: fade(#000, 10%);
|
||||
@ -104,7 +105,6 @@
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
.TagTile-lastDiscussion-title {
|
||||
|
Loading…
x
Reference in New Issue
Block a user