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

Add $s2bs-input-border-width variable #55

Open
AlexanderPoellmann opened this issue Nov 6, 2016 · 0 comments
Open

Add $s2bs-input-border-width variable #55

AlexanderPoellmann opened this issue Nov 6, 2016 · 0 comments

Comments

@AlexanderPoellmann
Copy link

I use a custom border-width on my buttons and form-controls of 3px using a custom variable which I called $input-border-width.

At the moment I override the select2-bootstrap-theme like so:

.select2-container--bootstrap {
	.select2-selection {
		border-width:$input-border-width;
	}

	.select2-search--dropdown {
		.select2-search__field {
			border-width:$input-border-width;
		}
	}

	.select2-dropdown {
		border-width:$input-border-width;
	}
}

It would be nice to have variable like $s2bs-input-border-width available in the first place, that spares me those additional lines.

That doesn't change anything for existing installs, yet enables users to customize the styles in a more consistent way.

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

No branches or pull requests

1 participant