As discussed in another thread, @Nick-Hall added a data/gramps.css
file in 5.2 that has the styling for the Addon Manager’s “lozenges”. The file was a bit difficult to find. On a Fedora box for user named districtsupport
, the path was /home/districtsupport/.local/share/gramps/gramps.css
.lozenge {
font-size: small;
color: #ffffff;
background-color: #0d6efd;
padding: 3px;
border-radius: 6px;
box-shadow: 0px 0px 6px black;
}
.addon-row {
border-width: 1px;
border-style: solid;
border-color: alpha(currentColor, .2);
border-radius: 10px;
margin: 1px;
}
paned>separator {
margin: 0px;
padding: 1px;
}
I am hoping that the lozenges will become actionable in the future so they would need different colors for differnt states. (perhaps where blue is default filtering, green is unfiltered and yellow is a user filter.)
It also seemed as though the shadow is a bit harsh. So I tweaked for that…
.lozenge {
font-size: small;
color: #ffffff; /* white text */
background-color: #0d6efd; /* Default blue color */
padding: 3px;
border-radius: 6px;
box-shadow: 1px 3px 2px rgba(10, 10, 50, 0.33); /* Default dark blue shadow */
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}