#af-wrapper #forum-profile .display-name,
#af-wrapper .post-author .topic-author,
#af-wrapper input[type="checkbox"]:checked:before {
color: #7dbc25 !important;
}
#af-wrapper .button-normal,
#af-wrapper .title-element,
#af-wrapper #forum-header,
#af-wrapper #profile-header .background-avatar,
#af-wrapper #profile-navigation,
#af-wrapper input[type="radio"]:checked:before {
background-color: #7dbc25 !important;
}
#af-wrapper .button-neutral {
background-color: #7dbc25B0 !important;
}
#af-wrapper .post-author .topic-author {
background-color: #7dbc2540 !important;
}
#af-wrapper input[type="radio"]:focus,
#af-wrapper input[type="checkbox"]:focus,
#af-wrapper #profile-header {
border-color: #7dbc25 !important;
}
#af-wrapper .title-element,
#af-wrapper #forum-navigation a,
#af-wrapper #forum-navigation-mobile a {
border-color: #7dbc25 !important;
}
#af-wrapper .button-normal:hover,
#af-wrapper #profile-navigation a.active {
background-color: #7dbc25 !important;
}
#af-wrapper .button-neutral:hover {
background-color: #7dbc25B0 !important;
}
#af-wrapper,
#af-wrapper #forum-breadcrumbs a:hover,
#af-wrapper .main-title {
color: #ffffff !important;
}
#af-wrapper a:not(a.button):not(a.highlight-admin):not(a.highlight-moderator),
#af-wrapper .forum-post-menu a,
#af-wrapper #bottom-navigation {
color: #7dbc25 !important;
}
#af-wrapper .content-container,
#af-wrapper .report-element,
#af-wrapper #statistics,
#af-wrapper .post-wrapper,
#af-wrapper #profile-header .background-contrast,
#af-wrapper #poll-results .poll-result-bar,
#af-wrapper #memberslist-filter {
background-color: #28292b !important;
}
#af-wrapper .content-element:nth-child(even),
#af-wrapper .topic-sticky,
#af-wrapper .topic-sticky .topic-poster,
#af-wrapper .forum-post-header-container,
#af-wrapper .editor-element,
#af-wrapper #statistics-online-users,
#af-wrapper #profile-layer,
#af-wrapper .spoiler .spoiler-head,
#af-wrapper .report-content,
#af-wrapper #poll-panel,
#af-wrapper .post-reactions-summary .reaction-names,
#af-wrapper #profile-content {
background-color: #28292b !important;
}
#af-wrapper input,
#af-wrapper .forum-post-header-container,
#af-wrapper .forum-poster,
#af-wrapper .topic-poster,
#af-wrapper .member-last-seen,
#af-wrapper .editor-element,
#af-wrapper .content-container,
#af-wrapper .forum-post-header,
#af-wrapper #statistics-body,
#af-wrapper .statistics-element,
#af-wrapper #statistics-online-users,
#af-wrapper .editor-row,
#af-wrapper .editor-row-subject,
#af-wrapper .signature,
#af-wrapper .forum-subforums,
#af-wrapper .uploaded-file img,
#af-wrapper .action-panel-option,
#af-wrapper .topic-sticky .topic-poster,
#af-wrapper #profile-layer,
#af-wrapper #profile-layer .pages-and-menu:first-of-type,
#af-wrapper #profile-content,
#af-wrapper #profile-content .profile-row,
#af-wrapper .history-element,
#af-wrapper #memberslist-filter,
#af-wrapper .content-element,
#af-wrapper .ad-forum,
#af-wrapper .ad-topic,
#af-wrapper .spoiler,
#af-wrapper .spoiler .spoiler-body,
#af-wrapper .report-element,
#af-wrapper .report-source,
#af-wrapper .report-content,
#af-wrapper .report-actions,
#af-wrapper #profile-content .profile-section-header,
#af-wrapper #poll-options,
#af-wrapper #poll-panel,
#af-wrapper #poll-panel #poll-headline,
#af-wrapper #poll-results .poll-result-bar,
#af-wrapper .post-reactions-summary .reaction-names,
#af-wrapper #usergroups-filter {
border-color: #28292b !important;
}
#af-wrapper .post-element {
box-shadow: #fff 0px 0px 0px 0px, #28292b 0px 0px 0px 1px, #0000 0px 0px 0px 0px !important;
}
#af-wrapper .read {
color: #888888 !important;
}
#af-wrapper #read-unread .read {
background-color: #888888 !important;
}
#af-wrapper .unread {
color: #c9483e !important;
}
#af-wrapper #read-unread .unread {
background-color: #c9483e !important;
}
/* ===== Forum Asgaros – version simplifiée ===== */ /* Toutes les règles ciblent #af-wrapper : elles ne s\'appliquent qu\'au forum */ /* --- Largeur maximale 1000 px, centrée --- */ #af-wrapper { max-width: 1000px !important; margin-left: auto !important; margin-right: auto !important; } /* --- Masquer le menu Asgaros (ordinateur + mobile), le fil d\'Ariane et la recherche --- */ #af-wrapper #forum-header, #af-wrapper #forum-navigation, #af-wrapper #forum-navigation-mobile, #af-wrapper #forum-breadcrumbs, #af-wrapper #forum-search { display: none !important; } /* --- Masquer New Topic (secours si le script ne l\'a pas trouvé) --- */ #af-wrapper a[href*=\"addtopic\"] { display: none !important; } /* --- Masquer Delete, Move, Sticky et Close dans le menu du sujet --- */ #af-wrapper .forum-menu a[href*=\"delete\"], #af-wrapper .forum-menu a[href*=\"move\"], #af-wrapper .forum-menu a[href*=\"sticky\"], #af-wrapper .forum-menu a[href*=\"close\"], #af-wrapper .forum-menu a:has(.fa-trash-alt), #af-wrapper .forum-menu a:has(.fa-trash), #af-wrapper .forum-menu a:has(.fa-random), #af-wrapper .forum-menu a:has(.fa-arrows-alt), #af-wrapper .forum-menu a:has(.fa-thumbtack), #af-wrapper .forum-menu a:has(.fa-lock) { display: none !important; } /* --- Blocs pages-and-menu : sans marge, 20 px s\'ils sont vides --- */ #af-wrapper .pages-and-menu { margin: 0 !important; padding: 0 !important; min-height: 0 !important; } #af-wrapper .pages-and-menu.af-empty { height: 20px !important; overflow: hidden !important; } /* --- Panneau jaune des notices : neutralisé --- */ #af-wrapper .notices-panel { background: transparent !important; background-color: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; } /* --- Boutons (Reply…) : texte et icône centrés verticalement --- */ #af-wrapper .forum-menu a, #af-wrapper a.button { display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; vertical-align: middle !important; } #af-wrapper .forum-menu a .menu-icon, #af-wrapper a.button .menu-icon, #af-wrapper .forum-menu a [class*=\"fa-\"], #af-wrapper a.button [class*=\"fa-\"] { line-height: 1 !important; margin: 0 6px 0 0 !important; vertical-align: middle !important; } /* --- Bulles pleines (fa-comments en version solide) --- */ #af-wrapper [class*=\"fa-comment\"] { font-family: \"Font Awesome 5 Free\", \"Font Awesome 6 Free\" !important; font-weight: 900 !important; /* 900 = version pleine */ } #af-wrapper [class*=\"fa-comment\"]::before { content: \"\\f086\" !important; font-family: inherit !important; font-weight: 900 !important; } /* --- Barre du haut : pastille + bouton + titre à gauche, légende à droite --- */ #af-wrapper .af-topbar { display: flex !important; flex-wrap: wrap; align-items: center !important; justify-content: space-between !important; margin: 0 0 6px !important; /* espace minimal sous la barre */ padding: 0 !important; } #af-wrapper .af-topbar-left, #af-wrapper .af-topbar-right { display: flex !important; flex-wrap: wrap; align-items: center !important; margin: 4px 0 !important; } #af-wrapper .af-topbar-right { margin-left: auto !important; /* pousse la légende tout à droite */ justify-content: flex-end !important; } /* Bouton « Back to the list » (dans les sujets) */ #af-wrapper .af-home-btn { display: inline-flex !important; align-items: center !important; padding: 6px 14px !important; border-radius: 999px !important; background: #7dbc25 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; font-weight: 600 !important; font-size: 14px !important; line-height: 1.4 !important; text-decoration: none !important; border: none !important; box-shadow: none !important; } #af-wrapper .af-home-btn:hover { opacity: .85; } /* Titre du forum ou du sujet, en petit */ #af-wrapper .af-topbar .main-title, #af-wrapper .af-topbar .main-title-forum, #af-wrapper .af-topbar .main-title-topic { display: block !important; font-family: \'Poppins\', Arial, sans-serif !important; font-size: 1.3em !important; font-weight: 600 !important; line-height: 1.2 !important; text-align: left !important; margin: 0 0 0 14px !important; } /* Sans rien devant, le titre colle au bord gauche */ #af-wrapper .af-topbar-left > .main-title:first-child, #af-wrapper .af-topbar-left > .main-title-forum:first-child, #af-wrapper .af-topbar-left > .main-title-topic:first-child { margin-left: 0 !important; } /* Légende */ #af-wrapper .af-topbar .af-legend { display: flex !important; flex-wrap: wrap; align-items: center !important; justify-content: flex-end !important; margin: 0 !important; padding: 0 !important; font-size: 14px !important; background: transparent !important; border: none !important; } /* --- Titres restés hors de la barre : Poppins, centrés --- */ #af-wrapper h1, #af-wrapper .main-title { font-family: \'Poppins\', Arial, sans-serif !important; font-size: 2.2em !important; font-weight: 600 !important; line-height: 1.2 !important; text-align: center !important; margin-top: 10px !important; margin-bottom: 50px !important; } /* --- Citations --- */ #af-wrapper blockquote { background: rgba(112, 112, 112, 0.36); border-left: 4px solid rgba(210, 210, 210, 0.36); } /* --- Pseudos : non cliquables partout (liste des sujets comprise) --- */ #af-wrapper a.profile-link { pointer-events: none !important; cursor: default !important; text-decoration: none !important; } /* --- Grand bloc du message : fond et arrondi sur les 4 coins --- */ #af-wrapper .post-element { display: flex !important; flex-direction: row !important; align-items: stretch; min-height: 0 !important; margin-bottom: 24px !important; /* espace entre les messages */ background: #28292b !important; /* couleur du bloc message */ border: none !important; box-shadow: none !important; outline: none !important; overflow: visible !important; } /* Arrondi appliqué à tous les niveaux qui peuvent porter le fond */ #af-wrapper [id^=\"postid-\"], #af-wrapper .post-element, #af-wrapper .post-element > *:not(.post-author) { border-radius: 16px !important; } /* Colonne du pseudo : sans fond, pseudo + numéro + date centrés et serrés */ #af-wrapper .post-author { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 0 !important; row-gap: 0 !important; flex: 0 0 140px !important; width: 140px !important; min-height: 0 !important; float: none !important; padding: 8px 10px !important; text-align: center; background: transparent !important; border: none !important; box-shadow: none !important; } #af-wrapper .post-author > * { margin: 0 !important; padding: 0 !important; min-height: 0 !important; } /* On ne garde que le pseudo et la date : tout le reste de la colonne est masqué */ #af-wrapper .post-author > *:not(.profile-link):not(.af-post-meta):not(:has(.profile-link)), #af-wrapper .post-author .avatar, #af-wrapper .post-author img, #af-wrapper .post-author small, #af-wrapper .post-author br { display: none !important; } /* Pseudo en forme de tag, gris pour les élèves */ #af-wrapper .post-element a.profile-link, #af-wrapper .post-element a.profile-link.highlight-default { display: inline-block !important; margin: 0 !important; padding: 4px 12px !important; border-radius: 999px !important; background: #888888 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.4 !important; text-decoration: none !important; white-space: nowrap; opacity: 1 !important; visibility: visible !important; } #af-wrapper .post-element a.profile-link *, #af-wrapper .post-element a.profile-link:visited, #af-wrapper .post-element a.profile-link:hover { color: #fff !important; -webkit-text-fill-color: #fff !important; } /* Tag vert pour M. REY */ #af-wrapper .post-element a.profile-link.af-teacher { background: #7dbc25 !important; } /* Numéro et date du message, juste sous le pseudo */ #af-wrapper .post-author > .af-post-meta { display: block !important; margin: 3px 0 0 !important; /* espace sous le pseudo */ padding: 0 !important; font-size: 12px !important; line-height: 1.3 !important; color: #999 !important; text-align: center !important; white-space: normal !important; background: transparent !important; border: none !important; } /* Bloc message : transparent (évite le halo dans les coins) */ #af-wrapper .post-wrapper { flex: 1 1 auto !important; width: auto !important; min-width: 0; min-height: 0 !important; margin-left: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; } /* Les éléments à l\'intérieur du message n\'ont pas de fond ni de bordure propres */ #af-wrapper .post-wrapper > *, #af-wrapper .forum-post-header, #af-wrapper .post-message { background: transparent !important; border: none !important; box-shadow: none !important; } /* En-tête du message : ne contient plus que Edit / Quote, alignés à droite */ #af-wrapper .forum-post-header { display: flex !important; justify-content: flex-end !important; padding: 14px 14px 4px !important; } #af-wrapper .post-message { min-height: 0 !important; padding: 10px 14px !important; } #af-wrapper .post-message p { margin: 0 0 6px !important; } /* --- Sur téléphone : pseudo au-dessus, barre du haut empilée --- */ @media (max-width: 600px) { #af-wrapper .post-element { flex-direction: column !important; } #af-wrapper .post-author { width: auto !important; flex: none !important; align-items: flex-start !important; } #af-wrapper .post-author > .af-post-meta { text-align: left !important; } #af-wrapper .af-topbar-right { margin-left: 0 !important; justify-content: flex-start !important; } }