ganz viel merge und so

This commit is contained in:
Janis M
2022-03-28 14:03:53 +02:00
parent 3ff13bfd25
commit a0f059d955
16 changed files with 613 additions and 235 deletions

92
static/css/header.css Normal file
View File

@@ -0,0 +1,92 @@
/* UTIL */
.vertical-center {
float: left;
top: 50%;
position: relative;
transform: translateY(-50%);
}
body {
margin: 0;
}
/* BACKGROUND */
.headerDIV > div {
height: 100%;
text-align: center;
display: inline-block;
vertical-align: top;
}
/* LOGO PART */
.headerDIVLogo {
width: 20%;
}
.headerDIVLogo > img {
float: left;
height: 80%;
position: relative;
top: 10%;
}
/* SEARCH PART */
.headerDIVSearch {
width: 60%;
}
.headerDIVSearch > input {
left: 10%;
width: calc(80% - 60px);
border-radius: 5px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
height: 20px;
padding: 3px 10px;
}
.headerDIVSearch > button {
width: 40px;
left: 10%;
border-radius: 5px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
height: 30px;
}
/* BUTTON PART */
.headerDIVButton {
width: 20%;
}
.headerDIVButton > button {
height: 30px;
float: right;
margin-right: 10px;
height: 35px;
border-radius: 5px;
border: 3px solid rgb(6, 70, 107);
background-color: rgb(0, 99, 156);
transition: 0.1s;
transition-timing-function: linear;
cursor: pointer;
color:white;
font-weight: bold;
}
#headerBtnLogout{
background-color: rgb(172, 38, 38);
border-color: rgb(145, 35, 35);
}
#headerBtnLogout:hover{
background-color: rgb(206, 50, 50);
}
.headerDIVButton > button:hover {
background-color: rgb(23, 114, 167);
}
.headerDIV {
width: 100%;
height: 65px;
background-color: #414854;
margin: 0;
}

View File

@@ -3,8 +3,15 @@
margin-left: auto;
margin-right: auto;
width: 500px;
margin-top: 60px;
margin-bottom: 60px;
}
#order-info p{
height: 30px;
}
form input[type="submit"]{
color: rgb(255, 255, 255);
font-weight: bold;
@@ -27,4 +34,13 @@ form input[type="submit"]{
h3{
text-align: center;
}
hr{
width: 100%;
border: 0px;
background-color:rgba(51, 51, 51, 0.337);
height: 2px;
margin-top: 20px;
margin-bottom: 20px;
}

238
static/css/product.css Normal file
View File

@@ -0,0 +1,238 @@
*{
padding:0;
}
h1, h2{
margin-left: 0px;
text-align: left;
padding-bottom: 0;
margin-bottom: 0px;
}
.seller{
display: block;
height: 30px;
margin-top:10px;
padding: 0;
font-weight: bold;
font-size: 10pt;
}
.badge{
background-color: rgb(224, 224, 224);
color: black;
height: 15px;
padding-left: 3px;
padding-right: 3px;
font-size: 9pt;
display: block;
margin-top: -5;
border-radius: 5px;
padding-top: 0;
padding-bottom: 0;
margin-top: -10px;
border: 2px solid rgb(143, 143, 143);
float:left;
}
#content
{
width: 1000px;
height:3000px;
background-color: rgb(244, 244, 244);
margin:auto;
padding-top: 10px;
}
#productPicture
{
width: 40%;
height: 400px;
/*background-color: rgb(85, 85, 85);*/
display: block;
float: left;
border-bottom: 2px solid rgb(104, 117, 151);
}
#productPicture img
{
width: 90%;
display: block;
}
#info
{
width: 60%;
height: 400px;
display: block;
float: right;
/*background-color: rgb(121, 170, 182);*/
border-bottom: 2px solid rgb(104, 117, 151);;
}
.order-button{
color: rgb(255, 255, 255);
font-weight: bold;
letter-spacing: 1.5px;
padding-left: 20px;
padding-right: 20px;
display:block;
float:left;
height: 35px;
border-radius: 5px;
border: 2px solid rgb(0, 99, 156);
background-color: rgb(0, 99, 156);
transition: 0.1s;
transition-timing-function: linear;
outline: none !important;
cursor:pointer;
margin-right: 30px;
margin-top: 10px;
}
#description
{
width: 100%;
display: block;
float: left;
background-color: rgba(103, 187, 183, 0);
border-bottom: 2px solid rgb(104, 117, 151);
}
#description p,h2 {
padding-left: 30px;
padding-right: 30px;
}
#newReview{
width: 100%;
display: block;
float: left;
background-color: rgba(45, 66, 94, 0);
padding-bottom: 20px;
border-bottom: 2px solid rgb(104, 117, 151);;
}
#reviews{
width: 100%;
height: 1600px;
display: block;
float: left;
background-color: rgba(39, 39, 39, 0);
}
#reviewTemplate
{
width: 100%;
float: left;
margin-bottom: 20px;
}
#reviewTemplatePicture
{
width: 200px;
height: 200px;
display: block;
float: left;
background-color: rgb(85, 158, 255);
}
#data
{
width: 100%;
height: 50px;
display: block;
float: left;
background-color: rgb(124, 142, 212);
}
#text
{
width: 100%;
height: 150px;
display: block;
float: left;
background-color: rgb(211, 196, 247);
}
#reviewTemplateText
{
background-color: rgb(235, 196, 228);
}
form{
display:block;
margin-left: auto;
margin-right: auto;
width: 500px;
}
form label{
display:block;
margin-left: auto;
margin-right: auto;
width: 80%;
margin-top: 20px;
}
form label p{
width: 100%;
display:block;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
font-weight: bold;
letter-spacing: 1.5px;
}
form label input{
width: 100%;
display:block;
margin-left: auto;
margin-right: auto;
height: 35px;
border-radius: 5px;
border: 2px solid rgb(0, 99, 156);
background-color: rgb(255, 255, 255);
transition: 0.1s;
transition-timing-function: linear;
outline: none !important;
}
/* Submit button with blue background horizontal center*/
form input[type="submit"]{
color: rgb(255, 255, 255);
font-weight: bold;
letter-spacing: 1.5px;
width: 100%;
display:block;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
height: 35px;
border-radius: 5px;
border: 2px solid rgb(0, 99, 156);
background-color: rgb(0, 99, 156);
transition: 0.1s;
transition-timing-function: linear;
outline: none !important;
cursor:pointer;
}
/* Hover */
form label input:hover{
border: 2px solid rgb(1, 197, 246);
}
form label input:focus{
border: 2px solid rgb(1, 197, 246);
box-shadow: 0 0 5px #719ece62;
}
form input[type="submit"]:hover{
border: 2px solid rgb(7, 130, 200);
background-color: rgb(7, 130, 200);
}
textarea{
resize: vertical;
width: 100%;
display:block;
margin-left: auto;
margin-right: auto;
}

View File

@@ -2,10 +2,17 @@
font-family: Arial, Helvetica, sans-serif;
}
html,body{
min-height: 100% !important;
height: 100%;
}
h1{
text-align: center;
}
#error-text{
color: red;
font-weight: bold;

BIN
static/images/examples.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB