From 47eb88e877d3c5c6219eff2d65b66675aae26c02 Mon Sep 17 00:00:00 2001 From: Michael Miday Date: Wed, 16 Sep 2015 17:18:23 +0200 Subject: [PATCH] [ticket/12769] More dropdown refactoring --- phpBB/styles/prosilver/theme/common.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index f58d8015b7..90ed7f4cc1 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -379,6 +379,7 @@ ul.linklist.bulletin > li.no-bulletin:before { } .dropdown { + display: none; position: absolute; left: 0; top: 1.2em; @@ -472,7 +473,6 @@ ul.linklist.bulletin > li.no-bulletin:before { border-radius: 5px; padding: 5px; position: relative; - min-width: 40px; max-height: 300px; } @@ -518,15 +518,27 @@ ul.linklist.bulletin > li.no-bulletin:before { width: 20px; } +.dropdown-contents a { + display: block; + padding: 5px; +} + +.jumpbox .dropdown-select { + margin: 0; +} + +.jumpbox .dropdown-contents a { + text-decoration: none; +} + .dropdown li { + display: list-item; border-top: 1px dotted transparent; float: none !important; line-height: normal !important; font-size: 1em !important; list-style: none; margin: 0; - padding-top: 4px; - padding-bottom: 4px; white-space: nowrap; text-align: left; } @@ -562,7 +574,6 @@ ul.linklist.bulletin > li.no-bulletin:before { .dropdown li.separator { border-top: 1px solid transparent; - margin: 4px 0; padding: 0; }