1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 23:59:35 +05:30

(feat): added tooltips in flotingbar using popper.js and tippy.js

This commit is contained in:
2023-12-15 22:21:50 +05:30
parent eff59807a4
commit 42f865f543
10 changed files with 67 additions and 1 deletions

View File

@@ -271,4 +271,24 @@ background: #38BDF8;
opacity: 1;
}
}
}
/* --- Tooltip Styling --- */
.tippy-box[data-theme~='neosubhamoy'] {
background-color: #1b2536;
color: #FFFFFF;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='top'] > .tippy-arrow::before {
border-top-color: #1b2536;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='bottom'] > .tippy-arrow::before {
border-bottom-color: #1b2536;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='left'] > .tippy-arrow::before {
border-left-color: #1b2536;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='right'] > .tippy-arrow::before {
border-right-color: #1b2536;
}