UNPKG

@codegouvfr/react-dsfr

Version:

French State Design System React integration library

89 lines (75 loc) 1.58 kB
/*! * DSFR v1.8.5 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */ @charset "UTF-8"; .fr-tabs { /** * Tab button */ } @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-tabs ul { list-style-type: none; } .fr-tabs ol { list-style-type: none; } .fr-tabs ul, .fr-tabs ol { padding-left: 0; margin-top: 0; margin-bottom: 0; } ul { list-style-type: disc; } ol { list-style-type: decimal; } ul, ol { padding-left: 1rem; margin-top: 0.5rem; margin-bottom: 0.5rem; } .fr-tabs__panel [href] { text-decoration: underline; } .fr-tabs { box-shadow: inset 0 -1px 0 0 #ddd; } .fr-tabs::before { box-shadow: inset 0 1px 0 0 #ddd, inset 1px 0 0 0 #ddd, inset -1px 0 0 0 #ddd; } .fr-tabs__tab { background-image: linear-gradient(0deg, #000091, #000091), linear-gradient(0deg, #ddd, #ddd), linear-gradient(0deg, #ddd, #ddd), linear-gradient(0deg, #ddd, #ddd); box-shadow: 0 2px 0 0 #fff; } .fr-tabs__tab:not([aria-selected=true]) { background-color: #e3e3fd; color: #161616; } .fr-tabs__tab[aria-selected=true] { background-color: #fff; color: #000091; } .fr-tabs__tab:disabled { color: #929292; background-color: #e5e5e5; } }