MediaWiki:Common.less/pagepreviews.less

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:09, 17 October 2024 (Created page with "// Page preview popups .mwe-popups { background: var(--body-light); .mwe-popups-container { color: var(--text-color); background: var(--body-light); // arrow pointing to link // seems to be a different class for each possible position and img combination &.flipped-x-y:before, &.flipped-y:before { border-top: none; } &.mwe-popups-no-image-tri:before { border-bottom: none; } &.flipped-x-y:after, &.flipped-y:after { border-top-color: va..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

// Page preview popups .mwe-popups { background: var(--body-light);

.mwe-popups-container { color: var(--text-color); background: var(--body-light);

// arrow pointing to link // seems to be a different class for each possible position and img combination &.flipped-x-y:before, &.flipped-y:before { border-top: none; }

&.mwe-popups-no-image-tri:before { border-bottom: none; }

&.flipped-x-y:after, &.flipped-y:after { border-top-color: var(--body-light); }

&.mwe-popups-no-image-tri:after { border-bottom-color: var(--body-light); } }

.mwe-popups-settings-icon:hover, .mwe-popups-settings-icon:active { background-color: var(--ooui-normal--hover); }

// the following cancelled out the brightness adjustment by above // and also was added to the preview-generic icon .mw-ui-icon-element:not(.disabled):hover { background: none; }

// text section .mwe-popups-extract { color: var(--text-color);

// fade for text overflow &[dir='ltr']:after { background-image: linear-gradient(to right, rgba(49, 62, 89, 0), var(--body-light) 50%); } } }

// Anon preferences popup .mwe-popups-overlay { background-color: var(--ooui-window-background); }

  1. mwe-popups-settings {

background: var(--ooui-interface); border-color: var(--ooui-interface-border); color: var(--text-color);

header { border-color: var(--ooui-interface-border); }

main#mwe-popups-settings-form { p { color: var(--byline-color); } // text beside radio button form label > span { color: var(--ooui-text); } } }