1
0
forked from ScoDoc/ScoDoc

fix esthétique menu formsemestre

This commit is contained in:
Iziram 2024-08-13 17:04:57 +02:00
parent ae84ed26c3
commit 330036c1be

View File

@ -117,15 +117,20 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
border: none; border: none;
text-transform: none;
text-transform: uppercase; font-weight: normal;
font-weight: bold;
font-size: 12px; font-size: 12px;
padding: 4px 8px; padding: 4px 8px;
border-radius: 4px; border-radius: 4px;
} }
.sco-formsemestre-menu-menu>.dropdown>summary {
text-transform: uppercase;
font-weight: bold;
font-size: large !important;
}
.sco-formsemestre-menu-link { .sco-formsemestre-menu-link {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
@ -322,6 +327,7 @@
list-style: none; list-style: none;
padding: 0.25rem 0.5rem; padding: 0.25rem 0.5rem;
border-radius: 4px; border-radius: 4px;
font-size: small;
} }
.sco-formsemestre-menu .dropdown>summary::marker { .sco-formsemestre-menu .dropdown>summary::marker {
@ -432,7 +438,7 @@
{# Macro génération dropdown #} {# Macro génération dropdown #}
{% macro dropdown(category, items) %} {% macro dropdown(category, items) %}
<details class="dropdown"> <details class="dropdown">
<summary class="sco-formsemestre-menu-item">{{category}}</summary> <summary class="">{{category}}</summary>
<div class="dropdown-content"> <div class="dropdown-content">
{% for item in items %} {% for item in items %}
{% if item.submenu is defined %} {% if item.submenu is defined %}