Download JoL-player/src/components/tooltip/index.module.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 710 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/JoL-player/src/components/tooltip/index.module.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/JoL-player/src/components/tooltip/index.module.scss
-
curl -L -o index.module.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/JoL-player/src/components/tooltip/index.module.scss
710 Bytes
| @import 'src/assets/css/mixin.scss'; | |
| .JoL-player-container{ | |
| .tooltip { | |
| position: relative; | |
| cursor: pointer; | |
| z-index: 1; | |
| &:hover { | |
| .title { | |
| transition: all 0.6s; | |
| opacity: 1; | |
| display: block; | |
| animation: show 0.3s ease; | |
| } | |
| } | |
| .title { | |
| display: none; | |
| opacity: 0; | |
| z-index: -1; | |
| position: absolute; | |
| color: #fff; | |
| left: 50%; | |
| // display: flex; | |
| bottom: 49px; | |
| font-size: 13px; | |
| background-color: rgba(0, 0, 0, 0.7); | |
| border-radius: 3px; | |
| transform: translateX(-50%); | |
| line-height: 20px; | |
| padding: 5px 7px; | |
| white-space: nowrap; | |
| } | |
| } | |
| } |