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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
fb2f7164
Commit
fb2f7164
authored
Apr 19, 2017
by
Andy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix placeholder visibility
parent
bfb635a4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
app/assets/stylesheets/framework/typography.scss
app/assets/stylesheets/framework/typography.scss
+29
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
No files found.
app/assets/stylesheets/framework/typography.scss
View file @
fb2f7164
...
@@ -338,3 +338,32 @@ h4 {
...
@@ -338,3 +338,32 @@ h4 {
.idiff.addition
{
.idiff.addition
{
background
:
$line-added-dark
;
background
:
$line-added-dark
;
}
}
/**
* form text input i.e. search bar, comments, forms, etc.
*/
input
,
textarea
{
&
:
:-
webkit-input-placeholder
{
color
:
$placeholder-text-color
;
}
// support firefox 19+ vendor prefix
&
:
:-
moz-placeholder
{
color
:
$placeholder-text-color
;
opacity
:
1
;
// FF defaults to 0.54
}
// scss-lint:disable PseudoElement
// support Edge vendor prefix
&
:
:-
ms-input-placeholder
{
color
:
$placeholder-text-color
;
}
// scss-lint:disable PseudoElement
// support IE vendor prefix
&
:
-
ms-input-placeholder
{
color
:
$placeholder-text-color
;
}
}
app/assets/stylesheets/framework/variables.scss
View file @
fb2f7164
...
@@ -111,6 +111,7 @@ $gl-gray: $gl-text-color;
...
@@ -111,6 +111,7 @@ $gl-gray: $gl-text-color;
$gl-gray-dark
:
#313236
;
$gl-gray-dark
:
#313236
;
$gl-header-color
:
#4c4e54
;
$gl-header-color
:
#4c4e54
;
$gl-header-nav-hover-color
:
#434343
;
$gl-header-nav-hover-color
:
#434343
;
$placeholder-text-color
:
rgba
(
0
,
0
,
0
,
.42
);
/*
/*
* Lists
* Lists
...
...
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