MediaWiki:Gadget-Navigation popups.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/**
* SPDX-License-Identifier: CC-BY-SA-4.0
* _addText: '{{Gadget Header|license=CC-BY-SA-4.0}}'
*
* @base {@link https://en.wikipedia.org/wiki/MediaWiki:Gadget-popups.js}
* @base {@link https://zh.wikipedia.org/w/index.php?title=User:Lupin/strings-draft&oldid=579996170}
* @base {@link https://zh.wikipedia.org/wiki/MediaWiki:Gadget-navpop.css}
* @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/Navigation_popups}
* @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0}
*/
/**
* +------------------------------------------------------------+
* | === 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 by opening an issue before editing. |
* +------------------------------------------------------------+
*/
/* <nowiki> */
/* src/Navigation_popups/Navigation_popups.less */
.popupMoreLink {
display: block;
cursor: pointer;
text-align: right;
}
ins.popupDiff {
background: #afe;
}
del.popupDiff {
background: #ffe6e6;
}
#selectionPreview {
padding: 6px;
border: 2px solid #ddd;
background-color: #eef;
}
.navpopup {
padding: 10px;
padding-bottom: 5px;
border: 1px solid #bbb;
background-color: #fff;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.35);
font-size: 0.785em;
word-wrap: break-word;
}
.navpopup hr {
background-color: #aaa !important;
color: #aaa !important;
}
.popupDrag {
height: 5px;
margin-top: -5px;
margin-bottom: 5px;
background-color: #ffbe20;
}
.popupDragHandle {
position: relative;
cursor: move;
}
.popup_menu {
position: absolute;
z-index: 2;
top: 0;
left: 0;
display: none;
width: 10em;
padding: 0 !important;
border: 1px solid #888;
border-width: 1px 1px 1px 6px;
margin: 0;
margin-top: 1.4em;
margin-left: -6px;
background: #fff;
line-height: 1.25em;
}
.popup_menu li {
padding: 0;
margin: 0;
list-style: none;
}
.popup_menu a {
display: block;
padding: 3px;
color: #555;
}
.popup_menu a:hover {
background: #888;
color: #fff;
-webkit-text-decoration: none;
text-decoration: none;
}
.popup_menu_row {
color: #aaa;
}
.popup_menu_row a {
display: inline-block;
}
.popup_drop {
position: relative;
display: inline;
}
.popup_drop a,
.popup_drop a:visited {
padding: 3px;
margin: 0;
color: #0645ad;
font-weight: bold;
}
.popup_drop:hover .popup_menu,
.popup_drop .popup_menu:hover {
display: inline;
padding: 2px;
background: #fff;
color: #555;
}
.popup_drop:hover {
background: #ccf;
color: #44f;
}
.popup_mainlink {
font-size: 140%;
font-weight: bold;
}
.popup_mainlink a {
color: #000;
}
a.popup_change_title_link {
color: #152;
}
.popup_diff_dates {
background: none;
font-style: italic;
}
.popup_menu_item a {
display: block;
}
.popup_history_row_even {
background: #eee;
}
.popup_history_date {
font-size: 120%;
font-weight: bold;
}
.popupPreview a.extiw,
.popupPreview a.extiw:active {
padding: 0;
background: none;
color: #36b;
}
.popupPreview a .external {
color: #36b;
}
.popupPreview .plainlinks a {
padding: 0 !important;
background: none !important;
}