Skip to content

Commit

Permalink
Merge pull request gitcoinco#46 from mbeacom/top-bar
Browse files Browse the repository at this point in the history
Top bar
  • Loading branch information
jasonrhaas authored Oct 16, 2018
2 parents d619dd6 + f824989 commit 7152830
Show file tree
Hide file tree
Showing 54 changed files with 157 additions and 64 deletions.
33 changes: 23 additions & 10 deletions app/assets/v2/css/top-nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,16 @@
/* max-height: 43px; */
flex-wrap: wrap;
flex-shrink: 0;
flex-direction: column;
flex: 1 0 45px;
}
/* flex-direction: column; */
flex: 1 0 96px;
background: #0D023B;
justify-content: space-around;
border-bottom: 1px solid rgba(255,255,255,0.3);
padding: 0.5rem 0;

@media (min-width: 768px) {
.top-nav {
background: black;
flex-direction: row;
align-items: center;
justify-content: center;
}
}


.top-nav a {
padding: 0.6rem 1rem;
}
Expand All @@ -33,8 +30,24 @@
filter: grayscale(1);
opacity: 0.6;
transition: all 0.2s linear;
height: 60px;
}

@media (min-width: 768px) {
.top-nav {
flex: 1 0 45px;
background: black;
flex-direction: row;
align-items: center;
justify-content: center;
border: none;
padding: 0;
}

.top-nav a img {
height: auto;
}
}
.top-nav a:hover img,
.top-nav a.selected img {
/* opacity: 1; */
Expand Down
17 changes: 17 additions & 0 deletions app/assets/v2/images/top-bar/codefund-symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/assets/v2/images/top-bar/gitcoin-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions app/assets/v2/images/top-bar/gitcoin-symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions app/assets/v2/images/top-bar/grants-symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/v2/images/top-bar/kudos-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions app/assets/v2/images/top-bar/kudos-symbol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/bounty_requests/templates/bounty_request_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</head>
<body class="interior {{ active }} g-font-muli">
<div class="container-fluid header dash">
{% include 'shared/top_nav.html' with class='d-none d-md-flex' %}
{% include 'shared/top_nav.html' with class='d-md-flex' %}
{% include 'shared/nav.html' %}
</div>
<div class="row no-gutter">
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/templates/bounty/change.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<body class="interior submit_bounty g-font-muli">
{% include 'shared/tag_manager_2.html' %}
<div class="container-fluid header dash">
{% include 'shared/top_nav.html' with class='d-none d-md-flex' %}
{% include 'shared/top_nav.html' with class='d-md-flex' %}
{% include 'shared/nav.html' %}
</div>
<div class="container-fluid submit_bounty_content">
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/templates/bounty/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<body class="interior {{active}} g-font-muli">
{% include 'shared/tag_manager_2.html' %}
<div class="container-fluid header dash">
{% include 'shared/top_nav.html' with class='d-none d-md-flex' %}
{% include 'shared/top_nav.html' with class='d-md-flex' %}
{% include 'shared/nav.html' %}
</div>
<div class="row no-gutter">
Expand Down
Loading

0 comments on commit 7152830

Please sign in to comment.