#mainmenu { border-bottom: 1px solid #CCC; } /* nav */ nav { position: relative; left: 0; width: 100%; display: block; z-index: 10000; border-radius: 0; min-height: $oci_header; height: $oci_header; max-height: $oci_header; padding-left: 0; margin-bottom: 0; list-style: none; color: $oci_light; background-color: $page_bg; &.nv { height: 100%; max-height: 100%; width: 2.3rem; max-width: 2.3rem; @media (max-width:$break3) { padding-top: $oci_header; > ul { display: none; } &.vis, &.avis { ul { } } } ul { min-height: 0; min-width: 100%; > li { height: auto; width: 100%; padding-top: 0; padding-bottom: 0; a { width: 100%; height: auto; padding: 1rem 0; span.ico { width: 100%; height: 2.3rem; } } } } > ul { height: auto; } } #logo { background: url('') center center/contain no-repeat transparent; background-image: $logo_ico; margin-right: 10px; height: 1.9rem; width: 1.9rem; } .nav-header { float: left; position: relative; padding-left: 0; margin: 0 0 0 0; list-style: none; min-height: 100%; > div { float: left; padding: 0.4rem 1rem 0 0; line-height: 1.4rem; height: 100%; } > button, > div.button { float: left; height: 100%; padding: 0.2rem 0.8rem; background: transparent; color: inherit; margin-right: 1.1rem; box-shadow: none; } .brand, .activemodule { cursor: default; @include noselect; } .activemodule { color: #fff240; overflow: hidden; } @media (min-width:#{$break3 + 1px}) { #mmmb { display: none !important; pointer-events: none; } } @media (max-width:$break3) { width: 100%; position: absolute; top: 0; left: 0; #mmmb { float: right; margin-right: 0; } } @media (min-width:#{$break3b + 1px}) { .activemodule { max-width: calc(100% - 46px); font-size: 16px } .brand { display: inline-block; } } @media (max-width:$break3b) { .brand { /*max-width: 115px; overflow: hidden*/ display: none; } .activemodule { max-width: calc(100% - 190px); font-size: 16px; line-height: 28px; padding: 0 } } } @media (min-width:#{$break3 + 1px}) { ul { &.nav-right { float: right !important; li.dropdown.submenu > ul { left: auto; right: 100%; right: calc(100% + 0.1rem); } } li[role=separator] { @include noselect; pointer-events: none; &::before { content: '|'; cursor: default; padding: 0.4rem 1rem 0 1rem; line-height: 1.4rem; height: 100%; display: block; font-weight: 400; white-space: nowrap; min-height: inherit; @include noselect; pointer-events: none; } } } } @media (max-width:$break3) { padding-top: $oci_header; &.ctxt > ul { width: 100%; > li { &[role=lbl] { max-width: 55vw; white-space: nowrap; overflow: hidden; font-size: 85%; } > a { padding: 0.4rem 0.75rem 0 0.75rem; &.fbtn { padding: 0.4rem 0.75rem 0 0.75rem; } > span { display: none; &.ico, &.glyphicon, &.caret { display: inline-block; } } } } } &#mainmenu { &.vis { > ul { display: block; } } > ul { padding-bottom: 1rem; display: none; /* initially hidden */ width: 100%; float: none; } } &.vis { > ul { height: auto; li { width: 100%; float: none; &[role=separator] { padding: 0 1rem; @include noselect; pointer-events: none; margin: 0.3rem 0; &::before { content: ''; cursor: default; position: relative; width: 100%; height: 100%; border-bottom: 1px solid $oci_light; display: block; } } } } } } > ul { height: 100%; float: left; } ul { position: relative; padding-left: 0; margin: 0 0 0 0; list-style: none; min-height: 100%; background-color: inherit; > li { list-style: none; float: left; position: relative; display: block; padding-left: 0; margin-bottom: 0; height: 100%; &.ar { float: right; } &[role=lbl], &[role=info] { color: #fff240; padding: 0.5rem 0.5rem 0 0.5rem; } a { @include noselect; cursor: pointer; padding: 0.4rem 1rem 0 1rem; line-height: 1.4rem; height: 100%; display: block; font-weight: 400; white-space: nowrap; min-height: inherit; span + .caret, span + span { margin-left: 0.5rem; } span.ico { height: 1.1rem; width: 1.1rem; background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: contain; background-clip: content-box; display: inline-block; padding: 0.15rem; } > .caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-top: 4px dashed; border-top: 4px solid\9; border-right: 4px solid transparent; border-left: 4px solid transparent } > .glyphicon { font-size: 1.1rem; } &[role=button] { &::after { content: ''; position: absolute; top: 0.2rem; left: 0.1rem; right: 0.1rem; bottom: 0; border-top: 1px solid transparent; border-left: 1px solid transparent; border-right: 1px solid transparent; border-bottom: none; border-top-left-radius: 0.2rem; border-top-right-radius: 0.2rem; } &:hover::after, &.fbtn::after { border-color: $oci_light_60; border-top-left-radius: 0.2rem; border-top-right-radius: 0.2rem; } } &.disabled { cursor: default; opacity: 0.5; } } &.dropdown { position: relative; &.submenu { > ul { position: absolute; top: 0; left: 100%; left: calc(100% + 0.1rem); right: auto; min-height: inherit; } } > ul { display: none; > li { min-height: $oci_header; float: none; display: block; } } &.open { > ul { display: block; } > a { background-color: $oci_light_60; color: $oci_white; } @media (max-width:$break3) { > ul { position: fixed; top: #{2.8rem + 2.3rem}; top: calc(#{2.8rem + 2.3rem} - 2px); left: 0.5rem; right: 0.5rem; left: calc(0.5rem - 1px); right: calc(0.5rem - 1px); height: auto; min-height: 25%; } } } } } &.dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; float: left; min-width: 10rem; padding: 5px 0; margin: 2px 0 0; font-size: 1rem; text-align: left; background-color: $oci_main; -webkit-background-clip: padding-box; background-clip: padding-box; border: 1px solid #ccc; border: 1px solid rgba(0,0,0,.15); border-radius: 4px; -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175); box-shadow: 0 6px 12px rgba(0,0,0,.175); &.right { right: 0; left: auto; } li { &[role=separator], &.divider { height: 1px; margin: 0.25rem 0 0.7rem 0; overflow: hidden; background-color: #e5e5e5; min-height: 1px; max-height: 1px; @include noselect; } &[role=lbl], &[role=info], &.info { color: $oci_lightyellow; @include noselect; } > span { padding: 0.4rem 1rem 0 0.4rem; display: inline-block; } a[role="button"]::after { border-left: none; border-right: none; border-top-left-radius: 0; } } } } } span.sbc { background-image: url('/ct/img/wave_v.svg'); }