511 lines
7.5 KiB
CSS
511 lines
7.5 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 {
|
|
background-color: #f2f2f2;
|
|
|
|
}
|
|
|
|
.splash {
|
|
position: absolute;
|
|
border-radius: 70px;
|
|
background-color: #c77c0c;
|
|
|
|
z-index: -5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
Page Layouts
|
|
*/
|
|
|
|
.normal-centered {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.semester-overview {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
align-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
}
|
|
|
|
.box-shadow
|
|
{
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.box-shadow-heavy
|
|
{
|
|
box-shadow: 0 0 10px rgba(0, 0, 0,1);
|
|
}
|
|
|
|
/*
|
|
Button
|
|
*/
|
|
.round-border {
|
|
border-radius: 10px;
|
|
border-width: 0;
|
|
}
|
|
|
|
.font-small {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.font-middle {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.font-big {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.button {
|
|
background-color: #363636;
|
|
padding: 5px;
|
|
color: white;
|
|
}
|
|
|
|
.button:hover
|
|
{
|
|
filter: brightness(0.65);
|
|
}
|
|
|
|
.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);*/
|
|
background-color: #77932b;
|
|
|
|
}
|
|
|
|
.steps .started {
|
|
/*background-image: linear-gradient(#c75c0c, #c77c0c);*/
|
|
background-color: #77932b;
|
|
}
|
|
|
|
|
|
.steps .finished {
|
|
/*background-image: linear-gradient(#43C20BFF, #0bc27c);*/
|
|
background-color: #77932b;
|
|
}
|
|
|
|
|
|
.steps .active {
|
|
/*border-width: 2px;*/
|
|
/*border-color: #1e2428;*/
|
|
background-color: #346991;
|
|
}
|
|
|
|
.progress-bar {
|
|
position: absolute;
|
|
height: 8px;
|
|
background-color: #5d606e;
|
|
z-index: -1;
|
|
}
|
|
|
|
/*
|
|
weekSelector
|
|
*/
|
|
|
|
.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.5);
|
|
}
|
|
|
|
.modal {
|
|
height: 180px;
|
|
width: 300px;
|
|
border-radius: 10px;
|
|
background-color: rgb(255, 255, 255);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px;
|
|
animation-name: modalgrow;
|
|
animation-duration: 0.2s;
|
|
animation-play-state: running;
|
|
}
|
|
|
|
@keyframes modalgrow {
|
|
from
|
|
{
|
|
height: 90px;
|
|
width: 150px;
|
|
}
|
|
to
|
|
{
|
|
height: 180px;
|
|
width: 300px;
|
|
}
|
|
}
|
|
|
|
.modal p {
|
|
text-align: center;
|
|
pointer-events: none;
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.modal div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
justify-content: end;
|
|
gap: 5px;
|
|
}
|
|
|
|
/*
|
|
Calender View
|
|
*/
|
|
|
|
|
|
.calender-container {
|
|
max-height: 600px;
|
|
overflow-y: scroll;
|
|
display: grid;
|
|
}
|
|
|
|
.calender-container::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.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: 60px;
|
|
width: 1000px;
|
|
gap: 5px;
|
|
padding: 0 0 5px 0;
|
|
background-color: #363636;
|
|
}
|
|
|
|
.calender-view {
|
|
width: 1000px;
|
|
height: 2400px;
|
|
background-color: #363636;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
justify-content: stretch;
|
|
gap: 5px;
|
|
user-select: none;
|
|
padding: 2px 0 0 0;
|
|
}
|
|
|
|
.calender-view .spalte {
|
|
border-radius: 10px;
|
|
width: 400px;
|
|
background-color: white;
|
|
display: grid;
|
|
padding: 0 3px;
|
|
grid-template-columns: 100%;
|
|
}
|
|
|
|
.wochen-tag-container .wochen-tag {
|
|
text-align: center;
|
|
background-color: #f80000;
|
|
width: 400px;
|
|
color: white;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
grid-row-start: 1;
|
|
grid-row-end: 4;
|
|
}
|
|
|
|
.entry {
|
|
border-radius: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
padding: 0 2px;
|
|
align-items: center;
|
|
cursor: move;
|
|
z-index: 10;
|
|
overflow: hidden;
|
|
margin-top: 1px;
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.entry .resize-grab {
|
|
height: 5px;
|
|
cursor: ns-resize;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
.entry p {
|
|
color: white;
|
|
font-size: 16px;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/*
|
|
inputForm
|
|
*/
|
|
|
|
input {
|
|
border-width: 2px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.courseNameInput {
|
|
width: 300px;
|
|
}
|
|
|
|
.semesterDateInput {
|
|
width: 150px;
|
|
}
|
|
|
|
.semesterDateLables, .semesterDateInputPair {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
}
|
|
|
|
.inputFieldSeperator {
|
|
width: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.semesterDateLable {
|
|
width: 150px;
|
|
margin-right: 40px;
|
|
}
|
|
|
|
.semesterRangeInput {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.inputForm {
|
|
width: 600px;
|
|
height: 600px;
|
|
padding: 20px;
|
|
border: solid;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#buttons {
|
|
align-self: flex-end;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.dozentSelector {
|
|
height: 350px;
|
|
border: solid;
|
|
margin-top: 20px;
|
|
width: 500px;
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
th {
|
|
text-align: left;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
td {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
/*
|
|
Login
|
|
*/
|
|
|
|
.login-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
/*gap: 10px;*/
|
|
border-radius: 10px;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
width: 375px;
|
|
height: 350px;
|
|
}
|
|
|
|
|
|
.input-bordered {
|
|
border: none;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.input {
|
|
padding: 5px;
|
|
border: none;
|
|
background-color: #e9e9e9;
|
|
border-radius: 5px;
|
|
font-family: Arial, serif;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.input:focus
|
|
{
|
|
outline: none;
|
|
}
|
|
|
|
|
|
.placement {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: left;
|
|
}
|
|
|
|
.font-kinda-big {
|
|
font-size: 18px;
|
|
color: #777777;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.font-big-fat {
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.input-sm {
|
|
height: 2rem /* 32px */;
|
|
padding-left: 0.75rem /* 12px */;
|
|
padding-right: 0.75rem /* 12px */;
|
|
font-size: 0.875rem /* 14px */;
|
|
line-height: 2rem /* 32px */;
|
|
}
|
|
|
|
/**
|
|
SemesterTile
|
|
*/
|
|
|
|
.semester-tile {
|
|
background-color: #ffffff;
|
|
width: 240px;
|
|
height: 160px;
|
|
color: black;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.semester-tile:hover {
|
|
background-color: #e1e1e1;
|
|
}
|
|
|
|
.semester-tile p {
|
|
pointer-events: none;
|
|
font-weight: bold;
|
|
font-size: 23px;
|
|
}
|
|
|
|
.semester-tile .step-container {
|
|
pointer-events: none;
|
|
}
|