MediaWiki:Gadget-PaStec.css
Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;
Firefox (sur GNU/Linux) / Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5./*
Styles CSS pour PaStec : [[MediaWiki:Gadget-PaStec.js]]
*/
#AskSISpan {
float: right;
margin-top: 0.2em;
}
/* Boutons du formulaire */
#PaStec_PanelButtons {
text-align:center;
margin:0;
}
.PaStec_TabButtons {
margin:0;
margin-bottom:0.5em;
}
.PaStec_PanelButton,
.PaStec_ActionButton {
margin:1px;
margin-right:5px;
padding:1px 5px;
border-radius:5px;
}
.PaStec_PanelButton {
border: 2px solid Gainsboro;
}
.PaStec_PanelButton.PaStec_PanelButtonActive {
border-color: var(--color-emphasized, #101418);
}
.PaStec_MainButton {
font-weight: bold;
text-decoration: underline;
}
.PaStec_PaSDeleteButton,
.PaStec_PaSSIButton,
.PaStec_PaSUnwikifyButton {
background-color: #FF8080;
color: black;
}
.PaStec_PaSKeepButton {
background-color: #90FF80;
color: black;
}
.PaStec_PaSMergeButton {
background-color: #BE66CC;
color: black;
}
.PaStec_PaSMoveButton {
background-color: #D3D3D3;
color: black;
}
.PaStec_PaSRedirectButton {
background-color: #DDFFDD;
color: black;
}
.PaStec_PaSInitButton {
background-color: DarkOrange;
color: black;
}
.PaStec_PaSWarnUserButton,
.PaStec_PaSWarnProjectButton {
background-color: orange;
color: black;
}
.PaStec_PaSMessageButton {
background-color: yellow;
color: black;
}
.PaStec_PanelButton:hover,
.PaStec_ActionButton:hover {
cursor: pointer;
}
.PaStec_ActionButtonValidate {
margin-right:10px;
font-weight:bold;
}
/* Menu du formulaire */
#PaStec_PaSWelcomeInput,
#PaStec_PaSWelcomeButtons,
#PaStec_PaSWelcomeFieldset legend {
display:none;
}
body:not(.mw-mf) #PaStec_PaSWelcomeFieldset .PaStec_PanelContent {
background: url('//upload.wikimedia.org/wikipedia/commons/e/ea/PaStec_logo_%282023%29.svg') center center / 600px no-repeat scroll var(--couleur-fond-gris-alternance, #eeeeee);
height: 300px;
}
body:not(.mw-mf) #PaStec_PaSWelcomeFieldset {
padding-top:1em;
margin-top:1.2em;
}
.PaStec_Fieldset {
text-align:left;
margin-top:0;
}
.PaStec_PanelContent {
border:1px solid var(--border-color-base, #a2a9b1);
background:var(--couleur-fond-gris-alternance, #eeeeee);
padding:1em;
max-height:500px;
overflow-y:auto;
}
.PaStec_PanelControl {
text-align:center;
}
.PaStec_ResizeAnchor {
min-height:20px;
font-weight:bold;
text-align:center;
margin-top:1em;
cursor:n-resize;
border:1px solid var(--border-color-base, #a2a9b1);
background:var(--border-color-subtle, #c8ccd1);
}
.showmenu {
display:none;
}
.hidemenu {
display:inline;
}
.MenuHidden .showmenu {
display:inline;
}
.MenuHidden .hidemenu,
.MenuHidden div {
display:none;
}
#PaStec_PaSMessageInput {
margin-left:1em;
}
#PaStec_PaSInitInput {
margin-right:1em;
}
.PaStec_Fieldset .grey-box {
border:1px solid var(--border-color-muted, #dadde3);
padding:2px;margin:2px;
}
.PaStec_Fieldset .grey-box:hover {
border:1px solid var(--border-color-subtle, #c8ccd1);
background-color:var(--background-color-interactive--hover, #dadde3);
}
.PaStec_Fieldset .grey-box.mandatory {
border:1px solid IndianRed;
background-color:LightSalmon;
}
.PaStec_Fieldset .grey-box.mandatory:hover {
border:1px solid FireBrick;
background-color:DarkSalmon;
}
.PaStec_Fieldset ul,
.PaStec_Fieldset ol {
list-style-type:none;
margin:0;
}
.PaStec_Fieldset li {
margin-right:1em;
}
.PaStec_Fieldset .checkbox-label,
.PaStec_Fieldset .radio-label {
margin-left: .2em;
}
.PaStec_Fieldset .textinput-label {
display: block;
}
/* Avertissement utilisateurs / projets */
#UserListOL,
#ProjectListOL {
margin-left:1.5em;
column-count:3;
column-width: 20em;
}
#UserListOL li,
#ProjectListOL li {
display:block !important;
}
#hideipbutton,
#hidetempbutton,
#hidebotbutton {
display:inline !important;
}
#showipbutton,
#showtempbutton,
#showbotbutton {
display:none !important;
}
.iphidden #hideipbutton,
.temphidden #hidetempbutton,
.bothidden #hidebotbutton {
display:none !important;
}
.iphidden #showipbutton,
.temphidden #showtempbutton,
.bothidden #showbotbutton {
display:inline !important;
}
.iphidden #UserListOL .ip,
.temphidden #UserListOL .temp,
.bothidden #UserListOL .bot {
display:none !important;
}
/* Suggestion de saisie */
.PaStec_suggestionInput {
font: inherit;
}
#PaStec_suggestionBox {
position: absolute;
z-index: 1000;
background: var(--background-color-base, #fff);
color: var(--color-base, #202122);
font: inherit;
border: 1px solid var(--border-color-subtle, #c8ccd1);
max-height: 150px;
overflow-y: auto;
display: none;
}
.PaStec_suggestionItem {
padding: 5px;
cursor: pointer;
}
.PaStec_suggestionItem:hover {
background-color: var(--background-color-interactive--hover, #dadde3);;
}
.PaStec_suggestionItemSelected {
background-color: var(--background-color-interactive--active, #c8ccd1);
}
/* Déwikification */
.PaStec_WhatlinkshereList li {
display:inline-block;
}
.PaStec_WhatlinkshereList a.modified {
text-decoration:underline;
text-decoration-color:var(--color-success, #177860);
}
.PaStec_WhatlinkshereList a.unmodified {
text-decoration:underline;
text-decoration-color:var(--color-warning, #886425);
text-decoration-style:wavy;
}
.PaStec_WhatlinkshereList a.cannotmodify {
text-decoration:underline;
text-decoration-color:var(--color-error, #bf3c2c);
text-decoration-style:wavy;
}
.PaStec_WhatlinkshereList #currentdiff_PaSUnwikify {
color:var(--color-emphasized,black) !important;
text-decoration:underline;
font-weight:bold;
}
#PaStec_PaSUnwikifyFieldset .PaStec_Whatlinkshere_redirects {
display:none;
}
.PaStec_EmptyDiffPreview {
display:none;
}
.PaStec_DiffPreview {
background-color:var(--background-color-base, #fff);
font-size:90%;
border:1px solid var(--border-color-muted, #dadde3);
padding:2px;
padding-bottom:10px;
margin:2px;
}
.PaStec_DiffPreview h2 {
text-align:center;
padding-top: 0.25em;
margin-bottom:0;
}
.PaStec_DiffPreview .summarydiv {
text-align:center;
border-bottom:1px solid var(--border-color-base, #a2a9b1);
margin-top:0;
padding:0.15em;
font-weight:bold;
}
.PaStec_DiffPreview .summaryspan {
font-family: monospace;
font-weight:normal !important;
}
.PaStec_DiffPreview table.diff {
border:none;
border-spacing:0;
margin:0;
width:100%;
table-layout:fixed;
}
.PaStec_DiffPreview table.diff td {
padding:0.1em 0.5em;
}
.PaStec_DiffPreview table.diff td.diff-marker {
padding:0.25em;
}
.PaStec_DiffPreview table.diff col.diff-marker {
width:2%;
}
.PaStec_DiffPreview table.diff col.diff-content {
width:48%;
}
.PaStec_DiffPreview table.diff td div {
word-break:break-word;
}
.PaStec_DiffPreview td.diff-otitle,
.PaStec_DiffPreview td.diff-ntitle {
text-align:center;
}
.PaStec_DiffPreview td.diff-lineno {
font-weight:bold;
}
.PaStec_DiffPreview td.diff-marker {
text-align:right;
font-weight:bold;
font-size:1.25em;
line-height:1.2;
}
.PaStec_DiffPreview td.diff-addedline,
.PaStec_DiffPreview td.diff-deletedline,
.PaStec_DiffPreview td.diff-context {
font-size:88%;
line-height:1.2;
white-space:-moz-pre-wrap;
white-space:pre-wrap;
border-style:solid;
border-width:1px 1px 1px 4px;
border-radius:0.33em;
}
.PaStec_DiffPreview td.diff-addedline {
border-color:var(--border-color-content-added, #a3d3ff);
}
.PaStec_DiffPreview td.diff-deletedline {
border-color:var(--border-color-content-removed, #ffe49c);
}
.PaStec_DiffPreview td.diff-context {
background:var(--couleur-fond-boite-grise, #f9f9f9);
border-color:var(--border-color-muted, #dadde3);
}
.PaStec_DiffPreview .diffchange {
font-weight:bold;
text-decoration:none;
}
.PaStec_DiffPreview td.diff-addedline .diffchange,
.PaStec_DiffPreview td.diff-deletedline .diffchange {
border-radius:0.33em;
padding:0.1em;
}
.PaStec_DiffPreview td.diff-addedline .diffchange {
background:var(--background-color-content-added, #a3d3ff);
}
.PaStec_DiffPreview td.diff-deletedline .diffchange {
background:var(--background-color-content-removed, #ffe49c);
}
/* Affichage mobile */
body.mw-mf #PaStec_MainFieldset,
body.mw-mf .PaStec_PanelContent {
padding: 0;
}
body.mw-mf #PaStec_PaSWelcomeFieldset,
body.mw-mf .PaStec_ResizeAnchor {
display: none;
}
body.mw-mf #UserListOL,
body.mw-mf #ProjectListOL {
margin-left: -1em;
}
body.mw-mf .PaStec_Fieldset {
border: none;
padding: 0;
}
body.mw-mf .PaStec_Fieldset legend,
body.mw-mf .PaStec_Fieldset .PaStec_TabButtons {
padding-left: 1em;
}
body.mw-mf .PaStec_DiffPreview .summaryspan {
word-break: break-word;
}
.minerva-icon-portletlink-n-pas14,
.minerva-icon-portletlink-n-pas7,
.minerva-icon-portletlink-ca-pastec-si,
.minerva-icon-portletlink-n-pasi {
-webkit-mask-image: url(//upload.wikimedia.org/wikipedia/commons/9/90/PaStec_logo_2023_grey.svg);
mask-image: url(//upload.wikimedia.org/wikipedia/commons/9/90/PaStec_logo_2023_grey.svg);
}