Commit 74a6732c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'revert-placeholder' into 'master'

Revert "Changed the placeholder text and modified the css class to make it visible"

This reverts commit c39c8234.

/cc @marin

See merge request !845
parents 82b21a83 e2e8e384
...@@ -63,24 +63,43 @@ ...@@ -63,24 +63,43 @@
} }
} }
// Make the placeholder text in the standard textarea the same color as the
// background, effectively hiding it
.zen-backdrop textarea::-webkit-input-placeholder {
color: white;
}
.zen-backdrop textarea:-moz-placeholder {
color: white;
}
.zen-backdrop textarea::-moz-placeholder {
color: white;
}
.zen-backdrop textarea:-ms-input-placeholder {
color: white;
}
// Make the color of the placeholder text in the Zenned-out textarea darker, // Make the color of the placeholder text in the Zenned-out textarea darker,
// so it becomes visible // so it becomes visible
input:checked ~ .zen-backdrop textarea::-webkit-input-placeholder { input:checked ~ .zen-backdrop textarea::-webkit-input-placeholder {
color: #A8A8A8; color: #999;
} }
input:checked ~ .zen-backdrop textarea:-moz-placeholder { input:checked ~ .zen-backdrop textarea:-moz-placeholder {
color: #A8A8A8; color: #999;
opacity: 1; opacity: 1;
} }
input:checked ~ .zen-backdrop textarea::-moz-placeholder { input:checked ~ .zen-backdrop textarea::-moz-placeholder {
color: #A8A8A8; color: #999;
opacity: 1; opacity: 1;
} }
input:checked ~ .zen-backdrop textarea:-ms-input-placeholder { input:checked ~ .zen-backdrop textarea:-ms-input-placeholder {
color: #A8A8A8; color: #999;
} }
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%input#zen-toggle-comment.zen-toggle-comment{ tabindex: '-1', type: 'checkbox' } %input#zen-toggle-comment.zen-toggle-comment{ tabindex: '-1', type: 'checkbox' }
.zen-backdrop .zen-backdrop
- classes << ' js-gfm-input markdown-area' - classes << ' js-gfm-input markdown-area'
= f.text_area attr, class: classes, placeholder: 'You can tag other participants like this: @michael do you think this is a good idea? Also @deborah, what do you think?' = f.text_area attr, class: classes, placeholder: 'Leave a comment'
= link_to nil, class: 'zen-enter-link', tabindex: '-1' do = link_to nil, class: 'zen-enter-link', tabindex: '-1' do
%i.fa.fa-expand %i.fa.fa-expand
Edit in fullscreen Edit in fullscreen
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment