Skip to content
Snippets Groups Projects
App.css 71.1 KiB
Newer Older
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  border-left: 1px solid var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
}

.children_item:first-child:last-child:before {
  top: 50%;
  bottom: auto;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--text-primary);
}

.children_leftbranch,
.children_leftbranch .children {
  direction: rtl;
  text-align: right;
  padding: 0 6px 0 0;
}

.children_leftbranch:before,
.children_leftbranch .children:before {
  left: auto;
  right: -2px;
}

.children_leftbranch .children_item {
  padding: 0 10px 0 0;
  border: 0;
  border-right: 1px solid var(--text-primary);
}

.children_leftbranch .children_item:first-child,
.children_leftbranch .children_item:last-child {
  border-right: 1px solid transparent;
}

.children_leftbranch .children_item:before {
  top: 50%;
  left: auto;
  right: 0;
}


.children_leftbranch .children_item:first-child:before {
  right: -1px;
  border: 0;
  border-radius: 0 4px 0 0;
  border-top: 1px solid var(--text-primary);
  border-right: 1px solid var(--text-primary);
}

.children_leftbranch .children_item:last-child:before {
  right: -1px;
  top: 0;
  bottom: 50%;
  border-radius: 0 0 4px 0;
  border: 0;
  border-right: 1px solid var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
}

.children_leftbranch .children_item:first-child:last-child:before {
  top: 50%;
  bottom: auto;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--text-primary);
}


/* .children  .node{
  background: --webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.15)), to(rgba(0, 0, 0, 0.15))) var(--background);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)) var(--accent-primary);
}

.children  .children .node{
  background: --webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.30)), to(rgba(0, 0, 0, 0.30))) var(--background);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.30)) var(--accent-primary);
}

.children  .children .children .node{
  background: --webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.45)), to(rgba(0, 0, 0, 0.45))) var(--background);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)) var(--accent-primary);
}

.children  .children .children .children .node{
  background: --webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.60)), to(rgba(0, 0, 0, 0.60))) var(--background);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)) var(--accent-primary);
}
  */

#L1, #R1{
  line-height: calc(var(--node-size) / 4);
  text-align: center;
  vertical-align: middle;
  padding-top: 15px;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}


/* #sidebarbox{
  visibility: visible !important;
  background-color: red !important;
  width: 16.66666667% !important
} */

 div.timeline-item.moretop div div.row.align-items-center div.col p{
  text-align: left;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
 }
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
 

/*  ========================
      BUTTON TWO
======================== */

.btn-two {
  color: #fff;
  transition: all 0.5s;
  position: relative;
}
.btn-two span {
  z-index: 2;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}
.btn-two::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.5s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}
.btn-two::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.5s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}
.btn-two:hover::before {
  transform: rotate(-45deg);
  background-color: rgba(255, 255, 255, 0);
}
.btn-two:hover::after {
  transform: rotate(45deg);
  background-color: rgba(255, 255, 255, 0);
}


/* 
========================
      BUTTON THREE
======================== */

.btn-three {
  color: #fff;
  transition: all 0.5s;
  position: relative;
}
.btn-three::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}
.btn-three:hover::before {
  opacity: 0;
  transform: scale(0.5, 0.5);
}
.btn-three::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: scale(1.2, 1.2);
}
.btn-three:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}



div[class*="boxy"] {
  height: 33.33%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  margin: auto;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}

.boxy-1 {
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  background-color: var(--text-primary);
  max-width: fit-content;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}
.boxy-2 {
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  background-color: var(--text-primary);
  max-width: fit-content;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}
.boxy-3 {
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  background-color: var(--text-primary);
  max-width: fit-content;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}

.btn-new {
  line-height: 50px;
  height: 50px;
  text-align: center;
  width: 250px;
  cursor: pointer;
}

