Skip to content

Commit

Permalink
Merge remote-tracking branch 'suri/learn-homepage-changes' into learn…
Browse files Browse the repository at this point in the history
…-config-update
  • Loading branch information
praveenweb committed May 14, 2019
2 parents 1561e6d + ac91193 commit d3cfc02
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
Expand Up @@ -23,6 +23,8 @@ class TopBanner extends React.Component {
<div id="navbar" className="navbar-collapse collapse">
<ul className="nav navbar-nav navbar-right navBarWrapper">
<li className="dropdown">
<div className={'upArrow'}>
</div>
{/* eslint-disable-next-line */}
<a id="frontend" className="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">FRONTEND</a>
<div aria-labelledby="frontend" className="dropdown-menu dropdownMenu">
Expand Down Expand Up @@ -63,6 +65,8 @@ class TopBanner extends React.Component {
</div>
</li>
<li className="dropdown">
<div className={'upArrow'}>
</div>
{/* eslint-disable-next-line */}
<a id="mobile" className="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">MOBILE</a>
<div aria-labelledby="mobile" className="dropdown-menu dropdownMenu">
Expand Down Expand Up @@ -103,6 +107,8 @@ class TopBanner extends React.Component {
</div>
</li>
<li className="dropdown">
<div className={'upArrow'}>
</div>
{/* eslint-disable-next-line */}
<a id="backend" className="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">BACKEND</a>
<div aria-labelledby="backend" className="dropdown-menu dropdownMenu">
Expand Down
Expand Up @@ -232,7 +232,15 @@ ul
.notifyWrapper button:focus, .notifyWrapper input:focus {
outline: none;
}

.upArrow
{
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid #fff;
display: none;
}
.subscribe_form {
input {
background-color: #353535;
Expand Down Expand Up @@ -315,6 +323,14 @@ ul
li
{
padding: 10px 20px;
position: relative;
.upArrow
{
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -2px;
}
a
{
font-family: 'Raleway';
Expand Down Expand Up @@ -343,6 +359,7 @@ ul
border-radius: 2px;
top: 42px;
padding: 15px 10px;
border: 0 !important;
.dropdownMenuBgImg
{
position: absolute;
Expand Down Expand Up @@ -439,6 +456,17 @@ ul
}
}
}
.open
{
a {
opacity: 1 !important;
}
.upArrow
{
display: block;
}
}

.active
{
a, span
Expand Down

0 comments on commit d3cfc02

Please sign in to comment.