From d8c8264b4ed82942c3284bdc07203c1a0c248d4f Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Thu, 4 Dec 2014 17:05:47 -0500 Subject: [PATCH] fixing loading spinner alignment and striping --- app/assets/stylesheets/common/base/discourse.scss | 2 +- app/assets/stylesheets/desktop/topic-list.scss | 4 ++-- app/assets/stylesheets/mobile/topic-list.scss | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index dcc2590fb08..7c8a30eb3a7 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -201,7 +201,7 @@ body { } .spinner { - margin: 30px auto 0 auto; + margin: 20px auto 20px auto; position: relative; -webkit-animation: rotate-forever 1s infinite linear; animation: rotate-forever 1s infinite linear; diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss index e1a40bd2c9d..5e32ecfad8d 100644 --- a/app/assets/stylesheets/desktop/topic-list.scss +++ b/app/assets/stylesheets/desktop/topic-list.scss @@ -61,10 +61,10 @@ } > tbody > tr { - &:nth-child(even) { + &:nth-child(odd) { background-color: darken($secondary, 3%); } - &:nth-child(odd) { + &:nth-child(even) { background-color: $secondary; } &.highlighted { diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index c1ec6e5bc80..875426507c5 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -30,10 +30,10 @@ .topic-list { > tbody > tr { - &:nth-child(odd) { + &:nth-child(even) { background-color: darken($secondary, 3%); } - &:nth-child(even) { + &:nth-child(odd) { background-color: $secondary; } &.highlighted {