Dernière modification le il y a 2 semaines
par Cyrilhubeau

« MediaWiki:Common.css » : différence entre les versions

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 221 : Ligne 221 :
     padding: 4px 8px;
     padding: 4px 8px;
     cursor: pointer;
     cursor: pointer;
}
.comment-replies{
margin-left:20px;
}
}



Version du 13 mai 2025 à 14:47

/* Le CSS placé ici sera appliqué à tous les habillages. */
#notifications-btn{
	display:none;
}
/* Chronologie */
.CategoryTreeTag {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  margin: 40px auto;
  padding: 40px 20px;
  overflow-x: auto;
}

.CategoryTreeTag::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #a45319; /* ligne horizontale */
  z-index: 0;
  width: 6500px;
}

.CategoryTreeSection {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 40px;
  z-index: 1;
}

.CategoryTreeSection::before {
  content: '';
  position: absolute;
  top: 50px;
  width: 15px;
  height: 15px;
  background-color: #556b2f;
  border-radius: 50%;
  border: 2px solid white;
  /*box-shadow: 0 0 0 2px #007BFF;*/
  z-index: -1;
}
.CategoryTreeItem{
	padding: 10px;
	background-color: #F0F0F0;
	border-radius: 20px;
	border:2px solid #556b2f;
	padding-left: 15px;
	padding-right: 15px;
}
.CategoryTreeItem a{
	color:black !important;
}
.CategoryTreePageBullet{
	display:none;
}
.CategoryTreeEmptyBullet{
	display:none;
}
/* END */

#footer-icons{
	display:none !important;
}
.menu-title{
	font-weight : bold;
	color: #a45319 !important;
	font-size: 13pt !important;
}
.mw-category-generated > p:nth-child(1) > em:nth-child(1){
	display:none;
}


/* Barre de recherche */
#searchform{
	border:2px solid #a45319;
	border-radius:5px;
	background-color: white;
}
#mw-searchButton{
	background-color:white !important;
}
#searchInput{
	background-color:white !important;
}
.suggestions-result-current{
	background-color: #e2ebd2;
}
.suggestions-result-current div{
	color:#000000 !important;
}

#back-to-top::before{
	color: #a45319;
}

/* Bouton du formulaire de Contact */
.mw-htmlform-submit-buttons .oo-ui-buttonElement-button{
	background-color:#556b2f !important;
	border-color:#445A1E;
}
.mw-htmlform-submit-buttons .oo-ui-buttonElement-button:hover{
	background-color:#445A1E !important;
}

/* Liens du footer */
#footer-links li a:hover{
	color:#F0F0F0;
}

/* Bouton de connexion */
#wpLoginAttempt{
	border : 1px solid #556b2f;
	border-radius: 5px;
	background-color: #556b2f;
	color: white;
}
#wpLoginAttempt:hover{
	background-color: #445a3e;
}
/* Bouton deconnexion */
#ooui-php-2 span.oo-ui-labelElement-label{
	color:white !important;
}

/* Bouton full-screen */
#title-actions a.ico-btn{
	color : #a45319 !important;
}

/* Bouton Top of Page dans Assigements */
#bs-pageassignments-overview span.oo-ui-labelElement-label{
	color:white !important;
}
/* Bouton Recherche */
#mw-search-top-table span.oo-ui-labelElement-label{
	color:white !important;
}
.oo-ui-buttonElement-button{
	background-color: #556b2f !important;
	color:white !important;
}
.oo-ui-buttonElement-button:hover{
	background-color: #445a3e !important;
	border:1px solid #445a3e !important;
}
.ve-ui-toolbar-saveButton{
	background-color: #556b2f !important;
	color:white !important;
}
.ve-ui-toolbar-saveButton:hover{
	background-color: #445a3e !important;
	border:1px solid #445a3e !important;
}
.oo-ui-tool-link{
	background-color: #556b2f !important;
}
.oo-ui-tool-link:hover{
	background-color: #556b2f !important;
}
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-tool-link{
	color : #556b2f;
}
.oo-ui-iconElement a{
	background-color: white !important;
}
.oo-ui-iconElement a:hover{
	background-color: silver !important;
}
.oo-ui-labelElement-label{
	color:black !important;
}
.oo-ui-actionWidget .oo-ui-buttonElement-button .oo-ui-labelElement-label{
	color:white !important;
}
#standarddialogs-dlg-new-page-btn-cancel .oo-ui-buttonElement-button{
	background-color: silver !important;
	color : black !important;
}

/* Couleur icones header */
.navbar-nav .ico-btn{color:white !important;}
#sb-pri-tgl-btn{color:white !important;}
.navbar-nav #usr-login{color:white !important;}

/* Mega Menu */
.card.mega-menu{
	background-color: white !important;
}

/* Side Bar Edit */
#edit-sidebar-link{
	color: black !important;
}

/* Commentaires */
.comment{
	margin-bottom:10px;
	padding:5px;
}
.delete-comment {
    margin-top: 5px;
    background: #d9534f;
    color: white;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
}
.reply-comment {
    margin-top: 5px;
    background: #556b2f;
    color: white;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
}
.comment-replies{
	margin-left:20px;
}

/* Mobile CSS */
@media only screen and (max-width: 767px) {
	.east-col-nav{display:none;position:absolute;}
	.center-col-nav{width:100%;}
	#searchform{width:90%;}
}