Werde-Informatiklehrerin/www/Steuerungsdateien/styles.css
2025-09-12 17:36:30 +02:00

417 lines
6.2 KiB
CSS

.container {
}
.step {
font-family: sans-serif;
display: none;
background: #eeeeee;
padding: 15px;
border-radius: 0px;
font-size: 1rem;
opacity: 1;
transition: opacity 0.4s ease;
}
.step.active {
display: block;
background: #f4f4f4;
opacity: 1;
border-bottom: 5px solid white;
}
.step.completed {
/* Stil für abgeschlossene Steps, z.B. grüner Rand oder Haken-Icon */
display: block;
}
.step.inactive {
/* Abgedunkelter Stil für inaktive Steps */
opacity: 0.6;
}
.step {
transition: all 0.3s ease-in-out;
opacity: 1;
max-height: 500px;
overflow: hidden;
}
.step.removing {
opacity: 0;
max-height: 0;
margin: 0;
padding: 0;
}
button.selected {
/* Markierter Button */
background-color: #007bff;
color: white;
}
button[disabled] {
/* Deaktivierte Buttons */
cursor: not-allowed;
opacity: 0.5;
}
button.secondary {
font-size: 0.75rem;
color: grey;
border-color: grey;
padding: 5px 7px;
}
.step .info {
padding: 7px;
margin-top: 10px;
}
label {
margin-bottom: 10px;
display: block;
padding: 7px;
}
.button {
font-size: 1rem;
padding: 15px 22px;
margin: 5px;
cursor: pointer;
border: 1px solid #e07047;
color: #e07047;
background: none;
display: inline-block;
border-radius: 3px;
}
.button.selected,
.button.active {
background: #e07047;
color: white;
}
body {
-webkit-text-size-adjust: 100%;
font-size: 16px;
}
.content-article {
margin-bottom: 2em;
padding: 1em;
background: white;
font-family: 'Fira Sans', sans-serif;
font-weight: 300; /* Light */
font-size: 1.2em; /* Reduziert von 1.556em */
line-height: 1.5;
}
.content-article:last-child {
margin-bottom: 0;
}
.content-article h2 {
font-family: 'CalebGrotesk-Medium', sans-serif;
font-weight: 500;
}
.content-article a {
color: rgb(172, 112, 195);
text-decoration: none;
transition: color 0.3s ease;
position: relative;
padding-left: 1.2em;
}
.content-article a::before {
content: "↗";
position: absolute;
left: 0;
top: 0;
font-size: 0.7em;
opacity: 0.6;
transition: opacity 0.3s ease;
}
.content-article a:hover {
color: #5a4c9;
text-decoration: underline;
}
.content-article a:hover::before {
opacity: 1;
}
.layout {
display: flex;
gap: 20px;
background: white !important;
}
.main-content {
flex: 2;
}
.sidebar {
flex: 1;
padding: 10px;
border-radius: 5px;
}
select {
font-size: 1rem;
border: none;
padding: 5px 10px 5px 10px;
color: white;
cursor: pointer;
outline: none;
appearance: none;
-webkit-appearance: none;
position: relative;
}
select.select {
display: inline-flex;
}
select.auto-width {
width: auto;
min-width: 50px;
display: inline-block;
}
.select.purple {
background-color: #ab70c1;
border-radius: 0px;
}
.select.orange {
background-color: #e27046;
border-radius: 9999px;
}
.select.blue {
background: #527fe2;
border-radius: 50px;
color: white;
}
.select.green {
background: #31a46e;
color: white;
clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
border: none;
}
.select-finder {
font-size: 1rem;
border: none;
padding: 5px 10px 5px 10px;
color: white;
cursor: pointer;
outline: none;
appearance: none;
-webkit-appearance: none;
position: relative;
background-color: #ab70c1;
border-radius: 0px;
}
.select-arrow::after {
content: "";
position: absolute;
pointer-events: none;
top: 50%;
right: 10px;
transform: translate(0, -50%);
width: 12px;
height: 12px;
background-color: #fff;
clip-path: polygon(50% 80%, 0 20%, 100% 20%);
}
.tab {
background-color: #f1f1f1;
display: none;
}
.tab.active {
display: block;
}
.meta {
font-size: 1rem !important;
font-weight: 500;
}
.personas-tableau {
display: grid;
grid-template-columns: 1fr 212px;
gap: 20px;
align-items: start;
font-family: sans-serif;
}
.personas-portrait {
display: grid;
grid-template-columns: 180px 1fr;
gap: 20px;
padding: 15px 15px 15px 0px;
}
.portrait-left img {
width: 100%;
max-width: 200px;
border-radius: 10px;
}
.info-right {
flex: 1;
}
.persona-head h2 {
font-size: 1.8rem;
margin: 0 0 0.3em;
}
.persona-head .subline {
font-style: italic;
color: #777;
}
.text {
margin-top: 1em;
line-height: 1.5;
}
.persona-list {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: repeat(3, auto);
gap: 5px;
background-color: white;
border-left: 5px solid white;
max-height: 3965px;
overflow-y: auto;
border-bottom: 5px solid white;
}
.persona {
text-align: center;
cursor: pointer;
transition: opacity 0.3s;
background-color: #f1f1f1;
padding: 10px;
}
.persona img {
width: 80px;
filter: grayscale(100%);
transition: filter 0.3s ease;
}
.persona:hover img {
filter: none;
}
.persona span {
display: block;
margin-top: 0.5em;
font-size: 0.9rem;
color: #333;
}
.recommendation {
padding: 15px;
border-radius: 4px;
border-top: 5px solid white;
background-color: white;
}
.recommendation .distinction {
font-weight: bold;
color: #e07047;
}
.tab-buttons {
display: flex;
background-color: white;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom: 2px solid #f1f1f1;
font-size: 1rem;
}
.button-tab {
padding: 10px 20px;
margin: 0;
border: none;
background-color: white;
cursor: pointer;
border-right: 4px solid white;
font-weight: bold;
color: #333;
transition: background 0.2s ease;
border-radius: 3px;
}
.button-tab:last-child {
border-right: none;
}
.button-tab:hover {
font-weight: 700;
background-color: #e07047;
color: white;
}
.button-tab.active {
background-color: #f1f1f1;
border-bottom: 2px solid #f1f1f1;
color: #e07047;
}
.section-divider {
margin: 2rem 0;
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
}
.additional-section {
margin-top: 1.5rem;
padding-top: 1rem;
}
.additional-section h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #333;
}
.additional-section .text-content {
margin-bottom: 1rem;
line-height: 1.6;
}
.additional-section .tags {
margin-bottom: 0.5rem;
font-size: 0.9rem;
color: #666;
}
.additional-section .tags:not(:empty)::before {
content: "Tags: ";
font-weight: bold;
}
.additional-section .marginal {
font-size: 0.9rem;
color: #666;
padding-top: 0.5rem;
border-top: 1px solid #eee;
}