MediaWiki: Common.css

De Documentation Polaris
Aller à : navigation, rechercher

Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac).
  • Google Chrome : appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac).
  • Internet Explorer : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.
  • Opera : allez dans Menu → Settings (Opera → Préférences sur un Mac) et ensuite à Confidentialité et sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/* Le CSS placé ici sera appliqué à tous les habillages. */
p,td,a,h1,h2,h3,h4,h5,h6 {
	overflow-wrap: break-word;
}

.book { display: none; }

/* couleur des approbations et révision */
#mw-revision-info { color: white; background-color: indianRed; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; display: inline-block;}
#mw-revision-nav { color: black; background-color: #dedede; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; display: inline-block;}
#mw-revision-info a { color: white; }
.approvedAndLatestMsg { color: white; background-color: MediumSeaGreen; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; }
.notApprovedRevision { color: white; background-color: IndianRed; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; }
.notLatestMsg { color: white; background-color: darkorange; padding: 0.5ex 0.5em; margin: 0 0 1ex 0; border-radius: 4px; }
.noApprovedRevision a, .notLatestMsg a { color: white; text-decoration: underline; }
.noApprovedRevision a:hover, .notLatestMsg a:hover { text-decoration: none; }

form.navbar-left {
  display: none;
}

.dropdown-menu #n-help {
  display: none;
}

.approbation {
  position: fixed;
  top: 64px;
  right: 16px;
}

.approbation .btn-success {
  opacity: 0.8;
}

.approbation a {
  color: white;
}

@media print {
 .footer-icons, .footer-places, .footer-info, .p-tb, .approbation, .approbation * { display: none !important; } 
}

img {
  max-width:100%;
  height: auto;
  page-break-before: auto; 
  page-break-after: auto; 
  page-break-inside: avoid !important;
}

p {
  page-break-inside: avoid;
}

h1, h2, h3, h4, h5, h6, h7, h8, h9 {
  page-break-after: avoid;
}

#catlinks {
  display: block;
}

.mw-normal-catlinks{
  display: none;
}

.catlinks {
  border: 0 !important;
  background: white !important;
  margin-top: 0 !important;
}

#tweeki-cat hr {
  display: none;
}

.depuis_version { color: white; background-color: MediumSeaGreen; padding: 0.5ex 0.5em; margin: 0 0 2ex 0; border-radius: 4px; display: inline-block;}
.obsolete_version { color: white; background-color: IndianRed; padding: 0.5ex 0.5em; margin: 0 0 2ex 0; border-radius: 4px; display: inline-block;}



