MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 320: | Line 320: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
/* Tooltip scopes + triggers */ | |||
.sv-tip-content { display: none; } | |||
.sv-tip-pop { | |||
position: fixed; | |||
z-index: 99999; | |||
max-width: min(380px, calc(100vw - 16px)); | |||
max-height: 60vh; | |||
overflow: auto; | |||
padding: 10px 12px; | |||
border-radius: 10px; | |||
border: 1px solid rgba(255,255,255,.12); | |||
background: rgba(20, 24, 30, .98); | |||
color: #e9eef6; | |||
box-shadow: 0 10px 30px rgba(0,0,0,.35); | |||
font-size: 13px; | |||
line-height: 1.35; | |||
} | |||
.sv-tip-pop .sv-tip-title { | |||
font-weight: 700; | |||
margin-bottom: 6px; | |||
} | |||
.sv-tip-pop .sv-tip-section { | |||
margin-top: 8px; | |||
} | |||
.sv-tip-pop .sv-tip-label { | |||
font-weight: 700; | |||
display: block; | |||
margin-bottom: 2px; | |||
opacity: .95; | |||
} | |||
.sv-tip-scope { position: relative; } | |||
.sv-tip-btn { | |||
cursor: pointer; | |||
user-select: none; | |||
-webkit-appearance: none; | |||
appearance: none; | |||
font: inherit; | |||
color: inherit; | |||
} | |||
.sv-tip-btn:focus-visible { | |||
outline: 2px solid rgba(255,255,255,.25); | |||
outline-offset: 2px; | |||
} | |||
.module-icon-name .sv-herobar-meta { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.module-icon-name .sv-herobar-icon { | |||
position: relative; | |||
width: 80px; | |||
height: 80px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
line-height: 0; | |||
} | |||
.module-icon-name .sv-herobar-icon img { | |||
max-width: 80px; | |||
max-height: 80px; | |||
width: 100%; | |||
height: 100%; | |||
object-fit: contain; | |||
} | |||
.module-icon-name .sv-tip-btn--notes { | |||
position: absolute; | |||
left: 6px; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 20px; | |||
height: 20px; | |||
border-radius: 999px; | |||
background: transparent; | |||
border: 0; | |||
padding: 0; | |||
} | |||
.module-icon-name .sv-ico { | |||
width: 16px; | |||
height: 16px; | |||
display: block; | |||
} | |||
.module-icon-name .sv-pill-row { margin-top: 6px; } | |||
.module-icon-name .sv-pill--req { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 6px; | |||
padding: 2px 8px; | |||
border-radius: 999px; | |||
font-size: 12px; | |||
line-height: 1.4; | |||
border: 1px solid rgba(255,255,255,.12); | |||
background: rgba(255,255,255,.06); | |||
} | |||
table.spiritvale-skill-infobox .sv-description { | table.spiritvale-skill-infobox .sv-description { | ||