|
52 | 52 | .header-name { display:flex; flex-direction:column; min-width:0; flex-shrink:1; } |
53 | 53 | .header-name strong { |
54 | 54 | color:#fff; font-size:1rem; font-weight:700; |
55 | | - letter-spacing:.02em; line-height:1.2; |
| 55 | + letter-spacing:.02em; line-height:1.15; |
| 56 | + white-space:nowrap; overflow:hidden; text-overflow:ellipsis; |
| 57 | + } |
| 58 | + .header-name small { |
| 59 | + color:var(--verde-light); font-size:.58rem; font-weight:600; |
| 60 | + letter-spacing:.07em; text-transform:uppercase; |
56 | 61 | white-space:nowrap; overflow:hidden; text-overflow:ellipsis; |
57 | 62 | } |
58 | 63 | .header-right { |
|
149 | 154 | /* ── MOBILE ── */ |
150 | 155 | @media (max-width:700px) { |
151 | 156 | .header-logo-img { height:34px; } |
152 | | - .header-name strong { font-size:.88rem; } |
| 157 | + .header-name strong { font-size:.85rem; } |
| 158 | + .header-name small { font-size:.55rem; display:block; } |
153 | 159 | .header-title { display:none; } |
154 | 160 | .status-badge { font-size:.65rem; padding:4px 9px; } |
155 | 161 |
|
|
159 | 165 | .grafico-item:first-child { border-right:none; border-bottom:1px solid var(--border); } |
160 | 166 | } |
161 | 167 |
|
162 | | - /* ── telas muito pequenas (< 380px) ── */ |
163 | | - @media (max-width:380px) { |
164 | | - .header-name strong { font-size:.75rem; } |
| 168 | + /* ── telas muito pequenas (< 420px) ── */ |
| 169 | + @media (max-width:420px) { |
| 170 | + .header-name strong { font-size:.78rem; } |
| 171 | + .header-name small { font-size:.5rem; display:block; } |
| 172 | + .header-logo-img { height:30px; } |
165 | 173 | .status-badge { font-size:.6rem; padding:4px 7px; gap:4px; } |
| 174 | + } |
| 175 | + |
| 176 | + /* ── telas minúsculas (< 340px) ── */ |
| 177 | + @media (max-width:340px) { |
| 178 | + .header-name small { display:none; } |
166 | 179 | .header-divider { display:none; } |
167 | 180 | } |
168 | 181 | </style> |
|
177 | 190 | <div class="header-divider"></div> |
178 | 191 | <div class="header-name"> |
179 | 192 | <strong>Vansan Therm</strong> |
| 193 | + <small>Monitoramento Inteligente</small> |
180 | 194 | </div> |
181 | 195 | </div> |
182 | 196 | <div class="header-right"> |
|
0 commit comments