Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Theme
Commits
158fdca7
Commit
158fdca7
authored
2 years ago
by
alexisben
Browse files
Options
Downloads
Patches
Plain Diff
timeline
parent
16c7346a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/sass/_theme/blocks/timeline.sass
+26
-5
26 additions, 5 deletions
assets/sass/_theme/blocks/timeline.sass
assets/sass/_theme/design-system/typography.sass
+1
-1
1 addition, 1 deletion
assets/sass/_theme/design-system/typography.sass
with
27 additions
and
6 deletions
assets/sass/_theme/blocks/timeline.sass
+
26
−
5
View file @
158fdca7
...
@@ -54,8 +54,6 @@
...
@@ -54,8 +54,6 @@
width
:
col
(
7
)
width
:
col
(
7
)
.block-timeline--horizontal
.block-timeline--horizontal
--min-title-height
:
0px
--min-title-height
:
0px
background
:
$block-timeline-horizontal-background
background
:
$block-timeline-horizontal-background
...
@@ -104,6 +102,7 @@
...
@@ -104,6 +102,7 @@
flex-flow
:
row
nowrap
flex-flow
:
row
nowrap
list-style
:
none
list-style
:
none
padding-left
:
0
padding-left
:
0
margin-top
:
$spacing1
transition
:
margin
0
.4s
ease-in-out
transition
:
margin
0
.4s
ease-in-out
width
:
100%
width
:
100%
.event
.event
...
@@ -114,13 +113,14 @@
...
@@ -114,13 +113,14 @@
width
:
50%
width
:
50%
.title
.title
min-height
:
var
(
--
min-title-height
)
min-height
:
var
(
--
min-title-height
)
margin-bottom
:
$spacing1
.line
.line
background
:
$block-timeline-horizontal-color
background
:
$block-timeline-horizontal-color
height
:
1px
height
:
1px
margin-bottom
:
$spacing1
margin-bottom
:
$spacing1
opacity
:
1
opacity
:
1
overflow
:
visible
overflow
:
visible
width
:
calc
(
100%
+
#{
$grid-gutter
}
)
width
:
calc
(
100%
+
#{
$grid-gutter
}
/
2
)
&
::before
&
::before
background
:
$block-timeline-horizontal-color
background
:
$block-timeline-horizontal-color
border-radius
:
50%
border-radius
:
50%
...
@@ -132,10 +132,31 @@
...
@@ -132,10 +132,31 @@
width
:
9px
width
:
9px
&
.is-passed
&
.is-passed
opacity
:
0
.15
opacity
:
0
.15
&
:last-child
.line
background
:
transparent
@include
media-breakpoint-up
(
md
)
@include
media-breakpoint-up
(
md
)
.timeline
.events
padding-left
:
offset
(
5
)
ol
margin-top
:
$spacing2
.event
.line
width
:
calc
(
100%
+
#{
$grid-gutter
}
)
@include
in-page-with-sidebar
@include
media-breakpoint-up
(
md
)
.timeline
padding-left
:
offset
(
4
)
@include
media-breakpoint-up
(
xxl
)
.timeline
padding-left
:
offset
(
5
)
@include
in-page-without-sidebar
@include
media-breakpoint-up
(
xxl
)
.event
width
:
25%
@include
media-breakpoint-down
(
md
)
@include
media-breakpoint-down
(
md
)
.events
.events
...
...
This diff is collapsed.
Click to expand it.
assets/sass/_theme/design-system/typography.sass
+
1
−
1
View file @
158fdca7
...
@@ -65,7 +65,7 @@ h5, .h5
...
@@ -65,7 +65,7 @@ h5, .h5
text-transform
:
$h5-text-transform
text-transform
:
$h5-text-transform
@include
media-breakpoint-up
(
md
)
@include
media-breakpoint-up
(
md
)
font-size
:
$h5-size-md
font-size
:
$h5-size-md
h6
,
.h6
h6
,
.h6
@extend
%heading
@extend
%heading
font-size
:
$h6-size
font-size
:
$h6-size
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment