Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customization of the doxygen version of the "details" html element #2014

Merged
merged 1 commit into from
Mar 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 37 additions & 4 deletions arcane/doc/theme/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
/*-----------------------------------------------------------------------------
/* Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
/* Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
/* See the top-level COPYRIGHT file for details.
/* SPDX-License-Identifier: Apache-2.0
/*-----------------------------------------------------------------------------
/*---------------------------------------------------------------------------*/
/* custom.css (C) 2000-2023 */
/* custom.css (C) 2000-2025 */
/* */
/* Personnalisation des css de doxygen et du thème. */
/*---------------------------------------------------------------------------*/
Expand Down Expand Up @@ -376,15 +376,48 @@ details[open] summary {
details[open] summary::before {
content: '⯆' !important;
}

/*
* Fin : Personnalisation de la partie spoiler.
* Doxygen possède sa propre version de "details".
* On reproduit donc le style au-dessus pour la version de Doxygen.
*/
div.dynheader {
border: 1px solid;
border-color: var(--separator-color);
border-radius: 4px;
margin: 0 0 10px 0;
background-color: var(--side-nav-background);
padding: 0.5em;
transition: color .08s ease-in-out, background-color .1s ease-in-out;
font-weight: bold;
cursor: pointer;
}

div.dynheader.opened {
border-bottom: 2px solid;
border-bottom-color: var(--primary-color);
margin: 0 0 0 0;
color: var(--primary-color) !important;
}

div.dynheader:hover {
color: var(--primary-color) !important;
background-color: var(--odd-color);
}

div.dyncontent {
border-width: 0 1px 1px 1px;
border-style: solid;
margin: 0 0 10px 0 !important;
border-color: var(--separator-color);
}
/*
* Fin : Personnalisation de la partie spoiler.
*/

/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/


/*
* Début : Personnalisation de la partie axldoc.
*/
Expand Down