| 1 |
.ai-stat-bar-editor, .ai-stat-bar-frontend { |
| 2 |
width: 100%; |
| 3 |
margin: 0.5rem 0 1.5rem 0; |
| 4 |
} |
| 5 |
|
| 6 |
.ai-stat-bar-track { |
| 7 |
width: 100%; |
| 8 |
height: 22px; |
| 9 |
background: #e5e7eb; |
| 10 |
border-radius: 12px; |
| 11 |
overflow: hidden; |
| 12 |
position: relative; |
| 13 |
box-shadow: 0 2px 8px rgba(37,99,235,0.04); |
| 14 |
} |
| 15 |
|
| 16 |
.ai-stat-bar-fill { |
| 17 |
height: 100%; |
| 18 |
border-radius: 12px; |
| 19 |
display: flex; |
| 20 |
align-items: center; |
| 21 |
justify-content: flex-end; |
| 22 |
font-weight: 600; |
| 23 |
font-size: 1rem; |
| 24 |
color: #fff; |
| 25 |
padding-right: 18px; |
| 26 |
transition: width 0.7s cubic-bezier(.4,2,.6,1), background 0.3s; |
| 27 |
min-width: 40px; |
| 28 |
box-sizing: border-box; |
| 29 |
position: relative; |
| 30 |
} |
| 31 |
|
| 32 |
.ai-stat-bar-label { |
| 33 |
position: relative; |
| 34 |
z-index: 2; |
| 35 |
font-size: 1rem; |
| 36 |
color: #fff; |
| 37 |
text-shadow: 0 1px 2px rgba(0,0,0,0.08); |
| 38 |
} |
| 39 |
|
| 40 |
/* Editor preview: add a border */ |
| 41 |
.ai-stat-bar-editor .ai-stat-bar-track { |
| 42 |
border: 1px dashed #2563eb; |
| 43 |
} |
| 44 |
|
| 45 |
/* Responsive */ |
| 46 |
@media (max-width: 600px) { |
| 47 |
.ai-stat-bar-track { |
| 48 |
height: 16px; |
| 49 |
} |
| 50 |
.ai-stat-bar-label { |
| 51 |
font-size: 0.85rem; |
| 52 |
padding-right: 8px; |
| 53 |
} |
| 54 |
} |