MediaWiki:Gadget-LiveRC.css

Un livre de Wikilivres.

Attention : Depuis MediaWiki 1.18 les pages se terminant avec l'extension .js ou .css sont interprétées comme des pages wiki ! En particulier les modèles (subst ou non) et les liens. Vous devez donc migrer le code source et effectuer vos changements en évitant ces éléments de syntaxe wiki (peu importe leurs emplacements dans le code source : commentaire, chaine) :

  • Double accolades ouvrantes (en particulier avec subst:) : séparer les deux accolades "{"+"{" du reste de la chaine
  • Double crochets ouvrants : même technique de séparation.
  • Signature (tildes ~ multiples) : même technique de séparation.

Note : après avoir enregistré vos préférences, vous devrez attendre que le serveur mette à jour la feuille de style globale avant de 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 ;
  • Konqueror : Cliquez sur Actualiser ou pressez F5 ;
  • Opera : Videz le cache dans Outils → Préférences.
/* **** STYLES GLOBAUX **** */

#LiveRCContainer {
   font-size:13px;
   position:fixed;
   top:0;
   left:0;
   z-index:3000;
   background-color:gray !important;
   cursor:default !important;
}

#LiveRCContainer input {
   padding:0;
   cursor:pointer !important;
}
#LiveRCContainer input[disabled="disabled"]{
   cursor:default !important;
}

#LiveRCContainer input[type="text"]{
   cursor:text !important;
}

#FixedTitlePanel {
   position:fixed;
   top:0;
   left:0;
   z-index:5000;
   background-color: LightGrey;
   border: 2px solid gray; 
   margin:0;
   padding:2px;
   -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; 
}

#FixedTitlePanel td {
   padding:2px;
}

#FixedBottomPanel {
   display:none;
   position:fixed;
   bottom:0;
   left:0;
   z-index:5000;
   width:99.4%;
   padding:2px;
   background-color: LightGrey;
   border: 2px solid gray; 
   -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; 
}

#OutFixedBottomPanel {
   display:none;
   position:fixed;
   bottom:0;
   left:0;
   z-index:5000;
   width:99.4%;
   padding:2px;
   background-color: LightGrey;
   border: 2px solid gray; 
   -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; 
}

/* Barre de titre */

#LiveRCTitle {
    text-align:center;
}

#livePreviewFoot {
    margin-top:2px;
    padding:2px;
    display:none;
    border-top: 1px solid gray; 
}

#livePreviewFoot form {
   display:inline !important;
}
#livePreviewFoot td:hover {
   background-color:#A0F010; 
}

#livePreviewFoot td.noHover:hover {
   background:none !important; 

}
/* Styles RC */


#liveRC_RCList {
    display:none;
    width:100%;  
    border-top:1px solid gray;
}
#divTabRC {
}
#tabRC {
    font-size:11px;
    width:100%;
    background-color:#E0E0EE;
    border-bottom:1px solid gray;
}
#tabRC tr {
}
#tabRC tr:hover { 
    background-color:#A0D010 !important; 
}
#tabRC tr:hover td, #tabRC tr:hover th { 
    background-color:#A0D010 !important; 
}
#tabRC tr:hover td:hover, #tabRC tr:hover th:hover { 
    background-color:#A0F010 !important; 
}
/* **** BOUTONS **** */

#LiveRCButtons {
    white-space:nowrap;
}
#LiveRCButtons img {
   background:none repeat scroll 0 0 IndianRed;
   border:1px solid red;
}
#LiveRCButtons .OnButton img {
   background:none repeat scroll 0 0 GreenYellow;
   border:1px solid green;
}
#LiveRCButtons a:hover img {
   background:none repeat scroll 0 0 silver;
   border:1px solid gray;
}

#LiveRCButtonOff {
   display:inline;
}
#LiveRCButtonOn {
   display:none;
}

#LiveRCTchatButtonOff {
   display:inline;   
}
#LiveRCTchatButtonOn {
   display:none;
}

#LiveRCFollowButtonOff {
   display:inline;   
}
#LiveRCFollowButtonOn {
   display:none;
}

#LiveRCFooterButtonOff {
   display:inline;
}
#LiveRCFooterButtonOn {
   display:none !important;
}

#LiveRCConfigButtonOn {
   display:none;
}
#LiveRCConfigButtonOff {
   display:inline;
}

#LiveRCPreviewButtonOff {
   display:inline;   
}
#LiveRCPreviewButtonOn {
   display:none;
}

