ZwiiCMS/module/folder/view/index/index.css

130 lines
2.1 KiB
CSS

@import url('module/folder/view/index/file-icon-classic.css');
@import url('module/folder/view/index/file-icon-high-contrast.css');
@import url('module/folder/view/index/file-icon-square-o.css');
@import url('module/folder/view/index/file-icon-vivid.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: 2em;
}
/* 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: 250px;
margin-left: auto;
}
.file-name {
float: left;
max-width: 250px;
/* 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;
}
.fiv-size-md {
background-size: 1.0em;
}
.fiv-size-lg {
background-size: 1.3em;
}
.fiv-size-xl {
background-size: 1.6em;
}
#dirindex li .fiv-size-xl{
padding-bottom: 0.4em;
}
/**
* Barre d'icônes
*/
/* Style des icônes pour "Déplier" et "Replier" */
.titleicons span {
cursor: pointer;
}
.titlecontainer>.titletag,
.titlecontainer>.titleicons {
display: inline-block;
}
.titletag {
text-align: left;
}
.titleicons {
/* Pour aligner les icônes à gauche dans le CSS de la page
.titleicons {
float: unset;
}
*/
float: right;
}