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;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@import "fonts";
|
||||
|
||||
.new-header,
|
||||
.accompagnateur-header,
|
||||
.sub-header,
|
||||
footer {
|
||||
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
|
||||
%h1.page-title Prévisualisation de la procédure #{@dossier.procedure.libelle}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.accompagnateur-header
|
||||
.sub-header
|
||||
.container
|
||||
%ul.breadcrumbs
|
||||
%li= link_to('Avis', gestionnaire_avis_index_path)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.accompagnateur-header
|
||||
.sub-header
|
||||
.container
|
||||
.flex.justify-between
|
||||
%ul.breadcrumbs
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.dossiers-headers.accompagnateur-header
|
||||
.dossiers-headers.sub-header
|
||||
.container
|
||||
%h1.page-title Les dossiers
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
%td Table Data 3
|
||||
|
||||
%h1 Header
|
||||
.accompagnateur-header
|
||||
.sub-header
|
||||
.container
|
||||
Titre
|
||||
%ul.tabs
|
||||
|
|
Loading…
Reference in a new issue