/* # ----------------------------------------------------------------------------- # ~/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.css # Provides styles for J1 Module Dropdowns # # Product/Info: # https://jekyll.one # # Copyright (C) 2021 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # ----------------------------------------------------------------------------- */ ul.dropdown-content { list-style-type: none; /* Remove bullets */ padding: 0; /* Remove padding */ margin: 0; /* Remove margins */ } .dropdown-content { background-color: #fff; margin: 0; display: none; min-width: 100px; overflow-y: auto; opacity: 0; position: absolute; left: 0; top: 0; z-index: 9999; -webkit-transform-origin: 0 0; transform-origin: 0 0 -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); } .dropdown-content:focus { outline: 0 } .dropdown-content li { clear: both; color: rgba(0,0,0,0.87); cursor: pointer; min-height: 50px; line-height: 1.5rem; width: 100%; text-align: left } .dropdown-content li:hover,.dropdown-content li.active { background-color: #eee } .dropdown-content li:focus { outline: none } .dropdown-content li.divider { min-height: 0; height: 1px } .dropdown-content li>a,.dropdown-content li>span { font-size: 16px; color: #424242; display: block; line-height: 22px; padding: 14px 16px } .dropdown-content li>span>label { top: 1px; left: 0; height: 18px } .dropdown-content li>a>i { height: inherit; line-height: inherit; float: left; margin: 0 24px 0 0; width: 24px } .dropdown-content li:focus { background-color: #dadada } .dropdown-content [type="checkbox"]+label { top: 1px; left: 0; height: 18px; -webkit-transform: none; transform: none } .dropdown-content li.divider { min-height: 0; height: 1px; overflow: hidden; background-color: #e0e0e0; } .dropdown-trigger { cursor: pointer }