1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00
portainer/app/react/components/Tip/SliderTooltip/SliderTooltip.module.css
Dakota Walsh 3654109332
fix(slider): update rc-slider [EE-5011] (#8611)
* fix(slider): update rc-slider [EE-5011]

* fix PasswordLengthSlider tooltip

* fix unnecessarily bulky className for SliderTooltip

* remove SliderTooltip inner div

* center slider handle value

* relative tooltip

* update z index

---------

Co-authored-by: testa113 <testa113>
2023-04-21 16:52:05 +12:00

30 lines
664 B
CSS

:global(portainer-tooltip) {
@apply inline-flex;
}
.tooltip {
background-color: var(--bg-tooltip-color) !important;
color: var(--text-tooltip-color) !important;
border-radius: 10px !important;
box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15) !important;
max-width: 400px;
min-width: 50px;
font-size: 1rem !important;
font-weight: 400;
text-align: left;
width: max-content;
}
.tooltip-container {
line-height: 18px;
padding: 8px 10px !important;
font-size: 12px !important;
}
.tooltip-centered .tooltip-container {
text-align: center;
}
.tooltip-message a {
color: var(--blue-15) !important;
}