Überarbeitete Version der 1. Version. Es bestehen noch grosse Feher in einzelnen Skripten.

This commit is contained in:
Fabio Herzig
2026-04-18 23:45:17 +02:00
parent a51fd9dbeb
commit 3731183654
85 changed files with 2965 additions and 3371 deletions

View File

@@ -1,16 +1,18 @@
:root {
--paddingSite: 40px;
--card-radius: 20px;
--card-radius: 24px;
--card-bg: #ffffff;
--bg: #FDFDFD;
--card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
--accent: #2d73ac;
--bg: #F4F3EF;
--card-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
--accent: #FF5A5F;
/* Soft energetic pink/red from Dribbble */
--accent-secondary: #FF8A65;
--bg-top: rgb(54, 137, 13);
--bg-top-raw: 54 137 13;
--accent-soft: #f0f5ff;
--border-subtle: #d4d7e1;
--text-main: #191919;
--text-muted: #5e5e5e;
--border-subtle: #eaeaea;
--text-main: #1b1b1b;
--text-muted: #8A8A8A;
--disabled-bg: #f3f4f6;
--disabled-border: #cbd5f5;
}
@@ -21,15 +23,6 @@
*::after,
*::before {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
font-family: "Google Sans Flex", sans-serif;
font-optical-sizing: auto;
font-style: normal;
font-variation-settings:
"slnt" 0,
"wdth" 100,
"GRAD" 0,
"ROND" 0;
}
html,
@@ -43,6 +36,7 @@ body {
margin: 0;
width: 100vw;
background: var(--bg);
overflow-x: hidden;
}
::selection {
@@ -80,7 +74,7 @@ input {
background: none;
}
@media (min-width: 1000px) {
@media (min-width: 1081px) {
.bgSection.open {
width: calc(100vw - 380px);
/* - 2 * var(--paddingSite) */
@@ -91,20 +85,44 @@ input {
.headerDivTrainer {
padding: var(--paddingSite);
background-color: var(--bg-top);
margin-bottom: var(--paddingSite);
padding-bottom: 10px;
background: transparent;
margin-bottom: 20px;
position: relative;
z-index: 3;
}
.dashboardGrid {
padding: 0 var(--paddingSite) var(--paddingSite);
display: grid;
grid-template-columns: 1fr;
gap: 30px;
align-items: start;
width: 100%;
}
.twoColumDiv {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
align-items: start;
width: 100%;
}
@media (max-width: 1080px) {
.twoColumDiv {
grid-template-columns: 1fr;
}
}
/* headings */
.containerHeading {
margin-top: 0;
font-weight: 400;
margin-bottom: 20px;
font-weight: 600;
font-size: 20px;
margin-bottom: 24px;
color: var(--text-main);
}
.divLiveSyncronisation {
@@ -156,13 +174,15 @@ input {
}
.headingPanelDiv>* {
color: var(--bg);
color: var(--text-main);
}
.headingPanel {
margin-top: 0;
margin-bottom: 10px;
font-weight: 200;
font-size: 38px;
font-weight: 700;
letter-spacing: -0.02em;
}
.headingPanelUser {
@@ -227,18 +247,21 @@ table {
}
.wkvsTabelle th {
color: #424242;
border-bottom: solid 1px #0000007d;
color: var(--text-muted);
border-bottom: solid 1px var(--border-subtle);
font-weight: 600;
padding: 14px 15px;
font-size: 16px;
padding: 16px 15px;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 0.05em;
background: transparent;
}
.wkvsTabelle td {
background-color: #ffffff;
color: #191919;
font-weight: 400;
padding: 14px 15px;
background-color: transparent;
color: var(--text-main);
font-weight: 500;
padding: 16px 15px;
background: none;
text-align: center;
}
@@ -248,7 +271,11 @@ table {
}
.wkvsTabelle td:not(.totalTd, .totalValue) {
border-bottom: solid 1px #6262624d;
border-bottom: solid 1px var(--border-subtle);
}
.wkvsTabelle tr:last-child td {
border-bottom: none;
}
/*.wkvsTabelle .totalValue {
@@ -290,14 +317,20 @@ table {
/* Panel with inputs (new style, light) */
.containerDiv {
background: var(--card-bg);
border-radius: var(--card-radius);
padding: 32px;
box-shadow: var(--card-shadow);
color: var(--text-main);
display: flex;
flex-direction: column;
min-width: 0;
/* Critical for grid item content overflow */
}
.settingsGrid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
grid-template-columns: 1fr;
gap: 20px;
margin-bottom: 30px;
}
@@ -309,38 +342,100 @@ table {
}
.settingsRow span {
font-size: 13px;
font-size: 16px;
color: var(--text-muted);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 500;
margin-bottom: 2px;
}
.settingsRow input {
padding: 10px 14px;
border: 1px solid var(--border-subtle);
border-radius: 10px;
.settingsRow input,
.settingsRow select {
padding: 14px 18px;
border: none;
background: #F8F9FA;
border-radius: 12px;
font-size: 15px;
transition: all 0.2s ease;
background: #ffffff;
color: var(--text-main);
width: 100%;
}
.settingsRow input:hover {
border-color: #adb5bd;
.settingsRow input:hover,
.settingsRow select:hover {
background: #F1F3F5;
}
.settingsRow input:focus {
border-color: var(--bg-top);
.settingsRow input:focus,
.settingsRow select:focus {
background: #FFFFFF;
box-shadow: 0 0 0 4px rgba(var(--bg-top-raw), 0.1);
outline: none;
}
.settingsRow input[type="color"] {
height: 42px;
padding: 4px;
height: 48px;
padding: 0px;
cursor: pointer;
border-radius: 10px;
border-radius: 12px;
border: 1px solid #cacaca;
-webkit-appearance: none;
appearance: none;
/* Removes default Chrome/Safari styles */
cursor: pointer;
background: none;
}
/* Container for the color swatch (Chrome/Safari) */
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
/* The actual color area (Chrome/Safari) */
input[type="color"]::-webkit-color-swatch {
border: none;
/* Makes the picker a circle */
}
/* The actual color area (Firefox) */
input[type="color"]::-moz-color-swatch {
border: none;
}
.containerImages {
display: flex;
flex-direction: column;
gap: 15px;
}
.containerImages span {
position: absolute;
bottom: 4px;
padding: 12px;
width: 100%;
text-align: center;
background-color: #00000063;
backdrop-filter: blur(2px);
border-radius: 0 0 7px 7px;
border-top: 1px solid #fff;
color: #fff;
}
.containerImages>div {
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.containerImages>div:last-child {
border-bottom: none;
}
.containerImages img {
width: 100%;
border-radius: 8px;
object-fit: cover;
}
.editContainerDivInner>form {
@@ -593,16 +688,19 @@ input[type="number"]::-webkit-outer-spin-button {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
width: 44px;
height: 44px;
background: #FFFFFF;
border-radius: 50%;
cursor: pointer;
z-index: 99;
color: var(--bg);
color: var(--text-main);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.trainerBurgerMenuDiv svg {
width: 100%;
height: 100%;
width: 24px;
height: 24px;
stroke: currentColor;
transition: transform 0.3s ease;
}
@@ -975,8 +1073,8 @@ tr.rowStartgebuer::after {
}
.containerImages {
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
align-items: flex-start;
gap: 24px;
}
@@ -984,11 +1082,9 @@ tr.rowStartgebuer::after {
.containerImages div {
display: flex;
flex-direction: column;
padding: 16px;
border-radius: 16px;
border: 1px solid #1f1f1f;
gap: 8px;
align-items: flex-start;
position: relative;
}
.containerImages div input {
@@ -996,15 +1092,15 @@ tr.rowStartgebuer::after {
}
.containerImages div img {
max-height: 200px;
max-width: 200px;
object-fit: contain;
border-radius: 6px;
border: 1px solid var(--bg-top);
border: 1px solid #000000;
}
div.tableWraperOverflowY {
width: 100%;
overflow-x: auto;
display: block;
/* Prevent scroll chaining to body */
overscroll-behavior-x: contain;
@@ -1039,4 +1135,42 @@ select {
select:open {
background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'>\<path d='M18 15L12 9L6 15' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/>\</svg>");
}
.firstDiv {
background: #ff9cde;
background: linear-gradient(151deg, rgba(255, 156, 222, 1) 0%, rgb(255 110 110) 50%, rgba(255, 182, 130, 1) 100%);
}
.firstDiv span {
color: #fff1fa !important;
}
.firstDiv h3 {
color: #ffffff !important;
}
.secondDiv {
background: #e0f7ff;
background: linear-gradient(150deg,rgba(224, 247, 255, 1) 0%, rgba(158, 226, 255, 1) 50%, rgba(182, 207, 252, 1) 100%);
}
.secondDiv span {
color: #171797 !important;
}
.secondDiv h3 {
color: #0f0f61 !important;
}
.settingsRowGroup {
display: grid;
gap: 18px;
}
span.light {
font-weight: 300;
}
.tableNoten input {
width: fit-content !important;
}

View File

@@ -444,6 +444,7 @@ input[type="number"]::-webkit-outer-spin-button {
display: inline-flex;
align-items: center;
justify-content: center;
align-self: baseline;
}
/* Variants */
@@ -460,13 +461,14 @@ input[type="number"]::-webkit-outer-spin-button {
color: #781467;
}
.submit-display-start,
.submit-display-start.start,
.submit-musik-start {
background: #ecfdf3;
color: #15803d;
border: 1px solid #4ade80;
}
.submit-display-start.stopp,
.submit-musik-stopp {
background: #fef2f2;
color: #b91c1c;
@@ -921,7 +923,27 @@ table.widefat {
justify-content: space-around;
}
.editUserButtons {
display: flex;
}
.div-submit-display-result, .div-submit-display-start {
display: flex;
flex-direction: column;
}
.allNotentable {
display: flex;
flex-direction: row;
gap: 3rem;
}
.singleNotentable {
display: flex;
flex-direction: column;
gap: 1rem;
}
select {
appearance: none;

View File

@@ -32,6 +32,10 @@
"ROND" 0;
}
.hidden {
display: none !important;
}
html,
body,
section {
@@ -121,6 +125,7 @@ input {
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
height: 39px;
transition: all 0.25s ease;
}
@@ -155,7 +160,8 @@ h3.benutzer {
/* ── User / Verein card ───────────────────────────────── */
.single_pwedit {
.single_pwedit,
.newUserLink {
background: var(--card-bg);
border-radius: var(--card-radius);
box-shadow: var(--card-shadow);
@@ -163,24 +169,28 @@ h3.benutzer {
transition: box-shadow 0.25s ease;
}
.single_pwedit:hover {
.single_pwedit:hover,
.newUserLink:hover {
box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}
.single_pwedit.verein {
.single_pwedit.verein,
.newUserLink.verein {
border-left: 4px solid var(--bg-top);
}
/* ── Form fields inside user card ─────────────────────── */
.single_pwedit form {
.single_pwedit form,
.newUserLink form {
display: flex;
flex-wrap: wrap;
gap: 14px 24px;
align-items: flex-end;
}
.single_pwedit label {
.single_pwedit label,
.newUserLink label {
display: block;
font-size: 0.8rem;
font-weight: 500;
@@ -190,12 +200,14 @@ h3.benutzer {
margin-bottom: 5px;
}
.single_pwedit .field-group {
.single_pwedit .field-group,
.newUserLink .field-group {
flex: 1 1 200px;
min-width: 0;
}
.single_pwedit input[type="text"] {
.single_pwedit input[type="text"],
.newUserLink input[type="text"] {
width: 100%;
padding: 9px 12px;
border: 1px dashed #999;
@@ -207,20 +219,23 @@ h3.benutzer {
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.single_pwedit input[type="text"]:focus {
.single_pwedit input[type="text"]:focus,
.newUserLink input[type="text"]:focus {
outline: none;
border: 1px solid var(--bg-top);
box-shadow: 0 0 0 3px rgba(var(--bg-top-raw) / 0.12);
}
.single_pwedit input[type="text"]::placeholder {
.single_pwedit input[type="text"]::placeholder,
.newUserLink input[type="text"]::placeholder {
color: #b0b0b0;
font-style: italic;
}
/* ── Buttons inside cards ─────────────────────────────── */
.single_pwedit button[type="submit"] {
.single_pwedit button[type="submit"],
.newUserLink button[type="submit"] {
appearance: none;
border: 1px solid #7777778e;
background: #7777778e;
@@ -234,7 +249,8 @@ h3.benutzer {
white-space: nowrap;
}
.single_pwedit button[type="submit"]:hover {
.single_pwedit button[type="submit"]:hover,
.newUserLink button[type="submit"]:hover {
background: var(--bg-top);
border-color: var(--bg-top);
color: #fff;
@@ -284,6 +300,26 @@ h3.benutzer {
color: var(--bg-top);
}
.bgNewUserLink {
position: fixed;
top: 0;
left: 0;
height: 100dvh;
width: 100dvw;
display: flex;
align-items: center;
justify-content: center;
background-color: #39393941;
backdrop-filter: blur(2px);
}
.newUserLink {
max-width: 600px;
max-height: 500px;
overflow-y: auto;
z-index: 9999;
}
/* ── Permission dropdown ──────────────────────────────── */
.perm-section {

120
www/intern/css/otl.css Normal file
View File

@@ -0,0 +1,120 @@
body{
overflow: hidden;
}
.page-secure-login{
display: flex;
}
.bg-picture-secure-login{
width: calc(100vw - 450px);
height: 100vh;
position: absolute;
left: 0px;
top: 0px;
}
.bg-picture-secure-login img{
width: 100%;
height: 100vh;
object-fit: cover;
}
.bg-secure-login{
display: flex;
width: 100vw;
max-width: 450px;
height: 100vh;
background-color: #fff;
position: absolute;
right: 0px;
top: 0px;
align-items: center;
padding: 30px;
}
.bg-secure-login-form > h1{
color: #000 !important;
font-size: 32px;
}
.bg-secure-login-form input[type=password], .bg-secure-login-form input[type=text]{
padding: 5px;
width: 100%;
max-width: 300px;
border-top: none !important;
border-left: none !important;
border-right: none !important;
font-size: 16px;
border-bottom: 1px solid #000 !important;
border-radius: 0px !important;
}
.divShowPw:not(#lastDivShowPw) {
margin-bottom: 20px;
}
.bg-secure-login-form input[type=password]:focus, .bg-secure-login-form input[type=text]:focus{
outline: none;
border-bottom: 1px solid #000 !important;
}
.bg-secure-login-form input[type=password]::placeholder, .bg-secure-login-form input[type=text]::placeholder {
color: #ccc !important;
}
.bg-secure-login-form input[type=submit]{
background-color: #fff !important;
padding: 10px 20px !important;
margin-top: 25px !important;
border: 1px solid #000 !important;
color: #000 !important;
transition: all 0.3s ease-out !important;
border-radius: 0px !important;
}
body {
color: #000 !important;
}
* {
box-sizing: border-box;
}
.bg-secure-login-form input[type=submit]:hover{
background-color: #000 !important;
color: #fff !important;
}
.bg-secure-login-form > p{
margin-bottom: 30px;
}
.seclog_home_link{
position: fixed;
z-index: 1000;
top: 30px;
right: 30px;
}
.divShowPw {
margin-top: 10px;
position: relative;
display: inline-block;
width: 100%;
max-width: 300px;
}
.togglePassword {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
cursor: pointer;
transition: all 0.5s ease;
}
.togglePassword:hover {
transform: translateY(-50%) scale(1.15);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
box-shadow: 0 0 0 1000px #ffffff inset !important;
-webkit-text-fill-color: #000000 !important;
transition: background-color 5000s ease-in-out 0s;
}

View File

@@ -1,10 +1,13 @@
/* ─── Sidebar Navigation ─── */
:root {
--sidebar-width: 280px;
--sidebar-bg: #fafafa;
--sidebar-text: #363636;
--sidebar-hover: rgb(var(--bg-top-raw) / 0.2);
--sidebar-active: rgb(var(--bg-top-raw) / 0.35);
--sidebar-bg: #111218;
/* Dark navy / charcoal */
--sidebar-text: #A0A0A0;
/* Soft grey text */
--sidebar-hover: rgba(255, 255, 255, 0.05);
/* Subtile hover effect */
--sidebar-active: rgba(255, 255, 255, 0.1);
--sidebar-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@@ -18,15 +21,16 @@
background: var(--sidebar-bg);
z-index: 10000;
transform: translateX(-100%);
transition: transform var(--sidebar-transition);
transition: transform var(--sidebar-transition), box-shadow var(--sidebar-transition);
display: flex;
flex-direction: column;
overflow-y: auto;
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
box-shadow: none;
}
.sidebar-nav.open {
transform: translateX(0);
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}
/* Sidebar Header */
@@ -42,7 +46,7 @@
margin: 0;
font-size: 16px;
font-weight: 600;
color: #111;
color: #FFFFFF;
letter-spacing: 0.5px;
}
@@ -69,7 +73,7 @@
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1.2px;
color: rgba(45, 45, 45, 0.35);
color: rgba(255, 255, 255, 0.35);
}
/* Links */
@@ -95,13 +99,13 @@
.sidebar-links a:hover {
background: var(--sidebar-hover);
color: #222;
color: #FFFFFF;
}
.sidebar-links a.active {
background: var(--sidebar-active);
color: #111;
border-left-color: var(--bg-top);
color: #FFFFFF;
border-left-color: var(--accent);
}
.sidebar-links a svg {
@@ -134,18 +138,18 @@
/* Hamburger Toggle */
.sidebar-toggle {
background: var(--sidebar-bg);
background: #FFFFFF;
border: none;
border-radius: 10px;
width: 44px;
height: 44px;
border-radius: 50%;
width: 48px;
height: 48px;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
transition: all var(--sidebar-transition);
padding: 0;
}
@@ -174,9 +178,9 @@
/* Footer */
.sidebar-footer {
padding: 16px 24px;
border-top: 1px solid rgba(42, 42, 42, 0.222);
border-top: 1px solid rgba(255, 255, 255, 0.08);
font-size: 11px;
color: rgba(42, 42, 42, 0.485);
color: rgba(255, 255, 255, 0.4);
}
.menuWrapper {