MediaWiki:Gadget-Tooltip.css: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit |
Tag: Undo |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
.skin-minerva .hover-tooltip { display: none; } | .skin-minerva .hover-tooltip { display: none; } | ||
.skin-minerva .custom-tt-wrapper.hnaw-collapsible .mw-collapsible-toggle { display: none !important; } | .skin-minerva .custom-tt-wrapper.hnaw-collapsible .mw-collapsible-toggle { display: none !important; } | ||
/* Colors */ | |||
:root .wgl-darkmode, :root .wgl-theme-dark { | |||
--tooltip-bg: #0c0c0cd6; | |||
} | |||
:root .wgl-lightmode, :root .wgl-theme-light { | |||
--tooltip-bg: #ecececd6; | |||
} | |||
/** Text styling **/ | /** Text styling **/ | ||
| Line 38: | Line 47: | ||
width: fit-content; | width: fit-content; | ||
height: fit-content; | height: fit-content; | ||
background: var(-- | background: var(--tooltip-bg); | ||
color: var(--theme-page-text-color); | color: var(--theme-page-text-color); | ||
border-radius: 5px 0 5px 5px; | border-radius: 5px 0 5px 5px; | ||
| Line 70: | Line 79: | ||
position: fixed; | position: fixed; | ||
z-index: 10005; | z-index: 10005; | ||
width: 100%; | width: calc(100% - 1em + 2px); | ||
height: 125px; | height: 125px; | ||
background: var(--tooltip-bg); | |||
color: var(--theme-page-text-color); | color: var(--theme-page-text-color); | ||
border-radius: | border-radius: 20px 20px 5px 5px; | ||
border: 1px solid var(--theme-accent-color); | border: 1px solid var(--theme-accent-color); | ||
box-shadow: 1px 5px 5px 1px black; | |||
min-width: 150px; | min-width: 150px; | ||
min-height: 25px; | min-height: 25px; | ||
padding: 6px; | padding: 6px 0 6px 12px; | ||
bottom: 0; | bottom: 0; | ||
left: 0; | left: 0; | ||
margin: 0; | margin: 0; | ||
overflow-y: | overflow-y: auto; | ||
} | } | ||
| Line 125: | Line 135: | ||
} | } | ||
@keyframes extra-effect-appear { | @keyframes extra-effect-appear { | ||
| Line 144: | Line 147: | ||
} | } | ||
} | } | ||
e | |||