1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- //
- // Dropdowns
- // --------------------------------------------------
- // Unify .btn-link appearance with anchors
- .dropdown-menu>li>a,
- .dropdown-menu>li>.btn-link {
- display: block;
- border: none;
- clear: both;
- float: none;
- padding: 4px 20px;
- width: 100%;
- color: @dropdown-link-color;
- font-weight: normal;
- line-height: @line-height-base;
- text-align: left;
- white-space: nowrap;
- &:hover, &:focus {
- background-color: @dropdown-link-hover-bg;
- color: @dropdown-link-hover-color;
- text-decoration: none;
- }
- // Set material icons in dropdown menus
- .material-icon {
- margin: -2px 0px;
- margin-right: @line-height-computed * .35;
- position: relative;
- bottom: 1px;
- font-size: 18px;
- }
- }
- // Dropdown footer
- .dropdown-menu .dropdown-footer {
- padding: 6px 20px;
- }
- // Always displayed on mobile dropdown
- .mobile-dropdown {
- position: static;
- margin: 0px;
- }
- .mobile-dropdown.open>.dropdown-menu {
- border: none;
- border-radius: 0;
- .box-shadow(none);
- display: block;
- margin: 0px;
- width: 100%;
- position: static;
- }
- // Guest menu
- .user-dropdown .guest-preview {
- text-align: center;
- .row {
- margin: 0px;
- }
- }
- // User menu
- .navbar .user-dropdown {
- width: 240px;
- }
- .user-dropdown .dropdown-header {
- padding: 6px 20px;
- font-size: @font-size-large;
- strong {
- font-weight: normal;
- }
- }
|