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

.form-control:focus customization issues #20435

Closed
NicoLB opened this issue Aug 2, 2016 · 0 comments
Closed

.form-control:focus customization issues #20435

NicoLB opened this issue Aug 2, 2016 · 0 comments
Labels

Comments

@NicoLB
Copy link
Contributor

NicoLB commented Aug 2, 2016

I spotted a couple of issues regarding .form-control:focus state.

  1. Missing !default on a couple of variables making it impossible to customize them in
    _custom.scss
$input-bg-focus: $input-bg;
$input-color-focus: $input-color;
  1. Inconsistency with the variables generating shadows
    _variables.scss
$input-box-shadow: 0 1px 1px rgba(0,0,0,.075) !default;
$input-box-shadow-focus: rgba(102,175,233,.6) !default;

mixins/_forms.scss

@mixin form-control-focus() {
  ...
  $shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px $input-box-shadow-focus;
  ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants