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
baa3f43a
Unverified
Commit
baa3f43a
authored
10 months ago
by
Olivia Simonet
Committed by
GitHub
10 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #421 from osunyorg/block-links-hover
Block links hover
parents
33636467
c34d8059
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/links.sass
+12
-7
12 additions, 7 deletions
assets/sass/_theme/blocks/links.sass
assets/sass/_theme/configuration/blocks.sass
+4
-1
4 additions, 1 deletion
assets/sass/_theme/configuration/blocks.sass
with
16 additions
and
8 deletions
assets/sass/_theme/blocks/links.sass
+
12
−
7
View file @
baa3f43a
...
...
@@ -4,23 +4,24 @@
@include
grid
(
2
,
md
)
align-items
:
flex-start
li
@include
icon
(
link-blank
,
after
,
true
)
background-color
:
$block-lien-card-background
color
:
$block-lien-card-color
display
:
flex
flex-direction
:
column-reverse
justify-content
:
flex-end
min-height
:
pxToRem
(
130
)
position
:
relative
&
::after
position
:
absolute
bottom
:
space
(
4
)
right
:
space
(
4
)
transition
:
background
0
.3s
ease
.link-content
padding
:
space
(
4
)
line-height
:
100%
min-height
:
pxToRem
(
130
)
padding
:
space
(
4
)
a
@include
stretched-link
(
before
)
text-decoration
:
none
&
::after
bottom
:
space
(
4
)
position
:
absolute
right
:
space
(
4
)
p
@include
small
margin-top
:
space
(
3
)
...
...
@@ -31,6 +32,10 @@
display
:
block
aspect-ratio
:
16
/
9
object-fit
:
cover
&
:hover
background-color
:
$block-lien-card-hover-background
&
,
a
color
:
$block-lien-card-hover-color
@include
in-page-without-sidebar
.top
display
:
flex
...
...
This diff is collapsed.
Click to expand it.
assets/sass/_theme/configuration/blocks.sass
+
4
−
1
View file @
baa3f43a
...
...
@@ -105,4 +105,7 @@ $block-image-max-height-without-sidebar: none !default
$block-video-background
:
var
(
--
color-background-alt
)
!
default
// Block liens
$block-lien-card-background
:
var
(
--
color-background-alt
)
!
default
\ No newline at end of file
$block-lien-card-background
:
var
(
--
color-background-alt
)
!
default
$block-lien-card-color
:
var
(
--
color-text
)
!
default
$block-lien-card-hover-background
:
var
(
--
color-accent
)
!
default
$block-lien-card-hover-color
:
var
(
--
color-background
)
!
default
\ No newline at end of file
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