Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Trèfle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open source
Trèfle
Commits
c7efe9f1
Commit
c7efe9f1
authored
Oct 22, 2019
by
Lucas Détré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding a top-side horizontal menu to the side-menu
parent
48ae921e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
43 deletions
+72
-43
trefle/explorer/app.css
trefle/explorer/app.css
+26
-4
trefle/explorer/components/navbar.tag.html
trefle/explorer/components/navbar.tag.html
+44
-39
trefle/explorer/images/favicon.ico
trefle/explorer/images/favicon.ico
+0
-0
trefle/explorer/index.html
trefle/explorer/index.html
+2
-0
No files found.
trefle/explorer/app.css
View file @
c7efe9f1
...
...
@@ -231,6 +231,19 @@ dl:nth-child(even) {
/* Navbar stylesheet */
.horizontal-nav
{
min-width
:
100%
;
width
:
100%
;
height
:
5rem
;
min-height
:
5rem
;
position
:
fixed
;
top
:
0
;
left
:
0
;
transition
:
all
0.4s
;
box-shadow
:
0px
3px
10px
rgba
(
0
,
0
,
0
,
0.1
);
z-index
:
0
;
}
.vertical-nav
{
min-width
:
14rem
;
width
:
14rem
;
...
...
@@ -243,16 +256,24 @@ dl:nth-child(even) {
}
#nav-title
{
font-size
:
1
em
;
font-size
:
3
em
;
margin-bottom
:
1rem
;
margin-top
:
1rem
;
margin-top
:
.5rem
;
padding
:
.3rem
3rem
;
}
.nav-link
{
.
vertical-nav
.
nav-link
{
min-width
:
14rem
;
width
:
14rem
;
font-size
:
16px
;
padding
:
.5rem
3rem
;
padding
:
1rem
3rem
;
}
.horizontal-nav
.nav-link
{
min-width
:
1rem
;
width
:
5rem
;
font-size
:
16px
;
padding
:
.5rem
1rem
;
}
.nav-icon
{
...
...
@@ -265,6 +286,7 @@ dl:nth-child(even) {
.page-content
{
width
:
calc
(
100%
-
15rem
);
margin-left
:
15rem
;
margin-top
:
3rem
;
transition
:
all
0.4s
;
}
...
...
trefle/explorer/components/navbar.tag.html
View file @
c7efe9f1
<navbar>
<progress
style=
"display: none"
id=
"progress"
/>
<!-- Horizontal navbar -->
<div
class=
"horizontal-nav bg-light"
id=
"sidebar"
>
<ul
class=
"nav bg-light mb-0"
>
<li
class=
"nav-item bg-light"
>
</li>
<li
class=
"nav-item bg-light"
>
</li>
<li
class=
"nav-item bg-light"
>
</li>
<li
class=
"nav-item bg-light"
>
</li>
<li
class=
"nav-item bg-light"
>
</li>
<li
class=
"nav-item bg-light"
>
</li>
</ul>
</div>
<!-- Vertical navbar -->
<div
class=
"vertical-nav bg-light"
id=
"sidebar"
>
<ul
class=
"nav flex-column bg-light mb-0"
>
<li
class=
"nav-item bg-light"
>
<h1>
<a
href=
"."
id=
"nav-title"
class=
"nav-link text-dark"
>
☘
</a>
</h1>
<a
href=
"."
id=
"nav-title"
class=
"nav-link text-dark"
>
☘
</a>
</li>
<li
class=
"nav-item"
>
<h4>
<a
href=
"."
class=
"{selected: window.location.hash.startsWith('')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Home.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Accueil
</a>
</h4>
<a
href=
"."
class=
"{selected: window.location.hash.startsWith('')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Home.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Accueil
</a>
</li>
<li
class=
"nav-item"
>
<h4>
<a
href=
"#rules"
class=
"{selected: window.location.hash.startsWith('#rules')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Referentiel.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Référentiel
</a>
</h4>
<a
href=
"#rules"
class=
"{selected: window.location.hash.startsWith('#rules')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Referentiel.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Référentiel
</a>
</li>
<li
class=
"nav-item"
>
<h4>
<a
href=
"#financements"
class=
"{selected: window.location.hash.startsWith('#financements')} nav-link bg-light"
>
<img
src=
"/explorer/images/Icone_Financement.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Financements
</a>
</h4>
<a
href=
"#financements"
class=
"{selected: window.location.hash.startsWith('#financements')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Financement.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Financements
</a>
</li>
<li
class=
"nav-item"
>
<h4>
<a
href=
"#simulate"
class=
"{selected: window.location.hash.startsWith('#simulate')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Simulateur.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Simulateur
</a>
</h4>
<a
href=
"#simulate"
class=
"{selected: window.location.hash.startsWith('#simulate')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Simulateur.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Simulateur
</a>
</li>
<li
class=
"nav-item"
>
<h4>
<a
href=
"#scenarios"
class=
"{selected: window.location.hash.startsWith('#scenarios')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Scenarios.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Scénarios
</a>
</h4>
<a
href=
"#scenarios"
class=
"{selected: window.location.hash.startsWith('#scenarios')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Scenarios.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Scénarios
</a>
</li>
<li
class=
"nav-item"
>
<h4>
<a
href=
"#tools"
class=
"{selected: window.location.hash.startsWith('#tools')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Outils.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Outils
</a>
</h4>
<a
href=
"#tools"
class=
"{selected: window.location.hash.startsWith('#tools')} nav-link text-dark bg-light"
>
<img
src=
"/explorer/images/Icone_Outils.svg"
width=
"23"
height=
"23"
class=
"d-inline-block nav-icon"
alt=
""
>
Outils
</a>
</li>
<!--
<li class="nav-item">
...
...
trefle/explorer/images/favicon.ico
0 → 100644
View file @
c7efe9f1
1.12 KB
trefle/explorer/index.html
View file @
c7efe9f1
...
...
@@ -11,6 +11,8 @@
<link
href=
"https://fonts.googleapis.com/css?family=Lato&display=swap"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"app.css"
>
<link
rel=
"shortcut icon"
href=
"images/favicon.ico"
type=
"image/x-icon"
>
<link
rel=
"icon"
href=
"images/favicon.ico"
type=
"image/x-icon"
>
<script
type=
"text/javascript"
src=
"mixin/view.mixin.js"
></script>
<script
type=
"text/javascript"
src=
"app.js"
></script>
...
...
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