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
84031649
Unverified
Commit
84031649
authored
May 22, 2020
by
Tobias Skarhed
Committed by
GitHub
May 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LoginPage: Fix hover color for service buttons (#25009)
* Set explicit hover color * Use cx
parent
b5bf54f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
public/app/core/components/Login/LoginServiceButtons.tsx
+5
-2
No files found.
public/app/core/components/Login/LoginServiceButtons.tsx
View file @
84031649
import
React
from
'react'
;
import
config
from
'app/core/config'
;
import
{
css
}
from
'emotion'
;
import
{
css
,
cx
}
from
'emotion'
;
import
{
useStyles
}
from
'@grafana/ui'
;
import
{
GrafanaTheme
}
from
'@grafana/data'
;
...
...
@@ -71,6 +71,9 @@ const getServiceStyles = (theme: GrafanaTheme) => {
color: #d8d9da;
margin: 0 0
${
theme
.
spacing
.
md
}
;
width: 100%;
&:hover {
color: #fff;
}
`
,
divider
:
{
base
:
css
`
...
...
@@ -128,7 +131,7 @@ export const LoginServiceButtons = () => {
return
(
<
a
key=
{
key
}
className=
{
`${styles.button} btn btn-medium btn-service btn-service--${service.className || key}`
}
className=
{
cx
(
`btn btn-medium btn-service btn-service--${service.className || key}`
,
styles
.
button
)
}
href=
{
`login/${service.hrefName ? service.hrefName : key}`
}
target=
"_self"
>
...
...
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