From 444ae91ed3ac291481c1f041eeccfd38c072c7f6 Mon Sep 17 00:00:00 2001 From: myleneb Date: Fri, 21 Aug 2015 04:28:55 +0200 Subject: [PATCH] fixing .post-info-sent position --- css/style.css | 17 ++++++++++------- sass/layout/_postboard.sass | 18 +++++++++++------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/css/style.css b/css/style.css index 519c100..945c6ca 100644 --- a/css/style.css +++ b/css/style.css @@ -1389,8 +1389,8 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover { .post-info-sent { display: block; position: absolute; - top: 0; - left: 3px; + top: -10px; + right: 0; font-size: 15px; } @@ -1400,7 +1400,9 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover { line-height: 0.8rem; text-decoration: none; top: 12px; - right: 15px; + right: 0; + padding-right: 15px; + text-align: right; color: #8a8691; } .post-info-time:hover { @@ -1420,7 +1422,7 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover { .post-context { font-size: 0.8rem; line-height: 0.8rem; - margin: 2px 10px 4px 60px; + margin: 2px 0 4px 60px; color: #8a8691; } .post-context.post-retransmited-by-container { @@ -1576,7 +1578,6 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover { margin-top: 10px; position: relative; border: 1px solid #eee; - font-size: 11px !important; } .post-rt-reference:hover { background-color: #FFF; @@ -1593,17 +1594,19 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover { height: auto; } .post-rt-reference .post-info-name { - font-size: 11px; + font-size: 12px; } .post-rt-reference .post-text { margin: 0; clear: both; + font-size: 12px; + line-height: 130%; } .post-rt-reference .post-info-time { - font-size: 9px; color: #B3B5B7; top: 5px; right: 5px; + font-size: 12px; } .forEdition.profile-card { diff --git a/sass/layout/_postboard.sass b/sass/layout/_postboard.sass index f181fc8..035c7e2 100755 --- a/sass/layout/_postboard.sass +++ b/sass/layout/_postboard.sass @@ -145,8 +145,8 @@ .post-info-sent display: block position: absolute - top: 0 - left: 3px + top: -10px + right: 0 font-size: 15px @@ -156,7 +156,9 @@ line-height: .8rem text-decoration: none top: 12px - right: 15px + right: 0 + padding-right: 15px + text-align: right color: lighten($dark-grey,30%) &:hover color: lighten($dark-grey,5%) @@ -173,7 +175,7 @@ .post-context font-size: .8rem line-height: .8rem - margin: 2px 10px 4px 60px + margin: 2px 0 4px 60px color: lighten($dark-grey,30%) &.post-retransmited-by-container margin: 0 0 1em @@ -332,7 +334,7 @@ margin-top: 10px position: relative border: 1px solid #eee - font-size: 11px!important + &:hover background-color: #FFF cursor: pointer @@ -345,12 +347,14 @@ width: 16px height: auto .post-info-name - font-size: 11px + font-size: 12px .post-text margin: 0 clear: both + font-size: 12px + line-height: 130% .post-info-time - font-size: 9px color: #B3B5B7 top: 5px right: 5px + font-size: 12px