|
40 | 40 |
|
41 | 41 | /* Alpha badge - purple to match dashboard */ |
42 | 42 | .vapi-badge-alpha { |
43 | | - background-color: rgba(168, 85, 247, 0.2); |
44 | | - color: #A78BFA; |
45 | | - border: 1px solid rgba(168, 85, 247, 0.4); |
| 43 | + background-color: rgba(168, 85, 247, 0.2) !important; |
| 44 | + color: #A78BFA !important; |
| 45 | + border: 1px solid rgba(168, 85, 247, 0.4) !important; |
| 46 | + border-color: rgba(168, 85, 247, 0.4) !important; |
46 | 47 | } |
47 | 48 |
|
48 | 49 | /* Dark mode adjustments */ |
|
65 | 66 | } |
66 | 67 |
|
67 | 68 | :is(.dark) .vapi-badge-alpha { |
68 | | - background-color: rgba(168, 85, 247, 0.2); |
69 | | - color: #C4B5FD; |
70 | | - border: 1px solid rgba(168, 85, 247, 0.4); |
| 69 | + background-color: rgba(168, 85, 247, 0.2) !important; |
| 70 | + color: #C4B5FD !important; |
| 71 | + border: 1px solid rgba(168, 85, 247, 0.4) !important; |
| 72 | + border-color: rgba(168, 85, 247, 0.4) !important; |
71 | 73 | } |
72 | 74 |
|
73 | 75 | /* Override Fern's pre-release availability badge to show "Alpha" with purple styling */ |
74 | 76 | .fern-docs-badge[title="Pre-release"] { |
75 | 77 | background-color: rgba(168, 85, 247, 0.2) !important; |
76 | | - color: #A78BFA !important; |
77 | 78 | border-color: rgba(168, 85, 247, 0.4) !important; |
78 | 79 | font-size: 0 !important; |
| 80 | + position: relative !important; |
| 81 | + min-width: 52px !important; |
| 82 | + min-height: 24px !important; |
| 83 | + display: inline-flex !important; |
79 | 84 | } |
80 | 85 |
|
81 | 86 | .fern-docs-badge[title="Pre-release"]::after { |
82 | 87 | content: "Alpha"; |
| 88 | + position: absolute; |
| 89 | + top: 50%; |
| 90 | + left: 50%; |
| 91 | + transform: translate(-50%, -50%); |
| 92 | + color: #A78BFA; |
83 | 93 | font-size: 0.75rem; |
| 94 | + line-height: 1; |
| 95 | + white-space: nowrap; |
84 | 96 | } |
85 | 97 |
|
86 | 98 | :is(.dark) .fern-docs-badge[title="Pre-release"] { |
|
0 commit comments