.fil-ariane .ariane-sep {
		margin-left: 0.2em;
		margin-right: 0.2em;
	}
	
	.carto-tab
	{		
		border-collapse: collapse;
		width: 100%;		
	}	
	
	.carto-tab td {
		/* padding: 0.2ex 0.5em; */
		padding: 1ex 0.5em;
	}
	
	.carto-tab .carto-no {		
		border-left: 2px solid black;
		border-right: 1px solid black;
		border-top: 2px solid black;
		border-bottom: 1px solid black;
		
		text-align: center;
		font-weight: bold;
		background-color: lightblue;
		padding: 0.4ex 0.5em;
	}
	
	.carto-tab .carto-lib {
		border-left: 1px solid black;
		border-right: 2px solid black;
		border-top: 2px solid black;
		border-bottom: 1px solid black;
		text-align: left;
		font-weight: bold;
		background-color: aliceblue;		
		padding: 0.4ex 0.5em;
	}
	
	.carto-tab .carto-desc {
		border: 1px solid black;
		text-align: left;
		vertical-align: top;
		height: 10ex;
	}
	
	.carto-tab .carto-space {
		border-top: 2px solid black;		
		height: 3ex;
	}
	
	.carto-tab .carto-versions {
		text-align: left;
		vertical-align: top;
		font-size: 90%;
		padding-right: 1em;
		border-left: 1px solid black;		
		border-right: 2px solid black;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
		white-space: nowrap;
	}
	
	.carto-tab .carto-versions ul {
		list-style-type: none;
		margin: 0;
	}
	
	.carto-tab .carto-versions li {
		margin: 0 0.5em 0 0.5em;
	}
	
	.carto-tab .carto-versions li:before {
		content: '→ ';
		color: #aaa;
	}	
	
	.carto-tab .carto-versions .carto-depuis-lib {
		font-weight: bold;		
	}
	
	.carto-tab .carto-versions .carto-obsolete-lib {
		display: block;
		color: crimson;
		font-weight: bold;
		padding-top: 2ex;
	}
	
	.carto-tab .carto-versions .carto-obsolete-versions li:before {
		content: '× ';
		color: red;
	}
	
	.carto-tab .carto-lbl {
		font-size: 80%;
		vertical-align: middle;
		text-align: center;
		border-left: 2px solid black;
		border-right: 1px solid black;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
		font-weight: bold;		
		max-width: 3ex;
		width: 3ex;
		margin: 0;
		padding: 0;
	}
	
	.carto-tab .carto-lbl .txt {		
		-webkit-transform-origin: 50% 50%;
       -moz-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
         -o-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
		-webkit-transform: rotate(-90deg);
       -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
         -o-transform: rotate(-90deg);
            transform: rotate(-90deg);
		overflow-wrap: normal !important;
		text-overflow: ellipsis;		
		display: block;
		margin: 0;
		padding: 0;
                
	}
	
	.carto-tab .carto-lbl-cli {
		background: LightBlue;
		height: 8ex;
	}
	
	.carto-tab .carto-lbl-qlt {
		background: palegreen;
		height: 10ex;
	}
	
	.carto-tab .carto-lbl-dev {		
		background: orange;
		height: 4x;		
	}
	
	.carto-tab .carto-col-little {
		width: 1px;
	}
	
	.carto-tab .carto-title {
		font-weight: bold;
		font-size: 90%;
		text-align: left;	
		border: 1px solid black;
		vertical-align: top;
		background: #eee;
		color: #777;
	}
	
	.carto-tab .carto-parametrable {
		padding-right: 2em;
		border: 1px solid black;
	}
	
	.carto-tab .carto-type-func {
		border: 1px solid black;
	}
	
	.carto-tab .carto-doc {
		border: 1px solid black;
	}
	
	.carto-tab .carto-casdetest {
		border-left: 1px solid black;
		border-right: 2px solid black;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
		
		vertical-align: top;
	}
	
	.carto-tab .carto-casdetest ul {
		padding: 0;
		margin: 0 0 0 1em;		
	}
	
	.carto-tab .carto-liennf525 {
		border-left: 1px solid black;
		border-right: 2px solid black;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
		
		vertical-align: top;
	}
	
	.carto-tab .dev-namespace {
		color: #777;
	}
	.carto-tab .dev-file {
		color: darkgray;
		font-style: italic;
	}
	
	.carto-tab .carto-extended {
		margin-top: 1ex;
		margin-bottom: 0.5ex;
	}
	
	.carto-tab .carto-extended a {
		color: black;
	}
	
	.carto-tab .carto-extended span {
		font-size: 80%;
		font-weight: bold;
		font-style: italic;		
		padding: 2px 1em;		
		border-radius: 4px;
	}
	
	.etat-fonction {
		font-size: 90%;
		font-weight: bold;		
		padding: 2px 1em;
		border-radius: 4px;
		color: black;
		background-color: Gainsboro;
	}
	
	.bug-status {
		padding: 2px 1em;
		border-radius: 4px;
	}
	
	.bug-status a {
		color: black;
	}
	
	.etat-fonction-4 {
		background-color: YellowGreen;
	}
	
	.etat-fonction-0 {
		background-color: Gainsboro;
	}
	
	.etat-fonction-1 {
		background-color: Salmon;
	}
	
	.etat-fonction-2 {
		background-color: Moccasin;
	}
	
	.etat-fonction-3 {
		background-color: LightSteelBlue;
	}
	
	.nf525-no {
		clear: both;
		display: inline;
		font-weight: bold;
	}
	
	.nf525-no:before {
		content: ' '; 
		display: block;
	}
	
	.nf525-no:after {
		content:' — ';
	}
	
	.nf525-desc {
		display: inline;
	}
	
	.nf525-link {
		display: block;
		margin-left: 6em;
	}
	
	.nf525-link:before {
		content: '⤍ '; 
	}
	
	.licence-id {
		clear: both;
		display: inline;		
	}
	
	.licence-id:before {
		content: ' '; 
		display: block;
	}
	
	.licence-id:after {
		content:' — ';
	}
	
	.licence-nom {
		display: inline;
	}
	
	.doc-link-id {
		clear: both;
		display: inline;		
	}
	
	.doc-link-id:before {
		content: ' '; 
		display: block;
	}
	
	.doc-link-id:after {
		content:' — ';
	}
	
	.doc-link-page {
		display: inline;
	}

