diff --git a/awx/ui/static/js/main-menu/main-menu.block.less b/awx/ui/static/js/main-menu/main-menu.block.less new file mode 100644 index 0000000000..a2d941aec7 --- /dev/null +++ b/awx/ui/static/js/main-menu/main-menu.block.less @@ -0,0 +1,45 @@ +/** @define MainMenu */ + +.MainMenu { + display: flex; + + background-color: white; + margin: 0; + + @media screen and (max-width: 570px) { + position: relative; + transition: height 0.5s ease-out; + justify-content: flex-start; + flex-direction: column; + height: 56px; + overflow: hidden; + + &.Menu--open { + height: 523px !important; + // border-bottom: solid thin black; + } + + } + + @media screen and (min-width: 571px) { + padding: 0 1rem; + } + + &-toggle { + @media screen and (min-width: 571px) { + display: none; + } + margin-left: auto; + } + + &--fixedTop { + width: 100%; + z-index: 1040; + position: fixed; + right: 0; + left: 0; + top: 0; + } + +} + diff --git a/awx/ui/static/js/main-menu/main-menu.partial.html b/awx/ui/static/js/main-menu/main-menu.partial.html index 4c7ec3e335..210ecd55e9 100644 --- a/awx/ui/static/js/main-menu/main-menu.partial.html +++ b/awx/ui/static/js/main-menu/main-menu.partial.html @@ -1,4 +1,4 @@ -