diff --git a/static/src/js/components/navbar/item.js b/static/src/js/components/navbar/item.js
index 1039a16..81a4694 100644
--- a/static/src/js/components/navbar/item.js
+++ b/static/src/js/components/navbar/item.js
@@ -9,7 +9,7 @@ export default class Item extends React.Component {
);
}
return (
-
{icon} {this.props.children}
+ {icon}{this.props.children}
);
}
}
diff --git a/static/src/js/components/navbar/navbar.js b/static/src/js/components/navbar/navbar.js
index 962c8ae..5cd9d3b 100644
--- a/static/src/js/components/navbar/navbar.js
+++ b/static/src/js/components/navbar/navbar.js
@@ -14,7 +14,7 @@ export default class NavBar extends React.Component {
diff --git a/static/src/less/navbar.less b/static/src/less/navbar.less
index e095954..c2cac77 100644
--- a/static/src/less/navbar.less
+++ b/static/src/less/navbar.less
@@ -1,24 +1,3 @@
-.dropdown-menu {
- @media (min-width: @screen-sm) {
- right: auto;
- left: 50%;
- transform: translate(-50%, 0);
- opacity: 0;
- .transition(~"ease-in-out .2s all");
- }
- &.dropup {
- bottom: 100%;
- top: initial;
- }
- &.dropdown {
- top: 100%;
- bottom: initial;
- }
- .open & {
- opacity: 1;
- }
-}
-
#navigation {
@media (min-width: @screen-xs-max) {
.flexbox();
@@ -32,35 +11,65 @@
@media (min-width: @screen-md-min) {
margin-right: 23px;
}
- @media (max-width: @screen-sm-max) {
- margin-right: 10px;
- margin-left: 11px;
- }
& > a {
@media (min-width: @screen-md-min) {
padding: 15px 10px;
}
- @media (max-width: @screen-sm-max) {
- padding: 15px 3px;
+ @media (max-width: @screen-xs-max) {
+ padding: 15px 15px;
}
}
}
+ .dropdown-menu {
+ @media (min-width: @screen-sm) {
+ right: auto;
+ left: 50%;
+ transform: translate(-50%, 0);
+ opacity: 0;
+ .transition(~"ease-in-out .2s all");
+ }
+ &.dropup {
+ bottom: 100%;
+ top: initial;
+ }
+ &.dropdown {
+ top: 100%;
+ bottom: initial;
+ }
+ .open & {
+ opacity: 1;
+ }
+ a {
+ padding-left: 20px;
+ }
+ }
}
+
.navbar {
border-radius: 0;
+ .home-button a {
+ .transition(~"ease-in-out .3s color");
+ }
}
.navbar-nav.nav {
margin: 0;
}
+.navbar-toggle {
+ right: 10px;
+}
+
#navbar-container {
z-index: 0;
width: 96%;
left: 2%;
margin: 0;
z-index: 10000;
+ i + * {
+ margin-right: 5px;
+ }
& .container-fluid{
padding-right: 0;
padding-left: 0;
@@ -73,7 +82,8 @@
@media (max-width: @screen-sm) {
position: fixed;
top: 0;
- width: 100%;
+ width: 95%;
+
}
}
}
@@ -83,8 +93,10 @@
height: 52px;
}
-.home-button {
- margin-right: 15px !important;
+@media (min-width: @screen-xs-max) {
+ .home-button {
+ margin-right: 15px !important;
+ }
}
#navbar {