Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
1c82fdf2
Commit
1c82fdf2
authored
May 17, 2017
by
Annabel Dunstone Gray
Committed by
Clement Ho
May 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert fa-history to svg; tweak alignment
parent
d0db4080
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+1
-1
app/assets/stylesheets/framework/filters.scss
app/assets/stylesheets/framework/filters.scss
+12
-13
app/views/shared/icons/_icon_history.svg
app/views/shared/icons/_icon_history.svg
+1
-0
app/views/shared/issuable/_search_bar.html.haml
app/views/shared/issuable/_search_bar.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
1c82fdf2
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
.fa-chevron-down
{
.fa-chevron-down
{
font-size
:
$dropdown-chevron-size
;
font-size
:
$dropdown-chevron-size
;
position
:
relative
;
position
:
relative
;
top
:
-
3
px
;
top
:
-
2
px
;
margin-left
:
5px
;
margin-left
:
5px
;
}
}
...
...
app/assets/stylesheets/framework/filters.scss
View file @
1c82fdf2
...
@@ -283,17 +283,10 @@
...
@@ -283,17 +283,10 @@
.filtered-search-history-dropdown-toggle-button
{
.filtered-search-history-dropdown-toggle-button
{
flex
:
1
;
flex
:
1
;
width
:
auto
;
width
:
auto
;
padding-right
:
10px
;
border-radius
:
0
;
border-radius
:
0
;
border-top
:
0
;
border
:
0
;
border-left
:
0
;
border-bottom
:
0
;
border-right
:
1px
solid
$border-color
;
border-right
:
1px
solid
$border-color
;
color
:
$gl-text-color-secondary
;
color
:
$gl-text-color-secondary
;
line-height
:
1
;
transition
:
color
0
.1s
linear
;
transition
:
color
0
.1s
linear
;
&
:hover
,
&
:hover
,
...
@@ -301,6 +294,17 @@
...
@@ -301,6 +294,17 @@
color
:
$gl-text-color
;
color
:
$gl-text-color
;
border-color
:
$dropdown-input-focus-border
;
border-color
:
$dropdown-input-focus-border
;
outline
:
none
;
outline
:
none
;
svg
{
fill
:
$gl-text-color
;
}
}
svg
{
height
:
14px
;
width
:
14px
;
fill
:
$gl-text-color-secondary
;
vertical-align
:
middle
;
}
}
.dropdown-toggle-text
{
.dropdown-toggle-text
{
...
@@ -312,11 +316,6 @@
...
@@ -312,11 +316,6 @@
color
:
inherit
;
color
:
inherit
;
}
}
}
}
.fa
{
position
:
static
;
}
}
}
.filtered-search-history-dropdown
{
.filtered-search-history-dropdown
{
...
...
app/views/shared/icons/_icon_history.svg
0 → 100644
View file @
1c82fdf2
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"1792"
height=
"1792"
viewBox=
"0 0 1792 1792"
><path
d=
"M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5T305 1387q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5T1258 1258t109.5-163.5T1408 896t-40.5-198.5T1258 534t-163.5-109.5T896 384q-98 0-188 35.5T548 521l137 138q31 30 14 69-17 40-59 40H192q-26 0-45-19t-19-45V256q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5T896 128q156 0 298 61t245 164 164 245 61 298zm-640-288v448q0 14-9 23t-23 9H672q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h224V608q0-14 9-23t23-9h64q14 0 23 9t9 23z"
/></svg>
app/views/shared/issuable/_search_bar.html.haml
View file @
1c82fdf2
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
.issues-other-filters.filtered-search-wrapper
.issues-other-filters.filtered-search-wrapper
.filtered-search-box
.filtered-search-box
-
if
type
!=
:boards_modal
&&
type
!=
:boards
-
if
type
!=
:boards_modal
&&
type
!=
:boards
=
dropdown_tag
(
c
ontent_tag
(
:i
,
''
,
class:
'fa fa-
history'
),
=
dropdown_tag
(
c
ustom_icon
(
'icon_
history'
),
options:
{
wrapper_class:
"filtered-search-history-dropdown-wrapper"
,
options:
{
wrapper_class:
"filtered-search-history-dropdown-wrapper"
,
toggle_class:
"filtered-search-history-dropdown-toggle-button"
,
toggle_class:
"filtered-search-history-dropdown-toggle-button"
,
dropdown_class:
"filtered-search-history-dropdown"
,
dropdown_class:
"filtered-search-history-dropdown"
,
...
...
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