@mw-ui-constructive-button-color: #00af89; @pane-padding: 10px; @attribution-color: #f2f2f2; @attribution-logo-size: 64px; .mw-mlb-download-pane { padding: 0 @pane-padding; position: relative; height: 280px; /* 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; } } .mw-mmv-download-attribution { position: absolute; bottom: 0; left: 0; right: 0; padding: 0 @pane-padding @pane-padding; background-color: @attribution-color; &-how { position: relative; display: block; padding: 5px; .mw-mmv-download-attribution-close-button { cursor: pointer; position: absolute; top: 5px; right: 0px; width: 12px; height: 12px; /* @embed */ background-image: url(img/x_gray.svg); } } &-how-header, &-cta-header { font-size: large; font-weight: bold; } &-cta { cursor: pointer; display: none; padding-left: @attribution-logo-size + 7px; /* @embed */ background-image: url(img/user-ltr.svg); background-repeat: no-repeat; background-size: @attribution-logo-size; background-position: left center; } &.mw-mmv-download-attribution-collapsed { .mw-mmv-download-attribution-cta { display: block; } .mw-mmv-download-attribution-how { display: none; } } } } .mw-mmv-reuse-dialog.mw-mmv-reuse-download-active .mw-mmv-reuse-down-arrow { background-color: @attribution-color; }