Style: extract and rename accompagnateur-header to sub-header
This commit is contained in:
parent
30513bcb4f
commit
0cb910f38a
10 changed files with 21 additions and 19 deletions
|
@ -19,17 +19,6 @@
|
||||||
margin-bottom: 2 * $default-padding;
|
margin-bottom: 2 * $default-padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
.accompagnateur-header {
|
|
||||||
background-color: $light-grey;
|
|
||||||
padding-top: $default-padding;
|
|
||||||
margin-bottom: 3 * $default-spacer;
|
|
||||||
border-bottom: 1px solid $border-grey;
|
|
||||||
|
|
||||||
.container {
|
|
||||||
margin-bottom: -1px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.mixed-buttons-bar {
|
.mixed-buttons-bar {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@import "fonts";
|
@import "fonts";
|
||||||
|
|
||||||
.new-header,
|
.new-header,
|
||||||
.accompagnateur-header,
|
.sub-header,
|
||||||
footer {
|
footer {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
13
app/assets/stylesheets/new_design/sub_header.scss
Normal file
13
app/assets/stylesheets/new_design/sub_header.scss
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
@import "colors";
|
||||||
|
@import "constants";
|
||||||
|
|
||||||
|
.sub-header {
|
||||||
|
background-color: $light-grey;
|
||||||
|
padding-top: $default-padding;
|
||||||
|
margin-bottom: 3 * $default-spacer;
|
||||||
|
border-bottom: 1px solid $border-grey;
|
||||||
|
|
||||||
|
.container {
|
||||||
|
margin-bottom: -1px;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
.dossiers-headers.accompagnateur-header
|
.dossiers-headers.sub-header
|
||||||
.container
|
.container
|
||||||
%h1.page-title Prévisualisation de la procédure #{@dossier.procedure.libelle}
|
%h1.page-title Prévisualisation de la procédure #{@dossier.procedure.libelle}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.accompagnateur-header
|
.sub-header
|
||||||
.container
|
.container
|
||||||
%ul.breadcrumbs
|
%ul.breadcrumbs
|
||||||
%li= link_to('Avis', gestionnaire_avis_index_path)
|
%li= link_to('Avis', gestionnaire_avis_index_path)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- avis_statut = (@statut == NewGestionnaire::AvisController::A_DONNER_STATUS) ? 'à donner' : 'rendus'
|
- avis_statut = (@statut == NewGestionnaire::AvisController::A_DONNER_STATUS) ? 'à donner' : 'rendus'
|
||||||
- content_for(:title, "Avis #{avis_statut}")
|
- content_for(:title, "Avis #{avis_statut}")
|
||||||
|
|
||||||
.accompagnateur-header
|
.sub-header
|
||||||
.container.flex
|
.container.flex
|
||||||
.width-100
|
.width-100
|
||||||
%h1.tab-title Avis
|
%h1.tab-title Avis
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.accompagnateur-header
|
.sub-header
|
||||||
.container
|
.container
|
||||||
.flex.justify-between
|
.flex.justify-between
|
||||||
%ul.breadcrumbs
|
%ul.breadcrumbs
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- content_for(:title, "#{@procedure.libelle}")
|
- content_for(:title, "#{@procedure.libelle}")
|
||||||
|
|
||||||
#procedure-show
|
#procedure-show
|
||||||
.accompagnateur-header
|
.sub-header
|
||||||
.container.flex
|
.container.flex
|
||||||
|
|
||||||
.procedure-logo{ style: @procedure.logo.present? ? "background-image: url(#{@procedure.logo.url})" : nil,
|
.procedure-logo{ style: @procedure.logo.present? ? "background-image: url(#{@procedure.logo.url})" : nil,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.dossiers-headers.accompagnateur-header
|
.dossiers-headers.sub-header
|
||||||
.container
|
.container
|
||||||
%h1.page-title Les dossiers
|
%h1.page-title Les dossiers
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
%td Table Data 3
|
%td Table Data 3
|
||||||
|
|
||||||
%h1 Header
|
%h1 Header
|
||||||
.accompagnateur-header
|
.sub-header
|
||||||
.container
|
.container
|
||||||
Titre
|
Titre
|
||||||
%ul.tabs
|
%ul.tabs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue