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
bd996a48
Commit
bd996a48
authored
Nov 05, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(viewmode): refining view mode #6476
parent
3df4375e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
89 additions
and
63 deletions
+89
-63
public/app/features/playlist/partials/playlists.html
+1
-2
public/sass/_grafana.scss
+1
-0
public/sass/components/_view_states.scss
+86
-0
public/sass/mixins/_mixins.scss
+1
-10
public/sass/pages/_dashboard.scss
+0
-51
No files found.
public/app/features/playlist/partials/playlists.html
View file @
bd996a48
...
...
@@ -15,9 +15,8 @@
<th><strong>
Name
</strong></th>
<th><strong>
Start url
</strong></th>
<th
style=
"width: 68px"
></th>
<th
style=
"width:
6
8px"
></th>
<th
style=
"width:
7
8px"
></th>
<th
style=
"width: 25px"
></th>
</thead>
<tr
ng-repeat=
"playlist in ctrl.playlists"
>
<td>
...
...
public/sass/_grafana.scss
View file @
bd996a48
...
...
@@ -88,3 +88,4 @@
@import
"old_responsive"
;
@import
"components/view_states.scss"
;
public/sass/components/_view_states.scss
0 → 100644
View file @
bd996a48
@mixin
hide-controls
()
{
.add-row-panel-hint
,
.dash-row-menu-container
{
display
:
none
;
}
.resize-panel-handle
,
.panel-drop-zone
{
visibility
:
hidden
;
}
}
.playlist-active
{
@include
hide-controls
();
.navbar-inner
{
background
:
transparent
;
}
.navbar-brand-btn
,
.navbar-page-btn
{
border
:
none
;
background
:
transparent
;
.fa
,
.icon-gf
{
opacity
:
0
;
}
}
.dashnav-refresh-action
,
.dashnav-zoom-out
,
.dashnav-action-icons
,
.dashnav-move-timeframe
{
display
:
none
;
}
.dash-playlist-actions
{
a
{
color
:
$text-color-faint
!
important
;
}
}
}
.hide-controls
{
@include
hide-controls
();
}
.page-kiosk-mode
{
@include
hide-controls
();
dashnav
{
display
:
none
;
}
}
.user-activity-low
{
.add-row-panel-hint
,
.dash-row-menu-container
,
.resize-panel-handle
,
.panel-drop-zone
.dashnav-refresh-action
,
.dashnav-zoom-out
,
.dashnav-action-icons
,
.dashnav-move-timeframe
{
opacity
:
0
;
transition
:
opacity
1
.5s
ease-in-out
;
}
// navbar buttons
.navbar-brand-btn
,
.navbar-inner
{
border
:
none
;
background
:
transparent
;
transition
:
background
1
.5s
ease-in-out
;
.fa
{
opacity
:
0
;
transition
:
opacity
1
.5s
ease-in-out
;
}
}
.navbar-page-btn
{
border
:
none
;
margin-left
:
-35px
;
background
:
transparent
;
transition
:
margin-left
1
.5s
ease-in-out
;
.icon-gf
{
opacity
:
0
;
transition
:
opacity
1
.5s
ease-in-out
;
}
}
}
public/sass/mixins/_mixins.scss
View file @
bd996a48
...
...
@@ -352,13 +352,4 @@
border-bottom
:
1px
solid
transparent
;
}
@mixin
hide-controls
()
{
.add-row-panel-hint
,
.dash-row-menu
{
display
:
none
;
}
.resize-panel-handle
,
.panel-drop-zone
{
visibility
:
hidden
;
}
}
public/sass/pages/_dashboard.scss
View file @
bd996a48
...
...
@@ -13,58 +13,7 @@
color
:
$variable
;
}
.playlist-active
{
@include
hide-controls
();
.dashnav-refresh-action
,
.dashnav-zoom-out
,
.dashnav-action-icons
,
.dashnav-move-timeframe
{
display
:
none
;
}
.grafana-menu-stop-playlist
{
display
:
list-item
;
}
}
.hide-controls
{
@include
hide-controls
();
}
.page-kiosk-mode
{
@include
hide-controls
();
dashnav
{
display
:
none
;
}
}
.user-activity-low
{
@include
hide-controls
();
.dashnav-refresh-action
,
.dashnav-zoom-out
,
.dashnav-action-icons
,
.dashnav-move-timeframe
{
opacity
:
0
;
transition
:
opacity
1
.5s
ease-in-out
;
}
// navbar buttons
.navbar-inner
{
background
:
transparent
;
transition
:
background
1
.5s
ease-in-out
;
}
.navbar-brand-btn
,
.navbar-page-btn
{
border
:
none
;
background
:
transparent
;
.fa
,
.icon-gf
{
opacity
:
0
;
transition
:
opacity
1s
ease-in-out
;
transition
:
opacity
1
.5s
ease-in-out
;
}
}
}
div
.flot-text
{
color
:
$text-color
!
important
;
...
...
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