From 51eaa633c15464705860ab1f9392296bde59d12a Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 26 Feb 2021 12:53:57 -0800 Subject: [PATCH] Some bootstrap5 css margins added. Partial Voux style fix on menus. --- e107_themes/voux/style.css | 1 + e107_web/css/e107.css | 57 +++++++++++++++++++++++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/e107_themes/voux/style.css b/e107_themes/voux/style.css index f94e8c79b..b86d203ad 100644 --- a/e107_themes/voux/style.css +++ b/e107_themes/voux/style.css @@ -531,6 +531,7 @@ img.news-image-1 { margin-bottom:15px } .menu span.badge { float:right} .menu ul { padding-left:15px; margin-left:15px } +.menu ul.list-group, .menu ul.media-list { padding-left:0; margin-left:0 } .menu ul li { padding-bottom:8px } .menu ul.list-unstyled { padding-left:0} diff --git a/e107_web/css/e107.css b/e107_web/css/e107.css index dc89f2e6c..0d11f8aa4 100644 --- a/e107_web/css/e107.css +++ b/e107_web/css/e107.css @@ -416,4 +416,59 @@ div.e-debug .btn { display: inline-block; margin-bottom: 0; font- /* Bootstrap 5 Shims */ .pagination { display: flex !important; } .justify-content-between { justify-content: space-between !important; } -.page-link.disabled { pointer-events: none; opacity: 0.5; color: #959595; } \ No newline at end of file +.page-link.disabled { pointer-events: none; opacity: 0.5; color: #959595; } +.news-view-pagination > li { padding-left: 0; padding-right: 0; } +.news-view-pagination > li > a { float:none; display:inline-block } + +.mx-0 { + margin-right:0!important; + margin-left:0!important +} +.mx-1 { + margin-right:.25rem!important; + margin-left:.25rem!important +} +.mx-2 { + margin-right:.5rem!important; + margin-left:.5rem!important +} +.mx-3 { + margin-right:1rem!important; + margin-left:1rem!important +} +.mx-4 { + margin-right:1.5rem!important; + margin-left:1.5rem!important +} +.mx-5 { + margin-right:3rem!important; + margin-left:3rem!important +} +.mx-auto { + margin-right:auto!important; + margin-left:auto!important +} +.my-0 { + margin-top:0!important; + margin-bottom:0!important +} +.my-1 { + margin-top:.25rem!important; + margin-bottom:.25rem!important +} +.my-2 { + margin-top:.5rem!important; + margin-bottom:.5rem!important +} +.my-3 { + margin-top:1rem!important; + margin-bottom:1rem!important +} +.my-4 { + margin-top:1.5rem!important; + margin-bottom:1.5rem!important +} +.my-5 { + margin-top:3rem!important; + margin-bottom:3rem!important +} \ No newline at end of file