mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 08:13:38 +00:00
eca337e62f
Adds setWarning(<element>,...) and clearWarning() to mw.mmv.ui.Dialog. These functions can be used to display a warning ribbon with the given text in the reuse dialogs, typically when the copyright status of the file is problematic (e.g. non-free or tagged with {{wrong licence}}). Bug: T76030 Bug: T71389 Bug: T71557 Change-Id: I7c477c810d391578ec64635357eda97a85ab2954
32 lines
980 B
Plaintext
32 lines
980 B
Plaintext
// Height of the area of the metadata bar which is visible without scrolling.
|
|
@metadatabar-above-fold-height: 86px;
|
|
|
|
// adjust for @metadatabar-below-fold-pushup-height wide bottom padding - that area will be overlapped
|
|
// by the revealed part of the below-the-fold content
|
|
@metadatabar-above-fold-inner-height: @metadatabar-above-fold-height - @metadatabar-below-fold-pushup-height;
|
|
|
|
// Height of the top part of the "below-fold" content which is actually above the fold, as a scrolling affordance
|
|
@metadatabar-below-fold-pushup-height: 30px;
|
|
|
|
@panel-above-fold-background-color: #fff;
|
|
|
|
// Height of the progress bar
|
|
@progress-bar-height: 14px;
|
|
|
|
// Height of dialogs
|
|
@dialog-height: 350px;
|
|
|
|
// Border radius for dialogs
|
|
@border-radius: 2px;
|
|
|
|
// Arrow size for dialogs
|
|
@arrow-size: 20px;
|
|
@arrow-border-size: 2px;
|
|
|
|
@dialog-warning-color: #ffd36e;
|
|
|
|
// Some button things that get included all over
|
|
@navbutton-width: 18px;
|
|
@buttons-offset-right: 5px;
|
|
@buttons-offset-each-top: 37px;
|