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
4f0b51bf
Commit
4f0b51bf
authored
Mar 01, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gradients for scroll shadow, use rgba for transparency in gradients
parent
95b930c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
11 deletions
+22
-11
ee/app/assets/stylesheets/pages/roadmap.scss
ee/app/assets/stylesheets/pages/roadmap.scss
+22
-11
No files found.
ee/app/assets/stylesheets/pages/roadmap.scss
View file @
4f0b51bf
$item-height
:
50px
;
$item-height
:
50px
;
$column-shadow
:
15px
0
15px
-15px
rgba
(
0
,
0
,
0
,
0
.12
)
inset
;
$column-shadow
:
15px
0
15px
-15px
rgba
(
0
,
0
,
0
,
0
.12
)
inset
;
$scroll-top-shadow
:
0
5px
5px
0
rgba
(
0
,
0
,
0
,
0
.12
);
$scroll-top-gradient
:
linear-gradient
(
to
bottom
,
rgba
(
0
,
0
,
0
,
0
.15
)
0%
,
rgba
(
255
,
255
,
255
,
0
.001
)
100%
);
$scroll-bottom-gradient
:
linear-gradient
(
to
bottom
,
rgba
(
255
,
255
,
255
,
0
.001
)
0%
,
rgba
(
0
,
0
,
0
,
0
.15
)
100%
);
$border-style
:
1px
solid
$border-gray-normal
;
$border-style
:
1px
solid
$border-gray-normal
;
$details-cell-width
:
320px
;
$details-cell-width
:
320px
;
...
@@ -27,11 +28,22 @@ $details-cell-width: 320px;
...
@@ -27,11 +28,22 @@ $details-cell-width: 320px;
position
:
relative
;
position
:
relative
;
}
}
.epics-list-section
.bottom-shadow-cell
{
position
:
fixed
;
bottom
:
0
;
height
:
10px
;
width
:
$details-cell-width
;
pointer-events
:
none
;
background
:
$scroll-bottom-gradient
;
z-index
:
3
;
}
.epics-list-section
.epic-details-cell
:after
,
.epics-list-section
.epic-details-cell
:after
,
.roadmap-timeline-section
.timeline-header-blank
:after
,
.roadmap-timeline-section
.timeline-header-blank
:after
,
.roadmap-timeline-section.scrolled-ahead
.timeline-header-blank
:before
{
.roadmap-timeline-section.scrolled-ahead
.timeline-header-blank
:before
{
content
:
''
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
pointer-events
:
none
;
}
}
.epics-list-section
.epic-details-cell
:after
,
.epics-list-section
.epic-details-cell
:after
,
...
@@ -41,20 +53,19 @@ $details-cell-width: 320px;
...
@@ -41,20 +53,19 @@ $details-cell-width: 320px;
height
:
100%
;
height
:
100%
;
width
:
14px
;
width
:
14px
;
box-shadow
:
$column-shadow
;
box-shadow
:
$column-shadow
;
pointer-events
:
none
;
}
}
.roadmap-timeline-section
.timeline-header-blank
:after
{
.roadmap-timeline-section
.timeline-header-blank
:after
{
top
:
-2px
;
top
:
-2px
;
height
:
6
0
px
;
height
:
6
2
px
;
}
}
.roadmap-timeline-section.scrolled-ahead
.timeline-header-blank
:before
{
.roadmap-timeline-section.scrolled-ahead
.timeline-header-blank
:before
{
bottom
:
-1px
;
bottom
:
-1
0
px
;
left
:
0
;
left
:
0
;
height
:
1
5
px
;
height
:
1
0
px
;
width
:
100%
;
width
:
100%
;
b
ox-shadow
:
$scroll-top-shadow
;
b
ackground
:
$scroll-top-gradient
;
}
}
.roadmap-timeline-section
{
.roadmap-timeline-section
{
...
@@ -86,6 +97,7 @@ $details-cell-width: 320px;
...
@@ -86,6 +97,7 @@ $details-cell-width: 320px;
display
:
block
;
display
:
block
;
top
:
2px
;
top
:
2px
;
height
:
60px
;
height
:
60px
;
margin-top
:
-2px
;
width
:
$details-cell-width
;
width
:
$details-cell-width
;
background-color
:
$white-light
;
background-color
:
$white-light
;
border-right
:
$border-style
;
border-right
:
$border-style
;
...
@@ -122,7 +134,7 @@ $details-cell-width: 320px;
...
@@ -122,7 +134,7 @@ $details-cell-width: 320px;
border-bottom
:
$border-style
;
border-bottom
:
$border-style
;
&
.label-bold
{
&
.label-bold
{
font-weight
:
7
00
;
font-weight
:
6
00
;
}
}
}
}
...
@@ -178,7 +190,6 @@ $details-cell-width: 320px;
...
@@ -178,7 +190,6 @@ $details-cell-width: 320px;
.epic-details-cell
{
.epic-details-cell
{
position
:
relative
;
position
:
relative
;
display
:
block
;
display
:
block
;
top
:
1px
;
/* Remove cell spacing */
width
:
$details-cell-width
;
width
:
$details-cell-width
;
padding
:
$gl-padding-8
$gl-padding
;
padding
:
$gl-padding-8
$gl-padding
;
font-size
:
$code_font_size
;
font-size
:
$code_font_size
;
...
@@ -194,7 +205,7 @@ $details-cell-width: 320px;
...
@@ -194,7 +205,7 @@ $details-cell-width: 320px;
.epic-title
.epic-url
{
.epic-title
.epic-url
{
display
:
table-cell
;
display
:
table-cell
;
color
:
$theme-gray-900
;
color
:
$theme-gray-900
;
font-weight
:
bold
;
font-weight
:
600
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
@@ -245,11 +256,11 @@ $details-cell-width: 320px;
...
@@ -245,11 +256,11 @@ $details-cell-width: 320px;
}
}
&
.start-date-undefined
{
&
.start-date-undefined
{
background
:
linear-gradient
(
to
right
,
transparent
0%
,
$blue-200
50%
,
$blue-500
100%
);
background
:
linear-gradient
(
to
right
,
rgba
(
255
,
255
,
255
,
0
.001
)
0%
,
$blue-200
50%
,
$blue-500
100%
);
}
}
&
.end-date-undefined
{
&
.end-date-undefined
{
background
:
linear-gradient
(
to
right
,
$blue-500
0%
,
$blue-200
50%
,
transparent
100%
);
background
:
linear-gradient
(
to
right
,
$blue-500
0%
,
$blue-200
50%
,
rgba
(
255
,
255
,
255
,
0
.001
)
100%
);
}
}
&
.start-date-outside
{
&
.start-date-outside
{
...
...
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