MediaWiki:Gadget-morebits.css
Aspetto
Nota: dopo aver salvato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.
- Firefox / Safari: tenere premuto il tasto delle maiuscole e fare clic su Ricarica, oppure premere Ctrl-F5 o Ctrl-R (⌘-R su Mac)
- Google Chrome: premere Ctrl-Shift-R (⌘-Shift-R su un Mac)
- Internet Explorer: tenere premuto il tasto Ctrl mentre si fa clic su Refresh, oppure premere Ctrl-F5
- Opera: svuotare completamente la cache dal menu Strumenti → Preferenze
/**
* morebits.css
* ===========
* Stili di sostegno a morebits.js.
*
* La libreria morebits è mantenuta dai manutentori di Twinkle.
* Per domande, suggerimenti, aiuto, ecc, fai riferimento a Wikivoyage:Lounge
* Il codice sorgente dell'ultima versione sviluppata è disponibile in https://github.com/azatoth/twinkle/blob/master/morebits.css
*
* Versione: https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-morebits.css&oldid=963215353
*/
/* Morebits.status */
.morebits_status_status {
color: #4682B4;
}
.morebits_status_info {
color: #228B22;
}
.morebits_status_warn {
color: #FF4500;
}
.morebits_status_error {
color: #FF4500;
font-weight: bold;
}
/* Morebits.quickForm */
form.quickform
{
width: 96%;
vertical-align: middle;
margin: auto;
padding: .5em;
}
form.quickform *
{
font-family: sans-serif;
}
form.quickform fieldset
{
margin: .4em 0 1em;
}
form.quickform legend
{
color: #31628F;
font-weight: bold;
}
form.quickform input[type=text], form.quickform select
{
min-width: 15em;
font-size: 110%;
}
form.quickform select
{
border: 1px solid gray;
margin-left: .2em;
}
form.quickform input[type=checkbox],
form.quickform input[type=radio] {
height: 13px;
margin-bottom: 2px;
margin-top: 2px;
padding: 0;
width: 13px;
vertical-align: top;
}
form.quickform div {
line-height: 18px;
}
form.quickform h5
{
margin: .5em 0 0;
padding: .3em .2em .2em;
}
/* only give the top border to headers with something above them */
form.quickform div + h5, form.quickform div + div > h5, form.quickform h5 + h5
{
border-top: 1px solid #88A;
}
form.quickform textarea
{
width: 100%;
height: 4em;
font-size: 150%;
}
form.quickform input:disabled + label
{
color: gray;
}
form.quickform span.quickformDescription
{
font-style: italic;
}
form.quickform .quickformSubgroup
{
margin-bottom: .5em;
margin-left: 3em;
}
form.quickform .tooltipButtonContainer
{
position: relative;
width: 100%;
}
form.quickform .tooltipButton
{
color: blue;
font-weight: bold;
cursor: help;
padding: .2em;
}
/* Scrollbox styles, for use within Morebits.simpleWindow */
div.morebits-scrollbox
{
background: white;
border: 1px solid gray;
margin-bottom: .6em;
margin-top: .6em;
max-height: 20em;
overflow: auto;
padding: 6px 6px 0;
}
div.morebits-scrollbox > h5:first-child
{
border: none;
margin-top: 0;
padding-top: 0;
}
div.morebits-scrollbox > :last-child
{
margin-bottom: 6px;
}
/* Previewbox */
div.morebits-previewbox
{
background: white;
color: black;
border: 2px inset;
margin: .4em auto .2em;
padding: .2em .4em;
}
div.morebits-previewbox *:not(img)
{
vertical-align: baseline;
}
div.morebits-previewbox .mw-editsection
{
display: none;
}
/* Morebits.simpleWindow */
.morebits-dialog {
border: 1px #666 solid;
font: small sans-serif;
background-color: #F0F8FF;
background-image: none;
}
body.skin-monobook .morebits-dialog {
font-size: 125%;
}
body .ui-dialog.morebits-dialog .ui-dialog-titlebar {
height: 1em;
background-color: #BCCADF !important;
background-image: none !important;
font: bold 1em sans-serif;
overflow: hidden;
padding: .4em .3em .5em !important;
white-space: nowrap;
}
body.skin-monobook .morebits-dialog .ui-dialog-titlebar {
line-height: 1em;
}
.morebits-dialog-scriptname {
font-weight: normal;
}
.ui-dialog.morebits-dialog .ui-dialog-titlebar-close {
height: 100%;
right: 0;
top: auto;
width: 2em;
margin: -.5em -.15em 0;
}
.ui-dialog.morebits-dialog .ui-dialog-titlebar-close span {
margin: .33em;
}
.ui-dialog.morebits-dialog .morebits-dialog-content {
font-size: 88%; /* this just seems to be traditional - I don't quite see the point, in this day and age of huge monitors, etc. */
padding: 0;
}
body .ui-dialog.morebits-dialog .ui-dialog-buttonpane {
background-color: #BCCADF;
margin: 0;
min-height: .5em;
padding-left: 1.2em !important;
}
body .ui-dialog.morebits-dialog .ui-dialog-buttonpane button {
float: none;
margin: .2em 0 -.1em;
cursor: auto;
}
.morebits-dialog-footerlinks {
font-size: 90%;
float: right;
margin: .7em .4em 0 0;
}
body .ui-dialog.morebits-dialog .morebits-dialog-footerlinks a {
color: #3062AD;
}
.morebits-dialog-buttons[data-empty] + .morebits-dialog-footerlinks {
margin: .1em .4em -.2em 0;
}
.ui-icon {
vertical-align: -3px;
}
.ui-icon-inline {
display: inline-block;
}