mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Merge pull request #5506 from lukaszklis/multiline-placeholder-onboarding-5459
Added multiline "placeholder" to 3rd step of setup
This commit is contained in:
commit
71e8bdfab9
3 changed files with 11 additions and 1 deletions
|
@ -384,6 +384,16 @@
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-flow-invite textarea {
|
||||||
|
background: url(img/invite-placeholder.png) 8px 10px no-repeat;
|
||||||
|
background-size: 202px 48px;
|
||||||
|
box-shadow: none; /* Remove some default styling for Firefox (required attribute) */
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-flow-invite textarea:valid {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 460px) {
|
@media (max-width: 460px) {
|
||||||
.gh-flow-content .gh-flow-invite label i {
|
.gh-flow-content .gh-flow-invite label i {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<form class="gh-flow-invite">
|
<form class="gh-flow-invite">
|
||||||
<label>Enter one email address per line, we’ll handle the rest! <i class="icon-mail"></i></label>
|
<label>Enter one email address per line, we’ll handle the rest! <i class="icon-mail"></i></label>
|
||||||
{{textarea class="gh-input" name="users" placeholder="john@example.com" value=users}}
|
{{textarea class="gh-input" name="users" value=users required="required"}}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<button {{action 'invite'}} class="btn btn-default btn-lg btn-block {{buttonClass}}">
|
<button {{action 'invite'}} class="btn btn-default btn-lg btn-block {{buttonClass}}">
|
||||||
|
|
BIN
core/client/public/assets/img/invite-placeholder.png
Normal file
BIN
core/client/public/assets/img/invite-placeholder.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
Loading…
Add table
Reference in a new issue