TP_JO2024/home/dist/component/navigation/navigation.legacy.css
2024-03-27 17:19:37 +01:00

158 lines
3.3 KiB
CSS

/*!
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/
@charset "UTF-8";
@media (min-width: 36em) {
/*! media sm */
}
@media (min-width: 48em) {
/*! media md */
}
@media (min-width: 62em) {
/*! media lg */
}
@media (min-width: 78em) {
/*! media xl */
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/**
* reset liste à puce
*/
.fr-nav [href] {
text-decoration: none;
}
.fr-nav ul {
list-style-type: none;
}
.fr-nav ol {
list-style-type: none;
}
.fr-nav ul,
.fr-nav ol {
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
/**
* reset margin
*/
.fr-nav__btn::after {
background-color: transparent;
background-size: 100%;
background-repeat: no-repeat;
background-image: url("../../icons/system/arrow-down-s-line.svg");
width: 1rem;
height: 1rem;
}
.fr-mega-menu__category {
margin: 0;
}
.fr-nav__link,
.fr-nav__btn {
color: #161616;
}
.fr-nav__link[aria-current]:not([aria-current=false]),
.fr-nav__btn[aria-current]:not([aria-current=false]) {
color: #000091;
}
.fr-nav__link[aria-current]:not([aria-current=false])::before,
.fr-nav__btn[aria-current]:not([aria-current=false])::before {
background-color: #000091;
}
.fr-nav__btn[aria-expanded=true]:not(:disabled) {
background-color: #e3e3fd;
color: #000091;
}
.fr-nav__item::before {
box-shadow: 0 -1px 0 0 #ddd, inset 0 -1px 0 0 #ddd;
}
.fr-nav__item:first-child::before {
box-shadow: inset 0 -1px 0 0 #ddd;
}
.fr-nav__item:last-child::before {
box-shadow: 0 -1px 0 0 #ddd;
}
.fr-mega-menu__list::before {
box-shadow: 0 1px 0 0 #ddd;
}
}
@media all and (-ms-high-contrast: none) and (-ms-high-contrast: none), (-ms-high-contrast: none) and (-ms-high-contrast: active), (-ms-high-contrast: active) and (-ms-high-contrast: none), (-ms-high-contrast: active) and (-ms-high-contrast: active) {
.fr-nav__link,
.fr-nav__btn {
background-color: transparent;
}
.fr-nav__link:hover,
.fr-nav__btn:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.fr-nav__link:active,
.fr-nav__btn:active {
background-color: rgba(0, 0, 0, 0.1);
}
}
@media (min-width: 62em) and (-ms-high-contrast: none), (min-width: 62em) and (-ms-high-contrast: active) {
/**
* Correctif de l'alignement des menus sur la droite
*/
.fr-nav__item {
position: static;
}
.fr-nav__item--align-right .fr-collapse {
transform: translateX(-100%);
}
/**
* Override du reset des marges des ul
**/
.fr-menu .fr-menu__list {
margin-bottom: 2rem;
}
.fr-menu {
z-index: 1000;
}
.fr-menu__list {
background-color: #fff;
box-shadow: inset 0 1px 0 0 #e3e3fd;
}
.fr-menu__list > *:first-child,
.fr-menu__list > *:first-child > .fr-nav__link,
.fr-menu__list > *:hover,
.fr-menu__list > *:hover > .fr-nav__link,
.fr-menu__list > *:hover + *,
.fr-menu__list > *:hover + * > .fr-nav__link {
box-shadow: none;
}
.fr-menu .fr-nav__link {
box-shadow: 0 calc(-1rem - 1px) 0 -1rem #ddd;
}
.fr-mega-menu {
z-index: 1000;
background-color: #fff;
box-shadow: inset 0 1px 0 0 #e3e3fd;
}
.fr-mega-menu__category {
box-shadow: 0 calc(1rem + 1px) 0 -1rem #ddd;
}
}