mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-19 03:11:57 +00:00
9d2f7de650
Amending Base10 to slightly darker `#202122` to fulfill WCAG requirements in connection to Accent50. Also adding it as WikimediaUI Base equivalent variable for future replacement. Also removing variables not in use any more. Bug: T248393 Change-Id: I6fb5c288cfeb2bd3c786c2f5ab771074203b8fc0
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
// Excerpts from WikimediaUI Base
|
|
// == Colors ==
|
|
// WikimediaUI (`wmui`) color palette
|
|
// See https://design.wikimedia.org/style-guide/visual-style_colors.html
|
|
// Don't use those variables directly, instead define your vars
|
|
// referring to them as applied further below.
|
|
|
|
@wmui-color-base10: #202122; // = HSB 210°, 6%, 13%
|
|
|
|
// Foreground Colors
|
|
@color-base: @wmui-color-base10;
|
|
|
|
// Border radius
|
|
@border-radius: 2px;
|
|
|
|
// MultimediaViewer specific global variables
|
|
// 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;
|
|
|
|
// 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;
|