ESL Overlay közvetítésekhez
Fibinger Ádám
2020-06-03 ae05924ee19a3c532bfff5a0a7631ad92545c569
assets/overlay.scss
@@ -8,11 +8,12 @@
  width: 1920px;
  height: 1080px;
  font-family: 'Oswald', sans-serif;
  /*background-image: url("/assets/test.png");*/
}
#stripe {
  position: fixed;
  top: 2px;
  top: 0;
  left: 0;
  width: 100%;
  height: 58px;
@@ -32,13 +33,13 @@
  .team {
   position: fixed;
   margin-top: 2px;
   width: 435px;
   margin-top: 4px;
   width: 500px;
   overflow: hidden;
   .name {
     color: white;
     font-size: 34px;
     font-size: 28px;
   }
   &.blue {
@@ -47,28 +48,27 @@
   }
   &.orange {
     left: 1215px;
     left: 1150px;
     text-align: left;
   }
  }
  .ban {
   position: inherit;
   top: -1px;
   top: 2px;
   &.orange {
     left: 1080px;
     left: 1000px;
   }
   &.blue {
     left: 715px;
     left: 812px;
   }
  }
  .info {
   position: inherit;
   top: 4px;
   width: 220px;
   width: 300px;
   height: 50px;
  }
@@ -78,24 +78,61 @@
  }
  .info.right {
   left: 1700px;
   left: 1620px;
   text-align: right;
  }
  .mapwin {
   background-color: #fff800;
   position: fixed;
   top: 6px;
   left: 861px;
   width: 32px;
   height: 14px;
   &.left {
     left: 861px;
     &.one {
      top: 6px;
     }
     &.two {
      top: 23px;
     }
   }
   &.right {
     left: 1028px;
     &.one {
      top: 6px;
     }
     &.two {
      top: 23px;
     }
   }
  }
  .operator {
   z-index: 10;
   background-repeat: no-repeat;
   background-size: cover;
   width: 60px;
   height: 60px;
   width: 50px;
   height: 50px;
   margin-top: -2px;
   filter: grayscale(65%);
   filter: grayscale(50%);
   text-align: center;
   .prohibit {
     z-index: 20;
     text-align: center;
     color: gray;
     margin-top: 31px;
     font-size: 20px;
     margin-top: 15px;
     font-size: 24px;
     text-shadow: 1px 1px 1px gray,
     1px 0 1px gray,
     0 -1px 1px gray,
@@ -105,9 +142,34 @@
   }
  }
  .operator :after {
   z-index: -1px;
   position: relative;
   top: -42px;
   left: 0;
   content: '';
   width: 33px;
   height: 33px;
   display: block;
  }
  .blue .operator :after {
   box-shadow: 0 0 10px 0 #1486e5;
  }
  .orange .operator :after {
   box-shadow: 0 0 10px 0 #EA7019;
  }
  .esl-logo {
   height: 40px;
   margin-top: 5px;
   margin-right: 8px;
  }
  .wargasz-logo {
   // height: 40px;
   //margin-top: 5px;
   margin-right: 8px;
  }
@@ -122,18 +184,38 @@
   display: table-cell;
   vertical-align: middle;
   height: 50px;
   font-size: 20px;
   font-size: 15px;
   text-shadow: 1px 1px 1px black,
   1px 0 1px black,
   0 -1px 1px black,
   -1px -1px 1px black;
   width: 350px;
  }
  .text em {
   display: block;
   position: absolute;
   top: 11px;
   font-style: normal;
   font-weight: bold;
   font-size: 22px;
   font-weight: normal;
   font-size: 20px;
  }
  .text.rotate {
   em {
     animation-name: fade;
     animation-fill-mode: both;
     animation-iteration-count: infinite;
     animation-duration: 15s;
     &:nth-child(1) {
      animation-direction: alternate-reverse;
     }
     &:nth-child(2) {
      animation-direction: alternate;
     }
   }
  }
}
#main {
@@ -143,21 +225,45 @@
  &.soon {
   background: transparent url("/assets/backgrounds/start-soon.png") no-repeat;
   .text, .placeholder {
     position: absolute;
     width: 50%;
     left: 25%;
     text-align: center;
     top: 97%;
     font-size: 5em;
     color: white;
   }
   .placeholder {
     opacity: 0.5;
     background-color: black;
     border-radius: 0.2em;
   }
  }
  &.interview {
   background: transparent url("/assets/backgrounds/interrogation.png") no-repeat;
  }
  &.interview.fauw {
   background: transparent url("/assets/backgrounds/interrogation-fauw.png") no-repeat;
  }
  .text, .placeholder {
   position: absolute;
   width: 50%;
   left: 25%;
   text-align: center;
   top: 10em;
   font-size: 5em;
   color: white;
  }
  .placeholder {
   opacity: 0.5;
   background-color: black;
   border-radius: 0.2em;
  }
  &.interview {
   .text.team {
     top: 2em;
   }
  }
}
@keyframes fade {
  0%, 49% {
   opacity: 0;
  }
  51%, 100% {
   opacity: 1;
  }
}