Files
barefaced/www/css/barefaced_content.css
T
2026-09-17 13:12:23 +02:00

103 lines
2.3 KiB
CSS

/** layout Main Bereich */
main {
padding: var(--main-content-padding);
margin: 16px;
height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 64px);
/* 32px für die Margen */
overflow-y: auto;
/* Scrollbar, wenn der Inhalt zu groß ist */
border: 1px solid var(--secondary-color);
border-radius: var(--box-border-radius);
}
.editor-container {
height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 132px);
display: flex;
flex-direction: row;
/* Elemente horizontal anordnen */
gap: 16px;
/* Abstand zwischen den Elementen */
padding: 16px;
/* Innenabstand */
border-radius: var(--box-border-radius);
background-color: var(--data-background-color);
}
.editor-view {
margin-top: 8px;
padding: 8px;
border: 1px solid var(--primary-color);
border-radius: var(--box-border-radius);
}
/** tree components */
.node {
justify-content: center;
list-style-type: none;
/* Entfernt die Standard-Aufzählungszeichen */
padding-left: 20px;
/* Einrückung für die Unterlisten */
}
.node img {
height: 12px;
/* Höhe des Bildes */
margin-right: 2px;
/* Abstand zwischen Bild und Text */
}
.leaf {
padding-left: 20px;
/* Einrückung für Blätter */
color: var(--primary-color);
font-weight: lighter;
}
/* form styles */
.cform {
display: flex;
flex-direction: column;
color: var(--primary-color);
gap: 8px;
padding: 16px;
}
.cform label {
padding-top: 8px;
}
.cform input[type="text"],
.cform textarea {
padding: 4px;
border: 1px solid var(--primary-color);
border-radius: var(--box-border-radius);
}
/* Style für allgemeine Elemente */
.box {
border: 1px solid var(--primary-color);
border-radius: var(--box-border-radius);
}
.button_row {
display: flex;
flex-direction: row;
justify-content: flex-end;
gap: 8px;
margin-top: 8px;
}
.button_row button {
padding: 4px 8px;
border: 1px solid var(--primary-color);
border-radius: var(--box-border-radius);
background-color: var(--data-background-color);
cursor: pointer;
display: inline-flex;
justify-content: center;
}
.mt-16 {
margin-top: 16px;
}