User:Xiplus/TwinkleGlobal/morebits.css

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/**
 * 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/azatoth/twinkle/blob/master/morebits.css].
 */

/* MorebitsGlobal.status */

.morebitsglobal_status_status {
	color: #4682B4;
}

.morebitsglobal_status_info {
	color: #228B22;
}

.morebitsglobal_status_warn {
	color: #FF4500;
}

.morebitsglobal_status_error {
	color: #FF4500;
	font-weight: bold;
}

/* MorebitsGlobal.quickForm */

form.mgquickform
{
	width: 96%;
	vertical-align: middle;
	margin: auto;
	padding: .5em;
}

form.mgquickform *
{
	font-family: sans-serif;
}

form.mgquickform fieldset
{
	margin: .4em 0 1em;
}

form.mgquickform legend
{
	color: #31628F;
	font-weight: bold;
}

form.mgquickform input[type=text], form.mgquickform select
{
	min-width: 15em;
	font-size: 110%;
}

form.mgquickform input.mgfullwidth
{
	width: 100%;
	box-sizing: border-box;
}

form.mgquickform select
{
	border: 1px solid gray;
	margin-left: .2em;
}

form.mgquickform input[type=checkbox],
form.mgquickform input[type=radio] {
	height: 13px;
	margin-top: 2px;
	margin-right: 2px;
	margin-bottom: 2px;
	padding: 0;
	width: 13px;
	vertical-align: top;
}

form.mgquickform div {
	line-height: 18px;
}

form.mgquickform h5
{
	margin: .5em 0 0;
	padding: .3em .2em .2em;
	font-size: 108%; /* 100% is 12px => 108% is 12.96px */
}

/* only give the top border to headers with something above them */
form.mgquickform div + h5, form.mgquickform div + div > h5, form.mgquickform h5 + h5
{
	border-top: 1px solid #88A;
}

form.mgquickform textarea
{
	width: 100%;
	height: 4em;
	font-size: 150%;
}

form.mgquickform input:disabled + label
{
	color: gray;
}

form.mgquickform span.mgquickformDescription
{
	font-style: italic;
}

form.mgquickform .mgquickformSubgroup
{
	margin-bottom: .5em;
	margin-left: 3em;
}

/* The tooltip button and the content itself */
form.mgquickform .morebitsglobal-tooltipButton
{
	color: mediumblue;
	font-weight: bold;
	cursor: help;
	padding: .3em;
}
.morebitsglobal-ui-tooltip
{
	padding: 4px 6px 4px 6px;
	font-size: 13px;
}


/* Scrollbox styles, for use within MorebitsGlobal.simpleWindow */

div.morebitsglobal-scrollbox
{
	background: white;
	border: 1px solid gray;
	margin-bottom: .6em;
	margin-top: .6em;
	max-height: 20em;
	overflow: auto;
	padding: 6px 6px 0;
}

div.morebitsglobal-scrollbox > h5:first-child
{
	border: none;
	margin-top: 0;
	padding-top: 0;
}

div.morebitsglobal-scrollbox > :last-child
{
	margin-bottom: 6px;
}


/* Previewbox */

div.morebitsglobal-previewbox
{
	background: white;
	color: black;
	border: 2px inset;
	margin: .4em auto .2em;
	padding: .2em .4em;
}

div.morebitsglobal-previewbox *:not(img)
{
	vertical-align: baseline;
}

div.morebitsglobal-previewbox .mw-editsection
{
	display: none;
}


/* MorebitsGlobal.simpleWindow */

.morebitsglobal-dialog {
	border: 1px #666 solid;
	font-family: sans-serif;
	background-color: #F0F8FF;
	background-image: none;
}

/* px translations in comments are w.r.t standard browser settings,
   in other settings, the sizes would be scaled accordingly */
.skin-vector .morebitsglobal-dialog {
	font-size: 75%; /* 100% is 16px => 75% is 12px */
}
.skin-timeless .morebitsglobal-dialog {
	font-size: 79%; /* 100% is 15.2px => 79% is 12.008px */
}
.skin-monobook .morebitsglobal-dialog,
.skin-modern .morebitsglobal-dialog {
	font-size: 120%; /* 100% is 10px => 120% is 12px */
}

body .ui-dialog.morebitsglobal-dialog .ui-dialog-titlebar {
	height: 1em;
	background-color: #BCCADF !important;
	background-image: none !important;
	font: bold 108% sans-serif; /* 100% is 12px (from above) => 108% is 12.96px */
	overflow: hidden;
	padding: .4em .3em .5em !important;
	white-space: nowrap;
}

.morebitsglobal-dialog-scriptname {
	font-weight: normal;
}

.ui-dialog.morebitsglobal-dialog .ui-dialog-titlebar-close {
	height: 100%;
	right: 0;
	top: auto;
	width: 2em;
	margin: -.5em -.15em 0;
}

.ui-dialog.morebitsglobal-dialog .ui-dialog-titlebar-close span {
	margin: .33em;
}

.ui-dialog.morebitsglobal-dialog .morebitsglobal-dialog-content {
	padding: 0;
}

body .ui-dialog.morebitsglobal-dialog .ui-dialog-buttonpane {
	background-color: #BCCADF;
	margin: 0;
	min-height: .5em;
	padding-left: 1.2em !important;
}

body .ui-dialog.morebitsglobal-dialog .ui-dialog-buttonpane button {
	float: none;
	margin: .2em 0 -.1em;
	cursor: auto;
}

.morebitsglobal-dialog-buttons {
	font-size: 108%; /* 100% is 12px => 108% is 12.96px */
}

.morebitsglobal-dialog-footerlinks {
	font-size: 97%; /* 100% is 12px (from above) => 97% is 11.64px */
	float: right;
	margin: .7em .4em 0 0;
}

body .ui-dialog.morebitsglobal-dialog .morebitsglobal-dialog-footerlinks a {
	color: #3062AD;
}

.morebitsglobal-dialog-buttons[data-empty] + .morebitsglobal-dialog-footerlinks {
	margin: .1em .4em -.2em 0;
}

.ui-icon {
	vertical-align: -3px;
}

.ui-icon-inline {
	display: inline-block;
}