Skip to content

🎨 Fix dropdown menu so that active buttons stand out more. #39

@JamesAlfonse

Description

@JamesAlfonse

Screenshot 2024-10-20 at 5 31 06 PM

Added readability to these buttons, but have not been able to make progress on adjusting the colors between the active and non-active buttons. The active buttons look like they're pressed in, but adjusting the colors in the css file for the section below does not work. #134F9B should be a blue color. It's possible that there's a conflict between the css code and the datatables library causing this. One solution could be to download the full library and include it in this repository to have more visible control over the styling. Regardless, I would prefer to look at other stack alternatives first before proceeding with this option #8. I will look into fixing the headers next.

/* Styles for active buttons using aria-pressed attribute */

div.dt-button-collection .dt-button[aria-pressed="true"] {

/* Set background color for active buttons */

background-color: #134F9B !important;

/* Set text color for active buttons */

color: #FFFFFF !important;

}

Originally posted by @JamesAlfonse in #17

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions