|
1 | | -body { |
2 | | - margin: 0; |
3 | | - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', |
4 | | - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', |
5 | | - sans-serif; |
6 | | - -webkit-font-smoothing: antialiased; |
7 | | - -moz-osx-font-smoothing: grayscale; |
| 1 | +body, html, :root { |
| 2 | + min-height: 100vh; |
| 3 | + box-sizing: border-box; |
| 4 | + padding: 0; |
| 5 | + margin: 0; |
8 | 6 | } |
9 | 7 |
|
10 | | -code { |
11 | | - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', |
12 | | - monospace; |
13 | | -} |
14 | | - |
15 | | -* { |
16 | | - box-sizing: border-box; |
17 | | -} |
18 | | - |
19 | | -html, body, #root { |
20 | | - height: 100%; |
21 | | -} |
22 | | - |
23 | | -/* Adjust focus styles for accessibility */ |
24 | | -*:focus { |
25 | | - outline: 2px solid rgba(100, 58, 97, 0.5); |
26 | | - outline-offset: 2px; |
27 | | -} |
28 | 8 |
|
29 | | -/* Better button styling */ |
30 | | -button { |
31 | | - cursor: pointer; |
32 | | -} |
| 9 | +/* Global Custom Scrollbar */ |
| 10 | +::-webkit-scrollbar { |
| 11 | + overflow-y: auto; /* Ensure scrollable content */ |
| 12 | + scrollbar-width: thin; /* For Firefox */ |
| 13 | + scrollbar-color: rgba(100, 100, 100, 0.7) transparent; /* For Firefox */ |
| 14 | + } |
| 15 | + |
| 16 | + /* Webkit-based browsers */ |
| 17 | + ::-webkit-scrollbar { |
| 18 | + width: 6px; |
| 19 | + } |
| 20 | + |
| 21 | + ::-webkit-scrollbar-thumb { |
| 22 | + background-color: rgba(100, 100, 100, 0.7); |
| 23 | + border-radius: 3px; |
| 24 | + } |
| 25 | + |
| 26 | + ::-webkit-scrollbar-thumb:hover { |
| 27 | + background-color: rgba(100, 100, 100, 1); |
| 28 | + } |
| 29 | + |
| 30 | + ::-webkit-scrollbar-track { |
| 31 | + /* background: red; */ |
| 32 | + } |
| 33 | + |
| 34 | + * { |
| 35 | + -webkit-overflow-scrolling: touch; |
| 36 | + scroll-behavior: smooth; |
| 37 | + } |
33 | 38 |
|
34 | | -button:active { |
35 | | - transform: translateY(1px); |
| 39 | + .chart-container canvas { |
| 40 | + --chartBarColor: var(--colorBrandBackground); |
| 41 | + --chartHoverColor: var(--colorBrandBackgroundHover); |
| 42 | + --chartBorderColor: var(--colorBrandForeground1); |
| 43 | + --chartLineColor: var(--colorBrandForeground1); |
| 44 | + --chartPointColor: var(--colorBrandBackground); |
| 45 | + --chartPointBorderColor: var(--colorBrandForeground1); |
36 | 46 | } |
0 commit comments