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
795d9c03
Commit
795d9c03
authored
Dec 11, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: fixed navbar and sidemenu z-index issue and improved responsive rules
parent
2ce4a8e4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
16 deletions
+24
-16
pkg/cmd/grafana-server/main.go
+1
-1
public/sass/components/_navbar.scss
+22
-7
public/sass/components/_sidemenu.scss
+1
-8
No files found.
pkg/cmd/grafana-server/main.go
View file @
795d9c03
...
...
@@ -30,7 +30,7 @@ import (
_
"github.com/grafana/grafana/pkg/tsdb/testdata"
)
var
version
=
"
4.6
.0"
var
version
=
"
5.0
.0"
var
commit
=
"NA"
var
buildstamp
string
var
build_date
string
...
...
public/sass/components/_navbar.scss
View file @
795d9c03
.navbar
{
position
:
relative
;
padding-left
:
$side-menu-width
;
margin-left
:
40px
;
// box-shadow: $navbarShadow;
z-index
:
$zindex-navbar-fixed
;
// background: $navbarBackground;
...
...
@@ -11,12 +11,6 @@
flex-grow
:
1
;
}
.sidemenu-open
{
.navbar
{
padding-left
:
15px
;
}
}
.navbar-page-btn
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
...
...
@@ -44,6 +38,8 @@
line-height
:
8px
;
opacity
:
0
.75
;
margin-right
:
8px
;
// icon hidden on smaller screens
display
:
none
;
}
}
...
...
@@ -111,3 +107,22 @@
}
}
}
@include
media-breakpoint-up
(
sm
)
{
.navbar
{
margin-left
:
50px
;
}
.sidemenu-open
{
.navbar
{
margin-left
:
15px
;
}
}
.navbar-page-btn
{
.gicon
{
display
:
inline-block
;
}
}
}
public/sass/components/_sidemenu.scss
View file @
795d9c03
...
...
@@ -16,7 +16,6 @@
.sidemenu__close
{
display
:
none
;
}
}
// body class that hides sidemenu
...
...
@@ -191,12 +190,6 @@ li.sidemenu-org-switcher {
}
@include
media-breakpoint-down
(
xs
)
{
.sidemenu-open
{
.navbar
{
padding-left
:
60px
!
important
;
}
}
.sidemenu-open--xs
{
.sidemenu
{
width
:
100%
;
...
...
@@ -227,7 +220,7 @@ li.sidemenu-org-switcher {
}
.sidemenu__logo_small_breakpoint
{
padding
:
1
2
px
10px
26px
;
padding
:
1
6
px
10px
26px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
...
...
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