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
271c597c
Commit
271c597c
authored
Dec 12, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: style tweaks
parent
d379b501
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
17 deletions
+21
-17
public/app/core/components/search/search.html
+3
-3
public/app/core/components/search/search_results.html
+4
-2
public/sass/components/_search.scss
+14
-12
No files found.
public/app/core/components/search/search.html
View file @
271c597c
...
...
@@ -55,15 +55,15 @@
</div>
<div
class=
"search-filter-box"
>
<a
href=
"dashboard/new"
class=
"search-filter-box-
item
"
>
<a
href=
"dashboard/new"
class=
"search-filter-box-
link
"
>
<i
class=
"gicon gicon-dashboard-new"
></i>
Dashboard
</a>
<a
href=
"dashboards/folder/new"
class=
"search-filter-box-
item
"
>
<a
href=
"dashboards/folder/new"
class=
"search-filter-box-
link
"
>
<i
class=
"gicon gicon-folder-new"
></i>
Folder
</a>
<a
class=
"search-
button-row-explore
-link"
target=
"_blank"
href=
"https://grafana.com/dashboards?utm_source=grafana_search"
>
<a
class=
"search-
filter-box
-link"
target=
"_blank"
href=
"https://grafana.com/dashboards?utm_source=grafana_search"
>
<img
src=
"public/img/icn-dashboard-tiny.svg"
width=
"20"
/>
Find dashboards on Grafana.com
</a>
</div>
...
...
public/app/core/components/search/search_results.html
View file @
271c597c
...
...
@@ -13,9 +13,10 @@
<div
ng-show=
"ctrl.editable && section.id > 0"
ng-click=
"ctrl.navigateToFolder(section, $event)"
>
<i
class=
"fa fa-cog search-section__header__toggle"
></i>
</div>
<i
class=
"fa fa-minus
search-section__header__toggle"
ng-show=
"section.expanded"
></i>
<i
class=
"fa fa-
plus
search-section__header__toggle"
ng-hide=
"section.expanded"
></i>
<i
class=
"fa fa-angle-down
search-section__header__toggle"
ng-show=
"section.expanded"
></i>
<i
class=
"fa fa-
angle-right
search-section__header__toggle"
ng-hide=
"section.expanded"
></i>
</a>
<div
class=
"search-section__header"
ng-show=
"section.hideHeader"
></div>
<div
ng-if=
"section.expanded"
>
...
...
@@ -45,3 +46,4 @@
</a>
</div>
</div>
public/sass/components/_search.scss
View file @
271c597c
...
...
@@ -83,11 +83,17 @@
margin-bottom
:
$spacer
*
1
.5
;
}
.search-filter-box-
item
{
.search-filter-box-
link
{
display
:block
;
margin-bottom
:
16px
;
i
{
&
:last-child
{
margin-bottom
:
0
;
}
i
,
img
{
font-size
:
20px
;
margin-right
:
5px
;
}
}
...
...
@@ -116,31 +122,27 @@
.search-section
{
background
:
$panel-bg
;
border
:
$panel-border
;
padding
:
0px
10px
2px
10
px
;
padding
:
0px
4px
4px
4
px
;
margin-bottom
:
3px
;
border-radius
:
5px
;
}
.search-section__header
{
font-size
:
$font-size-h6
;
padding
:
6px
0
4
px
0
;
padding
:
7px
4px
3
px
0
;
color
:
$text-color-weak
;
display
:
flex
;
flex-grow
:
1
;
&
:hover
,
&
.selected
{
color
:
$link-hover-color
;
.search-section__header__toggle
{
background
:
$tight-form-func-bg
;
color
:
$link-hover-color
;
}
color
:
$text-color
;
}
}
.search-section__header__icon
{
padding
:
5px
10px
;
width
:
35px
;
padding
:
5px
0px
;
width
:
43px
;
text-align
:
center
;
}
.search-section__header__toggle
{
...
...
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