Skip to content

Commit

Permalink
Fix for civicrm menu display issues in civicrm 5.13.
Browse files Browse the repository at this point in the history
  • Loading branch information
twomice committed May 22, 2019
1 parent 9a7b441 commit 7257f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 51 deletions.
2 changes: 1 addition & 1 deletion css/custom-civicrm.css

Large diffs are not rendered by default.

51 changes: 1 addition & 50 deletions scss/civicrm/main-menu/_main-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
z-index: 1000;

&.search-ongoing {
#crm-qsearch {
.form-text {
width: 14em !important;
}
}

.menumain-label {
max-width: 0;
Expand All @@ -31,45 +26,6 @@
overflow: hidden;
}

#crm-qsearch {
background: $gray-lighter !important;
margin-right: 15px;
padding: 0 24px;

&::before {
@include fa-icon(1em, $fa-var-search);
color: $crm-gray-matte;
float: left;
}

> form {
float: left;
}

#quickSearch {
> div {
width: 0;
}
}

.form-text {
background: transparent !important;
border: 0;
color: $gray-dark;
font-family: $font-family-base;
font-size: $font-size-base;
left: 10px;
padding: 0;
position: relative;
transition: width 0.5s ease-out;
width: 0 !important;

&:focus {
outline: 0;
}
}
}

> li.menumain {
border: 0;
cursor: pointer;
Expand Down Expand Up @@ -102,6 +58,7 @@
}

.menu-ul {
position: absolute;
border: 0;
box-shadow: $box-shadow;
font-family: $font-family-base;
Expand Down Expand Up @@ -141,7 +98,6 @@
font-family: $font-family-base;
left: 0 !important;
padding: $crm-main-menu-sub-menu-padding;
position: fixed;
top: $crm-main-menu-height !important;

.ui-menu-item {
Expand Down Expand Up @@ -174,11 +130,6 @@
}
}

#civicrm-menu,
#root-menu-div .menu-ul {
background: $crm-white;
}

#civicrm-menu,
#civicrm-menu > .menumain > a,
#root-menu-div .menu-item,
Expand Down

0 comments on commit 7257f92

Please sign in to comment.