Style: extract and rename accompagnateur-header to sub-header

This commit is contained in:
simon lehericey 2018-04-23 17:22:20 +02:00
parent 30513bcb4f
commit 0cb910f38a
10 changed files with 21 additions and 19 deletions

View file

@ -19,17 +19,6 @@
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 {
flex-shrink: 0;

View file

@ -2,7 +2,7 @@
@import "fonts";
.new-header,
.accompagnateur-header,
.sub-header,
footer {
display: none;
}

View 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;
}
}

View file

@ -1,4 +1,4 @@
.dossiers-headers.accompagnateur-header
.dossiers-headers.sub-header
.container
%h1.page-title Prévisualisation de la procédure #{@dossier.procedure.libelle}

View file

@ -1,4 +1,4 @@
.accompagnateur-header
.sub-header
.container
%ul.breadcrumbs
%li= link_to('Avis', gestionnaire_avis_index_path)

View file

@ -1,7 +1,7 @@
- avis_statut = (@statut == NewGestionnaire::AvisController::A_DONNER_STATUS) ? 'à donner' : 'rendus'
- content_for(:title, "Avis #{avis_statut}")
.accompagnateur-header
.sub-header
.container.flex
.width-100
%h1.tab-title Avis

View file

@ -1,4 +1,4 @@
.accompagnateur-header
.sub-header
.container
.flex.justify-between
%ul.breadcrumbs

View file

@ -1,7 +1,7 @@
- content_for(:title, "#{@procedure.libelle}")
#procedure-show
.accompagnateur-header
.sub-header
.container.flex
.procedure-logo{ style: @procedure.logo.present? ? "background-image: url(#{@procedure.logo.url})" : nil,

View file

@ -1,4 +1,4 @@
.dossiers-headers.accompagnateur-header
.dossiers-headers.sub-header
.container
%h1.page-title Les dossiers

View file

@ -131,7 +131,7 @@
%td Table Data 3
%h1 Header
.accompagnateur-header
.sub-header
.container
Titre
%ul.tabs