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
1ff70436
Commit
1ff70436
authored
2 years ago
by
Olivia206
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of
https://github.com/noesya/osuny-hugo-theme-AAA
parents
04608bd6
cded4d86
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/js/theme/design-system/dropdowns.js
+1
-1
1 addition, 1 deletion
assets/js/theme/design-system/dropdowns.js
assets/sass/_theme/design-system/nav.sass
+24
-7
24 additions, 7 deletions
assets/sass/_theme/design-system/nav.sass
with
25 additions
and
8 deletions
assets/js/theme/design-system/dropdowns.js
+
1
−
1
View file @
1ff70436
...
...
@@ -23,7 +23,7 @@ class Dropdown {
}
// Selectors
[
'
.diplomas-select
'
].
map
(
selector
=>
{
[
'
.diplomas-select
'
,
'
.dropdown-share
'
].
map
(
selector
=>
{
if
(
document
.
querySelector
(
selector
))
{
new
Dropdown
(
selector
);
}
...
...
This diff is collapsed.
Click to expand it.
assets/sass/_theme/design-system/nav.sass
+
24
−
7
View file @
1ff70436
...
...
@@ -157,19 +157,23 @@ body
a
font-size
:
px2rem
(
13
)
text-decoration
:
none
padding
:
0
.75rem
padding
:
$spacing0
display
:
block
&
::before
font-size
:
px2rem
(
13
)
&
:hover
opacity
:
0
.7
&
::after
content
:
none
&
:last-child
margin-right
:
-0
.75rem
//
&:last-child
//
margin-right: -0.75rem
span
display
:
none
vertical-align
:
middle
.dropdown-share
position
:
relative
>
button
@include
button-reset
color
:
$hero-color
...
...
@@ -178,13 +182,26 @@ body
font-size
:
$program-share-font-size
@include
icon
(
social
,
after
)
margin-left
:
px2rem
(
10
)
ul
display
:
none
.dropdown-menu
background
:
invert
(
$hero-background-color
)
padding
:
0
position
:
absolute
width
:
100%
bottom
:
100%
.share
display
:
flex
li
margin
:
0
flex
:
1
1
text-align
:
center
a
// @extend .dropdown-item
color
:
$body-color
color
:
invert
(
$hero-color
)
[
aria-expanded
=
"false"
]
+
.dropdown-menu
display
:
none
[
aria-expanded
=
"true"
]
+
.dropdown-menu
display
:
block
animation-duration
:
0
.3s
animation-fill-mode
:
both
animation-name
:
showIn
\ 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