From 0f0cd110587ebe5bbf0bd86652c1fe03eaa8e240 Mon Sep 17 00:00:00 2001 From: Silversthorn Date: Mon, 25 Sep 2023 20:15:17 +0200 Subject: [PATCH 1/3] Use nav-pills instead of nav-tabs --- app/frontend/static/assets/css/dark/style.css | 28 ++++++++++++++++--- .../static/assets/css/shared/style.css | 23 ++++++++++++--- .../templates/server/bedrock_wizard.html | 2 +- app/frontend/templates/server/wizard.html | 2 +- 4 files changed, 45 insertions(+), 10 deletions(-) diff --git a/app/frontend/static/assets/css/dark/style.css b/app/frontend/static/assets/css/dark/style.css index c8ac5eb9..7da26c41 100755 --- a/app/frontend/static/assets/css/dark/style.css +++ b/app/frontend/static/assets/css/dark/style.css @@ -22979,27 +22979,47 @@ ul li { padding-left: 0; } -.tab-simple-styled { +.nav-tabs.tab-simple-styled { border-bottom: none; margin-top: 30px; margin-bottom: 30px; } -.tab-simple-styled .nav-item { +.nav-tabs.tab-simple-styled .nav-item { margin-right: 30px; } -.tab-simple-styled .nav-item .nav-link { +.nav-tabs.tab-simple-styled .nav-item .nav-link { border: none; padding: 0; color: var(--base-text); } -.tab-simple-styled .nav-item .nav-link.active { +.nav-tabs.tab-simple-styled .nav-item .nav-link.active { background: var(--dropdown-bg); color: var(--info); } +.nav-pills.tab-simple-styled { + border-bottom: none; + /*margin-top: 1.5rem;*/ + margin-bottom: 1.5rem; +} + +/*.nav-pills.tab-simple-styled .nav-item { + margin-right: 1.5rem; +}*/ + +.nav-pills.tab-simple-styled .nav-item .nav-link.active { + background: var(--info); + color: #ffffff; +} + +.nav-pills.tab-simple-styled .nav-link.active { + background: var(--info); + color: #ffffff; +} + .tab-tile-style { display: -webkit-box; display: -ms-flexbox; diff --git a/app/frontend/static/assets/css/shared/style.css b/app/frontend/static/assets/css/shared/style.css index 7352d637..a4b6df04 100755 --- a/app/frontend/static/assets/css/shared/style.css +++ b/app/frontend/static/assets/css/shared/style.css @@ -21494,27 +21494,42 @@ ul li { padding-left: 0; } -.tab-simple-styled { +.nav-tabs.tab-simple-styled { border-bottom: none; margin-top: 30px; margin-bottom: 30px; } -.tab-simple-styled .nav-item { +.nav-tabs.tab-simple-styled .nav-item { margin-right: 30px; } -.tab-simple-styled .nav-item .nav-link { +.nav-tabs.tab-simple-styled .nav-item .nav-link { border: none; padding: 0; color: var(--gray); } -.tab-simple-styled .nav-item .nav-link.active { +.nav-tabs.tab-simple-styled .nav-item .nav-link.active { background: #fff; color: var(--info); } +.nav-pills.tab-simple-styled { + border-bottom: none; + /*margin-top: 1.5rem;*/ + margin-bottom: 1.5rem; +} + +/*.nav-pills.tab-simple-styled .nav-item { + margin-right: 1.5rem; +}*/ + +.nav-pills.tab-simple-styled .nav-item .nav-link.active { + background: var(--info); + color: #ffffff; +} + .tab-tile-style { display: -webkit-box; display: -ms-flexbox; diff --git a/app/frontend/templates/server/bedrock_wizard.html b/app/frontend/templates/server/bedrock_wizard.html index e1ae727f..4193c6d7 100644 --- a/app/frontend/templates/server/bedrock_wizard.html +++ b/app/frontend/templates/server/bedrock_wizard.html @@ -5,7 +5,7 @@ {% block content %}
-