Files
TIF22A_AnwProjekt_B/anwendung/src/styles/globals.css
T

301 lines
3.9 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 255, 255, 255;
--background-end-rgb: 255, 255, 255;
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
display: flex;
align-items: center;
justify-content: center;
}
/*
Button
*/
.round-border
{
border-radius: 5px;
border-width: 0;
}
.font-small
{
font-size: 10px;
}
.font-middle
{
font-size: 12px ;
}
.font-big
{
font-size: 16px;
}
.button
{
background-color: #363636;
padding: 5px;
color: white;
}
.button:hover
{
background-color: #585858;
}
/*
Step Progress Bar
*/
.step-container
{
display: flex;
flex-direction: column;
align-items: center;
max-width: 400px;
}
.steps
{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 20px;
width: 100%;
position: relative;
}
.step
{
width: 40px; height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
}
.steps .not-started
{
background-image: linear-gradient(#b42121, #b44821);
}
.steps .started
{
background-image: linear-gradient(#c75c0c, #c77c0c);
}
.steps .finished
{
background-image: linear-gradient(#43C20BFF, #0bc27c);
}
.steps .active
{
border-width: 3px;
border-color: #1e2428;
}
.progress-bar
{
position: absolute;
height: 8px;
background-color: #5d606e;
z-index: -1;
}
.dateElement{
display: flex;
margin-left: 20px;
margin-right: 20px;
height: 50px;
width: 200px;
align-items: center;
justify-content: center;
background-color: #0d52ce;
}
.weekSelector {
display: flex;
}
/*
Popup
*/
.modal-container
{
z-index: 1;
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.3);
}
.modal
{
width: 300px;
height: 100px;
border-radius: 10px;
background-color: rgb(255, 255, 255);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 5px;
}
.modal p
{
text-align: center;
}
.modal div
{
display: flex;
flex-direction: row;
width: 100%;
justify-content: end;
gap: 5px;
}
/*
Calender View
*/
::-webkit-scrollbar {
display: none;
}
.calender-container
{
max-height: 300px;
overflow-y: scroll;
display: grid;
}
.content
{
grid-area: 1 / 1;
}
.overlay
{
padding: 2px 0 0 0;
grid-area: 1 / 1;
pointer-events: none;
}
.no-pointer-events
{
pointer-events: none;
}
.wochen-tag-container
{
display: flex;
flex-direction: row;
justify-content: space-between;
height: 25px;
width: 500px;
gap: 2px;
background-color: #363636;
}
.calender-view
{
/*
Test
*/
width: 500px;
height: 965px;
/*
End Test
*/
background-color: #363636;
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: stretch;
gap: 2px;
user-select: none;
padding: 2px 0 0 0;
}
.calender-view .spalte
{
border-radius: 5px;
width: 100px;
background-color: white;
display: grid;
padding: 0 1.5px;
grid-template-columns: 100%;
grid-template-rows: repeat(96, 10px);
}
.wochen-tag-container .wochen-tag
{
text-align: center;
background-color: #f80000;
width: 100px;
color: white;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
grid-row-start: 1;
grid-row-end: 4;
}
.entry
{
background-color: #f80000;
border-radius: 5px;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 0px 2px;
align-items: center;
cursor: move;
z-index: 10;
}
.entry .resize-grab
{
height: 5px;
cursor: ns-resize;
width: 100%;
}
.entry p
{
color: white;
font-size: 6px;
cursor: default;
pointer-events: none;
}