No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
.tooltip | .tooltip { | ||
position: relative; | |||
-webkit-transition: all 0.3s ease-in-out 0s; | |||
transition: all 0.3s ease-in-out 0s; | |||
display: inline-block; | |||
color: #ff0; | |||
} | } | ||
.tooltip | .tooltip:hover { | ||
color: #0c96ff!important; | |||
cursor: pointer; | |||
} | } | ||
.tooltip a{ | |||
position: absolute; | |||
display: block; | |||
visibility: hidden; | |||
opacity: 0; | |||
transition: all .3s; | |||
border-radius: 5px; | |||
box-shadow: 0 0 20px #444 inset; | |||
padding: 3px 5px 3px 5px; | |||
top: -250px; | |||
left: -5px; | |||
z-index: 9999999; | |||
border: 1px solid #514d4d; | |||
} | } | ||
.tooltip | .tooltip a img { | ||
display: block; | |||
border: 1px solid #444; | |||
max-width: 360px; | |||
height: auto; | |||
} | } | ||
.tooltip- | .tooltip a:after { | ||
content: " "; | |||
border-style: solid; | |||
width: | border-width: 7px 7px 0px 7px; | ||
border-color: rgba(55, 64, 70, 0.5) transparent transparent transparent; | |||
transition-duration: 0s; | |||
transform-origin: top; | |||
transform: translateX(-50%) scaleY(1); | |||
position: absolute; | |||
left: 5%; | |||
bottom: -7px; | |||
} | |||
.tooltip:hover a{ | |||
visibility: visible; | |||
opacity: 1; | |||
} | |||
.tooltip b:before { | |||
content: ""; | |||
position: absolute; | |||
width: 100%; | |||
height: 2px; | |||
bottom: 0; | |||
left: 0; | |||
background-color: #333; | |||
visibility: hidden; | |||
-webkit-transform: scaleX(0); | |||
transform: scaleX(0); | |||
-webkit-transition: all 0.3s ease-in-out 0s; | |||
transition: all 0.3s ease-in-out 0s; | |||
} | |||
.tooltip b:hover:before { | |||
visibility: visible; | |||
background-color: #0c96ff!important; | |||
-webkit-transform: scaleX(1); | |||
transform: scaleX(1); | |||
} | } | ||
}} | }} |