MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus mention ERP Wiki
Faraj (Diskussion | Beiträge) Ergänzt: gekapselte Styles für den Abschnitt „Accountbezogene Online-Daten" auf Connect/Shopware 6 (alle Regeln unter .sw6-account-logic, Icons als Data-URI) |
Mirko (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 37: | Zeile 37: | ||
.mw-wiki-logo { | .mw-wiki-logo { | ||
display: none !important; | |||
} | } | ||
| Zeile 68: | Zeile 65: | ||
/* === Shopware 6: accountbezogene Online-Daten === | /* === Shopware 6: accountbezogene Online-Daten === | ||
Alle Regeln sind unter .sw6-account-logic gekapselt und wirken | Alle Regeln sind unter .sw6-account-logic gekapselt und wirken | ||
ausschliesslich im entsprechenden Abschnitt von Connect/Shopware 6. */ | ausschliesslich im entsprechenden Abschnitt von Connect/Shopware 6. | ||
Die Umbrueche laufen ueber Container-Queries, damit sie auf die Breite | |||
der Inhaltsspalte reagieren und nicht auf die Fensterbreite. */ | |||
.sw6-account-logic { | .sw6-account-logic { | ||
margin: 26px 0 38px; | margin: 26px 0 38px; | ||
color: #152238; | color: #152238; | ||
container-type: inline-size; | |||
} | } | ||
| Zeile 94: | Zeile 94: | ||
.sw6-account-logic .sw6-panel.sw6-with-shot { | .sw6-account-logic .sw6-panel.sw6-with-shot { | ||
grid-template-columns: 86px minmax(210px, .9fr) minmax(300px, 1.15fr) minmax(250px, .85fr); | grid-template-columns: 86px minmax(210px, .9fr) minmax(300px, 1.15fr) minmax(250px, .85fr); | ||
} | |||
/* Panels mit horizontalem Datenfluss: Fluss bekommt eine eigene volle Zeile, | |||
sonst wird er in der schmaleren Wiki-Inhaltsspalte gequetscht. */ | |||
.sw6-account-logic .sw6-panel.sw6-with-flow { | |||
grid-template-columns: 86px 1fr; | |||
} | |||
.sw6-account-logic .sw6-panel.sw6-with-flow .sw6-data-flow { | |||
grid-column: 1 / -1; | |||
margin-top: 4px; | |||
} | } | ||
| Zeile 341: | Zeile 352: | ||
} | } | ||
@ | @container (max-width: 760px) { | ||
.sw6-account-logic .sw6-panel, | .sw6-account-logic .sw6-panel, | ||
.sw6-account-logic .sw6-panel.sw6-with-shot { | .sw6-account-logic .sw6-panel.sw6-with-shot, | ||
.sw6-account-logic .sw6-panel.sw6-with-flow { | |||
grid-template-columns: 72px 1fr; | grid-template-columns: 72px 1fr; | ||
} | } | ||
| Zeile 361: | Zeile 373: | ||
} | } | ||
@ | @container (max-width: 620px) { | ||
.sw6-account-logic .sw6-panel, | .sw6-account-logic .sw6-panel, | ||
.sw6-account-logic .sw6-panel.sw6-with-shot { | .sw6-account-logic .sw6-panel.sw6-with-shot, | ||
.sw6-account-logic .sw6-panel.sw6-with-flow { | |||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
Aktuelle Version vom 25. September 2026, 14:58 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
:root {
--accent-color: #213c55;
--grey: #cccccc;
}
/* Set a custom maximum width for the BlueSky skin content area */
/*
div#content, .mw-body {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
*/
body, div#mw-header-container { background-color: var(--accent-color) !important } /* #4996e8 */
div#mw-header-container {
color: #ffffff;
}
#p-logo {
top: -100px !important;
left: 1em !important;
}
#p-logo-text a {
font-family: 'Helvetica Neue', 'Nimbus Sans L', 'Arial', sans-serif !important;
color: #ffffff !important;
}
div#mw-panel {
top: 100px !important;
}
.mw-wiki-logo {
display: none !important;
}
#p-personal h2 { font-family: 'Helvetica Neue', 'Nimbus Sans L', 'Arial', sans-serif !important; }
#mw-page-header-links li.selected,
#mw-content h1.firstHeading {
border-bottom-color: var(--accent-color) !important;
}
.color-left,
.color-right,
.color-middle {
background-color: var(--grey);
}
#mw-content h1,
#mw-content h2 {
border-color: var(--grey);
}
.required {
color: #c00;
font-weight: bold;
}
/* === Shopware 6: accountbezogene Online-Daten ===
Alle Regeln sind unter .sw6-account-logic gekapselt und wirken
ausschliesslich im entsprechenden Abschnitt von Connect/Shopware 6.
Die Umbrueche laufen ueber Container-Queries, damit sie auf die Breite
der Inhaltsspalte reagieren und nicht auf die Fensterbreite. */
.sw6-account-logic {
margin: 26px 0 38px;
color: #152238;
container-type: inline-size;
}
.sw6-account-logic * {
box-sizing: border-box;
}
.sw6-account-logic .sw6-panel {
display: grid;
grid-template-columns: 86px minmax(220px, 1fr) minmax(300px, 1.25fr);
gap: 20px;
align-items: center;
margin: 16px 0;
padding: 20px;
border: 1px solid #dfe6ee;
border-radius: 14px;
background: #fff;
box-shadow: 0 2px 10px rgba(15, 39, 73, 0.06);
}
.sw6-account-logic .sw6-panel.sw6-with-shot {
grid-template-columns: 86px minmax(210px, .9fr) minmax(300px, 1.15fr) minmax(250px, .85fr);
}
/* Panels mit horizontalem Datenfluss: Fluss bekommt eine eigene volle Zeile,
sonst wird er in der schmaleren Wiki-Inhaltsspalte gequetscht. */
.sw6-account-logic .sw6-panel.sw6-with-flow {
grid-template-columns: 86px 1fr;
}
.sw6-account-logic .sw6-panel.sw6-with-flow .sw6-data-flow {
grid-column: 1 / -1;
margin-top: 4px;
}
.sw6-account-logic .sw6-icon-wrap {
display: flex;
align-items: center;
justify-content: center;
width: 84px;
height: 84px;
border-radius: 16px;
background: #f3f7fc;
border: 1px solid #dbe7f5;
}
.sw6-account-logic .sw6-panel-title {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.sw6-account-logic .sw6-step {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
color: #fff;
background: #1769d2;
font-weight: 700;
flex: 0 0 28px;
}
.sw6-account-logic .sw6-panel-title h4 {
margin: 0;
font-size: 1.1rem;
color: #142344;
}
.sw6-account-logic .sw6-panel p {
margin: 6px 0;
line-height: 1.5;
}
.sw6-account-logic .sw6-options {
display: grid;
gap: 10px;
}
.sw6-account-logic .sw6-option {
display: grid;
grid-template-columns: 40px 1fr;
gap: 10px;
align-items: center;
padding: 13px 14px;
border-radius: 10px;
border: 1px solid #dce4ee;
background: #f8fafc;
}
.sw6-account-logic .sw6-option strong {
display: block;
margin-bottom: 2px;
}
.sw6-account-logic .sw6-ok {
background: #f1faf2;
border-color: #b9ddbd;
}
.sw6-account-logic .sw6-stop {
background: #fff3f3;
border-color: #efc0c0;
}
.sw6-account-logic .sw6-priority {
background: #fff8ed;
border-color: #f0d2a1;
}
.sw6-account-logic .sw6-muted {
background: #f7f8fa;
border-color: #dfe3e8;
}
.sw6-account-logic .sw6-shot {
margin: 0;
text-align: center;
}
.sw6-account-logic .sw6-shot img {
max-width: 100%;
height: auto;
border-radius: 8px;
border: 1px solid #d5dde8;
box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}
.sw6-account-logic .sw6-inline-arrow {
display: flex;
align-items: center;
justify-content: center;
color: #2e5da7;
font-size: 1.9rem;
font-weight: 700;
}
.sw6-account-logic .sw6-data-flow {
display: grid;
grid-template-columns: 1fr 54px 1fr;
gap: 10px;
align-items: center;
}
.sw6-account-logic .sw6-summary {
margin: 18px 0 22px;
padding: 16px 18px;
border-radius: 12px;
border: 1px solid #cfe0f5;
background: #eef6ff;
}
.sw6-account-logic .sw6-summary-head {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
color: #153b77;
font-weight: 700;
}
.sw6-account-logic .sw6-summary-flow {
display: grid;
grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
align-items: center;
gap: 6px;
}
.sw6-account-logic .sw6-summary-item {
min-height: 82px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 7px;
padding: 10px;
text-align: center;
border: 1px solid #d9e4ef;
border-radius: 10px;
background: #fff;
}
.sw6-account-logic .sw6-summary-arrow {
text-align: center;
font-size: 1.6rem;
color: #6e8098;
}
.sw6-account-logic .sw6-diagram {
margin-top: 20px;
text-align: center;
}
.sw6-account-logic .sw6-diagram img {
max-width: 100%;
height: auto;
border: 1px solid #dce4ec;
border-radius: 10px;
}
.sw6-account-logic .sw6-ai-note {
margin-top: 10px;
padding: 11px 13px;
border-radius: 9px;
background: #fff7e6;
border: 1px solid #f1cf8a;
line-height: 1.45;
}
.sw6-account-logic .sw6-info-box {
margin: 0 0 20px;
padding: 16px 20px;
border: 1px solid #cbdcf2;
border-left: 5px solid #2474d2;
border-radius: 6px;
background: #f5f9fe;
}
.sw6-account-logic .sw6-info-box p {
margin: 0;
line-height: 1.55;
}
/* Icons: im Wikitext ist <svg> nicht erlaubt, daher als Data-URI-Hintergrund. */
.sw6-account-logic .sw6-ico {
display: inline-block;
flex: 0 0 auto;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.sw6-account-logic .sw6-icon-wrap .sw6-ico {
width: 48px;
height: 48px;
}
.sw6-account-logic .sw6-option .sw6-ico,
.sw6-account-logic .sw6-summary-item .sw6-ico {
width: 34px;
height: 34px;
}
.sw6-account-logic .sw6-summary-head .sw6-ico {
width: 30px;
height: 30px;
}
.sw6-account-logic .sw6-ico-user {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='7' r='4' stroke='%231769d2' stroke-width='1.8'/><path d='M4.5 21c0-4.2 3.3-7.2 7.5-7.2s7.5 3 7.5 7.2' stroke='%231769d2' stroke-width='1.8' stroke-linecap='round'/></svg>");
}
.sw6-account-logic .sw6-ico-check {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='9' stroke='%2317913b' stroke-width='1.7'/><path d='m8 12.2 2.6 2.7L16.5 9' stroke='%2317913b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.sw6-account-logic .sw6-ico-list {
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='M9 6h11M9 12h11M9 18h11' stroke='%2317913b' stroke-width='1.8' stroke-linecap='round'/><rect x='3' y='4' width='3' height='3' rx='.6' stroke='%2317913b' stroke-width='1.6'/><path d='m3.8 5.4.7.8 1.4-1.7' stroke='%2317913b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/><rect x='3' y='10' width='3' height='3' rx='.6' stroke='%2317913b' stroke-width='1.6'/><path d='m3.8 11.4.7.8 1.4-1.7' stroke='%2317913b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/><rect x='3' y='16' width='3' height='3' rx='.6' stroke='%2317913b' stroke-width='1.6'/><path d='m3.8 17.4.7.8 1.4-1.7' stroke='%2317913b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.sw6-account-logic .sw6-ico-stop {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='9' stroke='%23d92d20' stroke-width='1.7'/><path d='m9 9 6 6m0-6-6 6' stroke='%23d92d20' stroke-width='1.9' stroke-linecap='round'/></svg>");
}
.sw6-account-logic .sw6-ico-db {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><ellipse cx='12' cy='5' rx='7' ry='3' stroke='%23ef8400' stroke-width='1.7'/><path d='M5 5v5c0 1.7 3.1 3 7 3s7-1.3 7-3V5' stroke='%23ef8400' stroke-width='1.7'/><path d='M5 10v5c0 1.7 3.1 3 7 3s7-1.3 7-3v-5' stroke='%23ef8400' stroke-width='1.7'/><path d='M5 15v4c0 1.7 3.1 3 7 3s7-1.3 7-3v-4' stroke='%23ef8400' stroke-width='1.7'/></svg>");
}
.sw6-account-logic .sw6-ico-image {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><rect x='3' y='4' width='18' height='16' rx='2' stroke='%236f56c9' stroke-width='1.7'/><circle cx='8' cy='9' r='1.6' stroke='%236f56c9' stroke-width='1.5'/><path d='m5.5 17 4.2-4.2 3.1 3.1 2.1-2.1L19 17' stroke='%236f56c9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.sw6-account-logic .sw6-ico-star {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='9' stroke='%231769d2' stroke-width='1.6'/><path d='m12 7 1.4 2.9 3.2.5-2.3 2.3.5 3.3-2.8-1.5-2.8 1.5.5-3.3-2.3-2.3 3.2-.5L12 7Z' stroke='%231769d2' stroke-width='1.3' stroke-linejoin='round'/></svg>");
}
@container (max-width: 760px) {
.sw6-account-logic .sw6-panel,
.sw6-account-logic .sw6-panel.sw6-with-shot,
.sw6-account-logic .sw6-panel.sw6-with-flow {
grid-template-columns: 72px 1fr;
}
.sw6-account-logic .sw6-options,
.sw6-account-logic .sw6-shot {
grid-column: 1 / -1;
}
.sw6-account-logic .sw6-summary-flow {
grid-template-columns: 1fr;
}
.sw6-account-logic .sw6-summary-arrow {
transform: rotate(90deg);
}
}
@container (max-width: 620px) {
.sw6-account-logic .sw6-panel,
.sw6-account-logic .sw6-panel.sw6-with-shot,
.sw6-account-logic .sw6-panel.sw6-with-flow {
grid-template-columns: 1fr;
}
.sw6-account-logic .sw6-icon-wrap {
width: 64px;
height: 64px;
}
.sw6-account-logic .sw6-data-flow {
grid-template-columns: 1fr;
}
.sw6-account-logic .sw6-inline-arrow {
transform: rotate(90deg);
}
}