« MediaWiki:Common.css » : différence entre les versions
De Wiktionnaire-SHS
Aucun résumé des modifications |
(Correction grossière du problème d’affichage sur les formulaires) |
||
(27 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
/* | /* Couleurs */ | ||
:root { | |||
--shadow: #eeeeee; | |||
--background: #ffffff; | |||
--pagetools: #000000; | |||
--pagetools-new: #ab0000; | |||
--header-message: #36363666; | |||
} | |||
label.checkboxLabel { | label.checkboxLabel { | ||
display: block; | |||
/* | } | ||
/* | span.checkboxesSpan { | ||
width: 550px; | |||
} | |||
/* Loader */ | |||
div#mw-indicator-smw-entity-examiner { | |||
position: absolute; | |||
} | |||
#pfForm select, #pfForm input[type="checkbox"] { | |||
min-width: 15px !important; | |||
} | |||
/* Tableaux */ | |||
table.wikitable, | |||
table.wikitable-AR, | |||
table.wikitable-FR, | |||
table.wikitable-EN { | |||
width: 100%; | |||
border: 5px solid #999; | |||
border-color: white; | |||
margin: 0; | |||
} | |||
table.wikitable tr, | |||
table.wikitable-AR tr, | |||
table.wikitable-FR tr, | |||
table.wikitable-EN tr { | |||
border: 5px solid white; | |||
} | } | ||
table.wikitable th, | |||
{ | table.wikitable-AR th, | ||
table.wikitable-FR th, | |||
table.wikitable-EN th { | |||
width: 20%; | |||
color: #036635; | |||
padding-left: 1px; | |||
text-align: left; | |||
font-weight: normal; | |||
margin-left: 1px; | |||
vertical-align: top; | |||
border: 5px solid white; | |||
border-color: white; | |||
background: #EFF0FF; | |||
} | } | ||
{ | table.wikitable td, | ||
/* | table.wikitable-AR td, | ||
table.wikitable-FR td, | |||
table.wikitable-EN td { | |||
width: 80%; | |||
border-left: 5px solid white; | |||
color: #333; | |||
padding-left: 1px; | |||
text-align: left; | |||
font-weight: normal; | |||
margin-left: 1px; | |||
vertical-align: top; | |||
border: 5px solid white; | |||
background: #E1E6FA; | |||
} | |||
/* AR */ | |||
body.cat-SHS-AR .mw-parser-output { | |||
direction: rtl; | |||
} | |||
.wikitable-AR { | |||
text-align: right; | |||
} | |||
.formAR textarea[name*="[Définition]"] { | |||
direction: rtl; | |||
} | |||
/* Sur les pages comme https://dev.france-maghreb.msh-paris.fr/index.php?title=%D8%AD%D9%83%D9%8A&action=formedit sur Mac (rapporté par Hammou Fadili), les 3-4 premiers caractères du libellé sont sous la case à cocher, mais le problème n’est pas reproductible chez Sébastien ou Nicolas. La règle suivante est grossière et impacte tout le monde même ceux qui n’ont pas ce problème d’affichage. À améliorer éventuellement. // Wiki Valley / Sébastien / 2023-06-12 */ | |||
.checkboxLabel.Texte-AR > t { | |||
margin-left: 10px; | |||
} | } |
Version actuelle datée du 12 juin 2023 à 18:15
/* Couleurs */
:root {
--shadow: #eeeeee;
--background: #ffffff;
--pagetools: #000000;
--pagetools-new: #ab0000;
--header-message: #36363666;
}
label.checkboxLabel {
display: block;
}
span.checkboxesSpan {
width: 550px;
}
/* Loader */
div#mw-indicator-smw-entity-examiner {
position: absolute;
}
#pfForm select, #pfForm input[type="checkbox"] {
min-width: 15px !important;
}
/* Tableaux */
table.wikitable,
table.wikitable-AR,
table.wikitable-FR,
table.wikitable-EN {
width: 100%;
border: 5px solid #999;
border-color: white;
margin: 0;
}
table.wikitable tr,
table.wikitable-AR tr,
table.wikitable-FR tr,
table.wikitable-EN tr {
border: 5px solid white;
}
table.wikitable th,
table.wikitable-AR th,
table.wikitable-FR th,
table.wikitable-EN th {
width: 20%;
color: #036635;
padding-left: 1px;
text-align: left;
font-weight: normal;
margin-left: 1px;
vertical-align: top;
border: 5px solid white;
border-color: white;
background: #EFF0FF;
}
table.wikitable td,
table.wikitable-AR td,
table.wikitable-FR td,
table.wikitable-EN td {
width: 80%;
border-left: 5px solid white;
color: #333;
padding-left: 1px;
text-align: left;
font-weight: normal;
margin-left: 1px;
vertical-align: top;
border: 5px solid white;
background: #E1E6FA;
}
/* AR */
body.cat-SHS-AR .mw-parser-output {
direction: rtl;
}
.wikitable-AR {
text-align: right;
}
.formAR textarea[name*="[Définition]"] {
direction: rtl;
}
/* Sur les pages comme https://dev.france-maghreb.msh-paris.fr/index.php?title=%D8%AD%D9%83%D9%8A&action=formedit sur Mac (rapporté par Hammou Fadili), les 3-4 premiers caractères du libellé sont sous la case à cocher, mais le problème n’est pas reproductible chez Sébastien ou Nicolas. La règle suivante est grossière et impacte tout le monde même ceux qui n’ont pas ce problème d’affichage. À améliorer éventuellement. // Wiki Valley / Sébastien / 2023-06-12 */
.checkboxLabel.Texte-AR > t {
margin-left: 10px;
}