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
79805bbd
Commit
79805bbd
authored
1 year ago
by
Arnaud Levy
Browse files
Options
Downloads
Patches
Plain Diff
Fix timeline
parent
eb55e7b2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/sass/_theme/blocks/timeline.sass
+10
-9
10 additions, 9 deletions
assets/sass/_theme/blocks/timeline.sass
with
10 additions
and
9 deletions
assets/sass/_theme/blocks/timeline.sass
+
10
−
9
View file @
79805bbd
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
border-radius
:
50%
border-radius
:
50%
content
:
""
content
:
""
height
:
9px
height
:
9px
left
:
half
(
var
(
--
grid-gutter-negative
))
left
:
-
$spacing-3
margin-top
:
0
.5em
margin-top
:
0
.5em
position
:
absolute
position
:
absolute
width
:
9px
width
:
9px
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
background
:
$color-text
background
:
$color-text
bottom
:
-0
.5em
bottom
:
-0
.5em
content
:
""
content
:
""
left
:
half
(
var
(
--
grid-gutter-negative
))
left
:
-
$spacing-3
position
:
absolute
position
:
absolute
top
:
0
.5em
top
:
0
.5em
width
:
1px
width
:
1px
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
@include
media-breakpoint-down
(
desktop
)
@include
media-breakpoint-down
(
desktop
)
.timeline-event
.timeline-event
padding-left
:
half
(
var
(
--
grid-gutter
))
padding-left
:
$spacing-3
&
::after
,
&
::before
&
::after
,
&
::before
left
:
0
left
:
0
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
display
:
flex
display
:
flex
&
::before
,
&
::after
&
::before
,
&
::after
left
:
columns
(
3
)
left
:
columns
(
3
)
margin-left
:
h
al
f
(
var
(
--
grid-gutter
))
margin-left
:
c
al
c
(
var
(
--
grid-gutter
)
/
2
)
&
::before
&
::before
transform
:
translateX
(
-4px
)
transform
:
translateX
(
-4px
)
.title
.title
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
.timeline-arrows
.timeline-arrows
display
:
flex
display
:
flex
padding-left
:
h
al
f
(
var
(
--
grid-gutter
))
padding-left
:
c
al
c
(
var
(
--
grid-gutter
)
/
2
)
>
button
>
button
@include
button-reset
@include
button-reset
background
:
none
background
:
none
...
@@ -93,8 +93,8 @@
...
@@ -93,8 +93,8 @@
cursor
:
default
cursor
:
default
opacity
:
0
.3
opacity
:
0
.3
.timeline-events
.timeline-events
margin-left
:
h
al
f
(
var
(
--
grid-gutter-negative
))
margin-left
:
c
al
c
(
var
(
--
grid-gutter-negative
)
/
2
)
margin-right
:
h
al
f
(
var
(
--
grid-gutter-negative
))
margin-right
:
c
al
c
(
var
(
--
grid-gutter-negative
)
/
2
)
// TODO : fixer le px gap en desktop entre chaque event
// TODO : fixer le px gap en desktop entre chaque event
ol
ol
display
:
flex
display
:
flex
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
width
:
100%
width
:
100%
.timeline-event
.timeline-event
flex
:
none
flex
:
none
padding
:
0
h
al
f
(
var
(
--
grid-gutter
))
padding
:
0
c
al
c
(
var
(
--
grid-gutter
)
/
2
)
scroll-snap-align
:
start
scroll-snap-align
:
start
transition
:
0
.3s
opacity
transition
:
0
.3s
opacity
width
:
50%
width
:
50%
...
@@ -123,13 +123,14 @@
...
@@ -123,13 +123,14 @@
margin-bottom
:
$spacing-3
margin-bottom
:
$spacing-3
opacity
:
1
opacity
:
1
overflow
:
visible
overflow
:
visible
width
:
calc
(
100%
+
#{
half
(
var
(
--
grid-gutter
)
)
}
)
width
:
calc
(
100%
+
#{
var
(
--
grid-gutter
)
/
2
}
)
&
::before
&
::before
background
:
$block-timeline-horizontal-color
background
:
$block-timeline-horizontal-color
border-radius
:
50%
border-radius
:
50%
content
:
""
content
:
""
display
:
block
display
:
block
height
:
9px
height
:
9px
margin-left
:
-4px
position
:
relative
position
:
relative
top
:
-4px
top
:
-4px
width
:
9px
width
:
9px
...
...
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