From e94f9a5d2b8cb40b32d435f90601570c7c3f93fc Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Thu, 31 Aug 2017 23:42:18 +0530 Subject: [PATCH] dropdown style fix --- datacenterlight/views.py | 4 ++-- hosting/static/hosting/css/landing-page.css | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index f7a07c7e..1be73eda 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -380,8 +380,8 @@ class PaymentOrderView(FormView): @cache_control(no_cache=True, must_revalidate=True, no_store=True) def get(self, request, *args, **kwargs): - if 'specs' not in request.session or 'user' not in request.session: - return HttpResponseRedirect(reverse('datacenterlight:index')) + # if 'specs' not in request.session or 'user' not in request.session: + # return HttpResponseRedirect(reverse('datacenterlight:index')) return self.render_to_response(self.get_context_data()) def post(self, request, *args, **kwargs): diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index e49a7563..dca4b560 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -90,7 +90,16 @@ h6 { @media(min-width: 768px) { .navbar-right .highlights-dropdown .dropdown-menu { border: 1px solid #fff; - box-shadow: -8px 13px 31px -8px rgba(77, 77, 77, 0.75); + } + .navbar-right .highlights-dropdown .dropdown-menu:before { + content: ''; + display: block; + height: 1px; + background: #e7e7e7; + position: absolute; + top: -1px; + left: -1px; + right: -1px; } } .navbar-right .highlights-dropdown .dropdown-menu > li > a{