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.
/** <nowiki>
*
* @title VanguardTools
* @description Accelerates Vanguard migration workflow.
* @author Speedit
* @version 1.1.1
* @license CC-BY-SA 3.0
* @notes Dependent on [[VanguardTools]] main script.
*
*/
/**
* @section Interface binding to post-load event
* @element .van-popout .van-tools-dropdown .van-action-button-group
*/
.mediawiki:not(.van-is-loaded) .van-popout,
.mediawiki:not(.van-is-loaded) .van-tools-dropdown,
.mediawiki:not(.van-is-loaded) .van-action-button-group {
display: none;
}
/**
* @section Template recategorisation popout
* @element .van-popout
*/
.mediawiki.van-is-loaded .van-popout {
border: solid hsla(0, 0%, 100%, 0.2);
border-radius: 0 2px 2px 0;
border-width: 1px 1px 1px 0;
bottom: 100px;
display: flex;
align-items: center;
flex-flow: column nowrap;
justify-content: center;
font-size: smaller;
line-height: 1.5em;
left: 0;
padding: 20px;
position: fixed;
transform: translateX(-220px);
transition: transform 0.3s ease;
width: 200px;
z-index: 3;
}
@media only screen and (max-width: 1023px) {
.mediawiki.van-is-loaded .van-popout {
right: 180px;
}
}
.mediawiki.van-is-loaded .van-popout:hover {
transform: initial;
}
.mediawiki.van-is-loaded .van-popout b {
font-weight: bold;
margin-bottom: 0.5em;
}
/**
* @section Template recategorisation key list
* @element .van-popout ul
*/
.mediawiki.van-is-loaded .van-popout ul {
display: flex;
flex-flow: row wrap;
}
.mediawiki.van-is-loaded .van-popout ul li {
flex: 1 1 50%;
max-width: 50%;
}
.mediawiki.van-is-loaded .van-popout ul span:before {
content: '•';
padding: 0 0.25em;
}
/**
* @section Insights NPI subpage restyling
* @element .insights-list-cell-altaction
*/
.mediawiki.van-is-loaded .insights-list-cell-altaction {
text-align: center;
}
.mediawiki.van-is-loaded .van-action-button-group {
width: 100%;
}
.mediawiki.van-is-loaded .van-action-button-group > * {
flex: 1;
}
/**
* @section Custom notification styling
* @element .van-notification
*/
.mediawiki .van-notification {
cursor: default;
display: flex;
bottom: 28px;
font-size: 12px;
line-height: 18px;
max-width: 240px;
padding: 4px 0;
position: fixed;
right: 28px;
z-index: 16777271;
}
.mediawiki .van-notification .van-notification__wrapper {
display: flex;
flex-direction: column;
}
.mediawiki .van-notification .van-notification__text {
font-weight: bold;
padding: 7px 18px 0;
}
.mediawiki .van-notification .van-notification__actions .wds-button {
color: inherit;
cursor: pointer;
}
.mediawiki .van-notification .van-notification__actions .wds-button:hover {
color: inherit;
opacity: 0.75;
transition-property: opacity;
}
.mediawiki .van-notification .van-notification__close {
cursor: pointer;
padding: 7px 18px;
}
/**
* @section Admin alert
* @element #ca-edit
*/
#ca-edit.van-admin-alert #wds-icons-pencil-small {
display: none;
}
/**
* @section User nav
* @element .van-tools-menu
*/
.user-navigation-moved .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-nested__content.van-tools-menu {
right: 100%;
left: unset;
}
.user-navigation-moved #van-tools-dropdown > a {
flex-flow: row-reverse;
}
.user-navigation-moved #van-tools-dropdown > a > svg {
margin-left: unset;
transform: rotate(90deg);
}
.user-navigation-moved .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-nested__content.van-tools-menu > ul {
display: flex;
flex-direction: column-reverse;
}
/** </nowiki> **/