/** * Licensed Materials - Property of IBM * * IBM Cognos Products: BI * * (C) Copyright IBM Corp. 2015, 2018 US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ div.appbar { height: auto; } .menu-label { line-height: 38px; color: $white; } .navbar .menu-label { padding-left: 0px; [dir="rtl"] & { padding-left: auto; padding-right: 0px; } } .navbar .dropdown-menu { top: 0; left: 100%; margin-top: -6px; margin-left: 5px; -webkit-border-radius: 0 6px 6px 6px; -moz-border-radius: 0 6px 6px; border-radius: 0 6px 6px 6px; [dir="rtl"] & { left: auto; right: 100%; margin-left: 0px; margin-right: 5px; } } .navbar .dropdown-toggle { opacity: $opacity-upper; margin: 3px; border-bottom: 1px solid $gray1; min-width: 180px; cursor: pointer; } .navbar .dropdown-toggle .webfont{ width: 45px; height: 45px; display: inline-block; vertical-align: middle; margin-left: 4px; margin-right: 5px; [dir="rtl"] & { margin-left: 5px; margin-right: 4px; } } .navbar .trailing .dropdown-menu { left: 100%; border-bottom: 0px solid transparent !important; border-radius: 0px; top: auto !important; bottom: 6px; [dir="rtl"] & { left: auto; right: 100%; } } .navbar .dropdown-toggle span img, .appbar .dropdown-toggle span img { height: 24px; width: 24px; margin-left: 21px; margin-right: 10px; display: inline-block; opacity: $opacity-upper; [dir="rtl"] & { margin-left: 10px; margin-right: 21px; } } .navbar .dropdown-toggle > .webfont:before { color: $white; margin-top: 10px; position: absolute; margin-left: $space-s; opacity: $opacity-upper; font-size: $heading-size-s; [dir="rtl"] & { margin-left: 0px; margin-right: $space-s; } } .dropdown-menu { border: none; border-color: $neutral1; background-color: $gray5; border-radius: 0px; box-shadow: 0px 2px 2px $gray5; z-index: 2000; min-width: 200px; } .dropdown-menu h1 { background-color: $gray5; margin: 0px; } .dropdown-menu .divider { background-color: $neutral1; } .dropdown-menu li a:before { content: ''; display: inline-block; min-height: 44px; vertical-align: middle; } .dropdown-menu li a { color: $neutral1; font-family: $font-family; font-size: $body-size-s; padding: 0px 15px; line-height: 44px; min-height: 44px; border: 1px solid transparent; outline: none; } .dropdown-menu li a:hover, .dropdown-menu li a:focus { background-color: $gray5; color: $primary2; } .dropdown-menu li a:focus { border-color: $primary2; } .dropdown-menu .dropdown-menuitem span.wfg_accept { display: none; } .dropdown-menu .dropdown-menuitem .menuitem-toggled.textOnly, .dropdown-menu .dropdown-menuitem .menuitem-toggled span.wfg_accept { color: $primary2 !important; } .dropdown-menu .dropdown-menuitem .menuitem-toggled span.wfg_accept { display: inline; position: relative; top: 10px; left: -10px; margin-left: -12px; font-weight: $fw-bold; min-width: 16px; min-height: 16px; font-size: $caption-size; line-height: 16px; [dir="rtl"] & { left: auto; margin-left: 0px; right: -10px; margin-right: -12px; } } .open >.dropdown-menu { margin-top: 0px; border-top: 0px; padding: 0px; } .dropdown-menu-right { text-align: left; [dir="rtl"] & { text-align: right; } } .dropdown-header:before { content: ''; display: inline-block; height: 45px; vertical-align: middle; } .dropdown-header { color: $gray2; font-family: $font-family; font-size: $body-size-s; min-width: 45px; padding: 0px 15px; } .trailing .dropdown-menu{ right: 0; left: auto; [dir="rtl"] & { left: 0; right: auto; } } .toolbarItem>span.hcLabel { display: none; } .toolbarItem:focus > span { margin: -1px; } .open { color: $gray1; } .open .dropdown-megamenu { display: flex; box-shadow: 0 0 4px 0 rgba($black, 0.15); margin-left: -15px; padding: 0; border: 0; background-color: $gray5; } .open .dropdown-megamenu li { margin: 30px $space-xl; min-width: 60px; /* using min-width to fix a bug in IE11*/ } .open .dropdown-megamenu li a:before { display: none; } .open .dropdown-megamenu li a { padding: 0px 0px; background-color: $gray5; color: $neutral1; font-size: $body-size-s; line-height: 14px; color: $neutral1; outline: none; cursor: pointer; margin: 0; border: 1px solid transparent; text-align: center; } .open .dropdown-megamenu li a div { margin: 0 auto; font-size: $heading-size-xl; padding-bottom: 15px; } .open .dropdown-megamenu li a:hover, .open .dropdown-megamenu li a:focus { color: $primary2; background-color: inherit; } .open .dropdown-megamenu li a:focus { border-color: $primary2; } .arrow-wrapper { display: none; width: 0px; height: 9px; position: absolute; z-index: 2202; } .selected .arrow-wrapper, .open .arrow-wrapper { display: block; } .open .arrow { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 9px solid $gray5; margin-left: 14px; [dir="rtl"] & { margin-left: 0px; margin-right: 14px; } } .glass .menu.button.arrow:after, .arrow:after { content: " "; margin-left: -10px; border-style: solid; border-color: transparent; border-width: 0 10px 10px; position: absolute; width: 0; height: 0; [dir="rtl"] & { margin-left: 0px; margin-right: -10px; } } .navbar .open .arrow { display: none; } .toolbarItem:focus > span { border: none; margin: 0px; } .dropdown-toggle { outline: 0; } .inlineFlex{ display: inline-flex; } @media (min-width: 769px) { .appbar .trailing .menu.dropDownImage:not(.switcher){ padding-right: $space-s; [dir="rtl"] & { padding-right: 0px; padding-left: $space-s; } } } /* Hides the user name on iPad portrait to have more space in the nav bar */ @media (max-width: 768px) { .appbar .trailing .menu.dropDownImage:not(.switcher){ font-size: 0; } }