| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- /* Dropdown Button */
- .dropbtn {
- background-color: transparent;
- color: white;
- /*padding: 16px;*/
- font-size: 16px;
- border: none;
- cursor: pointer;
- }
- /* Dropdown button on hover & focus */
- .dropbtn:hover, .dropbtn:focus {
- /*background-color: #2980B9;*/
- }
- /* The container <div> - needed to position the dropdown content */
- .dropdown {
- position: relative;
- display: inline-block;
- }
- /* Dropdown Content (Hidden by Default) */
- .dropdown-content {
- display: none;
- position: absolute;
- /*background-color: #f1f1f1;*/
- background-color: #F39C12;
- min-width: 160px;
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
- z-index: 1;
- top: 45px;
- }
- /* Links inside the dropdown */
- .dropdown-content a {
- color: white;
- padding: 10px 5px;
- text-decoration: none;
- display: block;
- text-align: start;
- }
- /* Change color of dropdown links on hover */
- .dropdown-content a:hover {
- background-color: grey;
- }
- /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
- .show {
- display: block;
- }
|