MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 1,072: | Line 1,072: | ||
/* ============================================================================ | /* ============================================================================ | ||
SV Universal Popup v3 (TESTING) | SV Universal Popup v3.1 (TESTING) | ||
- Popup B aesthetic, site-wide | - Popup B aesthetic, site-wide | ||
- Compact width: popups grow vertically (mobile-friendly) | - Compact width: popups grow vertically (mobile-friendly) | ||
- Header centered + larger, no hint text | - Header centered + larger, no hint text | ||
- Linked definitions: header title can be a real link (Popups/PagePreviews-friendly) | |||
- JS adds .sv-uipop-v3 to <html> when enabled | - JS adds .sv-uipop-v3 to <html> when enabled | ||
============================================================================ */ | ============================================================================ */ | ||
| Line 1,089: | Line 1,090: | ||
.sv-def, | .sv-def, | ||
.sv-uipop-head, | .sv-uipop-head, | ||
.sv-uipop- | .sv-uipop-title, | ||
.sv-uipop- | .sv-uipop-title-link{ | ||
-webkit-touch-callout:none; | -webkit-touch-callout:none; | ||
-webkit-user-select:none; | -webkit-user-select:none; | ||
| Line 1,145: | Line 1,145: | ||
} | } | ||
/* Large: more height for lists | /* Large: more height for lists (still same width) */ | ||
.sv-uipop--lg{ | .sv-uipop--lg{ | ||
max-height:min(70vh, 560px); | max-height:min(70vh, 560px); | ||
| Line 1,171: | Line 1,171: | ||
letter-spacing:0.02em; | letter-spacing:0.02em; | ||
color:var(--color-emphasized, var(--sv-ui-text1)); | color:var(--color-emphasized, var(--sv-ui-text1)); | ||
} | |||
/* Header title link (Definitions with data-sv-def-link) */ | |||
.sv-uipop-title a.sv-uipop-title-link{ | |||
color:inherit; | |||
text-decoration:none; | |||
} | |||
.sv-uipop-title a.sv-uipop-title-link:hover{ | |||
text-decoration:underline; | |||
text-decoration-thickness:2px; | |||
text-underline-offset:2px; | |||
} | } | ||
| Line 1,240: | Line 1,251: | ||
color:var(--sv-ui-text1); | color:var(--sv-ui-text1); | ||
} | } | ||