From 1bf566ac8eac1c7a53b5488a65b0480ace776c0c Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Tue, 6 May 2014 01:14:56 -0700 Subject: [PATCH] a few more mobile CSS tweaks --- app/assets/stylesheets/mobile/topic-list.scss | 10 ++++++---- app/assets/stylesheets/mobile/topic-post.scss | 3 ++- app/assets/stylesheets/mobile/topic.scss | 5 ++++- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index 81af1d9261d..ec2e195bf45 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -44,8 +44,7 @@ width: 100%; border-collapse: separate; border-spacing: 0; - border-top: 1px solid scale-color($primary, $lightness: 90%);; - border-bottom: 1px solid scale-color($primary, $lightness: 90%);; + border-top: 1px solid scale-color($primary, $lightness: 90%); > tbody > tr { background-color: $secondary; @@ -146,14 +145,17 @@ } } + .num.posts { + font-weight: bold; + } + .num { text-align: center; a:not(.badge-posts) { color: inherit; } + } - .num.posts { - font-weight: bold; } } diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 5ae0203048e..b5b5e900a98 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -211,7 +211,7 @@ a.star { } .domain { - color: scale-color($primary, $lightness: 90%); + color: scale-color($primary, $lightness: 75%); } .topic-links { @@ -251,6 +251,7 @@ a.star { /* this is to force the drop-down notification state description para below the button */ #topic-footer-buttons p { clear: both; + margin: 0; } #suggested-topics { diff --git a/app/assets/stylesheets/mobile/topic.scss b/app/assets/stylesheets/mobile/topic.scss index 52649cd9d2c..50da12ed0a1 100644 --- a/app/assets/stylesheets/mobile/topic.scss +++ b/app/assets/stylesheets/mobile/topic.scss @@ -38,10 +38,13 @@ .private-message-glyph { color: scale-color($primary, $lightness: 75%); } .private_message #topic-title .private-message-glyph { display: inline; } -.notification-options { + +/* both blocks that appear under the standard post control buttons */ +.notification-options, .pinned-options { clear: both; float: left; margin-top: 0px; + padding-top: 1px; } #topic-closing-info {