diff --git a/client/homebrew/navbar/navbar.jsx b/client/homebrew/navbar/navbar.jsx index 011adae11..3dfe61203 100644 --- a/client/homebrew/navbar/navbar.jsx +++ b/client/homebrew/navbar/navbar.jsx @@ -4,6 +4,7 @@ const createClass = require('create-react-class'); const _ = require('lodash'); const Nav = require('naturalcrit/nav/nav.jsx'); +const PatreonNavItem = require('./patreon.navitem.jsx'); const Navbar = createClass({ getInitialState : function() { @@ -40,7 +41,7 @@ const Navbar = createClass({
The Homebrewery
{`v${this.state.ver}`} - + {/*this.renderChromeWarning()*/} {this.props.children} diff --git a/client/homebrew/navbar/navbar.less b/client/homebrew/navbar/navbar.less index bb2a84362..36cbdf935 100644 --- a/client/homebrew/navbar/navbar.less +++ b/client/homebrew/navbar/navbar.less @@ -1,4 +1,12 @@ @navbarHeight : 28px; +@keyframes coloring { + //from {color: white;} + //to {color: red;} + 0% {color: pink;} + 50% {color: pink;} + 75% {color: red;} + 100% {color: pink;} +} .homebrew nav{ .homebrewLogo{ .animate(color); @@ -47,11 +55,16 @@ text-transform : initial; } .patreon.navItem{ + border-left : 1px solid #666; + border-right : 1px solid #666; + &:hover i { + color: red; + } i{ .animate(color); - &:hover{ - color : @red; - } + animation-name: coloring; + animation-duration: 2s; + color: pink; } } .recent.navItem{ @@ -125,4 +138,4 @@ text-align : center; } } -} \ No newline at end of file +} diff --git a/client/homebrew/pages/homePage/homePage.jsx b/client/homebrew/pages/homePage/homePage.jsx index 517980aaf..8795156e7 100644 --- a/client/homebrew/pages/homePage/homePage.jsx +++ b/client/homebrew/pages/homePage/homePage.jsx @@ -8,7 +8,6 @@ const { Meta } = require('vitreum/headtags'); const Nav = require('naturalcrit/nav/nav.jsx'); const Navbar = require('../../navbar/navbar.jsx'); -const PatreonNavItem = require('../../navbar/patreon.navitem.jsx'); const IssueNavItem = require('../../navbar/issue.navitem.jsx'); const RecentNavItem = require('../../navbar/recent.navitem.jsx').both; const AccountNavItem = require('../../navbar/account.navitem.jsx'); @@ -56,7 +55,6 @@ const HomePage = createClass({ renderNavbar : function(){ return - Changelog