Files
SimplyCPQ2/buildtime/static/css/scpq_global.css
T
2026-09-21 18:28:23 +02:00

96 lines
1.9 KiB
CSS

/** 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: 64px;
--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;
box-sizing: border-box;
}
// 12 Spalten Grid System
.row::after {
content: "";
clear: both;
display: table;
}
[class*="col-"] {
float: left;
padding: 15px;
}
/* Responsive Anpassungen Handy */
[class*="col-"] {
width: 100%;
}
/* Responsive Anpassungen Tablet */
@media screen and (min-width: 600px) {
.col-s-1 {width: 8.33%;}
.col-s-2 {width: 16.66%;}
.col-s-3 {width: 25%;}
.col-s-4 {width: 33.33%;}
.col-s-5 {width: 41.66%;}
.col-s-6 {width: 50%;}
.col-s-7 {width: 58.33%;}
.col-s-8 {width: 66.66%;}
.col-s-9 {width: 75%;}
.col-s-10 {width: 83.33%;}
.col-s-11 {width: 91.66%;}
.col-s-12 {width: 100%;}
}
/* Spaltenbreiten für 12 Spalten Grid */
@media screen and (min-width: 768px) {
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
}
/* 2. Schriftart anwenden und Ränder entfernen*/
body {
font-family: 'Inter', Arial, sans-serif;
background-color: var(--background-color);
color: var(--font-color);
}