Merge pull request #10680 from demarches-simplifiees/a11y-fix-demarche-header
Refonte du menu d'aide
This commit is contained in:
commit
ab3139c2ed
14 changed files with 130 additions and 81 deletions
|
@ -243,6 +243,57 @@ ul.dropdown-items {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
// Apply custom styles to DSFR fr-translate component
|
||||
.fr-translate__btn.fr-btn.help-btn::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.help-content.fr-menu ul.fr-menu__list {
|
||||
--text-decoration: underline;
|
||||
text-align: left;
|
||||
font-size: 1rem;
|
||||
|
||||
@media (min-width: 62em) {
|
||||
font-size: 0.875rem;
|
||||
padding: 0;
|
||||
width: 360px;
|
||||
}
|
||||
}
|
||||
|
||||
.help-content.fr-menu ul.fr-menu__list li {
|
||||
padding: 0.75rem 1rem;
|
||||
|
||||
@media (min-width: 62em) {
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.help-content.fr-menu ul.fr-menu__list li:not(:last-child) {
|
||||
@media (min-width: 62em) {
|
||||
border-bottom: 1px solid $border-grey;
|
||||
}
|
||||
}
|
||||
|
||||
.help-content.fr-menu ul.fr-menu__list {
|
||||
h1,
|
||||
p {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
dd {
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
|
||||
.help-content a[href]:hover,
|
||||
.help-content a[href]:active {
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
--text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-items {
|
||||
li {
|
||||
display: flex;
|
||||
|
|
|
@ -7,10 +7,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.help-dropdown-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dropdown-items li.help-dropdown-service {
|
||||
cursor: default;
|
||||
|
||||
|
@ -23,14 +19,3 @@
|
|||
color: $blue-france-500;
|
||||
}
|
||||
}
|
||||
|
||||
.help-dropdown-service-action {
|
||||
margin-top: $default-padding;
|
||||
margin-bottom: $default-spacer;
|
||||
}
|
||||
|
||||
.help-dropdown-service-item {
|
||||
margin-top: $default-spacer;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue