Skip to content

Commit

Permalink
thusfar
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmagicii committed Oct 6, 2024
1 parent 925bb31 commit b6e22c4
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 18 deletions.
29 changes: 17 additions & 12 deletions app/www/themes/default/area/elements/sitemenu/page.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,26 @@ $Content = match(TRUE) {

?>

<div id="<?php $Util->Print($Element->GetID()) ?>" class="offcanvas offcanvas-end offcanvas-glass z-index-high" data-bs-scroll="true" data-bs-backdrop="false">
<div class="offcanvas-header">

<h5 class="offcanvas-title">
<?php $Util->Print($Element->Title) ?>
<div id="<?php $Util->Print($Element->GetID()) ?>" class="offcanvas offcanvas-end offcanvas-glass z-index-high atl-sitemenu-page" data-bs-scroll="true" data-bs-backdrop="false">

<?php if($Element->Subtitle): ?>
<div class="offcanvas-subtitle">
<i class="mdi mdi-chevron-right"></i> <?php $Util->Print($Element->Subtitle) ?>
<div class="offcanvas-header">
<div>
<div class="offcanvas-title">
<?php $Util->Print($Element->Title) ?>
<?php if($Element->Subtitle): ?>
<div class="offcanvas-subtitle">
<i class="mdi mdi-chevron-right"></i> <?php $Util->Print($Element->Subtitle) ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
</h5>

<button type="button" data-<?php $Util->Print($Element->GetDataKey()) ?>-close="parent" class="btn-close"></button>
</div>
<div>
<button type="button" class="btn btn-dark" data-<?php $Util->Print($Element->GetDataKey()) ?>-close="parent">
<i class="mdi mdi-close"></i>
</button>
</div>
</div>

<div class="offcanvas-body">

<?php if($Element->GetID() !== 'SiteMenuRoot'): ?>
Expand Down
2 changes: 1 addition & 1 deletion app/www/themes/default/area/sitemenu-main/root.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use Nether\User;
* @var Atlantis\UI\SiteMenuPage $Element
*/

$Element->Title = 'Main Menu';
$Element->Title = $App->Config->Get(Atlantis\Key::ConfProjectName);

$AllowLogin = $App->Config[Atlantis\Key::ConfUserAllowLogin];
$AllowSignup = $App->Config[Atlantis\Key::ConfUserAllowSignup];
Expand Down
19 changes: 17 additions & 2 deletions app/www/themes/default/css/src/elements/sitemenu.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
.atl-sitemenu-page .offcanvas-header {
display: flex;
justify-content: space-between;
align-items: center !important;
}

.atl-sitemenu-page .offcanvas-header .offcanvas-title {
font-weight: bold;
}

.atl-sitemenu-page .offcanvas-header .btn-dark {
padding: 0rem 0.5rem;
font-size: 1.5rem;
}

.offcanvas-header {
align-items: start !important;
.atl-sitemenu-page .offcanvas-header .btn-dark .mdi {
margin: 0px;
padding: 0px;
}

.sitemenu-body-lock {
Expand Down
22 changes: 19 additions & 3 deletions app/www/themes/default/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*//
@date 2024-10-06 21:45:39 UTC
@date 2024-10-06 22:37:51 UTC
@files 43 [
"src\/imports.css",
"src\/main.css",
Expand Down Expand Up @@ -3753,8 +3753,24 @@ is being used and then prefixing all these with that theme name, if i recall. */
/*//////////////////////////////////////////////////////////////////////////////
//// src/elements/sitemenu.css ///////////////////////////////////////////////*/

.offcanvas-header {
align-items: start !important;
.atl-sitemenu-page .offcanvas-header {
display: flex;
justify-content: space-between;
align-items: center !important;
}

.atl-sitemenu-page .offcanvas-header .offcanvas-title {
font-weight: bold;
}

.atl-sitemenu-page .offcanvas-header .btn-dark {
padding: 0rem 0.5rem;
font-size: 1.5rem;
}

.atl-sitemenu-page .offcanvas-header .btn-dark .mdi {
margin: 0px;
padding: 0px;
}

.sitemenu-body-lock {
Expand Down

0 comments on commit b6e22c4

Please sign in to comment.