Cosmetic : animate bar menu

This commit is contained in:
sparkyx 2024-09-17 23:08:50 +02:00
parent d07f24810b
commit 0e51eab54b
3 changed files with 38 additions and 6 deletions

View file

@ -25,6 +25,8 @@ BODY {
color:darkblue !important;
background-color:#FCFDFD;
--hover : rgba(108, 130, 208, 0.9);
--border-size:4px;
--accent-color:lightblue;
}
input{
font-family: 'OpenSansRegular';
@ -3280,6 +3282,8 @@ li.li-active {
background-color: navy !important;
color:white !important;
border-radius: 0px;
transition: all 300ms ease-in-out;
}
#module .nav-item-active , #module .nav-item-active > a.nav-link{
background-color: #5d90cd !important;
@ -3653,3 +3657,31 @@ h2.h-section {
font-size: 80%;
font-variant-caps: normal;
}
/***
* Animate menu
*
*/
.nav-item {
position:relative;
}
.nav-item.nav-item-underline::before {
content:'';
left:0;
bottom:0;
right:0;
position:absolute;
height:var(--border-size);
background-color:orangered;
transform:scaleX(0);
transition:transform 300ms ease-in-out;
}
.nav-item.nav-item-underline:hover::before,
.nav-item.nav-item-underline:focus::before
{
transform:scaleX(1);
}

View file

@ -14,7 +14,7 @@ msgstr ""
"Project-Id-Version: NOALYSS 672\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-07 17:50+0200\n"
"PO-Revision-Date: 2024-09-07 18:03+0200\n"
"PO-Revision-Date: 2024-09-10 10:26+0200\n"
"Last-Translator: dany <dany@galactee.intra-alchimerys.be>\n"
"Language-Team: French <kde-i18n-doc@kde.org>\n"
"Language: en_US\n"
@ -14534,7 +14534,7 @@ msgstr "General Ledger"
#: include/ext/tva/form_parameter.php:68 include/ext/tva/form_parameter.php:71
#: include/ext/tva/form_parameter.php:72
msgid "Grille 00 : opérations soumises à un régime particulier"
msgstr "Grid 00: transactions subject to special rules"
msgstr "Grid 00: transactions subject to special rules "
#: include/ext/tva/form_parameter.php:69 include/ext/tva/form_parameter.php:72
#: include/ext/tva/form_parameter.php:73
@ -15112,7 +15112,7 @@ msgstr "Call History"
#: include/ext/skel/index.php:46 include/ext/tva/index.php:35
#: include/ext/tva/index.php:38 include/ext/tva/index.php:39
msgid "Historique des déclarations TVA"
msgstr "History of VAT returns"
msgstr "History"
#: include/ext/rapport_avance/index.php:62
#: include/ext/rapport_avance/index.php:61
@ -17194,7 +17194,7 @@ msgstr "Style of row must be a number"
#: include/ext/invoicing/include/invoice_send_mail.inc.php:65
#: include/ext/invoicing/include/invoice_send_mail.inc.php:69
msgid "Le sujet est obligatoire"
msgstr "The subject is compulsory"
msgstr "The subject is mandatory"
#: include/class_anc_key.php:150 include/class/class_anc_key.php:150
#: include/class/anc_key.class.php:150 include/class/anc_key.class.php:158
@ -18112,7 +18112,7 @@ msgstr "Listing"
#: include/ext/skel/index.php:45 include/ext/tva/index.php:34
#: include/ext/tva/index.php:37 include/ext/tva/index.php:38
msgid "Listing Assujetti"
msgstr "Subject Listing"
msgstr "Customer Listing"
#: include/ext/skel/index.php:45 include/ext/tva/index.php:34
#: include/ext/tva/index.php:37 include/ext/tva/index.php:38

View file

@ -33,7 +33,7 @@
}
else {
$js="";
$class_list_element="nav-item";
$class_list_element="nav-item nav-item-underline";
$class_link="nav-link";
if ( $amenu[$i]['me_url']!='')