Skip to content

Commit

Permalink
Adjusted placeholders in login/new user forms - #542
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed May 3, 2016
1 parent f061c13 commit 2dc94b8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
1. [](#improved)
* Fixed UI issue with Backup / Update buttons positioning
* Tweaked placeholders color in login/new user panels [#542](https://github.com/getgrav/grav-plugin-admin/issues/542)
1. [](#bugfix)
*

Expand Down
4 changes: 2 additions & 2 deletions themes/grav/css-compiled/preset.css

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion themes/grav/css-compiled/preset.css.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions themes/grav/scss/preset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ tr {
&.wide form input {
@include placeholder {
@include placeholder {
@if (lightness($page-bg) < 50) {
color: tint($page-bg, 25%);
@if (lightness($nav-bg) < 50) {
color: shade($nav-text, 25%);
} @else {
color: shade($page-bg, 25%);
color: tint($nav-text, 25%);
}
}
}
Expand All @@ -294,10 +294,10 @@ tr {
color: $nav-link;
border: 1px solid shade($nav-bg, 20%);
@include placeholder {
@if (lightness($page-bg) < 50) {
color: tint($nav-bg, 25%);
@if (lightness($nav-bg) < 50) {
color: shade($nav-text, 25%);
} @else {
color: shade($nav-bg, 25%);
color: tint($nav-text, 25%);
}
}
}
Expand Down

0 comments on commit 2dc94b8

Please sign in to comment.