From ffabf2353c9150b5f45be254479707d0acb23fe6 Mon Sep 17 00:00:00 2001 From: Daniel Pan Date: Fri, 1 Apr 2016 17:53:41 +0800 Subject: [PATCH] fix conflict of dropdown --- media/css/seahub.css | 14 +++---- seahub/templates/js/templates.html | 40 ++++++++++---------- seahub/templates/libraries.html | 6 +-- static/scripts/app/views/device.js | 2 +- static/scripts/app/views/repo.js | 2 +- static/scripts/app/views/widgets/dropdown.js | 14 +++---- 6 files changed, 39 insertions(+), 39 deletions(-) diff --git a/media/css/seahub.css b/media/css/seahub.css index f1c2142298..f8bafacc86 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -1243,17 +1243,17 @@ a.popover-item { margin:0; } /**** dropdown menu ******/ -.dropdown { +.sf-dropdown { position:relative; } -.dropdown-inline { +.sf-dropdown-inline { display:inline-block; } -button.dropdown-toggle:focus { +button.sf-dropdown-toggle:focus { background-color:#ddd !important; outline:none; } -.dropdown-menu { +.sf-dropdown-menu { position:absolute; background:#fff; padding:6px 1px; @@ -1263,8 +1263,8 @@ button.dropdown-toggle:focus { box-shadow:0 2px 3px 0 rgba(34,36,38,.15); z-index:10; } -.dropdown-menu li a, -.dropdown-menu a { +.sf-dropdown-menu li a, +.sf-dropdown-menu a { display:block; padding:4px 12px; min-width:110px; @@ -1272,7 +1272,7 @@ button.dropdown-toggle:focus { color:#444; font-weight:normal; } -.dropdown-menu a:hover { +.sf-dropdown-menu a:hover { background:#feaa7c; text-decoration:none; color:#fff; diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index fee286c830..69bb2f6838 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -41,9 +41,9 @@
-