Design idea

This commit is contained in:
brausjonas
2023-05-24 00:49:59 +02:00
parent aadd9f5f94
commit 702e3e8e4d
8 changed files with 666 additions and 317 deletions
+297 -301
View File
@@ -3,203 +3,211 @@
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 255, 255, 255;
--background-end-rgb: 255, 255, 255;
--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;
.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;
.semester-overview {
height: 100vh;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
flex-wrap: wrap;
align-content: center;
gap: 10px;
}
body
body {
height: 100vh;
}
.box-shadow
{
height: 100vh;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
/*
Button
*/
.round-border
{
border-radius: 10px;
border-width: 0;
.round-border {
border-radius: 10px;
border-width: 0;
}
.font-small
{
font-size: 12px;
.font-small {
font-size: 12px;
}
.font-middle
{
font-size: 16px ;
.font-middle {
font-size: 16px;
}
.font-big
{
font-size: 22px;
.font-big {
font-size: 22px;
}
.button
{
background-color: #363636;
padding: 5px;
color: white;
.button {
background-color: #363636;
padding: 5px;
color: white;
}
.button:hover
{
background-color: #585858;
.button:hover {
background-color: #585858;
}
/*
Step Progress Bar
*/
.step-container
{
display: flex;
flex-direction: column;
align-items: center;
max-width: 400px;
.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;
.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;
.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 .not-started {
/*background-image: linear-gradient(#b42121, #b44821);*/
background-color: #77932b;
}
.steps .started
{
background-image: linear-gradient(#c75c0c, #c77c0c);
.steps .started {
/*background-image: linear-gradient(#c75c0c, #c77c0c);*/
background-color: #77932b;
}
.steps .finished
{
background-image: linear-gradient(#43C20BFF, #0bc27c);
.steps .finished {
/*background-image: linear-gradient(#43C20BFF, #0bc27c);*/
background-color: #77932b;
}
.steps .active
{
border-width: 3px;
border-color: #1e2428;
.steps .active {
/*border-width: 2px;*/
/*border-color: #1e2428;*/
background-color: #346991;
}
.progress-bar
{
position: absolute;
height: 8px;
background-color: #5d606e;
z-index: -1;
.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;
.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;
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-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 {
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 p {
text-align: center;
}
.modal div
{
display: flex;
flex-direction: row;
width: 100%;
justify-content: end;
gap: 5px;
.modal div {
display: flex;
flex-direction: row;
width: 100%;
justify-content: end;
gap: 5px;
}
/*
@@ -207,114 +215,103 @@ Calender View
*/
.calender-container
{
max-height: 600px;
overflow-y: scroll;
display: grid;
.calender-container {
max-height: 600px;
overflow-y: scroll;
display: grid;
}
.calender-container::-webkit-scrollbar
{
display: none;
.calender-container::-webkit-scrollbar {
display: none;
}
.content
{
grid-area: 1 / 1;
.content {
grid-area: 1 / 1;
}
.overlay
{
padding: 2px 0 0 0;
grid-area: 1 / 1;
pointer-events: none;
.overlay {
padding: 2px 0 0 0;
grid-area: 1 / 1;
pointer-events: none;
}
.no-pointer-events
{
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;
.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 {
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%;
.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;
.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;
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 {
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 .resize-grab {
height: 5px;
cursor: ns-resize;
width: 100%;
}
.entry p {
color: white;
font-size: 16px;
cursor: default;
pointer-events: none;
color: white;
font-size: 16px;
cursor: default;
pointer-events: none;
}
/*
@@ -322,163 +319,162 @@ inputForm
*/
input {
border-width: 2px;
border-radius: 5px;
border-width: 2px;
border-radius: 5px;
}
.courseNameInput {
width: 300px;
width: 300px;
}
.semesterDateInput {
width: 150px;
width: 150px;
}
.semesterDateLables, .semesterDateInputPair {
display:flex;
flex-direction: row;
justify-content: left;
display: flex;
flex-direction: row;
justify-content: left;
}
.inputFieldSeperator {
width: 40px;
text-align: center;
width: 40px;
text-align: center;
}
.semesterDateLable{
width: 150px;
margin-right: 40px;
.semesterDateLable {
width: 150px;
margin-right: 40px;
}
.semesterRangeInput {
margin-top: 50px;
margin-top: 50px;
}
.inputForm {
width: 600px;
height: 600px;
padding: 20px;
border: solid;
display: flex;
flex-direction: column;
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;
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;
height: 350px;
border: solid;
margin-top: 20px;
width: 500px;
padding: 10px;
margin-bottom: 20px;
}
th {
text-align: left;
padding: 0 10px;
text-align: left;
padding: 0 10px;
}
td
{
padding: 0 10px;
td {
padding: 0 10px;
}
/*
Login
*/
.login-container
{
.login-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
height: 100%;
justify-content: space-evenly;
/*gap: 10px;*/
border-radius: 10px;
background-color: #ffffff;
width: 375px;
height: 350px;
}
.input-bordered
{
border: 1px solid #000000;
.input-bordered {
border: none;
border-radius: 5px;
}
.input
{
.input {
padding: 5px;
border: none;
background-color: #e9e9e9;
border-radius: 5px;
font-family: Arial, serif;
font-size: 16px;
}
.border{
width: 375px;
height: 350px;
background-color: #ffffff;
border-radius: 5px;
border-width: 2px;
border-color: #1e2428;
/*gap: 10px;*/
.input:focus
{
outline: none;
}
.placement {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: left;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: left;
}
.font-kinda-big{
.font-kinda-big {
font-size: 18px;
color: #777777;
font-weight: 500;
}
.font-big-fat {
font-size: 22px;
font-weight: bold;
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 */;
}
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: #797979;
width: 240px;
height: 160px;
color: white;
border-radius: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 20px;
gap: 10px;
.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: #5d606e;
.semester-tile:hover {
background-color: #e1e1e1;
}
.semester-tile p
{
pointer-events: none;
.semester-tile p {
pointer-events: none;
font-weight: bold;
font-size: 23px;
}
.semester-tile .step-container
{
pointer-events: none;
.semester-tile .step-container {
pointer-events: none;
}