Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
76c80542
Verified
Commit
76c80542
authored
3 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Patches
Plain Diff
Add support for (icon) tabs in top navbar
parent
4ac5f7ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!789
Support (icon) tabs in top navbar
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/core/static/public/style.scss
+26
-0
26 additions, 0 deletions
aleksis/core/static/public/style.scss
aleksis/core/templates/core/base.html
+4
-1
4 additions, 1 deletion
aleksis/core/templates/core/base.html
with
30 additions
and
1 deletion
aleksis/core/static/public/style.scss
+
26
−
0
View file @
76c80542
...
...
@@ -768,3 +768,29 @@ main figure.alert {
.margin-bottom
{
margin-bottom
:
0
.7rem
!
important
;
}
/* Tabs with icons */
.tabs-icons
,
.tabs-icons
.tab
,
.tabs-icons
a
{
height
:
72px
;
}
.tabs-icons
.tab
{
display
:
inline-flex
;
flex-direction
:
column
;
}
.tabs-icons
.tab
a
{
padding-top
:
12px
;
line-height
:
14px
;
font-size
:
12px
;
font-weight
:
500
;
letter-spacing
:
0
.08em
;
}
.tabs-icons
.tab
i
{
font-size
:
24px
;
line-height
:
1
;
height
:
24px
;
margin-bottom
:
8px
;
}
This diff is collapsed.
Click to expand it.
aleksis/core/templates/core/base.html
+
4
−
1
View file @
76c80542
...
...
@@ -69,7 +69,7 @@
</div>
<!-- Nav bar (logged in as, logout) -->
<nav>
<nav
class=
"nav-extended"
>
<div
class=
"nav-wrapper"
>
<a
class=
"brand-logo"
href=
"/"
>
{{ request.site.preferences.general__title }}
</a>
...
...
@@ -82,6 +82,9 @@
{% endif %}
</ul>
</div>
<div
class=
"nav-content"
>
{% block nav_content %}{% endblock %}
</div>
</nav>
<!-- Main nav (sidenav) -->
...
...
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