MediaWiki:Gadget-morebits.css: Difference between revisions
Created page with "→* * morebits.css * =========== * Styles to support morebits.js. * * The morebits library is maintained by the maintainers of Twinkle. * For queries, suggestions, help, etc., head to [[WT:TW]]. * The latest development source is available at [https://github.com/wikimedia-gadgets/twinkle/blob/master/morebits.css].: →Define CSS variables: html { --morebits-color-status-status: #4682B4; --morebits-color-legend: #31628F; --morebits-color-tooltip: #0000cd;..." |
No edit summary |
||
Line 6: | Line 6: | ||
* The morebits library is maintained by the maintainers of Twinkle. | * The morebits library is maintained by the maintainers of Twinkle. | ||
* For queries, suggestions, help, etc., head to [[WT:TW]]. | * For queries, suggestions, help, etc., head to [[WT:TW]]. | ||
* The latest development source is available at [https://github.com/ | * The latest development source is available at [https://github.com/azatoth/twinkle/blob/master/morebits.css]. | ||
*/ | */ | ||
/* | /* Morebits.status */ | ||
.morebits_status_status { | .morebits_status_status { | ||
color: | color: #4682B4; | ||
} | } | ||
.morebits_status_info { | .morebits_status_info { | ||
color: | color: #228B22; | ||
} | } | ||
.morebits_status_warn { | .morebits_status_warn { | ||
color: | color: #FF4500; | ||
} | } | ||
.morebits_status_error { | .morebits_status_error { | ||
color: | color: #FF4500; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/* Morebits. | /* Morebits.quickForm */ | ||
form.quickform | form.quickform | ||
Line 74: | Line 36: | ||
margin: auto; | margin: auto; | ||
padding: .5em; | padding: .5em; | ||
} | } | ||
Line 89: | Line 50: | ||
form.quickform legend | form.quickform legend | ||
{ | { | ||
color: | color: #31628F; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Line 108: | Line 69: | ||
form.quickform input[type=radio] { | form.quickform input[type=radio] { | ||
height: 13px; | height: 13px; | ||
margin-top: 2px; | |||
margin-right: 2px; | |||
margin-bottom: 2px; | |||
padding: 0; | padding: 0; | ||
width: 13px; | width: 13px; | ||
Line 142: | Line 103: | ||
form.quickform input:disabled + label | form.quickform input:disabled + label | ||
{ | { | ||
color: | color: gray; | ||
} | } | ||
Line 152: | Line 113: | ||
form.quickform span.quickformDescription code | form.quickform span.quickformDescription code | ||
{ | { | ||
font-style: normal; | |||
font-family: monospace; | |||
} | } | ||
Line 165: | Line 126: | ||
form.quickform .morebits-tooltipButton | form.quickform .morebits-tooltipButton | ||
{ | { | ||
color: | color: mediumblue; | ||
font-weight: bold; | font-weight: bold; | ||
cursor: help; | cursor: help; | ||
Line 177: | Line 138: | ||
/* Scrollbox styles, for use within Morebits. | /* Scrollbox styles, for use within Morebits.simpleWindow */ | ||
div.morebits-scrollbox | div.morebits-scrollbox | ||
{ | { | ||
background: | background: white; | ||
border: 1px solid gray; | border: 1px solid gray; | ||
margin-bottom: .6em; | margin-bottom: .6em; | ||
Line 208: | Line 168: | ||
div.morebits-previewbox | div.morebits-previewbox | ||
{ | { | ||
background: | background: white; | ||
color: | color: black; | ||
border: 2px inset; | border: 2px inset; | ||
margin: .4em auto .2em; | margin: .4em auto .2em; | ||
Line 223: | Line 183: | ||
{ | { | ||
display: none; | display: none; | ||
} | } | ||
/* Morebits. | /* Morebits.simpleWindow */ | ||
.morebits-dialog { | .morebits-dialog { | ||
border: 1px #666 solid; | border: 1px #666 solid; | ||
font-family: sans-serif; | font-family: sans-serif; | ||
background-color: | background-color: #F0F8FF; | ||
background-image: none; | background-image: none; | ||
} | } | ||
Line 259: | Line 210: | ||
body .ui-dialog.morebits-dialog .ui-dialog-titlebar { | body .ui-dialog.morebits-dialog .ui-dialog-titlebar { | ||
height: 1em; | height: 1em; | ||
background-color: | background-color: #BCCADF !important; | ||
background-image: none !important; | background-image: none !important; | ||
font: bold 108% sans-serif; /* 100% is 12px (from above) => 108% is 12.96px */ | font: bold 108% sans-serif; /* 100% is 12px (from above) => 108% is 12.96px */ | ||
Line 289: | Line 239: | ||
body .ui-dialog.morebits-dialog .ui-dialog-buttonpane { | body .ui-dialog.morebits-dialog .ui-dialog-buttonpane { | ||
background-color: | background-color: #BCCADF; | ||
margin: 0; | margin: 0; | ||
min-height: .5em; | min-height: .5em; | ||
Line 313: | Line 262: | ||
body .ui-dialog.morebits-dialog .morebits-dialog-footerlinks a { | body .ui-dialog.morebits-dialog .morebits-dialog-footerlinks a { | ||
color: | color: #3062AD; | ||
} | } | ||
Line 326: | Line 275: | ||
.ui-icon-inline { | .ui-icon-inline { | ||
display: inline-block; | display: inline-block; | ||
} | } |