UNPKG

@mongodb-js/mongodb-ui-components

Version:

A collection of frequently used functional UI components found on mongodb properties

73 lines (72 loc) 1.26 kB
.m-nav-bottom ul { padding: 20px 0; width: 20%; } @media (max-width: breakpoint) { .m-nav-bottom ul { width: 100%; padding: 5px 20px; } } .m-nav-bottom li { padding: 4px; font-size: 16px; } @media (max-width: breakpoint) { .m-nav-bottom li { padding: 10px 5px; } } .m-nav-bottom li small { display: block; } .m-nav-bottom a { position: relative; display: block; color: #fff; text-decoration: none; transition: 300ms; } .m-nav-bottom a:hover { color: lightGreen; } .m-nav-bottom a strong, .m-nav-bottom li strong { position: relative; color: lightGreen; } .m-nav-bottom a strong:before { content: ''; position: absolute; bottom: -4px; width: 100%; height: 1px; background-color: lightGreen; transform: scale(0, 1); transform-origin: 0 50%; transition: 250ms; } .m-nav-bottom a strong:hover:before { transform: scale(1, 1); } .m-nav-bottom-list { z-index: 1; position: absolute; width: inherit; transition: opacity 200ms; } @media (max-width: breakpoint) { .m-nav-bottom-list { position: relative; } } .m-nav-bottom-list-inactive { z-index: -1; opacity: 0; pointer-events: none; } @media (max-width: breakpoint) { .nav-panel-bottom__dummy-section { display: none; } }