light background colors became semi-transparent in v0.35, making them unreadable when they are stacked on top of other elements
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- css
- Área
- frontend
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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?
- Lenguaje dominante
- Rust
- Estrellas
- 2.6k
- Forks
- 175
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 43
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sqlpage/SQLPage
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
sqlpage/SQLPage#1218 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
There is no convenient way to reproduce issuesPosiblemente ocupada @81reap la tomó hace 26 días. Abiertoenhancement
sqlpage/SQLPage#1566 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Confusing sort interfacePosiblemente ocupada @lovasoa la tomó hace 73 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
sqlpage/SQLPage#1442 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Mutation Testing Results :: Dead Code + Missing TestsQuizá libre de nuevo @81reap la tomó hace 61 días y no hay ningún pull request abierto. Abierto
sqlpage/SQLPage#1396 · 5 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de sqlpage/SQLPage
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
symposium-dev/symposium#530 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
topgrade-rs/topgrade#2540 ·
Los mantenedores suelen responder en 1 día
-
Invalid JSON options for ngram and edge_ngram silently use defaultsPosiblemente ocupada @Tilendlesa la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
noemaforge/vimanam#153 ·
Los mantenedores suelen responder en 1 día