diff --git a/barefaced.code-workspace b/barefaced.code-workspace new file mode 100644 index 0000000..876a149 --- /dev/null +++ b/barefaced.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/www/css/barefaced_content.css b/www/css/barefaced_content.css new file mode 100644 index 0000000..da429ce --- /dev/null +++ b/www/css/barefaced_content.css @@ -0,0 +1,103 @@ +/** 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; +} \ No newline at end of file diff --git a/www/css/barefaced_footer.css b/www/css/barefaced_footer.css new file mode 100644 index 0000000..38c4c71 --- /dev/null +++ b/www/css/barefaced_footer.css @@ -0,0 +1,11 @@ +/** footer styles */ + +footer { + height: var(--footer-height); + background-color: var(--primary-color); + border: 1px solid var(--secondary-color); + border-radius: var(--box-border-radius); + color: var(--secondary-font-color); + margin: 16px; + padding: 10px; +} diff --git a/www/css/barefaced_global.css b/www/css/barefaced_global.css new file mode 100644 index 0000000..e301b3f --- /dev/null +++ b/www/css/barefaced_global.css @@ -0,0 +1,43 @@ +/** global styles */ + +/* globale Variablen */ +:root { + /* colors */ + --primary-color: #1976D2; + --secondary-color: #d27519; + --font-color: #333333; + --secondary-font-color: #f3f5f4; + --background-color: #f3f5f4; + --highlight-color: #f0f0f0; + --error-color: #ff4d4f; + --success-color: #52c41a; + --data-background-color: #ffffff; + + /* Dimensions */ + --header-height: 32px; + --footer-height: 32px; + --main-content-padding: 20px; + --box-border-radius: 10px; +} + + +/* 1. Schriftart definieren */ +@font-face { + font-family: 'Inter'; /* Name, den du später im CSS verwendest */ + src: url('/static/fonts/Inter.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +* { + margin: 0; + padding: 0; +} + +/* 2. Schriftart anwenden und Ränder entfernen*/ +body { + font-family: 'Inter', Arial, sans-serif; + background-color: var(--background-color); + color: var(--font-color); +} + diff --git a/www/css/barefaced_header.css b/www/css/barefaced_header.css new file mode 100644 index 0000000..6711155 --- /dev/null +++ b/www/css/barefaced_header.css @@ -0,0 +1,48 @@ +/** Header and included nav styles */ + +/* Style für Header, Navigation, Main Content, Aside und Footer */ +header { + display: flex; + justify-content: flex-start; + align-items: center; + + height: var(--header-height); + background-color: var(--primary-color); + border: 1px solid var(--secondary-color); + border-radius: var(--box-border-radius); + color: var(--secondary-font-color); + margin: 16px; + padding: 10px; +} + +header img { + height: calc(var(--header-height) - 5px); /* Adjust the image height to fit within the header */ + margin-left: 10px; /* Space between the image and the header text */ + padding-right: 16px; /* Space between the image and the header text */ +} + +header p { + font-weight: 100; + margin-left: 16px; + padding-right: 16px; +} + +nav { + margin: 16px; + padding: 10px; +} + +nav ul { + list-style-type: none; /* Entfernt die Standard-Aufzählungszeichen */ + display: flex; /* Macht die Liste horizontal */ + gap: 20px; /* Abstand zwischen den Listenelementen */ +} + +nav ul li a { + text-decoration: none; /* Entfernt die Unterstreichung */ + color: var(--secondary-font-color); /* Setzt die Schriftfarbe */ +} +nav ul li a:hover { + text-decoration: underline; /* Unterstreichung beim Überfahren mit der Maus */ + font-weight: bold; /* Macht den Text fett */ +} diff --git a/www/fonts/Inter.ttf b/www/fonts/Inter.ttf new file mode 100644 index 0000000..e31b51e Binary files /dev/null and b/www/fonts/Inter.ttf differ diff --git a/www/fonts/TypicalWriter-G3LO.ttf b/www/fonts/TypicalWriter-G3LO.ttf new file mode 100644 index 0000000..2db9b8b Binary files /dev/null and b/www/fonts/TypicalWriter-G3LO.ttf differ diff --git a/www/images/SimplyCPQ_Logo.svg b/www/images/SimplyCPQ_Logo.svg new file mode 100644 index 0000000..3088fe1 --- /dev/null +++ b/www/images/SimplyCPQ_Logo.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/www/images/property_type.svg b/www/images/property_type.svg new file mode 100644 index 0000000..963c2d6 --- /dev/null +++ b/www/images/property_type.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/property_type_group.svg b/www/images/property_type_group.svg new file mode 100644 index 0000000..a2f71ec --- /dev/null +++ b/www/images/property_type_group.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/screens/dummy.webp b/www/images/screens/dummy.webp new file mode 100644 index 0000000..e4782c9 Binary files /dev/null and b/www/images/screens/dummy.webp differ diff --git a/www/images/users/tsindt.png b/www/images/users/tsindt.png new file mode 100644 index 0000000..54f4d57 Binary files /dev/null and b/www/images/users/tsindt.png differ diff --git a/www/index.html b/www/index.html new file mode 100644 index 0000000..34c188a --- /dev/null +++ b/www/index.html @@ -0,0 +1,24 @@ + + + + + + The Barefaced Home + + + +
+

Welcome to our website

+

This is the main content area.

+
+ + + \ No newline at end of file