90 lines
1.6 KiB
CSS
90 lines
1.6 KiB
CSS
#dirindex article {
|
|
display: block;
|
|
margin: 0 auto;
|
|
width: 600px;
|
|
}
|
|
|
|
#dirindex a {
|
|
color: #004466;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#dirindex a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#dirindex a:visited {
|
|
color: #666666;
|
|
}
|
|
|
|
#dirindex details summary,
|
|
#dirindex details summary::-webkit-details-marker {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#dirindex {
|
|
list-style: none;
|
|
}
|
|
|
|
#dirindex ul li {
|
|
list-style-type: none;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#dirindex li {
|
|
padding-left: 25px;
|
|
}
|
|
|
|
/* Style pour le pliage/dépliage des dossiers */
|
|
.toggle {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Style pour les sous-éléments des dossiers */
|
|
ul.sub-items {
|
|
list-style-type: none;
|
|
margin-left: -50px;
|
|
}
|
|
|
|
.fileContainer {
|
|
display: flex;
|
|
}
|
|
|
|
.file-info-container {
|
|
float: right;
|
|
align-content: left;
|
|
/* Ajout d'une largeur fixe à la div */
|
|
width: 200px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.file-name {
|
|
float: left;
|
|
max-width: 400px; /* Largeur maximale du nom de fichier */
|
|
white-space: nowrap; /* Empêcher le débordement du texte à la ligne suivante */
|
|
overflow: hidden; /* Cacher tout texte qui dépasse */
|
|
text-overflow: ellipsis; /* Ajouter des points de suspension (...) pour indiquer que le texte a été tronqué */
|
|
}
|
|
|
|
/**
|
|
* Images des icônes
|
|
*/
|
|
|
|
#dirindex li {
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#dirindex .small {
|
|
background-size: 15px;
|
|
}
|
|
|
|
/** les dossiers */
|
|
#dirindex li.folder {
|
|
background-image: url("module/folder/view/index/folder.svg");
|
|
}
|
|
|
|
/** fichiers par défaut (mime non trouvé) */
|
|
#dirindex li:not(.folder) {
|
|
background-image: url("module/folder/view/index/png.svg");
|
|
} |