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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f984fc35
Commit
f984fc35
authored
Oct 09, 2017
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use global styles for filter dropdowns
parent
2ff40378
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
54 deletions
+10
-54
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+5
-0
app/assets/stylesheets/framework/filters.scss
app/assets/stylesheets/framework/filters.scss
+5
-54
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
f984fc35
...
@@ -146,11 +146,16 @@
...
@@ -146,11 +146,16 @@
@mixin
dropdown-item-hover
{
@mixin
dropdown-item-hover
{
background-color
:
$dropdown-item-hover-bg
;
background-color
:
$dropdown-item-hover-bg
;
color
:
$gl-text-color
;
color
:
$gl-text-color
;
outline
:
0
;
// make sure the text color is not overriden
// make sure the text color is not overriden
&
.text-danger
{
&
.text-danger
{
color
:
$brand-danger
;
color
:
$brand-danger
;
}
}
.avatar
{
border-color
:
$white-light
;
}
}
}
@mixin
dropdown-link
{
@mixin
dropdown-link
{
...
...
app/assets/stylesheets/framework/filters.scss
View file @
f984fc35
...
@@ -50,8 +50,6 @@
...
@@ -50,8 +50,6 @@
}
}
.filtered-search-wrapper
{
.filtered-search-wrapper
{
@include
new-style-dropdown
;
display
:
-
webkit-flex
;
display
:
-
webkit-flex
;
display
:
flex
;
display
:
flex
;
...
@@ -165,16 +163,6 @@
...
@@ -165,16 +163,6 @@
}
}
}
}
.droplab-dropdown
li
.filtered-search-token
{
padding
:
0
;
&
:hover
,
&
:focus
{
background-color
:
inherit
;
color
:
inherit
;
}
}
.filtered-search-term
{
.filtered-search-term
{
.name
{
.name
{
background-color
:
inherit
;
background-color
:
inherit
;
...
@@ -336,21 +324,12 @@
...
@@ -336,21 +324,12 @@
.filtered-search-history-dropdown-content
{
.filtered-search-history-dropdown-content
{
max-height
:
none
;
max-height
:
none
;
}
.filtered-search-history-dropdown-item
,
.filtered-search-history-clear-button
{
@include
dropdown-link
;
overflow
:
hidden
;
width
:
100%
;
margin
:
0
.5em
0
;
background-color
:
transparent
;
.filtered-search-history-dropdown-item
,
border
:
0
;
.filtered-search-history-clear-button
{
text-align
:
left
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
}
.filtered-search-history-dropdown-token
{
.filtered-search-history-dropdown-token
{
...
@@ -402,24 +381,9 @@
...
@@ -402,24 +381,9 @@
}
}
}
}
%filter-dropdown-item-btn-hover
{
text-decoration
:
none
;
outline
:
0
;
.avatar
{
border-color
:
$white-light
;
}
}
.droplab-dropdown
.dropdown-menu
.filter-dropdown-item
{
.droplab-dropdown
.dropdown-menu
.filter-dropdown-item
{
.btn
{
.btn
{
border
:
0
;
width
:
100%
;
text-align
:
left
;
padding
:
8px
16px
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
border-radius
:
0
;
.fa
{
.fa
{
width
:
15px
;
width
:
15px
;
...
@@ -434,11 +398,6 @@
...
@@ -434,11 +398,6 @@
height
:
17px
;
height
:
17px
;
top
:
0
;
top
:
0
;
}
}
&
:hover
,
&
:focus
{
@extend
%filter-dropdown-item-btn-hover
;
}
}
}
.dropdown-light-content
{
.dropdown-light-content
{
...
@@ -459,17 +418,9 @@
...
@@ -459,17 +418,9 @@
word-break
:
break-all
;
word-break
:
break-all
;
}
}
}
}
&
.droplab-item-active
.btn
{
@extend
%filter-dropdown-item-btn-hover
;
}
}
}
.filter-dropdown-loading
{
.filter-dropdown-loading
{
padding
:
8px
16px
;
padding
:
8px
16px
;
text-align
:
center
;
text-align
:
center
;
}
}
.issues-details-filters
{
@include
new-style-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