Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
c39c8234
Commit
c39c8234
authored
Jun 16, 2015
by
Darby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the placeholder text and modified the css class to make it visible
parent
5fa02489
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
24 deletions
+8
-24
Gemfile.lock
Gemfile.lock
+3
-0
app/assets/stylesheets/generic/zen.scss
app/assets/stylesheets/generic/zen.scss
+4
-23
app/views/projects/_zen.html.haml
app/views/projects/_zen.html.haml
+1
-1
No files found.
Gemfile.lock
View file @
c39c8234
...
@@ -855,3 +855,6 @@ DEPENDENCIES
...
@@ -855,3 +855,6 @@ DEPENDENCIES
virtus
virtus
webmock (~> 1.21.0)
webmock (~> 1.21.0)
wikicloth (= 0.8.1)
wikicloth (= 0.8.1)
BUNDLED WITH
1.10.3
app/assets/stylesheets/generic/zen.scss
View file @
c39c8234
...
@@ -63,43 +63,24 @@
...
@@ -63,43 +63,24 @@
}
}
}
}
// 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
:
#
999
;
color
:
#
A8A8A8
;
}
}
input
:checked
~
.zen-backdrop
textarea
:-moz-placeholder
{
input
:checked
~
.zen-backdrop
textarea
:-moz-placeholder
{
color
:
#
999
;
color
:
#
A8A8A8
;
opacity
:
1
;
opacity
:
1
;
}
}
input
:checked
~
.zen-backdrop
textarea
::-moz-placeholder
{
input
:checked
~
.zen-backdrop
textarea
::-moz-placeholder
{
color
:
#
999
;
color
:
#
A8A8A8
;
opacity
:
1
;
opacity
:
1
;
}
}
input
:checked
~
.zen-backdrop
textarea
:-ms-input-placeholder
{
input
:checked
~
.zen-backdrop
textarea
:-ms-input-placeholder
{
color
:
#
999
;
color
:
#
A8A8A8
;
}
}
}
}
app/views/projects/_zen.html.haml
View file @
c39c8234
...
@@ -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:
'
Leave a comment
'
=
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?
'
=
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment