Style on procedure elements

This commit is contained in:
JC 2016-11-30 13:36:44 +01:00
parent 06ee5726ed
commit aaf5273b12
2 changed files with 14 additions and 12 deletions

View file

@ -39,25 +39,26 @@ h5 span {
#dossiers_list tr:hover{
background-color: #eeeeee;
cursor: pointer;
}
#procedure_list {
max-height: 300px;
margin-left: -10px;
overflow: scroll;
margin: 0 -1px 0 -10px;
padding: 0 40px 15px 15px;
.procedure_list_element{
margin-top: 15px;
margin-bottom: 15px;
overflow: hidden;
line-height: 1.8em;
a, a:hover {
color: #FFFFFF;
text-decoration: none;
}
.procedure_list_element {
padding: 15px 40px 15px 20px;
cursor: pointer;
overflow: hidden;
line-height: 1.8em;
}
.procedure_list_element:hover{
background-color: #aaaaaa;
background-color: #668ABD;
cursor: pointer;
}
}

View file

@ -14,6 +14,7 @@
%div.split-hr-left
#procedure_list
- @facade_data_view.gestionnaire_procedures_name_and_id_list.each do |procedure|
= link_to backoffice_dossiers_procedure_path(procedure[:id]),{title: procedure[:libelle]} do
%div.procedure_list_element
=link_to procedure[:libelle], backoffice_dossiers_procedure_path(procedure[:id]),{title: procedure[:libelle]}
= procedure[:libelle]
%div.split-hr-left