Adjusted placeholders in login/new user forms - #542

This commit is contained in:
Andy Miller
2016-05-02 18:49:26 -06:00
parent f061c13725
commit 2dc94b8b07
4 changed files with 23 additions and 9 deletions

View File

@@ -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)
*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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%);
}
}
}
@@ -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%);
}
}
}