From 06ee5726ed650d5309fd5230b6bf66b3f09bcd11 Mon Sep 17 00:00:00 2001 From: JC Date: Wed, 30 Nov 2016 11:22:20 +0100 Subject: [PATCH] Fixing css on split-hr-left --- app/assets/stylesheets/dossiers.scss | 17 ++++++++++++++--- app/views/dossiers/_infos_dossier.html.haml | 1 - ...ackoffice_dossierscontroller_index.html.haml | 6 +++--- ...backoffice_dossierscontroller_show.html.haml | 6 +++--- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/dossiers.scss b/app/assets/stylesheets/dossiers.scss index 6306b28ca..00fbfafd0 100644 --- a/app/assets/stylesheets/dossiers.scss +++ b/app/assets/stylesheets/dossiers.scss @@ -42,16 +42,27 @@ h5 span { } #procedure_list { + max-height: 300px; + overflow: scroll; + margin: 0 -1px 0 -10px; + padding: 0 40px 15px 15px; .procedure_list_element{ margin-top: 15px; margin-bottom: 15px; - overflow: hidden; - max-height: 3.6em; line-height: 1.8em; + a, a:hover { + color: #FFFFFF; + text-decoration: none; + } } - .procedure_list_element:hover{ background-color: #aaaaaa; } } + +.split-hr-left { + border-bottom: 1px solid #FFFFFF; + margin: 20px 10px 20px 0; +} + diff --git a/app/views/dossiers/_infos_dossier.html.haml b/app/views/dossiers/_infos_dossier.html.haml index 100a8c1de..758196f0e 100644 --- a/app/views/dossiers/_infos_dossier.html.haml +++ b/app/views/dossiers/_infos_dossier.html.haml @@ -1,6 +1,5 @@ %div.row .col-lg-12.col-md-12 - %h3.libelle-procedure= @facade.dossier.procedure.libelle - if @facade.procedure.for_individual? .row.title-row %div.col-md-4.col-lg-4.split-hr diff --git a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml index afd0a6add..50c7d56c6 100644 --- a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml +++ b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_index.html.haml @@ -11,9 +11,9 @@ %div#menu-block %div#infos-block + %div.split-hr-left #procedure_list - %div.procedure_list_element - @facade_data_view.gestionnaire_procedures_name_and_id_list.each do |procedure| %div.procedure_list_element - =link_to truncate(procedure[:libelle], {length: 50}), backoffice_dossiers_procedure_path(procedure[:id]),{title: procedure[:libelle]} - + =link_to procedure[:libelle], backoffice_dossiers_procedure_path(procedure[:id]),{title: procedure[:libelle]} + %div.split-hr-left diff --git a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml index b8c4fdb8a..e3d9373b2 100644 --- a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml +++ b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml @@ -27,9 +27,9 @@ %div#menu-block %div#infos-block - %div.split-hr + %div.split-hr-left %div.dossier-state= @facade.dossier.display_state - %div.split-hr + %div.split-hr-left %div.tips %i.fa.fa-lightbulb-o - %div.notice= "Ceci est un bloc destiné à contenir des informations sur ce que êtes censé pouvoir faire à ce stade de traitement du dossier." + %div.notice= "Ceci est un bloc destiné à contenir des informations sur ce que vous êtes censé pouvoir faire à ce stade de traitement du dossier."