light background colors became semi-transparent in v0.35, making them unreadable when they are stacked on top of other elements
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- css
- Ambito
- frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- Rust
- Stelle
- 2.6k
- Fork
- 175
- Merge medio
- 14h 16m
- PR unite (30g)
- 43
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sqlpage/SQLPage
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
sqlpage/SQLPage#1218 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
There is no convenient way to reproduce issuesForse già presa @81reap l’ha presa 26 giorni fa. Apertaenhancement
sqlpage/SQLPage#1566 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Confusing sort interfaceForse già presa @lovasoa l’ha presa 74 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
sqlpage/SQLPage#1442 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Mutation Testing Results :: Dead Code + Missing TestsForse di nuovo libera @81reap l’ha presa 61 giorni fa e non c’è nessuna pull request aperta. Aperta
sqlpage/SQLPage#1396 · 5 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sqlpage/SQLPage
Issue simili
-
CI/CD ignore-for-release
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
eclipse-ankaios/ankaios#844 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
std: `SliceIndex<str>` missing for `std::ops` ranges, so generic `R: SliceIndex<str>` bounds failAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
symposium-dev/symposium#530 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno