From fcad95109f807e97e728b1a44dd2538bbf5f33cf Mon Sep 17 00:00:00 2001 From: flaburgan Date: Mon, 16 Sep 2013 01:36:54 -0700 Subject: [PATCH] Change .timeago color and align notification, fix #4502 --- app/assets/stylesheets/bootstrap-headerfix.sass | 2 -- app/assets/stylesheets/header.css.scss | 10 ++++++++-- app/assets/stylesheets/single-post-view.css.scss | 2 -- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/bootstrap-headerfix.sass b/app/assets/stylesheets/bootstrap-headerfix.sass index 6dfdecbb2..e93bba4ef 100644 --- a/app/assets/stylesheets/bootstrap-headerfix.sass +++ b/app/assets/stylesheets/bootstrap-headerfix.sass @@ -32,8 +32,6 @@ header .notification_element font-size: 13px .timeago - color: #aaa - text-decoration: none border: medium none cursor: text .unread-setter diff --git a/app/assets/stylesheets/header.css.scss b/app/assets/stylesheets/header.css.scss index 799af1888..2e6c3c48f 100644 --- a/app/assets/stylesheets/header.css.scss +++ b/app/assets/stylesheets/header.css.scss @@ -1,3 +1,8 @@ +.timeago { + color: $text-grey; + border-bottom: none; +} + body > #container { margin-top: 50px; } /* to avoid being hidden under the header in the SPV */ body > header { @@ -155,15 +160,16 @@ body > header { .notification_element { padding: 10px; + padding-left: 50px; min-height: 30px; &:hover { background-color: $highlight-white; } - > img { + .avatar { height: 30px; width: 30px; float: left; - margin-right: 10px; + margin-left: -40px; } &.unread { diff --git a/app/assets/stylesheets/single-post-view.css.scss b/app/assets/stylesheets/single-post-view.css.scss index e9bac048f..4f8678046 100644 --- a/app/assets/stylesheets/single-post-view.css.scss +++ b/app/assets/stylesheets/single-post-view.css.scss @@ -135,8 +135,6 @@ color: #3f8fba; } .timeago { - color: #aaaaaa; - text-decoration: none; font-size: smaller; } .count {