.ticket-desc {
font-size: 90%;
padding: 0.2ex 0.5em 0.2ex 1em;
margin: 0.5ex 0.5em 1ex 0.5em;
color: #777;
}

.puce-non-conformite { color: white; background-color: RoyalBlue; padding: 0.2ex 0.5em; margin: 0 0.5em 1ex 0; border-radius: 4px; display: inline-block; font-size: 80%;}

#api-body a {
    text-decoration: underline;
    color: #333;
}

#api-body a:hover {
    text-decoration: none;
    color: #333;
}

#api-body .appel .lbl {
    font-weight: bold;
}

#api-body .appel .vlr {
    font-style: italic;
}

#api-body .args .lbl {
    font-weight: bold;
}

#api-body .args ul {
    list-style: square;
}

#api-body .signature {
    border: 1px dotted navajowhite;
    background: cornsilk;
    padding: 2ex 1em;
    margin: 1ex 2em;
}

#api-body .signature .return-type {
    color: darkgreen;
    font-weight: normal;
}

#api-body .security-elt {
    color: royalblue;
    font-weight: normal;
    font-style: italic;
}

#api-body .signature .parameter-type {
    color: darkgreen;
    font-weight: normal;
}

#api-body .signature .parameter-name {
    color: darkblue;
    font-weight: bold;
}

#api-body .args .parameter-name {
    color: darkblue;
    font-weight: bold;
}

#api-body .args .optionel {
    font-size: 90%;
    font-style: italic;
}

#api-body .args .t-args {
    border-collapse: collapse;
    border: 1px solid navajowhite;
    padding: 2ex 1em;
    margin: 1ex 2em;
}

#api-body .args .t-args th {
    background: cornsilk;
    border: 1px solid navajowhite;
    padding: 1ex 1em;
    text-align: left;
    color: #333;
}

#api-body .args .t-args .t-return th {
    background: LightCyan;        
}

#api-body .args .t-args .t-return td {
    background: LightCyan;        
}

#api-body .args .t-args thead th {
    color: #666;
}

#api-body .args .t-args td {    
    border: 1px solid navajowhite;
    padding: 1ex 1em;
}

.ons-0 h2:before {
	content: counter(cth2) ".   ";
}

.ons-0 h3:before {
	content: counter(cth2) "." counter(cth3) ".   ";
}

.ons-0 h4:before {
	content: counter(cth2) "." counter(cth3) "." counter(cth4) ".   ";
}

.ons-0 h5:before {
	content: counter(cth2) "." counter(cth3) "." counter(cth4) "." counter(cth5) ".   ";
}

.mw-headline::before {
    display: inline !important;
}

body {
	counter-reset: cth1;
	counter-reset: cth2;
	counter-reset: cth3;
	counter-reset: cth4;
	counter-reset: cth5;
}

h1 {
	counter-increment: cth1;
	counter-reset: cth2;
}

h2 {
	color: #0066CC;
	font-weight: bold;
	padding: 0 0 0.3ex 0;
	margin: 3ex 0 3ex 0;
	border-bottom: 1px solid #0066CC;
	display: block;
	
	counter-increment: cth2;
	counter-reset: cth3;
	page-break-before: always;
}

.toctitle h2 {
	color: #FF6633 !important;	
	border: 0 !important;
	counter-increment: none !important;
	page-break-before: avoid !important;
}

#toc h2:before {
	content: "";
}


h3 {
	color: #004586;
	font-weight: bold;
	margin: 2ex 0 1ex 0;
	
	counter-increment: cth3;
	counter-reset: cth4;
}

h4 {
	color: #FF6633;
	font-weight: bold;
	font-style: italic;
	margin: 3ex 0 2ex 0;
	
	counter-increment: cth4;
	counter-reset: cth5;
}

h5 {
  color: black;
  font-weight: bold;
  font-size: 120%;
  margin: 2ex 0 2ex 0;
}

.mw-body ul, .mw-body ol {
    padding-bottom: 2ex;
}

.mw-body li {
  margin-bottom: 0.5ex;
}