light background colors became semi-transparent in v0.35, making them unreadable when they are stacked on top of other elements
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- css
- Domínio
- frontend
Direção de pesquisa
The report compares the generated .bg-azure-lt CSS in versions 0.34 and 0.35, but does not identify the source file or a test. Start by searching the repository for .bg-azure-lt and checking how the light-color variables are defined and generated. Done means determining whether the changed opacity is unintended and documenting or testing the expected behavior for stacked rows.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
In my project I use the "Azure" SQLPage color in the last row of my table. I have noticed that there is a difference between behaviour between 0.34 and 0.35:
In 0.34, the css style assigned with my row is
.bg-azure-lt {
--tblr-bg-opacity: 1;
--tblr-text-opacity: 1;
color: rgba(var(--tblr-azure-rgb),var(--tblr-text-opacity)) !important;
background-color: rgba(var(--tblr-azure-lt-rgb),var(--tblr-bg-opacity)) !important;
}
which gives it a solid background color, while in 0.35 the css style is
.bg-azure-lt {
color: color-mix(in srgb,var(--tblr-azure) calc(var(--tblr-text-opacity,1) * 100%),transparent) !important;
background-color: color-mix(in srgb,var(--tblr-azure-lt) calc(var(--tblr-bg-opacity,1) * 100%),transparent) !important;
}
which results in a half-transparent background. Ofc this is irrelevant if the background behind the table row is 100% white, but if the row is sticky, then what happens is that two rows are rendered on top of each other.
I know very little CSS so I cannot understand if this is a bug or a feature... According to Firefox inspector, the --tblr-azure-lt is a color with alpha at 10% (90% transparency), --tblr-azure-lt-rgb is visually the same color but coded in RGB-only, no transparency applied to it.
So, the question is: is it normal that the behavior of the colors changed between 0.34 and 0.35? Is any one of those "correct" or are they both right in their own way?
- Linguagem predominante
- Rust
- Estrelas
- 2.6k
- Forks
- 175
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 43
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de sqlpage/SQLPage
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
sqlpage/SQLPage#1218 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
There is no convenient way to reproduce issuesTalvez já em andamento @81reap assumiu há 26 dias. Abertaenhancement
sqlpage/SQLPage#1566 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Confusing sort interfaceTalvez já em andamento @lovasoa assumiu há 74 dias. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 20/100
sqlpage/SQLPage#1442 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Mutation Testing Results :: Dead Code + Missing TestsTalvez livre de novo @81reap assumiu há 61 dias e não há nenhum pull request aberto. Aberta
sqlpage/SQLPage#1396 · 5 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de sqlpage/SQLPage
Issues semelhantes
-
CI/CD ignore-for-release
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
eclipse-ankaios/ankaios#844 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
std: `SliceIndex<str>` missing for `std::ops` ranges, so generic `R: SliceIndex<str>` bounds failAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
symposium-dev/symposium#530 ·
Mantenedores costumam responder em até 5 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia