From 2679c3864a2520e312c9be9113a5b2ecf13a839f Mon Sep 17 00:00:00 2001 From: Diana Whitten Date: Thu, 19 May 2016 12:10:22 -0700 Subject: [PATCH] Default theme lacks support for dropup menus The default theme assumes ALL dropdowns are drop'down' menus, however Bootstrap supports dropup menus as well. This simplies the logic in the theme's dropdown.scss file in order to support all Bootstrap types. Also, added the dropup to the theme preview page for ease of testing. Closes-bug: #1583754 Change-Id: Ib05bc59c35371dc8b2291d4a0522cf4c52047813 --- .../theme-preview/theme-preview.html | 12 ++-- .../dashboard/scss/components/_icons.scss | 5 ++ .../bootstrap/components/_dropdowns.scss | 68 +++++++++++-------- .../material/static/horizon/_icons.scss | 1 + 4 files changed, 51 insertions(+), 35 deletions(-) diff --git a/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html b/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html index a28ee81f0b..118c50b4dd 100644 --- a/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html +++ b/openstack_dashboard/contrib/developer/static/dashboard/developer/theme-preview/theme-preview.html @@ -42,8 +42,8 @@