diff --git a/assets/css/dark_theme.css b/assets/css/dark_theme.css index 4531dc90..3113a504 100644 --- a/assets/css/dark_theme.css +++ b/assets/css/dark_theme.css @@ -241,6 +241,31 @@ fieldset[disabled] .form-control { color: var(--white); } +/** + * Nav tabs + */ +.nav-tabs-custom { + background-color: var(--black5); + color: var(--white); +} + +.nav-tabs-custom .nav { + border-bottom-color: var(--black5); +} + +.nav-tabs-custom li.active, .nav-tabs-custom li.active a { + background-color: var(--black) !important; +} + +.nav-tabs-custom li.active a { + border-left-color: transparent !important; + border-right-color: transparent !important; +} + +.nav-tabs-custom a { + color: var(--white) !important; +} + /** * Friends list @@ -642,6 +667,10 @@ img[src$="groups_logo/default.png"] { color: var(--white); } +.delete-group-link-container a { + color: var(--white) !important; +} + /** * Post target picker diff --git a/assets/js/pages/groups/pages/members.js b/assets/js/pages/groups/pages/members.js index fe1e7d31..f6a003c7 100644 --- a/assets/js/pages/groups/pages/members.js +++ b/assets/js/pages/groups/pages/members.js @@ -18,9 +18,15 @@ const GroupMembersPage = { ComunicWeb.common.pageTitle.setTitle(info.name + " - Members"); //Create container - var membersPage = createElem2({ + var root = createElem2({ appendTo: target, type: "div", + class: "row" + }) + + var membersPage = createElem2({ + appendTo: root, + type: "div", class: "col-md-6 group-members-page", innerHTML: "

"+tr("Group members")+"

" }).querySelector(".box-body"); diff --git a/assets/js/pages/groups/pages/settings.js b/assets/js/pages/groups/pages/settings.js index 15662504..6f5257b5 100644 --- a/assets/js/pages/groups/pages/settings.js +++ b/assets/js/pages/groups/pages/settings.js @@ -14,10 +14,15 @@ const GroupSettingsPage = { */ display: async function(id, target){ + var root = createElem2({ + appendTo: target, + type: "div", + class: "row" + }) //Create settings container const settingsPage = createElem2({ - appendTo: target, + appendTo: root, type: "div", class: "group-settings-container col-md-6", innerHTML: "

"+tr("Group settings")+"

"