BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3a8d646f
Commit
3a8d646f
authored
Nov 30, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'winh-select2-search-padding' into 'master'
Align Select2 search field Closes #39451 See merge request gitlab-org/gitlab-ce!15048
parents
563b40e4
45d7083d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
selects.scss
app/assets/stylesheets/framework/selects.scss
+13
-5
No files found.
app/assets/stylesheets/framework/selects.scss
View file @
3a8d646f
...
@@ -134,19 +134,22 @@
...
@@ -134,19 +134,22 @@
}
}
.select2-search
{
.select2-search
{
padding
:
15px
15px
5px
;
padding
:
$grid-size
;
.select2-drop-auto-width
&
{
.select2-drop-auto-width
&
{
padding
:
15px
15px
5px
;
padding
:
$grid-size
;
}
}
input
{
input
{
padding
:
2px
25px
2px
5px
;
padding
:
$grid-size
;
background
:
$white-light
image-url
(
'select2.png'
);
background
:
$white-light
image-url
(
'select2.png'
);
background-clip
:
content-box
;
background-origin
:
content-box
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
right
0
bottom
6px
;
background-position
:
right
0
bottom
0
!
important
;
border
:
1px
solid
$input-border
;
border
:
1px
solid
$input-border
;
border-radius
:
$border-radius-default
;
border-radius
:
$border-radius-default
;
line-height
:
16px
;
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
&
:focus
{
&
:focus
{
...
@@ -156,11 +159,16 @@
...
@@ -156,11 +159,16 @@
&
.select2-active
{
&
.select2-active
{
background-color
:
$white-light
;
background-color
:
$white-light
;
background-image
:
image-url
(
'select2-spinner.gif'
)
!
important
;
background-image
:
image-url
(
'select2-spinner.gif'
)
!
important
;
background-origin
:
content-box
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
right
5
px
center
!
important
;
background-position
:
right
6
px
center
!
important
;
background-size
:
16px
16px
!
important
;
background-size
:
16px
16px
!
important
;
}
}
}
}
+
.select2-results
{
padding-top
:
0
;
}
}
}
.select2-results
{
.select2-results
{
...
...
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