Difference between revisions of "MediaWiki:Common.css"

From Wikimini Stock
Jump to: navigation, search
Line 84: Line 84:
 
/* --- SelectCategory Category Tree --- */
 
/* --- SelectCategory Category Tree --- */
  
 
+
/*
 
#SelectCategoryList {
 
#SelectCategoryList {
 
   color: black;
 
   color: black;
Line 162: Line 162:
 
   margin-right: 1em;
 
   margin-right: 1em;
 
}
 
}
 
+
*/
  
 
/* SelectCategory : Couleurs spéciales des branches de premier niveau */
 
/* SelectCategory : Couleurs spéciales des branches de premier niveau */

Revision as of 06:30, 1 March 2017

/* CSS placed here will be applied to all skins */

/* --- Special:Preferences ------------------------------ */

#preftoc li,
#preftoc li.selected {
     border: 0;
}

/* Masquer certains onglets */

#preftoc li a[href$="-1"],
#preftoc li a[href$="-3"],
#preftoc li a[href$="-4"],
#preftoc li a[href$="-5"],
#preftoc li a[href$="-7"] {
     display: none;
}

/* --- Special:Upload ----------------------------------- */

#mw-upload-maxfilesize,
#mw-upload-permitted {
     color: #808080;
     font-size: smaller;
}

/* Mettre en forme le menu déroulant des licences */

#wpLicense option:disabled {
     color: #000000 !important;
     font-weight: bold;
     margin-top: 8px;
}

#wpLicense option {
     margin-top: 1px;
}

/* Masquer 2 cases à cocher */

input#wpWatchthis,
label[for="wpWatchthis"],
input#wpIgnoreWarning,
label[for="wpIgnoreWarning"] {
     display: none;
}

/* --- Special:Upload > surcouche JS (Upload form rewrite) --- */

/* Masquer boutons transformant champs 
"texte" en "textarea" (encombrant et peu utile) */

input#wpSource_Button,
input#wpAuthor_Button {
     display: none;
}

/* Divers */

label#wpDescLabel {
     display: block;
     padding-top: 28px
}

#wpUploadAddDescription {
    float: right;
    border: none;
    background-color: transparent;
    color: #808080;
}

#wpUploadAddDescription:hover {
    background-color: #F5F5F5;
}

/* nixit */
#mw-upload-form fieldset:nth-child(3) {
   display: none;
}
/* nixit end */


/* --- SelectCategory Category Tree --- */

/*
#SelectCategoryList {
  color: black;
  padding : 1em;
}

#SelectCategoryList ul {
  padding: 0 0 4px 0;
  margin: 0;
  list-style-type: none;
  list-style-image: none;
  line-height: 1.6em;
}

.SelectCategoryUlDepth1 {
  padding-left: 3px !important;
}

#SelectCategoryList li ul {
  margin-left: -5px;
}

#SelectCategoryList li {
  padding: 0;
  margin: 0;
  zoom: 1; /* BE KIND TO IE6 */
}

#SelectCategoryList li li {
  padding: 2px 0 0 20px;
}

#SelectCategoryList li li.notlastline {
  background: url("/w/extensions/SelectCategory/images/treeview-gray-line.png") no-repeat left top;
  padding: 2px 0 0 20px;
}

#SelectCategoryList li.lastline {
  background: url("/w/extensions/SelectCategory/images/treeview-gray-line.png") no-repeat left top;
  padding: 2px 0 0 20px;
  background-position: 0 -2990px;
}

#SelectCategoryList input {
  margin-right: 0.25em;
}

#SelectCategoryList li.CategorySelectSelected {
  font-weight: bold;
}

#SelectCategoryList li.CategorySelectSelected ul {
  font-weight: normal;  
}

#SelectCategoryList li.SelectCategory_Arrow {
  position: relative;
  top: -3px;
  margin-right: 0.25em;
}


/* Catégories sélectionnées */

#CategorySelect_CheckedCats ul {
  display: inline;
  padding: 0;
  margin: 0;
  list-style-type: none !important;
  list-style-image: none !important;
}

#CategorySelect_CheckedCats li {
  display: inline;
  padding: 0;
  margin-left: 1em;
  margin-right: 1em;
}
*/

/* SelectCategory : Couleurs spéciales des branches de premier niveau */

#topics {
  padding: 0 !important;
}

#informationanddocumentation {
  background-color: #8c8c8c !important;
  border: 1px outset #000000;
  border-right: 8px solid #000000;
}
#informationanddocumentation ul {
  background-color: #8c8c8c !important;
}
#beliefsandreligions {
  background-color:#ff827f !important;
  border: 1px outset #ff0600;
  border-right: 8px solid #ff0600;
}
#beliefsandreligions ul {
  background-color:#ff827f !important;
}
#sciencesandmathematics {
  background-color: #82c983 !important;
  border: 1px outset #059407;
  border-right: 8px solid #059407;
}
#sciencesandmathematics ul {
  background-color: #82c983 !important;
}
#artsrecreationandsports {
  background-color: #cc7fcc !important;
  border: 1px outset #990099;
  border-right: 8px solid #990099;
}
#artsrecreationandsports ul {
  background-color: #cc7fcc !important;
}
#literatureanddrama {
  background-color: #bbbbbb !important;
  border: 1px outset #787878;
  border-right: 8px solid #787878;
}
#literatureanddrama ul {
  background-color: #bbbbbb !important;
}
#historyandgeography {
  background-color: #ededed !important;
  border: 1px outset #ffffff;
  border-right: 8px solid #ffffff;
}
#historyandgeography ul {
  background-color: #ededed !important;
}
#languagesandlinguistics {
  background-color: #ffff7f !important;
  border: 1px outset #ffff00;
  border-right: 8px solid #ffff00;
}
#languagesandlinguistics ul {
  background-color: #ffff7f !important;
}
#lifeinsociety {
  background-color: #fecb7f !important;
  border: 1px outset #fe9700;
  border-right: 8px solid #fe9700;
}
#lifeinsociety ul {
  background-color: #fecb7f !important;
}
#mindandspirit {
  background-color: #cf7f7f !important;
  border: 1px outset #a00000;
  border-right: 8px solid #a00000;
}
#mindandspirit ul {
  background-color: #cf7f7f !important;
}
#technologyandhealth {
  background-color: #8080fa !important;
  border: 1px outset #0201f5;
  border-right: 8px solid #0201f5;
}
#technologyandhealth ul {
  background-color: #8080fa !important;
}