Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
Ref #3: add top nav button
Browse files Browse the repository at this point in the history
  • Loading branch information
DarckCrystale committed Nov 21, 2017
1 parent 425babd commit aca3a24
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
29 changes: 29 additions & 0 deletions app/Resources/views/default/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,35 @@


{% block body %}
<div id="top-strip-navigation" class="row">
<div class="col text-center">
<button type="button" class="btn btn-outline-secondary">
<span class="oi oi-chevron-left"></span>
<span class="oi oi-chevron-left"></span>
</button>
</div>
<div class="col text-center">
<button type="button" class="btn btn-outline-primary">
<span class="oi oi-chevron-left"></span>
</button>
</div>
<div class="col text-center">
<button type="button" class="btn btn-outline-secondary">
<!-- share on mastodon -->
</button>
</div>
<div class="col text-center">
<button type="button" class="btn btn-outline-primary">
<span class="oi oi-chevron-right"></span>
</button>
</div>
<div class="col text-center">
<button type="button" class="btn btn-outline-secondary">
<span class="oi oi-chevron-right"></span>
<span class="oi oi-chevron-right"></span>
</button>
</div>
</div>
<div id="strip-container">
<img id="default-strip" class="align-self-end" src="{{ asset('images/default-strip.png') }}">
</div>
Expand Down
16 changes: 15 additions & 1 deletion web/css/default/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,18 @@

#strip-container > img {
width: 100%;
}
}

#top-strip-navigation {
margin-bottom: 30px;
}

#top-strip-navigation > div > button {
height: 40px;
width: 40px;
border-radius: 20px;
font-size: 10px;
padding: 0px;
text-align: center;
}

0 comments on commit aca3a24

Please sign in to comment.