Permalink
Browse files

BUG: CMS Menu header now changes height depending on the name. Fixes …

…7665

 Position and height were being set inline so added !important to override this.
  • Loading branch information...
1 parent 4f8d23b commit 940236a39267f13998dba26c1a33658b3bc6ffb6 Jeremy Bridson committed with wilr Aug 14, 2012
Showing with 19 additions and 4 deletions.
  1. +19 −4 admin/scss/_menu.scss
View
23 admin/scss/_menu.scss
@@ -9,7 +9,9 @@
.cms-logo-header {
background-color: darken($color-dark-bg, 10%);
- position: relative;
+ position: relative !important;
+ top:auto !important;
+ height:auto !important;
padding: 0 8px 0 4px;
line-height: 24px;
@@ -20,6 +22,7 @@
span {
color: $color-text-light;
display: block;
+ padding-left:26px;
a {
color: $color-text-dark-link;
@@ -68,9 +71,7 @@
.cms-login-status {
border-top: 1px solid $color-dark-separator;
- height: 24px;
- padding: 7px 4px 0 4px;
- overflow: hidden;
+ padding: 7px 4px;
line-height: 16px;
font-size: $font-base-size - 1;
@@ -98,6 +99,9 @@
width: ($grid-x * 24) - 1; /* 8x24 - 1 */
overflow-x: hidden;
overflow-y: auto;
+ position: relative !important;
+ top:auto !important;
+ left:auto !important;
}
&.collapsed {
@@ -128,6 +132,17 @@
}
}
+ .cms-login-status {
+ height:16px;
+ span {
+ display:none;
+ }
+ }
+
+ .cms-logo {
+ height:24px;
+ }
+
&.cms-panel .cms-panel-content {
display: block; // override panel defaults
}

0 comments on commit 940236a

Please sign in to comment.