/* 
========================
      BUTTON ONE
========================
*/
.btn-one {
  color: #fff;
  transition: all 0.3s;
  position: relative;
}
.btn-one span {
  transition: all 0.3s;
}
.btn-one::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.5);
  transform: scale(0.1, 1);
}
.btn-one:hover span {
  letter-spacing: 2px;
}
.btn-one:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}
.btn-one::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.1);
}
.btn-one:hover::after {
  opacity: 0;
  transform: scale(0.1, 1);
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed


.backtotop {
  place-self: end; 
  /* visual styling */
  text-decoration: none;
  padding: 10px;
  color:white !important;
  background: var(--text-primary);
  border-radius: 100px;
  white-space: nowrap;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  margin-left: 40px;
  margin-top: 20px;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  text-align: right;
}
.backtotop:hover{
  box-shadow: 5px 5px 15px black;
  color: white !important;
  transition: all 0.1s linear;
}

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed


.cls-1{fill:#c8d5ea;}
.cls-2{fill:#e8f1f9;opacity:0.43;}
.cls-11,.cls-12,.cls-3,.cls-4,.cls-5,.cls-6,.cls-7,.cls-9{fill:none;stroke-miterlimit:10;}
.cls-3,.cls-4,.cls-5{stroke:#d30f0f;stroke-linecap:round;}
.cls-3{stroke-width:0.47px;}
.cls-4{stroke-width:0.47px;}
.cls-5{stroke-width:0.66px;}
.cls-6{stroke:#1f4e79;}
.cls-7{stroke:#39dd17;}
.cls-11,.cls-12,.cls-7,.cls-9{stroke-width:4px;}
.cls-8{fill:#39dd17;}.cls-9{stroke:#ce1b1b;}
.cls-10{fill:#ce1b1b;}.cls-11{stroke:#f7931e;}
.cls-12{stroke:#7913e5;}.cls-13{fill:#7913e5;}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  

.svg-button:hover{
  cursor: pointer;
}


.rotate-linear-infinite{
  animation: rotation 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/* .rotate-linear-infinite:hover{
  animation-play-state: paused;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.methods-node:nth-of-type(1) div{
  margin-top: 25%;
  font-weight: bold;
  font-size: medium;
}
.methods-node:nth-of-type(3) div{
  margin-top: 35%;
  font-weight: bold;
  font-size: small;
}

.methods-node:nth-of-type(5) div, .methods-node:nth-of-type(2) div, .methods-node:nth-of-type(4) div{
  margin-top: 35%;
  font-weight: bold;
  font-size: medium;
}
.methods-node{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: 6rem;
  width: 6rem;
  border: 0.1vw solid var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  margin-left: 20px;
  margin-right: 20px;
  font-size: small;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  z-index: 5;
  text-align: center;
}
.methods-node:nth-of-type(1){
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  background-color: var(--accen-secondary);
}
.methods-node:nth-of-type(2){
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  background-color: var(--accent-gradient-one-of-three);
}
.methods-node:nth-of-type(3){
  background-color: var(--accent-gradient-two-of-three);
}
.methods-node:nth-of-type(4){
  background-color: var(--accent-gradient-three-of-three);
}
.methods-node:nth-of-type(5){
  background-color: var(--accent-primary);
}
.methods-node:nth-of-type(odd) {
  top: 2vw;
  left: 0;
}
.methods-node:nth-of-type(even){
  bottom: 2vw;
}

.methods-node:nth-of-type(even):before {
  content: '';
  position: absolute;
  top: 80%;
  z-index: 0;
  left: -3.4vw;
  width: 3.8vw;
  transform: rotate(-25deg);
  border-top: 1px solid var(--text-primary);
}
.methods-node:nth-of-type(even):after {
  content: '';
  position: absolute;
  top: 80%;
  z-index: 0; 
  left: 6.4vw;
  width: 3.8vw;
  transform: rotate(25deg);
  border-top: 1px solid var(--text-primary);
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}

.bfh-menu{ /* @media fertig */
  width: fit-content;
  margin: auto !important;
  max-width: 60vw !important;
}

a{
  cursor: pointer;
}
.bfh-menu svg a:hover >  g circle{
  fill: var(--accent-gradient-three-of-three) !important;
}

.vertical{
  display:inline;
  vertical-align: middle;
}

.text-1-bfh{
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.panel-talk-gallery{
  padding: 0 !important;
  margin-top: 10px !important;
  margin-left: 20px !important;
  margin-right: 20px !important;
}
.panel-talk-gallery div{
  padding: 0 !important;
}
.panel-talk-gallery .col:nth-child(1), .panel-talk-gallery .col:nth-child(5){
  margin-top: 60px !important;
}
.panel-talk-gallery .col:nth-child(2), .panel-talk-gallery .col:nth-child(4){
  margin-top: 30px !important;
}
.panel-talk-gallery .col .middle{
  margin-top: 15px !important;
}
.middle{
  text-align: center;
}

.bfh-slider{
  max-width: 500px !important;
}
.bfh-slider img{
  max-width: 400px;

  max-height: 70%;
}


.full-screen-width {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: 50vw !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

.collapsible-hr{
  border-width: 2px !important;
}

.collapsible-a{
  margin-top: 1rem !important;
  margin-bottom: 1rem;
  margin-left: 1rem !important;
}

.box{
  padding: 10px;
  border-radius: 10px;
}



 .detail-sideitem .sideitem{
  padding-left: 10px !important;
 }

 .sideitem .cycletab{
  line-height: 100%;
  margin-left: 10px;
  list-style-type: circle !important;
 }

 .active-sideitem {
  background-color: var(--text-primary) !important;
  color: white !important;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  display: block;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  border-color: #850F78;
  padding-right: 5px;
  padding-left: 5px;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
 }
 

 .img-sponsor-a{
  margin: 20px;
  padding: 20px;
  max-width: 90%;
 }
.sp-a{
  border: 5px solid var(--accent-primary);
  background-color: white;
  height: 250px !important;
}

.qabox .question-bubble:nth-child(2){ 
  margin-bottom: 20px;
  margin-right: 0px;
  margin-left: auto;
  border: 5px solid var(--accent-gradient-one-of-three);
}
.qabox .question-bubble:nth-child(1){
  margin-bottom: 10px;
  margin-left: 0px;
  margin-right: auto;
  border: 5px solid var(--accent-gradient-three-of-three);
}

.question-bubble{
  border-radius: 10px;
  padding: 20px;
  width: fit-content;
  max-width: 80%;
  min-width: 20%;
  position: relative;
}

.qabox .question-bubble:nth-child(2)::before{
  bottom: 20px;
  clip-path: polygon(0 0, 100% 100%, 0 75%);
  left: calc(100%);
  width: 20px;
  height: 20px;
  content: "";
  position: absolute;
  background: var(--accent-gradient-one-of-three);
}

.qabox .question-bubble:nth-child(1)::before{
  bottom: 20px;
  clip-path: polygon(0 100%, 100% 0, 100% 75%);
  right: calc(100%);
  width: 20px;
  height: 20px;
  content: "";
  position: absolute;
  background: var(--accent-gradient-three-of-three);
} 

.haken-liste{
  list-style: none !important;
}

.winner{ /* @media  */
  vertical-align: middle !important;
  font-size: xx-large;
  font-weight: 900 ;
  margin-top: 10px;
}

.winners{
  margin-top: 10px !important;
}

.list-item-img{
  max-height: 1.5rem;
}

.trophy::before{
  background-image: url(https://static.igem.wiki/teams/5247/design/icons/trophy.svg);
  background-size: 40px 40px !important;
  content: '';
  display: inline-block;
  width: 40px; 
  height: 40px;
}
.certificate::before{
  background-image: url(https://static.igem.wiki/teams/5247/design/icons/certificate.svg);
  background-size: 40px 40px !important;
  content: '';
  display: inline-block;
  width: 40px; 
  height: 40px;
}
.tickets::before{
  background-image: url(https://static.igem.wiki/teams/5247/design/icons/tickets.svg);
  background-size: 40px 40px !important;
  content: '';
  display: inline-block;
  width: 40px; 
  height: 40px;
}
.kit::before{
  background-image: url(https://static.igem.wiki/teams/5247/design/icons/new-box.svg);
  background-size: 40px 40px !important;
  content: '';
  display: inline-block;
  width: 40px; 
  height: 40px;
}

.money::before{
  background-image: url(https://static.igem.wiki/teams/5247/design/icons/money.svg);
  background-size: 40px 40px !important;
  content: '';
  display: inline-block;
  width: 40px; 
  height: 40px;
}
.winners div li{
  vertical-align: middle;
  line-height:2rem;
}
.winners div li span{
  font-size: large;
  position: relative;
  bottom: 1vh;
  margin-left: 1rem;
}

.button-left{
  position:relative; 
}

.left-button{
  float: right;
}

.detail-sideitem, .sidesubtab, a {
  pointer-events: auto; /* Ensure clickable elements can be interacted with */
}


.subtitle-active .sideitem a summary{
  color: white !important;
}
.sideitem a summary{
  color: var(--text-primary) !important;
}

.active-sideitem a summary{
  color: white !important;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}

.flexbox{
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
}

.hp-timeline-p{
  flex: 1;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
.flexbox p{
  margin-top: auto !important;
  margin-bottom: auto !important;
}
.hp-timeline-p p{
  margin-top: auto !important;
}
.hp-timeline-img{
  margin-top: 0 !important;
    height: 100%; /* Das Bild wird in der Höhe an den Container angepasst */
    max-height: 100%;
    width: 100%; /* Bild füllt den Image-Container aus */
    object-fit: cover; /* Optional: Skaliert das Bild so, dass es den Container proportional füllt */
}

.hti-box{
  width: min-content;
  flex: 0 0.2 40%; /* Bild nimmt maximal 40% der Breite ein */
}

.hti-abstand{
  width: 20px;
}

.footer-slider .slider-container .slick-slider .slick-initialized .slick-list .slick-track{
  width: 900px !important;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}

.header-title svg{
  max-width: 100% !important;
  margin: auto; 

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}

.detail-sideitem .sideitem .sidesubtab .sideitem{
  color: white ;
}

.precyse{
  padding: 1px ;
  padding-left: 2px !important;
}

.sideitem ul{
  margin-left: 0 !important;
  padding-left: 10px !important;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}




.symptom-img-wrapper img{
  max-width: 100%;
}

.feedbackbfh div{
  padding: 20px; 
  margin: 10px ;
  border-radius: 10px;
  border-width: 5px;
  border-style: dashed;
}
.feedbackbfh div div{
  padding: 20px; 
  margin: 10px ;
  border-radius: 10px;
  border-width: 0;
}

.bfh-motto{
  padding: 10px;
  background-color: var(--accent-primary);
  width: fit-content;
  border-radius: 10px;
  margin: auto;
  margin-bottom: 10px;
}

.bfh-haken{
  position: relative;
  font-size: x-large !important;
  font-weight: 900 !important;
  color: var(--accent-primary) !important;
  margin-right: 5px;
  top: 5px;
}

#eng-sidebar a{
  color: var(--text-primary) !important;
}


.quiz-wrapper{
  height: 95% !important;
  display: flex; 
  align-items: center !important;
  margin-bottom: 15px !important;
  border-radius: 10px;
  border-width: 3px;
  border-style: dotted;
  border-color: var(--text-primary);
  padding: 10px;
}

.quiz-front, .quiz-back{
  align-self: center;
  height: 100% !important;
  align-items: center;
  text-align: center;
}
.quiz-text col{
  align-content: stretch;
  align-items: stretch;
}
.quiz-text{
  align-content: stretch;
  align-items: stretch;
  margin: auto !important;
  padding: 15px;
  display: flex !important;
  min-height: 40% !important;
}
.quiz-button-box{
justify-content: center;
height: min-content !important;
}

.quiz-button{
  position: relative; 
  bottom: 0;
  margin-top: auto !important;
  align-self: baseline;
  width: fit-content !important;
  border-radius: 10px;
  padding: 5px;
  background-color: var(--very-light-purple);
  border-color: var(--lightpurple);
}

.quiz-heading{
  padding-top: 10px;
  font-size: 2rem;
  font-weight: bold;
	letter-spacing:0.1em;
  -webkit-text-fill-color: var(--very-light-purple);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--text-primary);
}

.h5-box{
  display: grid;
  justify-content: center;
}

.h5{
  color: var(--text-primary) !important;
  font-size: 1.3rem !important;
  line-height: 1.0;
  word-spacing: 1px !important;
  display: grid;
  grid-template-rows: 27px 0;
  grid-gap: 20px;
  align-items: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  align-self: center;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}