Swap ribbon and action bar colors

This commit is contained in:
DonVoo 2026-07-13 12:00:11 +02:00
parent 9a4aade072
commit 0e47f8c61f
2 changed files with 32 additions and 32 deletions

View file

@ -73,8 +73,8 @@ func renderStartPage(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<script src="/static/app.js?v=20260713-8" defer></script></head>
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -121,9 +121,9 @@ func renderShell(w http.ResponseWriter, r *http.Request, active, readingPane str
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-8" defer></script></head>
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -697,9 +697,9 @@ func renderAccountsPage(w http.ResponseWriter, r *http.Request, accounts []Accou
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Konten-Verwaltung - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-8" defer></script></head>
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -743,9 +743,9 @@ func renderArchivesPage(w http.ResponseWriter, r *http.Request, archives []strin
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Archiv-mbox Verwaltung - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-8" defer></script></head>
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -791,9 +791,9 @@ func renderUsersPage(w http.ResponseWriter, r *http.Request, users []AppUser, ed
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Benutzerverwaltung - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-8" defer></script></head>
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -865,9 +865,9 @@ func renderTransferPage(w http.ResponseWriter, r *http.Request, mode transferMod
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>%s - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-8" defer></script></head>
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -1317,9 +1317,9 @@ func renderSourceEmailBoxPage(w http.ResponseWriter, r *http.Request, accounts [
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Quell-Postfach - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-8" defer></script></head>
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>
@ -1361,9 +1361,9 @@ func renderTargetEmailBoxPage(w http.ResponseWriter, r *http.Request, accounts [
fmt.Fprintf(w, `<!doctype html><html lang="de"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Ziel-Postfach - Mail-Graveyard</title>
<link rel="stylesheet" href="/static/style.css?v=20260713-8">
<link rel="stylesheet" href="/static/style.css?v=20260713-9">
<script src="/static/htmx.min.js"></script>
<script src="/static/app.js?v=20260713-8" defer></script></head>
<script src="/static/app.js?v=20260713-9" defer></script></head>
<body class="ol2013">
<header class="ribbon">
<button class="app-menu-button" type="button" aria-label="Mail-Graveyard-Menue" aria-expanded="false" data-backstage-toggle><span class="mail-logo" aria-hidden="true"></span></button>

View file

@ -58,7 +58,7 @@ body.ol2013 {
/* Ribbon / Kopfband */
.ribbon {
background: var(--ol-blue);
background: #2f343a;
color: #fff;
display: flex;
align-items: center;
@ -92,14 +92,14 @@ body.ol2013 {
}
.ribbon-icon:hover,
.ribbon-icon.active {
background: var(--ol-blue-dark);
background: #454b53;
}
.ribbon-tabs { display: flex; gap: 2px; height: 100%; }
.app-menu-button {
width: 54px;
height: 44px;
border: 0;
background: var(--ol-blue-dark);
background: #24292f;
color: #fff;
display: inline-flex;
align-items: center;
@ -107,7 +107,7 @@ body.ol2013 {
cursor: pointer;
}
.app-menu-button:hover,
.app-menu-button[aria-expanded="true"] { background: #00365f; }
.app-menu-button[aria-expanded="true"] { background: #454b53; }
.tab {
display: flex; align-items: center;
gap: 8px;
@ -121,8 +121,8 @@ body.ol2013 {
font: inherit;
cursor: pointer;
}
.tab:hover { background: var(--ol-blue-dark); color: #fff; }
.tab.active { background: #fff; color: var(--ol-blue); border-bottom-color: #fff; }
.tab:hover { background: #454b53; color: #fff; }
.tab.active { background: #fff; color: #2f343a; border-bottom-color: #fff; }
.tab.app-tab {
font-weight: 700;
}
@ -170,13 +170,13 @@ body.ol2013 {
.mail-actionbar {
height: 38px;
flex: 0 0 auto;
background: #2f343a;
background: var(--ol-blue);
color: #f3f5f7;
display: flex;
align-items: center;
gap: 8px;
padding: 0 10px;
border-bottom: 1px solid #20242a;
border-bottom: 1px solid var(--ol-blue-dark);
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04);
overflow-x: auto;
overflow-y: hidden;
@ -190,9 +190,9 @@ body.ol2013 {
align-items: center;
gap: 8px;
padding: 0 10px;
color: #b8c0ca;
background: #3b4148;
border: 1px solid #5b626b;
color: #dcecf8;
background: #0f6fb8;
border: 1px solid #5aa1d8;
}
.action-search input {
min-width: 0;
@ -203,7 +203,7 @@ body.ol2013 {
background: transparent;
font: inherit;
}
.action-search input::placeholder { color: #c2c8d0; }
.action-search input::placeholder { color: #d7e8f5; }
.action-btn {
height: 30px;
display: inline-flex;
@ -217,8 +217,8 @@ body.ol2013 {
cursor: pointer;
}
.action-btn:hover {
background: #454b53;
border-color: #5b626b;
background: var(--ol-blue-dark);
border-color: #4f94ca;
}
.action-btn.primary {
background: #f28c22;
@ -230,11 +230,11 @@ body.ol2013 {
background: #ff9d34;
border-color: #ff9d34;
}
.action-btn.muted { color: #aeb6c0; }
.action-btn.muted { color: #d7e8f5; }
.action-separator {
width: 1px;
height: 26px;
background: #555c65;
background: rgba(255, 255, 255, .32);
margin: 0 4px;
flex: 0 0 auto;
}