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