Public Version 1 on spinn-mit.ch

This commit is contained in:
nooahe committed 2023-01-03 16:08:52 +01:00
1 parent 522e01979f
commit 13ebde7ef1
11 files changed
+460 -145

No files matched your search

+2 -1
View File
@@ -27,6 +27,7 @@
*/
.pswp {
font-family: bd-supper, sans-serif;
position: fixed;
top: 0;
left: 0;
@@ -407,7 +408,7 @@ div.pswp__img--placeholder,
.pswp__counter {
height: 30px;
margin: 15px 0 0 20px;
font-size: 14px;
font-size: 16px;
line-height: 30px;
color: var(--pswp-icon-color);
text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
+235 -17
View File
@@ -9,6 +9,7 @@
--helllachs: #FFF5EE;
--borderRadSmall: 14px;
--borderRadLarge: 30px;
}
@@ -94,6 +95,10 @@ img.mapControl {
}
.desktopOnly{
display: none;
}
/*----------------------------------------------------*/
/*-------------------- STARTSCREEN -------------------*/
/*----------------------------------------------------*/
@@ -154,10 +159,16 @@ img.mapControl {
background-color: #27177A;
overflow-x: hidden;
overflow-y: scroll;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
#overlay::-webkit-scrollbar {
display: none;
}
#overlay_container{
margin: 3%;
@@ -183,6 +194,8 @@ img.mapControl {
#cancel {
z-index: 100;
transform: translateZ(10px);
width: 40px;
height: 40px;
position: sticky;
@@ -211,6 +224,7 @@ form{
width: 100%;
height: 93%;
margin-top: 7%;
margin-bottom: -25px;
}
input, textarea{
@@ -263,20 +277,29 @@ textarea {
input.titel{
width: 75%;
margin-bottom: 5%;
margin-bottom: 3%;
height: 30px;
max-height: 15%;
}
input.adresse{
margin-bottom: 3%;
height: 30px;
max-height: 15%;
font-size: 12pt;
}
button.submit{
background-image: url("../images/absenden.svg");
background-repeat: no-repeat;
background-color: transparent;
border-radius: 40px;
border: none;
width: 80px;
height: 80px;
background-color: #fad8c4;
position: absolute;
bottom: 8px;
position: relative;
bottom: 25px;
left: 25px;
}
@@ -295,38 +318,69 @@ div.image-preview{
flex-direction: row-reverse;
align-items: flex-end;
margin: 20px;
height: 25%;
height: 60px;
}
div.ImgPrevContainer {
height: 100%;
margin-left: 100%;
display: flex;
flex-direction: row;
}
div.prevIMG {
aspect-ratio: 1;
background-position: center;
background-size: cover;
margin-right: 20px;
margin-right: 5px;
height: 60px;
border-radius: var(--borderRadSmall);
}
img.prevIMG {
height: 100%;
border-radius: var(--borderRadSmall);
/*------------- Upload Care Widget ----------------*/
.uploadcare--widget{
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.uploadcare--widget__button,
.uploadcare--widget__button_type_open,
.uploadcare--widget__button_type_open:focus,
.uploadcare--widget__button_type_open:hover{
.uploadcare--widget__button_type_open{
height: 40px;
width: 40px;
background-image: url("../images/uploadImage.svg");
background-color: transparent;
}
.uploadcare--widget__text, .uploadcare--widget__progress {
.uploadcare--widget__button_type_open{
position: relative;
left: 90%;
left: calc(100% - 40px);
}
.uploadcare--progress_type_canvas{
color: var(--marine);
border-color: var(--orange);
}
.uploadcare--widget__text{
font-family: bd-supper, sans-serif;
}
.uploadcare--link, .uploadcare--widget__file-size{
display: none;
}
.uploadcare--widget__button_type_cancel{
height: 40px;
width: 40px;
@@ -341,6 +395,16 @@ img.prevIMG {
background-color: transparent;
}
.uploadcare--widget__button_type_cancel:active, .uploadcare--widget__button_type_cancel:hover, .uploadcare--widget__button_type_remove:active, .uploadcare--widget__button_type_remove:hover {
background: none;
background-image: url("../images/cancel.svg");
}
.uploadcare--widget__button_type_open:active, .uploadcare--widget__button_type_open:hover {
background-image: url("../images/uploadImageHover.svg");
background-color: transparent;
}
/*----------------------------------------------------*/
/*------------------ IDEE ANZEIGEN -------------------*/
@@ -349,11 +413,33 @@ img.prevIMG {
div.ImgContainer {
width: 100%;
margin-top: 20px;
margin-right: 0;
height: 160px;
background-position: center;
background-size: cover;
background-position: center center;
border-radius: var(--borderRadSmall);
display: flex;
position: relative;
z-index: 12;
}
.pswp img {
max-width: none;
object-fit: contain;
}
div.ImgContainer a:first-child{
width: 100%;
height: 100%;
}
img.thumbnail{
opacity: 0;
}
#inhaltContainer {
@@ -413,6 +499,18 @@ p.likeDisplay {
h1.ideeTitel {
color: var(--helllachs);
font-size: 28px;
margin: 0;
}
p.ideeAdresse{
color: white;
font-size: 9pt;
margin: 0;
font-family: bd-supper, sans-serif;
}
div.titleLocationContainer{
margin: 10px;
padding-top: 10px;
padding-bottom: 10px;
@@ -582,7 +680,7 @@ img.commentLike{
body.aboutInfo {
background-image: url("/images/Background2.svg");
background-size: cover;
color: var(--marine);
color: var(--royalblau);
position: relative;
overflow-y: scroll;
}
@@ -600,7 +698,7 @@ div.subPageHeader {
body.aboutInfo h1 {
background-color: var(--helllachs);
color: var(--marine);
color: var(--royalblau);
font-weight: 400;
font-size: 22pt;
@@ -628,4 +726,124 @@ div.textContainer {
.fixedPos {
position: fixed;
top: 7px;
}
}
/*------- Loading --------*/
.loadingscreen{
position: absolute;
top: 80px;
left: 43%;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
margin: auto;
}
.loader {
border: 10px solid rgba(0,0,0,0);
border-radius: 50%;
border-top: 13px solid var(--orange);
width: 50px;
height: 50px;
animation: spinner 2s linear infinite;
}
@keyframes spinner {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/*------- DESKTOP -----------*/
@media screen and (min-width: 900px) {
div.content{
display: flex;
flex-direction: column;
justify-content: space-around;
margin: auto;
padding: 0;
min-height: 500px;
width: 70%;
background-color: var(--helllachs);
border-radius: var(--borderRadSmall);
}
div.innerContent{
display: flex;
}
article{
margin: 20px;
width: calc(50% - 40px);
background-color: none;
}
body.aboutInfo h1{
border-color: var(--royalblau);
border-radius: 100px;
padding: 2px 25px 0px;
border-style: solid;
border-width: 2px;
}
a.desktopOnly{
display: flex;
align-self: flex-end;
margin-right: 20px;
margin-bottom: 20px;
border-radius: 1000px;
padding: 10px 20px 8px;
background-color: var(--royalblau);
color: var(--helllachs);
text-decoration: none;
transition: background-color .5s;
}
a.desktopOnly:hover{
background-color: var(--marine);
transition: background-color .5s;
}
.desktopOnly p{
margin: 0;
}
/*------- Overlay --------*/
#overlay{
bottom: 5vh;
right: 0;
border-radius: var(--borderRadLarge) 0 0 var(--borderRadLarge) ;
}
.hidden{
transform: translateX(100%);
-webkit-transform: translateX(100%);
}
.show{
transform: translateX(0);
-webkit-transform: translateX(0);
}
}