Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1346 Make facet buttons blue #1346

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions app/assets/stylesheets/earthworks.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
/* center these widgets on small screens */
@media (max-width: 575.98px) {
justify-content: center;
}
}
}

.search-widgets .btn, .clear-bookmarks {
Expand All @@ -120,7 +120,7 @@
& > .page-links {
padding-right: 0;
}
}
}
}

.sort-pagination, .pagination-search-widgets {
Expand Down Expand Up @@ -313,3 +313,21 @@ label.toggle-bookmark {
--bs-link-color-rgb: var(--stanford-digital-blue-dark-rgb);
text-decoration: underline;
}

.constraint-value.btn-outline-secondary {
Copy link
Contributor

@jcoyne jcoyne Sep 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Secondary is defined as red in the component library. Can you change the class to be btn-outline-primary instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

--bs-btn-color: var(--stanford-digital-blue);
--bs-btn-border-color: var(--stanford-digital-blue);
--bs-btn-hover-color: var(--stanford-digital-blue);
--bs-btn-hover-border-color: var(--stanford-digital-blue);
--bs-btn-active-color: var(--stanford-digital-blue);
--bs-btn-active-border-color: var(--stanford-digital-blue);
}

.remove.btn-outline-secondary {
--bs-btn-color: var(--stanford-digital-blue);
--bs-btn-border-color: var(--stanford-digital-blue);
--bs-btn-active-color: var(--stanford-digital-blue);
--bl-constraint-remove-hover-bg: var(--stanford-digital-blue);
--bl-constraint-remove-hover-border-color: var(--stanford-digital-blue);
--bs-btn-hover-color: white;
}