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{ #dossiers_list tr:hover{
background-color: #eeeeee; background-color: #eeeeee;
cursor: pointer;
} }
#procedure_list { #procedure_list {
max-height: 300px; max-height: 300px;
margin-left: -10px;
overflow: scroll; overflow: scroll;
margin: 0 -1px 0 -10px; a, a:hover {
padding: 0 40px 15px 15px; color: #FFFFFF;
.procedure_list_element{ text-decoration: none;
margin-top: 15px; }
margin-bottom: 15px; .procedure_list_element {
padding: 15px 40px 15px 20px;
cursor: pointer;
overflow: hidden; overflow: hidden;
line-height: 1.8em; line-height: 1.8em;
a, a:hover {
color: #FFFFFF;
text-decoration: none;
}
} }
.procedure_list_element:hover{ .procedure_list_element:hover{
background-color: #aaaaaa; background-color: #668ABD;
cursor: pointer;
} }
} }

View file

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