index.css

 avatar
unknown
plain_text
10 months ago
2.9 kB
4
Indexable
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
}

#slide-out-blocker {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background-color: black;
  transition: opacity 0.5s ease;
}

#slide-out-container {
  position: absolute;
  bottom: -41.25%;
  display: flex;
  flex-direction: column;
  place-items: center;
  place-content: center;
  height: 55%;
  width: 100%;
  background-color: yellow;
  transition: all 0.5s ease;
}
#slide-out-container.visible {
  z-index: 1;
  bottom: 0%;
}
#slide-out-container.visible .toggler {
  top: -15%;
}
#slide-out-container .toggler {
  z-index: 1;
  position: absolute;
  top: -25%;
  align-self: center;
  max-height: 50%;
  height: 100%;
  width: 50%;
  border-radius: 50%;
  transition: top 0.5s ease;
}
#slide-out-container #alt-controls {
  position: relative;
  top: 0;
  right: 0;
  display: flex;
  flex: 1;
  justify-content: space-between;
  width: 100%;
  background-color: pink;
}
#slide-out-container #alt-controls #clock-controls {
  width: 50%;
}
#slide-out-container #alt-controls #clock-controls button {
  height: 100%;
  width: 100%;
  text-align: left;
  padding-left: 2rem;
}
#slide-out-container #alt-controls #lf-controls {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 50%;
  justify-content: space-between;
}
#slide-out-container #alt-controls #lf-controls button {
  height: 100%;
  text-align: right;
  padding-right: 3rem;
}

#longform-audio-container {
  position: relative;
  display: flex;
  width: 90%;
  max-height: 75%;
  height: 100%;
  background-color: black;
}
#longform-audio-container button {
  height: 100%;
  background-color: wheat;
}

.looping-audio-container {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
}

.looping-audio-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  min-height: 50%;
  border: 2px inset black;
}
.looping-audio-button input {
  position: relative;
  top: 25%;
  width: 75%;
}
.looping-audio-button button {
  height: 100%;
  width: 100%;
  background-color: transparent;
  border: none;
}

.looping-audio-source-wrapper {
  position: absolute;
  top: 0;
  left: 0;
}

.-debug {
  display: none;
  z-index: 99999;
  position: absolute;
  top: 0;
  left: 10%;
  height: 10%;
  width: 80%;
  background-color: white;
  border: 2px solid red;
  color: darkred;
}

@media screen and (orientation: landscape) {
  #slide-out-blocker.visible {
    opacity: 1;
    pointer-events: auto;
  }
  #slide-out-container {
    bottom: -64%;
    height: 85%;
  }
  #slide-out-container.visible .toggler {
    top: -15%;
  }
}

/*# sourceMappingURL=index.css.map */
Editor is loading...
Leave a Comment