From 0718d2159e7b5a8d5954e12b3f51c6700db63d45 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 4 Aug 2015 10:50:07 +0930 Subject: [PATCH] Improve tag tile text contrast --- extensions/tags/js/forum/src/components/TagsPage.js | 10 +--------- extensions/tags/less/forum/TagTiles.less | 12 ++++++------ 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/extensions/tags/js/forum/src/components/TagsPage.js b/extensions/tags/js/forum/src/components/TagsPage.js index 02e1cbd3e..5df181309 100644 --- a/extensions/tags/js/forum/src/components/TagsPage.js +++ b/extensions/tags/js/forum/src/components/TagsPage.js @@ -61,8 +61,8 @@ export default class TagsPage extends Component { - {humanTime(lastDiscussion.lastTime())} {lastDiscussion.title()} + {humanTime(lastDiscussion.lastTime())} ) : ( @@ -94,12 +94,4 @@ export default class TagsPage extends Component { ); } - - config() { - IndexPage.prototype.config.apply(this, arguments); - } - - onunload() { - IndexPage.prototype.onunload.apply(this, arguments); - } } diff --git a/extensions/tags/less/forum/TagTiles.less b/extensions/tags/less/forum/TagTiles.less index 017dea4fb..4152bc82e 100644 --- a/extensions/tags/less/forum/TagTiles.less +++ b/extensions/tags/less/forum/TagTiles.less @@ -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 {