Skip to content

Commit

Permalink
Adjustments so that logo should never hide
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena committed Feb 28, 2019
1 parent 053fdba commit 0d6f482
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 30 deletions.
1 change: 0 additions & 1 deletion client/app/assets/less/inc/navbar.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
a.navbar-brand {
padding: 5px 5px 0px 0px;
margin-left: 0px !important;
}

.navbar .fa {
Expand Down
8 changes: 0 additions & 8 deletions client/app/assets/less/redash/query.less
Original file line number Diff line number Diff line change
Expand Up @@ -652,10 +652,6 @@ nav .rg-bottom {
}
}

a.navbar-brand {
display: none;
}

.datasource-small {
visibility: visible;
}
Expand All @@ -666,10 +662,6 @@ nav .rg-bottom {
display: none;
}

a.navbar-brand {
display: block;
}

.filter-container {
padding-right: 0;
}
Expand Down
50 changes: 29 additions & 21 deletions client/app/assets/less/redash/redash-newstyle.less
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,6 @@ body {
background: #fff;
margin-bottom: 10px;

a.navbar-brand {
padding: 4px 0px 0px 0px;
margin-left: -3px !important;
}

.btn-group.open .dropdown-toggle {
-webkit-box-shadow: none;
box-shadow: none;
Expand All @@ -653,8 +648,13 @@ body {

.navbar-link-ANGULAR_REMOVE_ME {
line-height: 18px;
padding: 16px 15px;
padding: 10px 15px;
display: block;

@media (min-width: 768px) {
padding-top: 16px;
padding-bottom: 16px;
}
}

.navbar-link-ANGULAR_REMOVE_ME,
Expand All @@ -665,13 +665,6 @@ body {
&:active, &:hover, &:focus {
color: #000;
}

@media (max-width: 880px) {
& {
padding-left: 10px;
padding-right: 10px;
}
}
}

.navbar-default .btn__new button {
Expand Down Expand Up @@ -732,11 +725,10 @@ body {

.navbar-brand {
position: absolute;
left: 49%;
margin-left: -50px !important;
left: 50%;
margin-left: -25px !important; // center
display: block;
zoom: 0.9;
margin-top: 3px;
}

.va-top {
Expand Down Expand Up @@ -856,6 +848,7 @@ text.slicetext {

.navbar-brand {
left: 2%;
margin-left: 0 !important;
}

//Fix navbar collapse
Expand Down Expand Up @@ -896,13 +889,28 @@ text.slicetext {
}
}

@media (min-width: 768px) and (max-width: 850px) {
.menu-search {
width: 175px;
@media (min-width: 768px) {
@media (max-width: 880px) {
.navbar-link-ANGULAR_REMOVE_ME,
.navbar-default .navbar-nav > li > a,
.navbar-form {
padding-left: 10px !important;
padding-right: 10px !important;
}

a.navbar-brand {
margin-left: -15px !important;
}
}

a.navbar-brand {
display: none !important;
@media (max-width: 810px) {
.menu-search {
width: 175px;
}

a.navbar-brand {
margin-left: 13px !important;
}
}
}

Expand Down

0 comments on commit 0d6f482

Please sign in to comment.