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
d1e807d8
Commit
d1e807d8
authored
Dec 05, 2017
by
Luke "Jared" Bennett
Committed by
Clement Ho
Dec 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport CE style for boards selector fade mask
parent
4475212a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+26
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+4
-0
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
d1e807d8
...
@@ -608,7 +608,7 @@
...
@@ -608,7 +608,7 @@
}
}
.dropdown-content
{
.dropdown-content
{
max-height
:
215px
;
max-height
:
$dropdown-max-height
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
}
...
@@ -1030,3 +1030,28 @@ header.header-content .dropdown-menu.projects-dropdown-menu {
...
@@ -1030,3 +1030,28 @@ header.header-content .dropdown-menu.projects-dropdown-menu {
}
}
}
}
}
}
.dropdown-content-faded-mask
{
position
:
relative
;
.dropdown-list
{
max-height
:
$dropdown-max-height
;
overflow-y
:
auto
;
position
:
relative
;
}
&
:
:
after
{
height
:
$dropdown-fade-mask-height
;
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
background
:
linear-gradient
(
to
top
,
$white-light
0
,
rgba
(
$white-light
,
0
));
transition
:
opacity
$fade-mask-transition-duration
$fade-mask-transition-curve
;
content
:
''
;
pointer-events
:
none
;
}
&.
fade-out
:
:
after
{
opacity
:
0
;
}
}
app/assets/stylesheets/framework/variables.scss
View file @
d1e807d8
...
@@ -337,6 +337,7 @@ $regular_font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-San
...
@@ -337,6 +337,7 @@ $regular_font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-San
* Dropdowns
* Dropdowns
*/
*/
$dropdown-width
:
300px
;
$dropdown-width
:
300px
;
$dropdown-max-height
:
215px
;
$dropdown-vertical-offset
:
4px
;
$dropdown-vertical-offset
:
4px
;
$dropdown-link-color
:
#555
;
$dropdown-link-color
:
#555
;
$dropdown-link-hover-bg
:
$row-hover
;
$dropdown-link-hover-bg
:
$row-hover
;
...
@@ -353,6 +354,7 @@ $dropdown-loading-bg: rgba(#fff, .6);
...
@@ -353,6 +354,7 @@ $dropdown-loading-bg: rgba(#fff, .6);
$dropdown-chevron-size
:
10px
;
$dropdown-chevron-size
:
10px
;
$dropdown-toggle-active-border-color
:
darken
(
$border-color
,
14%
);
$dropdown-toggle-active-border-color
:
darken
(
$border-color
,
14%
);
$dropdown-item-hover-bg
:
$gray-darker
;
$dropdown-item-hover-bg
:
$gray-darker
;
$dropdown-fade-mask-height
:
32px
;
/*
/*
* Filtered Search
* Filtered Search
...
@@ -564,6 +566,8 @@ $label-border-radius: 100px;
...
@@ -564,6 +566,8 @@ $label-border-radius: 100px;
* Animation
* Animation
*/
*/
$fade-in-duration
:
200ms
;
$fade-in-duration
:
200ms
;
$fade-mask-transition-duration
:
.1s
;
$fade-mask-transition-curve
:
ease-in-out
;
/*
/*
* Lint
* Lint
...
...
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