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
8dc500c4
Commit
8dc500c4
authored
2 years ago
by
alexisben
Browse files
Options
Downloads
Patches
Plain Diff
fix header button
parent
134943b1
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/design-system/header.sass
+1
-41
1 addition, 41 deletions
assets/sass/_theme/design-system/header.sass
assets/sass/_theme/design-system/nav.sass
+44
-0
44 additions, 0 deletions
assets/sass/_theme/design-system/nav.sass
with
45 additions
and
41 deletions
assets/sass/_theme/design-system/header.sass
+
1
−
41
View file @
8dc500c4
...
...
@@ -26,47 +26,7 @@ header[role="banner"]
@include
media-breakpoint-up
(
md
)
&
:not
(
:hover
)
transform
:
translateY
(
-100%
)
nav
[
role
=
"navigation"
]
padding-bottom
:
$header-nav-padding-y
padding-top
:
$header-nav-padding-y
.container
align-items
:
center
display
:
flex
flex-wrap
:
wrap
justify-content
:
space-between
button
[
type
=
"button"
]
@include
button-reset
display
:
none
border
:
0
color
:
$body-color
position
:
relative
@include
media-breakpoint-down
(
md
)
display
:
flex
align-items
:
center
&
:focus
box-shadow
:
none
&
:focus-visible
outline-color
:
gray
outline-offset
:
5px
outline-style
:
dashed
outline-width
:
1px
span
:first-of-type
font-size
:
px2rem
(
14
)
text-transform
:
uppercase
span
:last-of-type
@include
icon
(
"burger"
,
before
)
background
:
none
height
:
calc
(
1
.063rem
+
.3125rem
*
2
)
padding
:
px2rem
(
5
)
0
px2rem
(
5
)
px2rem
(
5
)
width
:
calc
(
1
.5rem
+
.3125rem
)
&
::before
font-size
:
px2rem
(
17
)
vertical-align
:
top
&
[
aria-expanded
=
"true"
]
span
:last-of-type
&
::before
content
:
map-get
(
$icons
,
"close"
)
.logo
img
height
:
$header-logo-height
...
...
This diff is collapsed.
Click to expand it.
assets/sass/_theme/design-system/nav.sass
+
44
−
0
View file @
8dc500c4
...
...
@@ -167,6 +167,50 @@ body
visibility
:
inherit
opacity
:
0
header
[
role
=
"banner"
]
nav
[
role
=
"navigation"
]
padding-bottom
:
$header-nav-padding-y
padding-top
:
$header-nav-padding-y
.container
align-items
:
center
display
:
flex
flex-wrap
:
wrap
justify-content
:
space-between
button
[
type
=
"button"
]
@include
button-reset
display
:
none
border
:
0
color
:
$body-color
padding
:
0
position
:
relative
@include
media-breakpoint-down
(
md
)
display
:
flex
align-items
:
center
&
:focus
box-shadow
:
none
&
:focus-visible
outline-color
:
gray
outline-offset
:
5px
outline-style
:
dashed
outline-width
:
1px
span
:first-of-type
font-size
:
px2rem
(
14
)
text-transform
:
uppercase
span
:last-of-type
@include
icon
(
"burger"
,
before
)
background
:
none
height
:
calc
(
1
.063rem
+
.3125rem
*
2
)
padding
:
px2rem
(
5
)
0
px2rem
(
5
)
px2rem
(
5
)
width
:
calc
(
1
.5rem
+
.3125rem
)
&
::before
font-size
:
px2rem
(
17
)
vertical-align
:
top
&
[
aria-expanded
=
"true"
]
span
:last-of-type
&
::before
content
:
map-get
(
$icons
,
"close"
)
.share
display
:
flex
list-style
:
none
...
...
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