some fixes for latest bs-dev

This commit is contained in:
Mario Vavti 2017-03-28 19:29:42 +02:00
parent 171b6a222d
commit 28ad60f892
4 changed files with 12 additions and 2 deletions

View File

@ -55,6 +55,9 @@ nav.navbar {
overflow: auto;
}
.navbar-inverse .navbar-toggler {
color: rgba(255,255,255,1);
}
/* nav overrides end */
.wall-item-tools .dropdown-menu {

View File

@ -11,7 +11,7 @@
}
.contextual-help-content-open {
top: 2.4rem;
top: 2.5rem;
}
aside {

View File

@ -191,7 +191,7 @@ nav {
.contextual-help-content-open {
display: block;
position: fixed;
top: 3.25rem;
top: 3.35rem;
left: 0px;
width: 100%;
max-height: 50%;

View File

@ -3,6 +3,13 @@
*/
$(document).ready(function() {
//this is a hotfix to make collapsible bs panels work again. this needs fixing in templates.
$('a').on('click', function(e) {
if($(this).data('toggle') == 'collapse') {
e.preventDefault();
}
});
// CSS3 calc() fallback (for unsupported browsers)
$('body').append('<div id="css3-calc" style="width: 10px; width: calc(10px + 10px); display: none;"></div>');
if( $('#css3-calc').width() == 10) {