![刷新 刷新](/images/thumb/b/b0/OOjs_UI_icon_reload-progressive.svg/55px-OOjs_UI_icon_reload-progressive.svg.png)
请注意:更新本页面后,您可能需要清除浏览器缓存才能看到所作变更的影响。
Google Chrome、Microsoft Edge、Mozilla Firefox、Safari:按住⇧ Shift,同时单击“刷新”。
Google Chrome、Microsoft Edge、Mozilla Firefox、Safari:按住⇧ Shift,同时单击“刷新”。
![Cc.logo.circle.svg](/images/thumb/5/5d/CC_Logo.svg/40px-CC_Logo.svg.png)
![署名 署名](/images/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![相同方式共享 相同方式共享](/images/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
本文件采用知识共享署名-相同方式共享 4.0 国际(CC BY-SA 4.0)许可协议授权。
- 您可以自由地:
- 分享 – 在任何媒介以任何形式复制、发行本作品
- 演绎 – 修改、转换或以本作品为基础进行创作
- 惟须遵守下列条件:
- 署名 – 您必须给出适当的署名(标明原作者),提供指向本许可协议的链接,同时标明是否(对原始作品)作了修改。您可以用任何合理的方式来署名,但是不得以任何方式暗示许可人为您或您的使用背书(即诱导原作者在不了解协议情况下给你授权)。
- 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须基于与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
/**
* SPDX-License-Identifier: CC-BY-SA-4.0
* _addText: '{{Twinkle Header}}'
*
* @base <https://git.qiuwen.wiki/InterfaceAdmin/Twinkle>
* @source <https://github.com/TopRealm/Twinkle>
*/
/**
* +--------------------------------------------------------+
* | === WARNING: GLOBAL GADGET FILE === |
* +--------------------------------------------------------+
* | All changes should be made in the repository, |
* | otherwise they will be lost. |
* +--------------------------------------------------------+
* | Changes to this page may affect many users. |
* | Please discuss changes at talk page before editing. |
* +--------------------------------------------------------+
*/
/* <nowiki> */
/* Twinkle.js - morebits.css */
/**
* morebits.css
* ===========
* Styles to support morebits.js.
*
* The morebits library is maintained by the maintainers of Twinkle.
* For queries, suggestions, help, etc., head to [[H:TW]].
*/
/* 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%;
padding: 0.5em;
margin: auto;
line-height: 1.5;
vertical-align: middle;
}
form.quickform * {
font-family: sans-serif;
}
form.quickform fieldset {
margin: 0.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 #808080;
margin-left: 0.2em;
}
form.quickform input[type='checkbox'],
form.quickform input[type='radio'] {
width: 1em;
height: 1em;
padding: 0;
margin-top: 2px;
margin-right: 2px;
margin-bottom: 2px;
vertical-align: top;
}
form.quickform div {
line-height: 18px;
}
form.quickform h5 {
padding: 0.3em 0.2em 0.2em;
margin: 0.5em 0 0;
font-size: 108%; /* 100% is 12px → 108% is 12.96px */
}
/* 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: #808080;
}
/* no italic for quickformDescription */
form.quickform .quickformSubgroup {
margin-bottom: 0.5em;
margin-left: 3em;
}
/* The tooltip button and the content itself */
form.quickform .morebits-tooltipButton {
padding: 0.3em;
color: #0000cd;
cursor: help;
font-weight: bold;
}
.morebits-ui-tooltip {
padding: 4px 6px;
font-size: 1em;
}
/* Scrollbox styles, for use within Morebits.simpleWindow */
div.morebits-scrollbox {
overflow: auto;
max-height: 20em;
padding: 6px 6px 0;
border: 1px solid #808080;
margin-top: 0.6em;
margin-bottom: 0.6em;
background: #fff;
}
div.morebits-scrollbox > h5:first-child {
padding-top: 0;
border: 0;
margin-top: 0;
}
div.morebits-scrollbox > :last-child {
margin-bottom: 6px;
}
/* Previewbox */
div.morebits-previewbox {
padding: 0.2em 0.4em;
border: 2px inset;
margin: 0.4em auto 0.2em;
background: #fff;
color: #000;
}
div.morebits-previewbox *:not(img) {
vertical-align: baseline;
}
div.morebits-previewbox .mw-editsection {
display: none;
}
div.morebits-usertext {
padding: 5px;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
font-size: 95%;
}
/* Morebits.simpleWindow */
.morebits-dialog {
border: 1px #666 solid;
background-color: #f0f8ff;
background-image: none;
font-family: sans-serif;
}
/* px translations in comments are w.r.t standard browser settings,
in other settings, the sizes would be scaled accordingly */
.skin-vector .morebits-dialog {
font-size: 75%; /* 100% is 16px → 75% is 12px */
}
.skin-gongbi .morebits-dialog {
font-size: 79%; /* 100% is 15.2px → 79% is 12.008px */
}
body .ui-dialog.morebits-dialog .ui-dialog-titlebar {
overflow: hidden;
height: 1em;
padding: 0.4em 0.3em 0.5em !important;
background-color: #bccadf !important;
background-image: none !important;
font: bold 108% sans-serif; /* 100% is 12px (from above) → 108% is 12.96px */
white-space: nowrap;
}
.morebits-dialog-scriptname {
font-weight: normal;
}
.ui-dialog.morebits-dialog .ui-dialog-titlebar-close {
top: auto;
right: 0;
width: 2em;
height: 100%;
margin: -0.5em -0.15em 0;
}
.ui-dialog.morebits-dialog .ui-dialog-titlebar-close span {
margin: 0.33em;
}
.ui-dialog.morebits-dialog .morebits-dialog-content {
padding: 0;
}
body .ui-dialog.morebits-dialog .ui-dialog-buttonpane {
min-height: 0.5em;
padding-left: 1.2em !important;
margin: 0;
background-color: #bccadf;
}
body .ui-dialog.morebits-dialog .ui-dialog-buttonpane button {
margin: 0.2em 0 -0.1em;
cursor: auto;
float: none;
}
.morebits-dialog-buttons {
font-size: 108%; /* 100% is 12px → 108% is 12.96px */
}
.morebits-dialog-footerlinks {
margin: 0.7em 0.4em 0 0;
float: right;
font-size: 97%; /* 100% is 12px (from above) → 97% is 11.64px */
}
body .ui-dialog.morebits-dialog .morebits-dialog-footerlinks a {
color: #3062ad;
}
.morebits-dialog-buttons[data-empty] + .morebits-dialog-footerlinks {
margin: 0.1em 0.4em -0.2em 0;
}
.ui-icon {
vertical-align: -3px;
}
.ui-icon-inline {
display: inline-block;
}
/* For styling message/warning boxes. Cannot use MediaWiki ombox class because it will be deprecated soon. */
table.morebits-ombox {
box-sizing: border-box;
border: 1px solid #a2a9b1;
margin: 4px 10%;
background: #f8f9fa;
border-collapse: collapse;
}
table.morebits-ombox-content {
border: 1px solid #f28500;
}
td.morebits-mbox-image {
padding: 2px 0 2px 0.9em;
border: 0;
text-align: center;
}
th.morebits-mbox-text,
td.morebits-mbox-text {
width: 100%;
padding: 0.25em 0.9em;
border: 0;
}
/* </nowiki> */