mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
f308c9f7b0
Also cleaned up the SVG. I hate Illustrator so much for what it does to SVGs. Change-Id: I3c1b8b812ed50ad65a8c2f53835e440bfd2e77ac
79 lines
1.5 KiB
Plaintext
79 lines
1.5 KiB
Plaintext
@mw-ui-constructive-button-color: #00af89;
|
|
|
|
.mw-mlb-download-pane {
|
|
margin-left: 10px;
|
|
|
|
/* Disable link clicks */
|
|
a.disabledLink {
|
|
pointer-events: none;
|
|
cursor: default;
|
|
}
|
|
|
|
.multimediaviewer-download-button {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
/* Selection size arrow element */
|
|
.mw-mlb-download-select-menu {
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-color: @mw-ui-constructive-button-color;
|
|
border:0;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
border-left: 1px solid mix(#000, @mw-ui-constructive-button-color, 20%);
|
|
background-image: /* @embed */ url(../img/down.svg);
|
|
}
|
|
|
|
.multimediaviewer-download-image-size-name {
|
|
display:block;
|
|
}
|
|
|
|
.multimediaviewer-download-image-size {
|
|
display:block;
|
|
font-size: small;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.mw-mlb-download-preview-link {
|
|
display: block;
|
|
margin-top: 12px;
|
|
margin-left: -6px;
|
|
font-size: 16px;
|
|
color: #555555;
|
|
|
|
&:before {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
content: ' ';
|
|
width: 44px;
|
|
height: 30px;
|
|
/* @embed */
|
|
background-image: url(img/open.svg);
|
|
background-size: contain;
|
|
background-position: right center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
}
|
|
|
|
/* Pulldown size menu */
|
|
.mw-mlb-download-size {
|
|
display: none;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
|
|
.oo-ui-widget-disabled {
|
|
display: none;
|
|
}
|
|
|
|
/* Changes to pulldown menu */
|
|
.oo-ui-inlineMenuWidget-handle {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
}
|