| 1 | /* Floating bubbles styles */
|
| 2 | .floating-bubbles {
|
| 3 | position: fixed;
|
| 4 | bottom: 20px;
|
| 5 | right: 20px;
|
| 6 | display: flex;
|
| 7 | flex-direction: column;
|
| 8 | gap: 10px;
|
| 9 | z-index: 1000;
|
| 10 | }
|
| 11 |
|
| 12 | .floating-bubbles-title {
|
| 13 | position: absolute;
|
| 14 | top: -30px;
|
| 15 | right: 0;
|
| 16 | font-size: 12px;
|
| 17 | color: #777;
|
| 18 | text-align: right;
|
| 19 | font-weight: bold;
|
| 20 | opacity: 0;
|
| 21 | visibility: hidden;
|
| 22 | transition:
|
| 23 | opacity 0.3s ease,
|
| 24 | visibility 0.3s ease;
|
| 25 | white-space: nowrap;
|
| 26 | }
|
| 27 |
|
| 28 | .floating-bubbles:hover .floating-bubbles-title {
|
| 29 | opacity: 1;
|
| 30 | visibility: visible;
|
| 31 | }
|
| 32 |
|
| 33 | .bubble {
|
| 34 | width: 40px;
|
| 35 | height: 40px;
|
| 36 | display: flex;
|
| 37 | justify-content: center;
|
| 38 | align-items: center;
|
| 39 | position: relative;
|
| 40 | transition: transform 0.3s ease;
|
| 41 | }
|
| 42 |
|
| 43 | .bubble:hover {
|
| 44 | transform: scale(1.1);
|
| 45 | }
|
| 46 |
|
| 47 | .bubble img {
|
| 48 | width: 40px;
|
| 49 | height: 40px;
|
| 50 | }
|
| 51 |
|
| 52 | .bubble-tooltip {
|
| 53 | position: absolute;
|
| 54 | right: 60px;
|
| 55 | background-color: #333;
|
| 56 | color: white;
|
| 57 | padding: 5px 10px;
|
| 58 | border-radius: 4px;
|
| 59 | font-size: 14px;
|
| 60 | white-space: nowrap;
|
| 61 | opacity: 0;
|
| 62 | visibility: hidden;
|
| 63 | transition:
|
| 64 | opacity 0.3s ease,
|
| 65 | visibility 0.3s ease;
|
| 66 | }
|
| 67 |
|
| 68 | .bubble:hover .bubble-tooltip {
|
| 69 | opacity: 1;
|
| 70 | visibility: visible;
|
| 71 | }
|
| 72 |
|
| 73 | .floating-bubbles:hover .bubble-tooltip {
|
| 74 | opacity: 1;
|
| 75 | visibility: visible;
|
| 76 | }
|
| 77 |
|
| 78 | /* Hide on mobile */
|
| 79 | @media (max-width: 768px) {
|
| 80 | .floating-bubbles {
|
| 81 | display: none;
|
| 82 | }
|
| 83 | }
|
| 84 |
|