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

Removing border from facet section, changing spacing of heading and button #1309

Closed
wants to merge 199 commits into from

Conversation

hudajkhan
Copy link
Contributor

@hudajkhan hudajkhan commented Aug 29, 2024

Addresses #1277

To remove the border around the facet section for the mobile view, we override the border value for .facets-toggleable-md. To vertically align the heading and the button, we remove some padding and margin values that were pushing the text further below.

thatbudakguy and others added 30 commits July 29, 2024 21:08
use bootstrap.bundle instead of bootstrap
update header to stanford header
Now that geoblacklight/geoblacklight#1441 has
been merged we should probably be using main?
Revise text and layout for search widgets on small screens
switch to arrow-circle-fill
--bl-facets-smallish-border: none;
--bs-navbar-toggler-border-color: var(--stanford-digital-blue);
--bs-navbar-color: var(--stanford-digital-blue);
color: var(--stanford-digital-blue);
Copy link
Contributor

Choose a reason for hiding this comment

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

is this color necessary? This rule should apply:

.navbar-toggler {
...
	color: var(--bs-navbar-color);
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For whatever reason, it doesn't work with just the "--bs-navbar-color" definition.The "color" property is set explicitly elsewhere, so --bs-navbar-color isn't the only thing determining the color.

}

.facets-header .navbar-toggler:hover {
color: var(--stanford-digital-blue-dark);
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 Author

Choose a reason for hiding this comment

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

Do you mean, for example, make a variable specifically for the hover color in Blacklight, so we can just override that variable value?

Copy link
Contributor

Choose a reason for hiding this comment

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

Exactly that.

Base automatically changed from bl8 to main August 30, 2024 22:33
@hudajkhan
Copy link
Contributor Author

To make the rebase to main easier, and to get this moving along, I am going to close this PR and open up two new ones:
one for the outline around the facet section and vertical alignment and one for changing the button to a primary outline button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants