Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
42ba13b3
Unverified
Commit
42ba13b3
authored
May 05, 2020
by
Tobias Skarhed
Committed by
GitHub
May 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: Set autofill color (#24290)
parent
d3b19adb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
packages/grafana-ui/src/components/Forms/commonStyles.ts
+2
-0
No files found.
packages/grafana-ui/src/components/Forms/commonStyles.ts
View file @
42ba13b3
...
@@ -25,12 +25,14 @@ export const sharedInputStyle = (theme: GrafanaTheme, invalid = false) => {
...
@@ -25,12 +25,14 @@ export const sharedInputStyle = (theme: GrafanaTheme, invalid = false) => {
&:-webkit-autofill:hover {
&:-webkit-autofill:hover {
/* Welcome to 2005. This is a HACK to get rid od Chromes default autofill styling */
/* Welcome to 2005. This is a HACK to get rid od Chromes default autofill styling */
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px
${
colors
.
formInputBg
}
!important;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px
${
colors
.
formInputBg
}
!important;
-webkit-text-fill-color:
${
colors
.
formInputText
}
!important;
}
}
&:-webkit-autofill:focus {
&:-webkit-autofill:focus {
/* Welcome to 2005. This is a HACK to get rid od Chromes default autofill styling */
/* Welcome to 2005. This is a HACK to get rid od Chromes default autofill styling */
box-shadow: 0 0 0 2px
${
theme
.
colors
.
bodyBg
}
, 0 0 0px 4px
${
theme
.
colors
.
formFocusOutline
}
,
box-shadow: 0 0 0 2px
${
theme
.
colors
.
bodyBg
}
, 0 0 0px 4px
${
theme
.
colors
.
formFocusOutline
}
,
inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px
${
colors
.
formInputBg
}
!important;
inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px
${
colors
.
formInputBg
}
!important;
-webkit-text-fill-color:
${
colors
.
formInputText
}
!important;
}
}
&:hover {
&:hover {
...
...
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