/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. * * This Source Code Form is "Incompatible With Secondary Licenses", as * defined by the Mozilla Public License, v. 2.0. */ /* The container
- needed to position the dropdown content */ .dropdown { position: relative; display: inline-block; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { position: absolute; background-color: #eee; min-width: 120px; z-index: 1; text-align: left; margin: 0; padding: 0; border: 1px solid #ddd; -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); list-style: none; } .dropdown-content.menu-up { bottom: 100%; } .dropdown-separator { border-bottom: 1px solid #ddd; } /* Links inside the dropdown */ .dropdown-content a { white-space: nowrap; background-color: #eee; color: black !important; padding: 4px 8px; text-decoration: none !important; display: block; } /* Change color of dropdown links on hover */ .dropdown-content li .active { text-decoration: none; background-color: #39f; }