allfree-angular-frontend / src / app / article-operations / article-details / article-details.component.scss
article-details.component.scss
Raw
.details-wrapper {
  max-width: 900px;
  margin: 20px auto;
  position: relative;
}

.details {
  ::ng-deep mwl-gauge {
    display: block;
    padding: 1em;
    position: relative;


    .dial {
      stroke-width: 10;
    }

    .value {
      stroke-dasharray: none;
      stroke-width: 13;
    }

    .value-text {
      fill: #fff;
      font-weight: 700;
      font-size: 24px;
    }
  }

  .article-gauge {
    position: absolute;
    top: 50px;
    right: 0;

    &-label {
      font-size: 20px;
      color: #fff;
      position: relative;
      bottom: 60px;
    }
  }
}

.article {
  color: white;
  font-size: large;
  font-weight: 500;
  &-banner {
    height:  450px;
    overflow: hidden;

    &-img {
      width: 100%;
      filter: blur(5px);
      height: fit-content;
    }
    &-description {
      justify-content: space-between;
      align-content: space-between;
      background-color: #3e4555;
    }
    &-title, &-location{
      margin:0.5em 2em;
      width: auto;
      background-color: #3e4555;
    }
  }

  &-content {
    text-align: center;
    position: relative;
    top: -200px;
  }

  &-header {
    &-title {
      font-size: 70px;
      color: #fff;
      font-weight: 700;
      line-height: 70px;
      white-space: nowrap;
    }

    &-release-date {
      color: #fff;
      font-weight: 700;
    }

    &-genres {
      color: #fff;
      font-weight: 700;
    }
  }
  &-thumbnail {
    border-radius: 20px;
    border: 1px solid gray;
  }
}
.carousel-item {
  height : 350px;
  width: 100%;
}
.photo {
  width: 100%;
  height: 100%;
}
.carousel-inner, .carousel, .article-content {
  border-radius: 10px;
}
.article-description {
  color: white;
  font-size: 1.5em;
  font-weight: 500;
}
.article-description > * {
  padding: 0.5em ;

}
.article {
  &-title {
    padding-top: 1em;
    font-size: 2em;
  }
  &-location{
    float: left;
  }
  &-location, &-descriere{
    padding-right: 85%;
    margin:0.5em;
  }
}
.bg-text {
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  //border: 1px solid #f1f1f1;
  position: absolute;
  left: 50%;
  top: 20%;
  display: block;
  transform: translate(-50%, -50%);
  //z-index: 2;
  width: 65%;
  padding: 10px;
  text-align: center;
  border-radius: 20px;
  border: 2px solid white;
}
.back-button {
  width: auto;
  position: absolute;
  left: 1%;
  top:48%;
  //z-index: -3;
}
.article-content {
  background-color:#f5f8fc;
  padding: 1em;
  height: 800px;
  margin-top: 5em;
}
img {
  width: 300px;
  height: 300px;
}
.article-descriere {
  background-color: white;
  border-radius: 20px;
  width: 60%;
  margin:1em auto;
  padding: 2em;
  font-size: 25px;
  color: black;
  border: 1px solid gray;
}
.btn {
  margin-top: 2em;
}