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
32b18557
Commit
32b18557
authored
Dec 05, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'backport-boards-selector-fade-mask' into 'master'
backport CE style for boards selector fade mask See merge request gitlab-org/gitlab-ce!15624
parents
4475212a
d1e807d8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+26
-1
variables.scss
app/assets/stylesheets/framework/variables.scss
+4
-0
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
32b18557
...
@@ -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 @
32b18557
...
@@ -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