From 467b35865919e953b2e32ecda16f38facfa02855 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Tue, 29 Jul 2014 02:04:20 -0400 Subject: [PATCH] tiger striping on mobile categories --- .../templates/mobile/discovery/categories.js.handlebars | 6 +++--- app/assets/stylesheets/mobile/topic-list.scss | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.js.handlebars index 22c128474..b868ebf53 100644 --- a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.js.handlebars +++ b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.js.handlebars @@ -14,9 +14,9 @@ {{/if}} - + {{#each topics}} - +
{{topic-status topic=this}} @@ -48,8 +48,8 @@ {{number posts_count}} {{{age created_at}}} - {{/each}} + {{/each}} {{#if subcategories}} diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index 444ae5177..84ccfa142 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -81,7 +81,9 @@ // Category list // -------------------------------------------------- - +tr.category-topic-link:nth-of-type(odd) { + background-color: darken($secondary, 3%) !important; + } #topic-list.categories { td.latest {