New_design: add design switch button
This commit is contained in:
parent
3d3a7ce3e2
commit
b8a75621e3
4 changed files with 26 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
.header-tabs {
|
.header-tabs {
|
||||||
li {
|
li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
padding: $default-padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -39,6 +40,10 @@
|
||||||
color: $blue;
|
color: $blue;
|
||||||
border-bottom: 2px solid $blue;
|
border-bottom: 2px solid $blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:not(.active):hover {
|
||||||
|
background-color: $light-grey;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,21 @@
|
||||||
|
.new-design-button {
|
||||||
|
color: #FFFFFF;
|
||||||
|
display: block;
|
||||||
|
font-size: 20px;
|
||||||
|
margin: 16px 0;
|
||||||
|
padding: 8px;
|
||||||
|
text-align: center;
|
||||||
|
border: 1px solid #FFFFFF;
|
||||||
|
border-radius: 15px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: #668ABD;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#search-block {
|
#search-block {
|
||||||
margin: 15px 10px 0 10px;
|
margin: 15px 10px 0 10px;
|
||||||
height: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#search-button {
|
#search-button {
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
%ul.header-tabs
|
%ul.header-tabs
|
||||||
%li
|
%li
|
||||||
= link_to "Procédures", procedures_path, class: "active"
|
= link_to "Procédures", procedures_path, class: "active"
|
||||||
|
%li
|
||||||
|
= link_to "Ancienne interface", backoffice_dossiers_path
|
||||||
|
|
||||||
%ul.header-right-content
|
%ul.header-right-content
|
||||||
- if gestionnaire_signed_in?
|
- if gestionnaire_signed_in?
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
- if gestionnaire_signed_in?
|
||||||
|
= link_to 'nouvelle interface', procedures_path, class: 'new-design-button'
|
||||||
|
|
||||||
#search-area
|
#search-area
|
||||||
= form_tag(backoffice_dossiers_search_url, method: :get) do
|
= form_tag(backoffice_dossiers_search_url, method: :get) do
|
||||||
.input-group
|
.input-group
|
||||||
|
|
Loading…
Reference in a new issue