transform: rotate(180deg);
}
-@media (min-width: 768px) {
+@media (min-width: $breakMin) {
/* Switch to desktop layout
-----------------------------------------------
/* hide the button in desktop view */
#civicrm-menu-nav .crm-menubar-toggle-btn {
position: absolute;
- top: -99999px;
+ top: -99999px; /* do not edit this without updating the isMobile() function in crm.menubar.js */
}
#civicrm-menu {
}
#civicrm-menu li a {
- background-color: $semiTransparentMenuColor;
+ background-color: $menuItemColor;
color: $textColor;
}
}
/* Pseudo-element to ensure vertical alignment */
- #civicrm-menu > li > a:after {
+ #civicrm-menu > li:not(#crm-qsearch) > a:after {
content: '';
display: inline-block;
height: 100%;
}
}
-@media (max-width: 768px) {
+@media (max-width: $breakMax) {
/* hide the menu in mobile view */
#crm-menubar-state:not(:checked) ~ #civicrm-menu {
display: none;