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
98d74d54
Commit
98d74d54
authored
1 year ago
by
alexisben
Browse files
Options
Downloads
Patches
Plain Diff
fix block CTA
parent
c3ef29d3
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/call_to_action.sass
+6
-11
6 additions, 11 deletions
assets/sass/_theme/blocks/call_to_action.sass
with
6 additions
and
11 deletions
assets/sass/_theme/blocks/call_to_action.sass
+
6
−
11
View file @
98d74d54
...
...
@@ -9,7 +9,6 @@
text-decoration-color
:
$block-call-to-action-color
p
@include
h2
// margin-bottom: $spacing0
.actions
[
role
=
"group"
]
@include
media-breakpoint-down
(
desktop
)
...
...
@@ -68,7 +67,7 @@
>
div
// TODO : simplifier l'application d'une couleur de fond sur le CTA avec sidebar et sans sidebar
background-color
:
var
(
--
cta-background-color
)
padding
:
$grid-gutter
padding
:
$grid-gutter
col
(
1
,
8
)
width
:
100%
position
:
relative
&
::after
...
...
@@ -83,12 +82,11 @@
&
--with-image
picture
order
:
1
padding-left
:
$grid-gutter
padding-right
:
$grid-gutter
padding-left
:
col
(
1
,
8
)
padding-right
:
offset
(
4
,
8
)
position
:
relative
z-index
:
2
img
width
:
col
(
3
,
6
)
margin-bottom
:
calc
(
-
#{
$grid-gutter
}
+
-
#{
$spacing1
}
)
>
div
padding-top
:
calc
(
#{
$grid-gutter
}
+
#{
$spacing3
}
)
...
...
@@ -102,9 +100,7 @@
margin-left
:
-
$grid-gutter
margin-right
:
-
$grid-gutter
.call_to_action--with-image
align-items
:
start
display
:
grid
grid-template-columns
:
repeat
(
12
,
1fr
)
@include
grid
>
div
grid-column
:
1
/
7
>
picture
...
...
@@ -112,9 +108,8 @@
.call_to_action--without-image
display
:
block
>
div
column-gap
:
$grid-gutter
display
:
grid
grid-template-columns
:
repeat
(
12
,
1fr
)
@include
grid
row-gap
:
0px
.block-title
,
.description
grid-column
:
1
/
9
.actions
...
...
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