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
1f28ff68
Commit
1f28ff68
authored
Feb 20, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(): added gf-form-select-wrapper
parent
640c9a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
29 deletions
+28
-29
public/app/features/datasources/partials/edit.html
+3
-1
public/sass/components/_gf-form.scss
+25
-28
No files found.
public/app/features/datasources/partials/edit.html
View file @
1f28ff68
...
...
@@ -20,7 +20,9 @@
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-7"
>
Type
</span>
<select
class=
"gf-form-input gf-size-auto"
ng-model=
"current.type"
ng-options=
"k as v.name for (k, v) in types"
ng-change=
"typeChanged()"
></select>
<div
class=
"gf-form-select-wrapper"
>
<select
class=
"gf-form-input gf-size-auto"
ng-model=
"current.type"
ng-options=
"k as v.name for (k, v) in types"
ng-change=
"typeChanged()"
></select>
</div>
</div>
</div>
...
...
public/sass/components/_gf-form.scss
View file @
1f28ff68
...
...
@@ -104,34 +104,31 @@ $gf-form-label-margin: 0.2rem;
&
.gf-size-auto
{
width
:
auto
;
}
}
// select.gf-form-input {
// -webkit-appearance: none;
// -moz-appearance: menulist-text; // was set to "window" and caused odd display on windos and linux.
// appearance: none;
//
//
// &:-moz-focusring {
// color: transparent;
// }
// }
//
// .gf-form-select-wrapper {
// position: relative;
// &:after {
// position: absolute;
// top: 50%;
// right: 10px;
// height: 12px;
// margin-top: -6px;
// padding: 0;
// background-color: transparent;
// color: $input-color;
// font: normal normal normal 14px/1 FontAwesome;
// text-align: center;
// content: '\f0d7';
// pointer-events: none;
// }
// }
.gf-form-select-wrapper
{
position
:
relative
;
select
.gf-form-input
{
padding-right
:
$input-padding-x
*
2
;
-webkit-appearance
:
none
;
-moz-appearance
:
menulist-text
;
// was set to "window" and caused odd display on windos and linux.
appearance
:
none
;
&
:
-
moz-focusring
{
color
:
transparent
;
}
}
&
:after
{
position
:
absolute
;
top
:
35%
;
right
:
$input-padding-x
/
2
;
background-color
:
transparent
;
color
:
$input-color
;
font
:
normal
normal
normal
$font-size-sm
/
1
FontAwesome
;
content
:
'\f0d7'
;
pointer-events
:
none
;
}
}
.gf-form-btn
{
padding
:
$input-padding-y
$input-padding-x
;
...
...
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