Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Style Guide 2
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
TO
Weby
Style Guide 2
Commits
8c3f2c0d
Commit
8c3f2c0d
authored
1 week ago
by
Alexa Valentová
Browse files
Options
Downloads
Patches
Plain Diff
update navbar layout
parent
93a90e4d
No related branches found
No related tags found
No related merge requests found
Pipeline
#21240
passed
1 week ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
majak_uistyleguide/templates/patterns/organisms/layout/navbar.html
+7
-7
7 additions, 7 deletions
...tyleguide/templates/patterns/organisms/layout/navbar.html
src/css/organisms/navbar.pcss
+1
-1
1 addition, 1 deletion
src/css/organisms/navbar.pcss
with
8 additions
and
8 deletions
majak_uistyleguide/templates/patterns/organisms/layout/navbar.html
+
7
−
7
View file @
8c3f2c0d
...
...
@@ -14,11 +14,11 @@
{% endblock %}
"
>
<div
class=
"container--wide py-3 xl:py-6 flex justify-between items-center"
>
<div
class=
"container--wide py-3
2
xl:py-6 flex justify-between items-center"
>
<div
class=
"flex items-center xl:items-start"
>
<div
class=
"flex items-center
2
xl:items-start"
>
<!-- BEGIN Logo-->
<a
href=
"{{ logo_url }}"
class=
"z-20 xl:mt-2 hover:no-underline"
>
<a
href=
"{{ logo_url }}"
class=
"z-20
2
xl:mt-2 hover:no-underline"
>
{% block navbar_logo_images %}
<img
class=
"navbar__logo--white w-[150px] lg:w-[180px]"
src=
"{{ white_logo_image_url }}"
alt=
""
>
<img
class=
"navbar__logo--black w-[150px] lg:w-[180px]"
src=
"{{ black_logo_image_url }}"
alt=
""
>
...
...
@@ -27,7 +27,7 @@
<!-- END Logo -->
</div>
<div
class=
"flex-col gap-3 xl:flex hidden"
>
<div
class=
"flex-col gap-3
2
xl:flex hidden"
>
<!-- BEGIN Social media-->
<div
class=
"flex gap-7 justify-end items-center"
>
...
...
@@ -110,7 +110,7 @@
hover:no-underline
xl:w-auto
2
xl:w-auto
"
{%
if
menu_button_url
%}
href=
"{{ menu_button_url }}"
{%
endif
%}
...
...
@@ -146,7 +146,7 @@
<!-- Hamburger Icon -->
<input
class=
"hidden navbar__mobile-menu__toggle"
type=
"checkbox"
id=
"navbar__mobile-menu__toggle"
>
<label
class=
"z-30 hamb text-black xl:hidden"
for=
"navbar__mobile-menu__toggle"
>
<label
class=
"z-30 hamb text-black
2
xl:hidden"
for=
"navbar__mobile-menu__toggle"
>
<span>
<span
class=
"bar1"
></span>
<span
class=
"bar2"
></span>
...
...
@@ -178,7 +178,7 @@
class=
"
flex flex-col gap-8 md:flex-row pt-6 px-8
md:justify-between
xl:pl-32
2
xl:pl-32
"
>
<div
class=
"flex flex-col gap-1.5 items-start"
>
...
...
This diff is collapsed.
Click to expand it.
src/css/organisms/navbar.pcss
+
1
−
1
View file @
8c3f2c0d
...
...
@@ -152,7 +152,7 @@
.navbar__mobile-menu__toggle:checked ~ .navbar__mobile-menu {
@apply z-20 visible pointer-events-auto opacity-100;
@screen xl {
@screen
2
xl {
@apply z-0 invisible pointer-events-none opacity-0;
}
}
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