mediawiki-extensions-Multim.../resources/mmv/mmv.bootstrap.less
Volker E 268e1406d4 Unify SVG markup
Align SVG markup across Foundation products by:
- unifying XML declaration,
- removing unnecessary `standalone="no"` attribute as it's default,
- removing unnecessary `enable-background` attribute as it got removed
  from standard
- removing all SVG editor metadata
- adding `width` and `height` attributes where missing,
- removing all `g` group elements except where necessary for transforms,
- putting attributes on `path`,
- removing unnecessary ids and
- unifying whitespace.

Also
- changing 'expand' and 'gear' icon colors to resemble general button style,
- while at this renaming 'gear_gray' to 'gear' including CSS reference,
- slightly adapt remaining colors to WikimediaUI color palette and
- deleting unused, unreferenced icon files.

Saving up to 79% file size before gzipping.

Bug: T178867
Change-Id: I9e54a3a972903811f5205def05397383f3484d63
2018-01-23 23:59:28 -08:00

61 lines
1.1 KiB
Plaintext

.mw-mmv-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
background-color: #000;
}
body.mw-mmv-lightbox-open {
overflow-y: auto;
/* stylelint-disable selector-max-id */
#mw-page-base,
#mw-head-base,
#mw-navigation,
#content,
#footer,
#globalWrapper { // monobook
/** Stop the article from scrolling in the background - skin-specific but works in any browser */
display: none;
}
/* stylelint-enable selector-max-id */
> * {
/** Stop the article from scrolling in the background - works with any skin but needs modern browser */
display: none;
}
> .mw-mmv-overlay,
> .mw-mmv-wrapper {
display: block;
}
}
.mw-mmv-filepage-buttons {
margin-top: 5px;
.mw-mmv-view-expanded,
.mw-mmv-view-config {
display: block;
// Work around some weirdness of MW-UI buttons. T127052
line-height: inherit;
}
.mw-mmv-view-expanded.mw-ui-icon:before {
/* @embed */
background-image: url( img/expand.svg );
}
.mw-mmv-view-config.mw-ui-icon:before {
/* @embed */
background-image: url( img/gear.svg );
opacity: 0.75;
&:hover {
opacity: 1;
}
}
}