diff --git a/docs/css/custom.css b/docs/css/custom.css index 0c7e4a214c..c065d35f71 100644 --- a/docs/css/custom.css +++ b/docs/css/custom.css @@ -510,11 +510,42 @@ a.external:not(.card):after { height: 4px; } -.md-typeset .tabbed-labels>label:hover { +.md-typeset .tabbed-labels > label:hover { color: var(--ibexa-dusk-black); border-bottom: 2px solid var(--ibexa-dusk-black); } +.md-typeset .tabbed-set > input:first-child:checked ~ .tabbed-labels > :first-child, +.md-typeset .tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2), +.md-typeset .tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3), +.md-typeset .tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4), +.md-typeset .tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > :nth-child(5), +.md-typeset .tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > :nth-child(6), +.md-typeset .tabbed-set > input:nth-child(7):checked ~ .tabbed-labels > :nth-child(7), +.md-typeset .tabbed-set > input:nth-child(8):checked ~ .tabbed-labels > :nth-child(8), +.md-typeset .tabbed-set > input:nth-child(9):checked ~ .tabbed-labels > :nth-child(9), +.md-typeset .tabbed-set > input:nth-child(10):checked ~ .tabbed-labels > :nth-child(10), +.md-typeset .tabbed-set > input:nth-child(11):checked ~ .tabbed-labels > :nth-child(11), +.md-typeset .tabbed-set > input:nth-child(12):checked ~ .tabbed-labels > :nth-child(12), +.md-typeset .tabbed-set > input:nth-child(13):checked ~ .tabbed-labels > :nth-child(13), +.md-typeset .tabbed-set > input:nth-child(14):checked ~ .tabbed-labels > :nth-child(14), +.md-typeset .tabbed-set > input:nth-child(15):checked ~ .tabbed-labels > :nth-child(15), +.md-typeset .tabbed-set > input:nth-child(16):checked ~ .tabbed-labels > :nth-child(16), +.md-typeset .tabbed-set > input:nth-child(17):checked ~ .tabbed-labels > :nth-child(17), +.md-typeset .tabbed-set > input:nth-child(18):checked ~ .tabbed-labels > :nth-child(18), +.md-typeset .tabbed-set > input:nth-child(19):checked ~ .tabbed-labels > :nth-child(19), +.md-typeset .tabbed-set > input:nth-child(20):checked ~ .tabbed-labels > :nth-child(20) { + color: var(--md-accent-fg-color); +} + +.js .md-typeset .tabbed-labels:before { + background: var(--md-accent-fg-color); +} + +.md-typeset .tabbed-labels--linked > label > a { + padding: 0; +} + div.pills { float: right; }