Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
alain
Make it Open Project Site
Commits
34dc531a
Commit
34dc531a
authored
Mar 08, 2021
by
alain
🐙
Browse files
speed up nav animation a bit
parent
61699ef4
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
wordpress/wp-content/themes/makeitopen/assets/css/maps/style.css.map
View file @
34dc531a
This diff is collapsed.
Click to expand it.
wordpress/wp-content/themes/makeitopen/assets/css/style.css
View file @
34dc531a
This diff is collapsed.
Click to expand it.
wordpress/wp-content/themes/makeitopen/assets/scss/global/_header.scss
View file @
34dc531a
...
...
@@ -10,7 +10,7 @@
align-items
:
center
;
z-index
:
$z-header
;
box-shadow
:
0px
0px
10px
rgba
(
0
,
0
,
0
,
0
.1
);
transition
:
all
0
.2
5
s
ease
;
transition
:
all
0
.2s
ease
;
body
.admin-bar
&
{
top
:
45px
;
...
...
wordpress/wp-content/themes/makeitopen/assets/scss/global/_nav.scss
View file @
34dc531a
...
...
@@ -3,7 +3,6 @@
background
:
white
;
top
:
0
;
right
:
0
;
transition
:
all
0
.25s
ease
;
z-index
:
$z-nav
;
// Hamburger menu styles
...
...
@@ -14,11 +13,13 @@
opacity
:
0
;
transform
:
translateX
(
100%
);
visibility
:
hidden
;
transition
:
all
0
.1s
ease
;
&
--shown
{
transform
:
translateX
(
0%
);
opacity
:
1
;
visibility
:
visible
;
transition
:
all
0
.2s
ease
;
}
}
...
...
@@ -173,7 +174,7 @@
outline
:
none
;
// flex: 1;
padding
:
10px
;
transition
:
all
0
.2
5
s
ease
;
transition
:
all
0
.2s
ease
;
z-index
:
$z-hamburger
;
@media
only
screen
and
(
min-width
:
$mediumlarge
)
{
...
...
@@ -197,36 +198,36 @@
background
:
black
;
content
:
" "
;
display
:
block
;
transition
:
all
0
.2
5
s
ease
;
transition
:
all
0
.2s
ease
;
&
:nth-child
(
1
)
{
transform
:
translateY
(
-5px
);
transition
:
transform
0
.
4
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0s
;
transition
:
transform
0
.
3
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0s
;
}
&
:nth-child
(
2
)
{
transform
:
scaleX
(
1
);
transition
:
transform
0
.2
5
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0
.25s
;
transition
:
transform
0
.2s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0
.25s
;
}
&
:nth-child
(
3
)
{
transform
:
translateY
(
5px
);
transition
:
transform
0
.
4
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0s
;
transition
:
transform
0
.
3
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0s
;
}
}
&
--active
{
span
:nth-child
(
1
)
{
transform
:
rotate
(
45deg
);
transition
:
transform
0
.
4
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0
.15s
;
transition
:
transform
0
.
3
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0
.15s
;
}
span
:nth-child
(
2
)
{
transform
:
scaleX
(
0
);
transition
:
transform
0
.2
5
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0s
;
transition
:
transform
0
.2s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0s
;
}
span
:nth-child
(
3
)
{
transform
:
rotate
(
-45deg
);
transition
:
transform
0
.
4
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0
.15s
;
transition
:
transform
0
.
3
s
cubic-bezier
(
0
.68
,
-0
.6
,
0
.32
,
1
.6
)
0
.15s
;
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment