Compare commits
3 Commits
master
...
ThemeProbl
| Author | SHA1 | Date | |
|---|---|---|---|
| 578817b947 | |||
| 00064be2fa | |||
| be6843371d |
@ -13,13 +13,9 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="wwwroot\Themes\SZUAbsolventenverein.Theme.Website\icon.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.Extensions.Localization" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="9.0.2" />
|
||||
<PackageReference Include="Microsoft.Extensions.Localization" Version="9.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@ -10,7 +10,7 @@ namespace SZUAbsolventenverein.Theme.Website
|
||||
public Oqtane.Models.Theme Theme => new Oqtane.Models.Theme
|
||||
{
|
||||
Name = "SZUAbsolventenverein Website",
|
||||
Version = "1.0.0",
|
||||
Version = "1.0.2",
|
||||
PackageName = "SZUAbsolventenverein.Theme.Website",
|
||||
ThemeSettingsType = "SZUAbsolventenverein.Theme.Website.ThemeSettings, SZUAbsolventenverein.Theme.Website.Client.Oqtane",
|
||||
ContainerSettingsType = "SZUAbsolventenverein.Theme.Website.ContainerSettings, SZUAbsolventenverein.Theme.Website.Client.Oqtane",
|
||||
|
||||
@ -1,16 +0,0 @@
|
||||
@namespace Oqtane.Themes.Controls
|
||||
@inherits MenuBase
|
||||
|
||||
@if (MenuPages.Any())
|
||||
{
|
||||
<span class="app-menu-toggler">
|
||||
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#Menu" aria-controls="Menu" aria-expanded="false" aria-label="Toggle Navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
</span>
|
||||
<div class="app-menu">
|
||||
<div class="collapse navbar-collapse" id="Menu">
|
||||
<MenuItemsVertical ParentPage="null" Pages="MenuPages" />
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@ -4,15 +4,24 @@
|
||||
|
||||
<main role="main">
|
||||
<nav class="navbar navbar-dark bg-primary fixed-top">
|
||||
<Logo />
|
||||
<Menu Orientation="Horizontal" />
|
||||
|
||||
<div class="controls ms-auto">
|
||||
<div class="controls-group"><UserProfile ShowRegister="@_register" /> <Login ShowLogin="@_login" /> <ControlPanel ButtonClass="btn-outline-light" /></div>
|
||||
<div class="d-flex align-items-center gap-2 order-1 order-md-1">
|
||||
<Logo />
|
||||
|
||||
</div>
|
||||
<div class="d-flex align-items-right gap-2 order-1 order-md-1">
|
||||
<Menu Orientation="Horizontal"></Menu>
|
||||
|
||||
</div>
|
||||
<div class="d-flex align-items-center gap-2 order-1 order-md-1">
|
||||
<div class="d-flex align-items-center gap-2 order-1 order-md-1">
|
||||
<ControlPanel/>
|
||||
</div>
|
||||
<div class="d-flex align-items-center gap-2 order-1 order-md-1">
|
||||
<UserProfile ShowRegister="@_register" />
|
||||
<Login ShowLogin="@_login" />
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
@ -96,14 +105,9 @@
|
||||
</div>
|
||||
<Pane Name="Bottom Full Width" />
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="text text-center">
|
||||
<p>Impressum | Datenschutz | AGB</p>
|
||||
</div>
|
||||
</footer>
|
||||
</main>
|
||||
|
||||
|
||||
@code {
|
||||
public override string Name => "Theme1";
|
||||
|
||||
@ -127,8 +131,5 @@
|
||||
}
|
||||
}
|
||||
|
||||
private void ToggleDropdown()
|
||||
{
|
||||
_showDropdown = !_showDropdown;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
ich pr@namespace SZUAbsolventenverein.Theme.Website
|
||||
@namespace SZUAbsolventenverein.Theme.Website
|
||||
@inherits ModuleBase
|
||||
@implements Oqtane.Interfaces.ISettingsControl
|
||||
@inject ISettingService SettingService
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB |
@ -1,89 +1,5 @@
|
||||
/* Oqtane Styles */
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
max-width: 80vw; /* oder max-width: 100%;*/
|
||||
margin: 0 auto;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
background-color: #bbb;
|
||||
padding: 1rem 0;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
width: 80vw; /* Wichtig!*/
|
||||
/*left: 50%; /* horizontale Zentrierung mit transform*/
|
||||
/*transform: translateX(-50%);*/
|
||||
border: 3px solid #75767B;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
body {
|
||||
padding-top: 100px; /* H<>he der fixierten Navigation kompensieren */
|
||||
}
|
||||
|
||||
.app-logo .img-fluid {
|
||||
max-height: 60px;
|
||||
}
|
||||
|
||||
.app-menu {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.nav-item a {
|
||||
color: black;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-item a.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background-color: #bbb;
|
||||
padding: 1rem 0;
|
||||
text-align: center;
|
||||
border: 3px solid #75767B;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
|
||||
.wrapper {
|
||||
max-width: 80vw; /* max. 80% der Viewport-Breite */
|
||||
margin: 0 auto; /* horizontal zentrieren */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
main.flex-fill {
|
||||
flex: 1 0 auto; /* Flex-grow 1, flex-shrink 0, flex-basis auto */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0; /* Wichtig f<>r flexbox overflow*/
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 80vw; /* Fixe Breite 80% Viewport */
|
||||
margin: 0 auto;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 3px solid #75767B;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
background-color: white;
|
||||
padding: 1rem;
|
||||
padding-top: 7rem;
|
||||
}
|
||||
|
||||
/* App Logo */
|
||||
@ -100,14 +16,19 @@ main.flex-fill {
|
||||
background-color: #ffffff !important;
|
||||
border-width: 0.5px !important;
|
||||
border-bottom-color: #ccc !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.table .form-select {
|
||||
background-color: #ffffff !important;
|
||||
border-width: 0.5px !important;
|
||||
border-bottom-color: #ccc !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
.bg-primary {
|
||||
background-color: gray !important;
|
||||
|
||||
}
|
||||
|
||||
.table .btn-primary {
|
||||
background-color: var(--bs-primary);
|
||||
}
|
||||
@ -119,6 +40,10 @@ main.flex-fill {
|
||||
.alert-dismissible .btn-close {
|
||||
z-index: 1;
|
||||
}
|
||||
.dropdown-menu {
|
||||
|
||||
background-color: grey;
|
||||
}
|
||||
|
||||
.controls {
|
||||
z-index: 2000;
|
||||
@ -131,27 +56,26 @@ main.flex-fill {
|
||||
font-size: 0.9rem;
|
||||
padding-bottom: 0.5rem;
|
||||
white-space: nowrap;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.app-menu .nav-item a {
|
||||
border-radius: 4px;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 3rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.app-menu .nav-item a {
|
||||
border-radius: 4px;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 3rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.app-menu .nav-item a.active {
|
||||
background-color: rgba(255,255,255,0.25);
|
||||
color: white;
|
||||
}
|
||||
.app-menu .nav-item a.active {
|
||||
background-color: dimgrey;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.app-menu .nav-item a:hover {
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
color: white;
|
||||
}
|
||||
.app-menu .nav-item a:hover {
|
||||
background-color: dimgray;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.app-menu .nav-link .oi {
|
||||
width: 1.5rem;
|
||||
@ -160,69 +84,169 @@ main.flex-fill {
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.app-search input {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.navbar-toggler {
|
||||
background-color: #fff;
|
||||
border: 2px solid #75767B;
|
||||
border-radius: 6px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
margin: .5rem;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
|
||||
transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.navbar-toggler:hover, .navbar-toggler:focus {
|
||||
background-color: #f0f0f0;
|
||||
border-color: #444;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.hamburger {
|
||||
width: 40px;
|
||||
height: 28px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
div.app-moduleactions a.dropdown-toggle, div.app-moduleactions div.dropdown-menu {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.hamburger span {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
background: #e5e7eb;
|
||||
border-radius: 2px;
|
||||
transition: transform 0.25s ease, opacity 0.25s ease;
|
||||
.footer {
|
||||
padding-top: 15px;
|
||||
min-height: 40px;
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
.app-search {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.hamburger span:nth-child(1) {
|
||||
.app-search input {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.app-search input + button {
|
||||
position: initial;
|
||||
padding-top: 7px;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
|
||||
.app-search:active, .app-search:hover {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
min-height: 96px;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.hamburger span:nth-child(2) {
|
||||
top: 12px;
|
||||
}
|
||||
.app-search:active .app-form-inline, .app-search:hover .app-form-inline {
|
||||
margin: 10px auto;
|
||||
position: relative;
|
||||
display: block;
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.hamburger span:nth-child(3) {
|
||||
bottom: 0;
|
||||
}
|
||||
.app-search:active .app-form-inline input, .app-search:hover .app-form-inline input {
|
||||
width: 100%;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* Animation beim Klick (wird aktiv, wenn .active hinzugef<65>gt wird) */
|
||||
.hamburger.active span:nth-child(1) {
|
||||
transform: translateY(12px) rotate(45deg);
|
||||
.app-search:active .app-form-inline input + button, .app-search:hover .app-form-inline input + button {
|
||||
position: absolute;
|
||||
color: rgb(42, 159, 214);
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
/* Dynamische Schriftgr<67><72>e im Dropdown-Men<65> */
|
||||
.app-menu .nav-item a {
|
||||
font-size: clamp(9px, 3vw, 13px); /* Dynamische, begrenzte Schriftgr<67><72>e */
|
||||
}
|
||||
|
||||
.hamburger.active span:nth-child(2) {
|
||||
opacity: 0;
|
||||
.app-menu-toggler {
|
||||
position: fixed;
|
||||
top: 1.5rem; /* Abstand von oben */
|
||||
left: 17rem; /* Abstand von rechts */
|
||||
}
|
||||
|
||||
.hamburger.active span:nth-child(3) {
|
||||
transform: translateY(-12px) rotate(-45deg);
|
||||
.app-menu {
|
||||
position: fixed;
|
||||
right: 1rem;
|
||||
margin-top: 2rem;
|
||||
width: 25%;
|
||||
background-color: grey;
|
||||
}
|
||||
|
||||
|
||||
.navbar {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.controls {
|
||||
height: 60px;
|
||||
top: 15px;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
background-color: grey;
|
||||
}
|
||||
|
||||
.controls-group {
|
||||
float: right;
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
top: 60px;
|
||||
}
|
||||
|
||||
.app-search:active, .app-search:hover {
|
||||
min-height: 60px;
|
||||
}
|
||||
|
||||
|
||||
}@media (max-width: 504px) {
|
||||
|
||||
/* Dynamische Schriftgr<67><72>e im Dropdown-Men<65> */
|
||||
.app-menu .nav-item a {
|
||||
font-size: clamp(9px, 3vw, 13px); /* Dynamische, begrenzte Schriftgr<67><72>e */
|
||||
}
|
||||
|
||||
.app-menu-toggler {
|
||||
position: fixed;
|
||||
top: 1.5rem; /* Abstand von oben */
|
||||
right: 2.75rem; /* Abstand von rechts */
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.app-menu {
|
||||
position: fixed;
|
||||
right: 1rem;
|
||||
margin-top: 5.25rem;
|
||||
width: 25%;
|
||||
background-color: grey;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.controls {
|
||||
height: 60px;
|
||||
top: 15px;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
background-color: grey;
|
||||
}
|
||||
|
||||
.controls-group {
|
||||
float: right;
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
top: 60px;
|
||||
}
|
||||
|
||||
.app-search:active, .app-search:hover {
|
||||
min-height: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
@ -2,7 +2,7 @@
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>$projectname$</id>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.2</version>
|
||||
<authors>SZUAbsolventenverein</authors>
|
||||
<owners>SZUAbsolventenverein</owners>
|
||||
<title>Website</title>
|
||||
|
||||
BIN
Package/icon.png
BIN
Package/icon.png
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 7.6 KiB |
Reference in New Issue
Block a user