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
5d51b439
Commit
5d51b439
authored
Feb 20, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(): trying to cleanup new form styles, probably broken it
parent
9ae050f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
59 deletions
+19
-59
public/sass/components/_gf-form.scss
+19
-59
No files found.
public/sass/components/_gf-form.scss
View file @
5d51b439
...
...
@@ -51,6 +51,7 @@ $gf-form-label-margin: 0.2rem;
display
:
block
;
font-size
:
$font-size-sm
;
margin-right
:
$gf-form-label-margin
;
border
:
$input-btn-border-width
solid
transparent
;
@include
border-radius
(
$label-border-radius-sm
);
}
...
...
@@ -103,71 +104,30 @@ $gf-form-label-margin: 0.2rem;
&
.gf-size-auto
{
width
:
auto
;
}
}
.gf-form-input
>
select
{
width
:
115%
;
min-width
:
110%
;
max-width
:
115%
;
height
:
24px
;
margin
:
0
;
padding
:
0
20px
0
0
;
border
:
0
;
outline
:
none
;
background
:
transparent
;
color
:
$input-color
;
font-size
:
16px
;
font-weight
:
400
;
line-height
:
24px
;
text-indent
:
.01px
;
select
.gf-form-input
{
text-overflow
:
''
;
-webkit-appearance
:
none
;
-moz-appearance
:
menulist-text
;
// was set to "window" and caused odd display on windos and linux.
appearance
:
none
;
}
// This hides native dropdown button arrow in IE
.
gf-form-input
>
select
:
:-
ms-expand
{
display
:
none
;
}
.gf-form-input
:after
>
select
: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-input
>
select
:focus
{
outline
:
none
;
}
// This hides focus around selected option in FF
.
gf-form-input
>
select
:
-
moz-focusring
{
color
:
transparent
;
text-shadow
:
0
0
0
#adafae
;
}
// .gf-form-input {
// margin: 0;
// background: $input-color;
// }
.gf-form-select-interior
{
margin
:
0
;
background-color
:
$input-bg
;
border
:
1px
solid
$input-bg
;
}
&
: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-input
>
select
{
height
:
34px
;
line-height
:
34px
;
&
:
-
moz-focusring
{
color
:
transparent
;
}
}
.gf-form-btn
{
...
...
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