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
5c24fa68
Commit
5c24fa68
authored
Sep 27, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explore: fixes to dark theme, fixes #13349
parent
31b8bf2d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
17 deletions
+12
-17
public/app/features/explore/Explore.tsx
+5
-4
public/sass/components/_form_select_box.scss
+6
-12
public/sass/pages/_explore.scss
+1
-1
No files found.
public/app/features/explore/Explore.tsx
View file @
5c24fa68
...
...
@@ -528,10 +528,11 @@ export class Explore extends React.Component<any, ExploreState> {
{
!
datasourceMissing
?
(
<
div
className=
"navbar-buttons"
>
<
Select
className=
"datasource-picker"
clearable=
{
false
}
className=
"gf-form-input gf-form-input--form-dropdown datasource-picker"
onChange=
{
this
.
onChangeDatasource
}
options=
{
datasources
}
isOpen=
{
true
}
placeholder=
"Loading datasources..."
value=
{
selectedDatasource
}
/>
...
...
@@ -586,17 +587,17 @@ export class Explore extends React.Component<any, ExploreState> {
/>
<
div
className=
"result-options"
>
{
supportsGraph
?
(
<
button
className=
{
`btn
navbar-butto
n ${graphButtonActive}`
}
onClick=
{
this
.
onClickGraphButton
}
>
<
button
className=
{
`btn
toggle-bt
n ${graphButtonActive}`
}
onClick=
{
this
.
onClickGraphButton
}
>
Graph
</
button
>
)
:
null
}
{
supportsTable
?
(
<
button
className=
{
`btn
navbar-butto
n ${tableButtonActive}`
}
onClick=
{
this
.
onClickTableButton
}
>
<
button
className=
{
`btn
toggle-bt
n ${tableButtonActive}`
}
onClick=
{
this
.
onClickTableButton
}
>
Table
</
button
>
)
:
null
}
{
supportsLogs
?
(
<
button
className=
{
`btn
navbar-butto
n ${logsButtonActive}`
}
onClick=
{
this
.
onClickLogsButton
}
>
<
button
className=
{
`btn
toggle-bt
n ${logsButtonActive}`
}
onClick=
{
this
.
onClickLogsButton
}
>
Logs
</
button
>
)
:
null
}
...
...
public/sass/components/_form_select_box.scss
View file @
5c24fa68
...
...
@@ -3,7 +3,7 @@ $select-menu-max-height: 300px;
$select-item-font-size
:
$font-size-base
;
$select-item-bg
:
$dropdownBackground
;
$select-item-fg
:
$input-color
;
$select-option-bg
:
$
dropdownBackground
;
$select-option-bg
:
$
menu-dropdown-bg
;
$select-option-color
:
$input-color
;
$select-noresults-color
:
$text-color
;
$select-input-bg
:
$input-bg
;
...
...
@@ -82,20 +82,14 @@ $select-option-selected-bg: $dropdownLinkBackgroundActive;
width
:
auto
;
}
.Select-option
{
border-left
:
2px
solid
transparent
;
}
.Select-option.is-focused
{
background-color
:
$dropdownLinkBackgroundHover
;
color
:
$dropdownLinkColorHover
;
&
:
:
before
{
position
:
absolute
;
left
:
0
;
top
:
0
;
height
:
100%
;
width
:
2px
;
display
:
block
;
content
:
''
;
background-image
:
linear-gradient
(
to
bottom
,
#ffd500
0%
,
#ff4400
99%
,
#ff4400
100%
);
}
@include
left-brand-border-gradient
();
}
}
...
...
public/sass/pages/_explore.scss
View file @
5c24fa68
...
...
@@ -69,7 +69,7 @@
}
.datasource-picker
{
min-width
:
10rem
;
min-width
:
200px
;
}
.timepicker
{
...
...
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