From 966febca684405a9e3cbd12101fa7aad8988cc54 Mon Sep 17 00:00:00 2001 From: JC Date: Wed, 23 Nov 2016 11:26:05 +0100 Subject: [PATCH] =?UTF-8?q?Centering=20show-block,=20need=20to=20merge=20c?= =?UTF-8?q?ss=20into=20develop=C2=B0v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/dossier_show.scss | 14 +++++++++++++- app/views/backoffice/dossiers/show.html.haml | 3 ++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/dossier_show.scss b/app/assets/stylesheets/dossier_show.scss index 6c31d27dc..ac7974191 100644 --- a/app/assets/stylesheets/dossier_show.scss +++ b/app/assets/stylesheets/dossier_show.scss @@ -3,7 +3,9 @@ margin-top: 40px; .show-block { width: 840px; - margin-left: 10%; + min-width: 840px; + margin-left: auto; + margin-right: auto; box-shadow: 0 0 1px 0 rgba(0,0,0,0.5); margin-bottom: 40px; } @@ -16,7 +18,17 @@ border-left: 14px solid #FFFFFF; margin: 12px 12px 0 15px; } + .carret-down { + float: left; + width: 0; + height: 0; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-top: 14px solid #FFFFFF; + margin: 12px 12px 0 15px; + } .header { + cursor: pointer; background-color: #003C92; height: 40px; color: #FFFFFF; diff --git a/app/views/backoffice/dossiers/show.html.haml b/app/views/backoffice/dossiers/show.html.haml index 126bc08cf..d1b3eec95 100644 --- a/app/views/backoffice/dossiers/show.html.haml +++ b/app/views/backoffice/dossiers/show.html.haml @@ -3,7 +3,8 @@ %div.row.show-block#messages %div.header %div.col-lg-10.col-md-10.title - %div.carret-right + %div.carret-right.hidden + %div.carret-down MESSAGES %div.col-lg-2.col-md-2.count 2 messages