|
7 | 7 | --bs-nav-tabs-border-width: 0; |
8 | 8 | } |
9 | 9 |
|
| 10 | +.pagination { |
| 11 | + --bs-pagination-active-color: var(--text-color); |
| 12 | + --bs-pagination-active-bg: var(--item-background--active); |
| 13 | + --bs-pagination-active-border-color: var(--item-background--active); |
| 14 | + |
| 15 | + --bs-pagination-hover-color: var(--link-color); |
| 16 | + --bs-pagination-hover-bg: var(--item-background--hover); |
| 17 | + --bs-pagination-hover-border-color: var(--item-background--hover); |
| 18 | + |
| 19 | + --bs-link-color: var(--link-color); |
| 20 | + --bs-pagination-bg: var(--background); |
| 21 | + --bs-pagination-border-color: var(--item-background--hover); |
| 22 | +} |
| 23 | + |
10 | 24 | .modal { |
11 | 25 | --bs-modal-color: var(--text-color); |
12 | 26 | --bs-modal-bg: var(--background); |
@@ -106,23 +120,23 @@ pre { |
106 | 120 | display: flex; |
107 | 121 | } |
108 | 122 |
|
109 | | -.tooltip-inner { |
110 | | - color: #fff; |
111 | | - background-color: rgba(0, 0, 0, 0.8); |
112 | | -} |
113 | | - |
114 | | -.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before { |
115 | | - border-top-color: rgba(0, 0, 0, 0.8); |
| 123 | +.tooltip { |
| 124 | + --bs-tooltip-opacity: 1; |
| 125 | + --bs-tooltip-arrow-width: 0px; |
| 126 | + --bs-tooltip-arrow-height: 0px; |
| 127 | + --bs-tooltip-font-size: 550; |
| 128 | + --bs-tooltip-color: var(--text-color); |
| 129 | + --bs-tooltip-padding-x: 0.8rem; |
| 130 | + --bs-tooltip-padding-y: 0.45rem; |
| 131 | + --bs-tooltip-max-width: min(50vw, 1000px) !important; |
| 132 | + --bs-tooltip-border-radius: 0.66rem; |
| 133 | + --bs-tooltip-bg: #f8f9fa; |
116 | 134 | } |
117 | 135 |
|
118 | | -.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before { |
119 | | - border-right-color: rgba(0, 0, 0, 0.8); |
120 | | -} |
121 | | - |
122 | | -.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before { |
123 | | - border-bottom-color: rgba(0, 0, 0, 0.8); |
124 | | -} |
125 | | - |
126 | | -.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before { |
127 | | - border-left-color: rgba(0, 0, 0, 0.8); |
| 136 | +.tooltip-inner { |
| 137 | + background-color: var(--background); |
| 138 | + font-weight: 550; |
| 139 | + font-size: 0.75rem; |
| 140 | + backdrop-filter: contrast(0.6) brightness(2.4) saturate(2) blur(15px); |
| 141 | + box-shadow: 0 0 8px 2px rgba(0,0,30,.05), 0 0 1px 1px rgba(0,0,20,.025), 0 10px 20px rgba(0,0,20,.15); |
128 | 142 | } |
0 commit comments