$nav-font-size: 16px; $nav-font-color: #FFFFFF; .x-navpanel { overflow: visible; .x-panel-bodyWrap { overflow: visible; .x-panel-body-nav { color: #404040; font-size: 13px; line-height: 17px; font-weight: 400; font-family: 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif; background: #f6f6f6; overflow: visible; .x-autocontainer-outerCt { background-color: #484A69; .x-autocontainer-innerCt { .x-navlist { position: relative; list-style: none; padding: 0; margin: 0; width: 100%; .x-navitem { cursor: default; position: relative; list-style: none; padding: 0; margin: 0; outline: none !important; .x-navitem-body { background: #505275; .nav-inner-wrap { position: relative; overflow: hidden; list-style: none; max-height: 60px; padding: 0 10px; display: flex; .nav-inner-icon { opacity: 0.4; color: $nav-font-color; font-size: 24px; text-align: center; margin-left: 22px; display: inline; margin-right: 16px; &:before { line-height: 60px; } } .nav-inner-text { font-size: $nav-font-size; color: $nav-font-color; letter-spacing: 4px; text-align: left; opacity: 0.46; line-height: 60px; height: 60px; } } } } .x-navitem-over { .x-navitem-body { background: #474968; box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.50); .nav-inner-wrap { .nav-inner-icon { opacity: 1; } .nav-inner-text { opacity: 1; } } } } } } } } } } .x-navitem-menu { position: absolute; z-index: 9999; top: 0; background: white; overflow: hidden; // animation: name duration timing-function delay iteration-count direction; .nav-menu-body { display: flex; padding: 5px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; .menu { width: 200px; border-right: 1px dashed #ccc; letter-spacing: 1px; color: #444; &:last-child { border: none; } .menu-title { margin: 5px; } .menu-content { list-style: none; padding-left: 10px; padding-right: 10px; .menuitem { padding: 5px; display: flex; border-radius: 4px; align-content: space-between; .item-text { cursor: pointer; line-height: 24px; white-space: nowrap; width: 130px; overflow: hidden; text-overflow: ellipsis; } .item-icon { cursor: pointer; float: right; display: none; background: #64b448; color: #fff; font-size: 11px; padding: 3px 6px; border-radius: 3px; margin-right: 5px; font-weight: 400; width: 40px; &:hover { opacity: 0.7; } } &:hover { background-color: #E4E4E4; .item-icon { display: block; } .tem-text { color: blue; } } } } } } }