请注意:更新本页面后,您可能需要清除浏览器缓存才能看到所作变更的影响。
Google Chrome、Microsoft Edge、Mozilla Firefox、Safari:按住⇧ Shift,同时单击“刷新”。
Google Chrome、Microsoft Edge、Mozilla Firefox、Safari:按住⇧ Shift,同时单击“刷新”。
/**
* SPDX-License-Identifier: CC-BY-SA-4.0
* _addText: 'https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/GeoLocationReader/GeoLocationReader.lessnGadgets/src/branch/master/src/GeoLocationReader/GeoLocationReader.less}}'
*
* @base {@link https://www.mediawiki.org/wiki/MediaWiki:Gadget-whoisactive.css}
* @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/GeoLocationReader/GeoLocationReader.less}
*/
/**
* globe Icon from OOjs UI
*
* @base {@link https://github.com/wikimedia/oojs-ui/blob/e17952e413cfc00c15cfd861d47463c29062afe7/src/themes/wikimediaui/images/icons/globe.svg}
* @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/GeoLocationReader/images}
* @license MIT {@link https://github.com/wikimedia/oojs-ui/blob/master/LICENSE-MIT}
*/
/**
* helpNotice Icon (ltr) from OOjs UI
*
* @base {@link https://github.com/wikimedia/oojs-ui/blob/e17952e413cfc00c15cfd861d47463c29062afe7/src/themes/wikimediaui/images/icons/helpNotice-ltr.svg}
* @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/GeoLocationReader/images}
* @license MIT {@link https://github.com/wikimedia/oojs-ui/blob/master/LICENSE-MIT}
*/
/**
* settings Icon (ltr) from OOjs UI
*
* @base {@link https://github.com/wikimedia/oojs-ui/blob/e17952e413cfc00c15cfd861d47463c29062afe7/src/themes/wikimediaui/images/icons/settings.svg}
* @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/GeoLocationReader/images}
* @license MIT {@link https://github.com/wikimedia/oojs-ui/blob/master/LICENSE-MIT}
*/
/**
* userAvatar Icon (ltr) from OOjs UI
*
* @base {@link https://github.com/wikimedia/oojs-ui/blob/e17952e413cfc00c15cfd861d47463c29062afe7/src/themes/wikimediaui/images/icons/userAvatar.svg}
* @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/GeoLocationReader/images}
* @license MIT {@link https://github.com/wikimedia/oojs-ui/blob/master/LICENSE-MIT}
*/
/**
* +--------------------------------------------------------+
* | === 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> */
/* src/GeoLocationReader-pagestyles/GeoLocationReader-pagestyles.less */
.mw-geolocation {
display: inline-block;
margin: 0 0.25em !important;
padding: 0 0.5em !important;
border: 1px solid #ddd;
white-space: nowrap;
border-radius: 0.25em;
font-size: 0.9em;
}
.mw-footer .mw-geolocation {
margin-bottom: 0.25em !important;
}
.ve-activated .mw-footer .mw-geolocation {
display: none;
}
.mw-geolocation-blue {
border-color: #36c;
color: #36c !important;
}
.mw-geolocation-green {
border-color: #181;
color: #181 !important;
}
.mw-geolocation-orange {
border-color: #a60;
color: #a60 !important;
}
.mw-geolocation-icon {
margin: 0;
}
.mw-geolocation-icon::before {
display: inline-block;
width: 15px;
height: 15px;
background-position: center;
background-repeat: no-repeat;
background-size: 15px;
content: "";
vertical-align: middle;
}
.mw-geolocation-icon-globe::before {
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%3E%3Cpath%20fill%3D%22%23181%22%20d%3D%22M12.2%2017.94c1.26-2%202-4.45%202.14-7.06h3.86a8.26%208.26%200%200%201-6%207.06M1.8%2010.88h3.86c.14%202.6.88%205.06%202.14%207.06a8.26%208.26%200%200%201-6-7.06m6-8.82c-1.26%202-2%204.45-2.14%207.07H1.8a8.26%208.26%200%200%201%206-7.07m4.79%208.82A12.5%2012.5%200%200%201%2010%2018a12.51%2012.51%200%200%201-2.59-7.13zM7.4%209.13A12.51%2012.51%200%200%201%2010%201.99a12.5%2012.5%200%200%201%202.59%207.14zm10.8%200h-3.87a14.79%2014.79%200%200%200-2.14-7.07%208.26%208.26%200%200%201%206%207.07M10%200a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20%22%2F%3E%3C%2Fsvg%3E);
}
.mw-geolocation-icon-helpNotice::before {
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%3E%3Cpath%20fill%3D%22%23a60%22%20d%3D%22M10%200a10%2010%200%201%200%2010%2010A10%2010%200%200%200%2010%200zm1%2016H9v-2h2zm2.71-7.6a2.64%202.64%200%200%201-.33.74%203.16%203.16%200%200%201-.48.55l-.54.48c-.21.18-.41.35-.58.52a2.54%202.54%200%200%200-.47.56A2.3%202.3%200%200%200%2011%2012a3.79%203.79%200%200%200-.11%201H9.08a8.9%208.9%200%200%201%20.07-1.25%203.28%203.28%200%200%201%20.25-.9%202.79%202.79%200%200%201%20.41-.67%204%204%200%200%201%20.58-.58c.17-.16.34-.3.51-.44a3%203%200%200%200%20.43-.44%201.83%201.83%200%200%200%20.3-.55%202%202%200%200%200%20.11-.72%202.06%202.06%200%200%200-.17-.86%201.71%201.71%200%200%200-1-.9%201.7%201.7%200%200%200-.5-.1%201.77%201.77%200%200%200-1.53.68%203%203%200%200%200-.5%201.82H6.16a4.74%204.74%200%200%201%20.28-1.68%203.56%203.56%200%200%201%20.8-1.29%203.88%203.88%200%200%201%201.28-.83A4.59%204.59%200%200%201%2010.18%204a4.44%204.44%200%200%201%201.44.23%203.51%203.51%200%200%201%201.15.65%203.08%203.08%200%200%201%20.78%201.06%203.54%203.54%200%200%201%20.29%201.45%203.39%203.39%200%200%201-.13%201.01z%22%2F%3E%3C%2Fsvg%3E);
}
.mw-geolocation-icon-settings::before {
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%2336c%22%3E%3Cg%20transform%3D%22translate(10%2010)%22%3E%3Cpath%20id%3D%22a%22%20d%3D%22M1.5-10h-3l-1%206.5h5m0%207h-5l1%206.5h3%22%2F%3E%3Cuse%20xlink%3Ahref%3D%22%23a%22%20transform%3D%22rotate(45)%22%2F%3E%3Cuse%20xlink%3Ahref%3D%22%23a%22%20transform%3D%22rotate(90)%22%2F%3E%3Cuse%20xlink%3Ahref%3D%22%23a%22%20transform%3D%22rotate(135)%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M10%202.5a7.5%207.5%200%200%200%200%2015%207.5%207.5%200%200%200%200-15v4a3.5%203.5%200%200%201%200%207%203.5%203.5%200%200%201%200-7%22%2F%3E%3C%2Fsvg%3E");
}
.mw-geolocation-icon-userAvatar::before {
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22%2336c%22%3E%3Cpath%20d%3D%22M10%2011c-5.92%200-8%203-8%205v3h16v-3c0-2-2.08-5-8-5z%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%225.5%22%20r%3D%224.5%22%2F%3E%3C%2Fsvg%3E);
}
.mw-geolocation-text {
margin-left: 5px;
vertical-align: middle;
}
/* </nowiki> */