From 44e436c07adf9d1ee51fa597efafcb0f54089bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hut?= Date: Thu, 9 Apr 2015 21:13:14 +0200 Subject: [PATCH] Fix: Multiline style --- public/css/client.css | 12 ++++++------ public/css/pages/chat.styl | 13 +++++++------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/public/css/client.css b/public/css/client.css index 71a3639..5b06b4e 100644 --- a/public/css/client.css +++ b/public/css/client.css @@ -1362,6 +1362,10 @@ button.secondary:hover:not(:disabled) { vertical-align: top; position: relative; } +.messages .messageWrapper:hover .date { + color: #9e9ea6; + font-weight: bolder; +} .messages .messageWrapper .message_header .name { display: inline-block; margin-right: 0.25rem; @@ -1437,22 +1441,18 @@ button.secondary:hover:not(:disabled) { color: #88d5f7; } .messages .message .date { - display: inline-block; color: #babbbf; font-size: 12px; width: 60px; line-height: 22px; text-transform: uppercase; cursor: pointer; - position: relative; - left: -55px; + position: absolute; + left: -40px; visibility: hidden; } .messages .message .body { - display: inline-block; word-break: break-word; - position: relative; - left: -60px; margin: 0; padding: 0; } diff --git a/public/css/pages/chat.styl b/public/css/pages/chat.styl index c4833ab..e9867cd 100644 --- a/public/css/pages/chat.styl +++ b/public/css/pages/chat.styl @@ -367,6 +367,11 @@ vertical-align: top position: relative + &:hover + .date + color: $gray + font-weight: bolder + .message_header .name @@ -440,22 +445,18 @@ color: $blue-light .date - display: inline-block color: $gray-light font-size: $font-size-small width: 60px line-height: 22px text-transform: uppercase cursor: pointer - position: relative - left: -55px + position: absolute + left: -40px visibility: hidden .body - display: inline-block word-break: break-word - position: relative - left: -60px margin: 0 padding: 0