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
c5be95e4
Commit
c5be95e4
authored
Apr 29, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Began polish and tweaks of new template variable multi select dropdown
parent
b762f56a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
10 deletions
+21
-10
public/app/features/dashboard/partials/variableValueSelect.html
+2
-3
public/css/less/submenu.less
+19
-7
public/css/less/variables.dark.less
+0
-0
No files found.
public/app/features/dashboard/partials/variableValueSelect.html
View file @
c5be95e4
...
...
@@ -7,10 +7,9 @@
</a>
<div
ng-if=
"selectorOpen"
class=
"variable-value-dropdown"
>
<div
class=
"
search-field
-wrapper"
>
<div
class=
"
variable-search
-wrapper"
>
<span
style=
"position: relative;"
>
<input
type=
"text"
placeholder=
"Search variable values"
give-focus=
"giveFocus"
tabindex=
"1"
ng-keydown=
"keyDown($event)"
ng-model=
"query.query"
ng-model-options=
"{ debounce: 500 }"
spellcheck=
'false'
ng-change=
"search()"
/>
<input
type=
"text"
placeholder=
"Search values..."
give-focus=
"giveFocus"
tabindex=
"1"
ng-model=
"query.query"
spellcheck=
'false'
ng-change=
"search()"
/>
</span>
</div>
...
...
public/css/less/submenu.less
View file @
c5be95e4
...
...
@@ -28,27 +28,29 @@
position: absolute;
top: 43px;
min-width: 200px;
height: 400px;
max-
height: 400px;
background: @grafanaPanelBackground;
box-shadow: 0px 0px 55px 0px black;
border: 1px solid @grafanaTargetFuncBackground;
z-index: 1000;
padding: 10px;
font-size: @baseFontSize;
padding: 4px 4px 8px 4px;
}
.variable-options-container {
height: 350px;
.variable-options-container {
max-
height: 350px;
overflow: auto;
display: block;
line-height: 28px;
}
}
.variable-option {
.variable-option {
display: block;
.fa {
font-size: 130%;
position: relative;
top: 2px;
padding-right: 6
px;
padding-right: 4
px;
}
.fa-check-square-o { display: none; }
...
...
@@ -60,5 +62,15 @@
display: inline-block;
}
}
}
.variable-search-wrapper {
input {
width: 100%;
padding: 7px 8px;
height: 100%;
box-sizing: border-box;
margin-bottom: 6px;
}
}
public/css/less/variables.dark.less
View file @
c5be95e4
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