Skip to content

Commit

Permalink
paper: fix password inputs in inverse navbars, closes #463
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed May 23, 2015
1 parent 9242604 commit 3c3eca3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion paper/_bootswatch.scss
Expand Up @@ -19,7 +19,8 @@
color: #fff;
@include placeholder($navbar-inverse-link-color);

&[type=text] {
&[type=text],
&[type=password] {
@include box-shadow(inset 0 -1px 0 $navbar-inverse-link-color);

&:focus {
Expand Down
6 changes: 4 additions & 2 deletions paper/bootstrap.css
Expand Up @@ -6598,11 +6598,13 @@ button.close {
.navbar-inverse .form-control::-webkit-input-placeholder {
color: #b2dbfb;
}
.navbar-inverse .form-control[type=text] {
.navbar-inverse .form-control[type=text],
.navbar-inverse .form-control[type=password] {
-webkit-box-shadow: inset 0 -1px 0 #b2dbfb;
box-shadow: inset 0 -1px 0 #b2dbfb;
}
.navbar-inverse .form-control[type=text]:focus {
.navbar-inverse .form-control[type=text]:focus,
.navbar-inverse .form-control[type=password]:focus {
-webkit-box-shadow: inset 0 -2px 0 #ffffff;
box-shadow: inset 0 -2px 0 #ffffff;
}
Expand Down
2 changes: 1 addition & 1 deletion paper/bootstrap.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion paper/bootswatch.less
Expand Up @@ -19,7 +19,8 @@
color: #fff;
.placeholder(@navbar-inverse-link-color);

&[type=text] {
&[type=text],
&[type=password] {
.box-shadow(inset 0 -1px 0 @navbar-inverse-link-color);

&:focus {
Expand Down

0 comments on commit 3c3eca3

Please sign in to comment.