#LiveRCHistoryButtonOff {
   display:inline;   
}
#LiveRCHistoryButtonOn {
   display:none;
}

#LiveRCRCTableButtonOn {
    display:none;
}
#LiveRCRCTableButtonOff {
    display:inline;
}




/* **** AUTRES COMPOSANTS **** */



/* Fenêtre de débogage */


#debug {
    position:fixed;
    z-index:15000;
    top:0;
    right:0;
    width:15%;
    opacity:80%;
    background-color:white;
    border:1px solid silver;
    padding:1em;
    text-align:center;
    font-weight:bold;
    font-size:80%;
}


.LiveRC_MenuContainer {
    border:none; 
    padding:2px;
    padding-bottom:0;
    margin-left:2px;
    margin-right:2px;
}

.LiveRC_MenuAnchor {
    min-height:30px;
    font-size:14px;
    font-weight:bold;
    text-align:center;
    padding:3px;
    background-color:DarkGray !important;
    border:1px solid DimGray;
   -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; 
}

.LiveRC_MenuContent {
    margin:3px;
    padding:3px;
    border:1px solid LightGrey;
    text-align:left;
    font-size:80%;
}



/* **** Styles Tchat **** */

#liveTchat {
   display:none;
   position:fixed;
   z-index:10000;
   left:0;
   width:99.4%;
   padding:2px;
   background-color: LightGrey;
   border: 2px solid gray; 
   -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; 
}

#liveTchat .LiveRC_MenuContent {
   margin:0;
   padding:0;
}

#liveTchatResizeAnchor {
   float:right;
   position:relative;
   bottom:0;
   right:0;
   width:50px;
   height:50px;
   margin-top:-52px;
   -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; 
}





/* Styles Menu de paramétrage */

#LiveRC_ParamMenu {
}
.LiveRC_ParamMenuPart {
   height:200px;
   overflow-y:auto;
}
.LiveRC_ParamMenuContent p {
    text-align:center;
}
.LiveRC_ParamMenuContent input {
    padding:0;
}
.LiveRC_ParamMenuContent fieldset {
    padding:3px;
}
.ParamMenuLi {
    border:1px solid silver;
    background-color:#E8E8FF;
    margin:0.2em;
    padding:0.1em;
}
.ParamMenuLi:hover {
    border:1px solid gray !important;
    background-color:silver !important;
}





/* Styles fenêtre de prévisualisation */

#LiveRC_Preview {
   display:none;
}
#livePreviewTitle {
}
#livePreviewTitle form {
   display:inline !important;
}

#livePreviewTitle ul {
   display:inline !important;
   list-style:none; 
   margin:0;
   padding:0;
}
#livePreviewTitle li {
   display:inline !important;
   list-style:none; 
   margin:0;
   padding:0;
   margin-right:3px;
}
#livePreviewTitle a {
   margin:0;
   padding:3px;
   margin-right:3px;
   border:1px solid DarkGray;
   background-color:DarkGray;
   -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; 
}
#livePreviewTitle a:hover {
    border:1px solid grey !important;
    background-color:silver !important;
}

#livePreview {
    height:250px;
    overflow:auto;
    background-color:white !important;
}



/* Styles Listes */

#FollowAnchor {
    border:1px solid gray !important;
    background-color:silver !important;
    text-align:center;
}
#liveFollow {
   display:none;
}
#liveFollow td, #liveFollow th {
}
#liveFollow td {
    padding:3px; 
}
#liveFollow li:hover {
    background-color:#A0F010 !important; 
}
#liveFollow ul {
    list-style:none; 
    padding:0; 
    margin:0; 
}
#liveFollow li {
    list-style:none; 
    padding:0; 
    margin:0; 
}
#liveFollow li li {
    list-style:none; 
    padding:0; 
    margin-left:20px; 
}
#liveFollow li li:hover{
    background-color:#B0F030 !important; 
}



/* Styles Footer */


#LiveRCFooter {
   display:none;
   font-size:13px;
}
#IconList {
   height:175px;
   overflow-y:auto;
}
#IconList ul {
   list-style:none; 
   -moz-column-count:4;
   -webkit-column-count:4;
   column-count:4; 
}
#IconList li {
   list-style:none; 
   padding:3px; 
}
#IconList li:hover {
   background-color:#A0D010 !important; 
}
#lrcHelpFooter {
    text-align:center;
    background-color:silver;
    border:1px solid gray;
}



/* Styles Menu d'historique */

#LiveRC_History {
   display:none;
   font-size:13px;
}





#OtherContainer {
   display:block;
   background-color:#FFFFFF !important;
}


#p-logo a {
    background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b2/LiveRC.svg/150px-LiveRC.svg.png") !important;
}


/* **** RC STATES **** */


.RcReverted .td2RC { border:2px solid red; }

.RcTag .td3RC { border:2px solid red; }

.RcPatrolled .td2RC { background-color:#e3e3f1; }
.RcPatrolled .td3RC { background-color:#e3e3f1; }
.RcPatrolled .td4RC { background-color:#e3e3f1; }

.RcAbFilter .th0RC { background-color:#FFBE60; }
.RcAbFilter .th1RC { background-color:#FFBE60; }
.RcAbFilter .td2RC { background-color:#FFBE60; }
.RcAbFilter .td3RC { background-color:#FFBE60; }
.RcAbFilter .td4RC { background-color:#FFBE60; }

.RcUpload { border:1px solid darkslateblue; }
.RcUpload .th0RC { background-color:#D1CAFA; }
.RcUpload .th1RC { background-color:#D1CAFA; }
.RcUpload .td2RC { background-color:#D1CAFA; }
.RcUpload .td3RC { background-color:#D1CAFA; }
.RcUpload .td4RC { background-color:#D1CAFA; }

.RcNewUser { border:1px solid lime; }
.RcNewUser .th0RC { background-color:#C6FF6D; }
.RcNewUser .th1RC { background-color:#C6FF6D; }
.RcNewUser .td2RC { background-color:#C6FF6D; }
.RcNewUser .td3RC { background-color:#C6FF6D; }
.RcNewUser .td4RC { background-color:#C6FF6D; }

.RcBlock { border:1px solid darkgoldenrod; }
.RcBlock .th0RC { background-color:#EECC84; }
.RcBlock .th1RC { background-color:#EECC84; }
.RcBlock .td2RC { background-color:#EECC84; }
.RcBlock .td3RC { background-color:#EECC84; }
.RcBlock .td4RC { background-color:#EECC84; }

.RcDelete { border:1px solid saddlebrown; }
.RcDelete .th0RC { background-color:#E7CAA7; }
.RcDelete .th1RC { background-color:#E7CAA7; }
.RcDelete .td2RC { background-color:#E7CAA7; }
.RcDelete .td3RC { background-color:#E7CAA7; }
.RcDelete .td4RC { background-color:#E7CAA7; }

.RcMove { border:1px solid magenta; }
.RcMove .th0RC { background-color:#FDC5FF; }
.RcMove .th1RC { background-color:#FDC5FF; }
.RcMove .td2RC { background-color:#FDC5FF; }
.RcMove .td3RC { background-color:#FDC5FF; }
.RcMove .td4RC { background-color:#FDC5FF; }

.RcProtect { border:1px solid darkslategray; }
.RcProtect .th0RC { background-color:#B2BCC6; }
.RcProtect .th1RC { background-color:#B2BCC6; }
.RcProtect .td2RC { background-color:#B2BCC6; }
.RcProtect .td3RC { background-color:#B2BCC6; }
.RcProtect .td4RC { background-color:#B2BCC6; }

.RcRevert { border:1px solid crimson; }
.RcRevert .th0RC { background-color:#FFE4E1; }
.RcRevert .th1RC { background-color:#FFE4E1; }
.RcRevert .td2RC { background-color:#FFE4E1; }
.RcRevert .td3RC { background-color:#FFE4E1; }
.RcRevert .td4RC { background-color:#FFE4E1; }

.RcBlanking { border:2px double crimson; }
.RcBlanking .th0RC { background-color:white; }
.RcBlanking .th1RC { background-color:white; }
.RcBlanking .td2RC { background-color:white; }
.RcBlanking .td3RC { background-color:white; }
.RcBlanking .td4RC { background-color:white; }

.RcNew { border:1px solid green; }
.RcNew .th0RC { background-color:#e2f2d2; }
.RcNew .th1RC { background-color:#e2f2d2; }
.RcNew .td2RC { background-color:#e2f2d2; }
.RcNew .td3RC { background-color:#e2f2d2; }
.RcNew .td4RC { background-color:#e2f2d2; }

.RcIp .td2RC { background-color:white; }
.RcIp .td3RC { background-color:white; }
.RcIp .td4RC { background-color:white; }

.RcTOR .td2RC { background-color:pink; }

.RcReplaced { border:2px solid crimson; }
.RcReplaced .th0RC { background-color:pink; }
.RcReplaced .th1RC { background-color:pink; }
.RcReplaced .td2RC { background-color:pink; }
.RcReplaced .td3RC { background-color:pink; }
.RcReplaced .td4RC { background-color:pink; }

.RcContact .td2RC { border:2px solid gold; }
.RcContact .td2RC { background-color:yellow; }

.RcSelf .td2RC { border:2px solid #A0B0E0; }
.RcSelf .td2RC { background-color:#F0F8FF; }

.RcWatched .th0RC { border:2px solid gold;background-color:yellow; }
.RcWatched .th1RC { border:2px solid gold;background-color:yellow; }

.RcChecked th { background-color:#FFFACD; }
.RcChecked td { background-color:#FFFFE0; }








/* MODE LIVERC */


.FixedLiveRCContainer {
   background-color:#FFFFFF !important;
}
.FixedLiveRCContainer #LiveRCTitle {
   display:block !important;
}
.FixedLiveRCContainer #livePreviewFoot {
   display:none;
}
.FixedLiveRCContainer #FixedTitlePanel {
   width:99.4%;
}

.FixedLiveRCContainer #OtherContainer {
   display:none !important;
}
.FixedLiveRCContainer #LiveRCButtonOff {
   display:none !important;
}
.FixedLiveRCContainer #LiveRCButtonOn {
   display:inline !important;
}




/* MODE TCHAT */


.LiveRCTchatDisplayed #liveTchat {
   display:block !important;
}
.LiveRCTchatDisplayed #LiveRCTchatButtonOff {
   display:none !important;
}
.LiveRCTchatDisplayed #LiveRCTchatButtonOn {
   display:inline !important;
}



/* MODE CONFIG */

.LiveRCConfigDisplayed #LiveRCConfigButtonOn {
   display:inline !important;

}
.LiveRCConfigDisplayed #LiveRCConfigButtonOff {
   display:none !important;
}
.LiveRCConfigDisplayed #OutFixedBottomPanel {
   display:block !important;
}





/* MODE RC */


.LiveRCRCTableDisplayed #LiveRCRCTableButtonOn {
    display:inline !important;
}
.LiveRCRCTableDisplayed #LiveRCRCTableButtonOff {
    display:none !important;
}
.LiveRCRCTableDisplayed #liveRC_RCList, .LiveRCRCTableDisplayed #livePreviewFoot {
    display:block;
}


/* MODE PREVISUALISATION */


.LiveRCPreviewDisplayed #LiveRC_Preview {
   display:block !important;
}
.LiveRCPreviewDisplayed #LiveRCPreviewButtonOff {
   display:none !important;
}
.LiveRCPreviewDisplayed #LiveRCPreviewButtonOn {
   display:inline !important;
}
.LiveRCPreviewDisplayed #FixedBottomPanel {
   display:block !important;
}



/* MODE LISTES */


.LiveRCLiveFollowDisplayed #LiveRCFollowButtonOff {
   display:none !important;
}
.LiveRCLiveFollowDisplayed #LiveRCFollowButtonOn {
   display:inline !important;
}
.LiveRCLiveFollowDisplayed #liveFollow {
   display:block !important;
}
.LiveRCLiveFollowDisplayed #FixedBottomPanel {
   display:block !important;
}


/*  MODE FOOTER */


.LiveRCFooterDisplayed #LiveRCFooterButtonOff {
   display:none !important;
}
.LiveRCFooterDisplayed #LiveRCFooterButtonOn {
   display:inline !important;
}
.LiveRCFooterDisplayed #LiveRCFooter {
   display:block !important;
}
.LiveRCFooterDisplayed #FixedBottomPanel {
   display:block !important;
}


/* MODE HISTORIQUE */

.LiveRCHistoryDisplayed #LiveRCHistoryButtonOff {
   display:none !important;   
}
.LiveRCHistoryDisplayed #LiveRCHistoryButtonOn {
   display:inline !important;
}
.LiveRCHistoryDisplayed #LiveRC_History {
   display:block !important;
}
.LiveRCHistoryDisplayed #FixedBottomPanel {
   display:block !important;
}

/* Code transféré depuis la Common.css en déc. 2011*/

table.creator {
 text-align:left;
 border-collapse:collapse;
 background:#F0F0FF;
} /* monobookocentré */
 
table.creator th {
 background:#E0E0EE;
 vertical-align:top;
} /* monobookocentré */
 
table.creator td {
 background:#F0F0FF;
 vertical-align:top;
} /* monobookocentré */
 
table.creator td.creator-name {
 font-weight:bold;
}