diff --git a/core/css/buttons.css b/core/css/buttons.css index 0e96a12..7ba6fd1 100644 --- a/core/css/buttons.css +++ b/core/css/buttons.css @@ -201,4 +201,41 @@ button.formbutton a { margin: 2px !important; font-size: 0px; } +} + +*.wdropdown > button { + min-width: 130px; + min-height: 30px; + background: var(--primary-container-background); + border: var(--primary-container-border); + cursor: pointer; + text-align: left; + margin: 2px 0; +} + +*.wdropdown > div.select { + position: absolute; + display: none; + flex-direction: column; + background: var(--secondary-container-background); + border: var(--secondary-container-border); + border-top: none; + overflow-y: auto; + max-height: 280px; +} + +*.wdropdown.active > div.select { + display: inline; +} + +*.wdropdown.active > div.select > * { + display: block; +} + +*.wdropdown > div.select > button { + background: none; + border: none; + cursor: pointer; + margin: 4px; + text-align: left; } \ No newline at end of file