inicio.scss 4.42 KB
.page--inicio {

    .section-video {
      padding: 20px 0;
      // background-color: #919191;
    }

    .section--articles {

      // .header {
      //     position: relative;

          // button {
          //     position: absolute;
          //     right: 0;
          //     top: 2px;
          // }
      // }

      .form-inline {
          input,
          select {
              width: 100%;
          }
      }
    }

    .input-group-btn {
        background-color: #fff;
    }

    .featured-event--box {
        display: block;
        position: relative;
        background-color: #545454;
        color: #fff;
        border-radius: 5px;
        cursor: pointer;

        .box-top {
            text-transform: uppercase;

            .box-title {
                font-size: 28px;
            }

            b {
                color: #FFB91C;
            }
        }

        .box-middle {
            margin: 0;
            padding: 0;

            .video {
                width: 100%;
                min-height: 125px;
                background-size: cover;
                background-position: center;
            }
        }

        .box-bottom {
            position: relative;
            padding: 10px 20px;

            .date {
                font-weight: bold;
                text-transform: uppercase;
            }

            .live {
                position: absolute;
                top: 10px;
                right: 10px;
                width: 80px;
                text-align: center;
                font-weight: bold;

                color: #545454;
                background-color: #FFB91C;

                border-radius: 20px;
            }

            .description { padding: 10px 0;}
        }

        @media screen and (min-width: $screen-lg) {

        }

        @media screen and (min-width: $screen-md) {
            // width: 223px;
            width: 100%;
            height: 338px;
        }

        @media screen and (min-width: $screen-sm) and (max-width: $screen-md) {
            width: 100%;
            height: 125px;
            margin: 30px 0 10px 0;
        }

        @media screen and (min-width: $screen-xs) and (max-width: $screen-sm) {
            margin: 30px 30px 10px 30px;

            .video {
                height: 290px;
            }
        }

        @media screen and (max-width: $screen-xs) {
            margin: 15px;

            .video {
                height: 290px;
            }
        }
    }
}

.section-gray {
  background-color: $gray;

  .contraste & {
    color: #fff;
    background-color: #000;
  }
}

.section-space-up {
    padding-top: 30px;
}

.video-wrapper {
  // margin-bottom: 30px;
}

.video-player {
  position: relative;
  border: 1px solid #333;
  width: 600px;
  margin: 0 auto;

  .video-background {
    text-align: center;
    cursor: pointer;
  }

  .video-thumbnail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background-position: center;
    background-repeat: no-repeat;
    -moz-transition: opacity .5s cubic-bezier(0.0,0.0,0.2,1);
    -webkit-transition: opacity .5s cubic-bezier(0.0,0.0,0.2,1);
    transition: opacity .5s cubic-bezier(0.0,0.0,0.2,1);
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
  }

  .video-play-button {
    border: none;
    outline: 0;
    color: inherit;
    text-align: inherit;
    font-size: 100%;
    font-family: inherit;
    cursor: pointer;
    line-height: inherit;
    background: transparent;
    padding: 0;

    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 48px;
    margin-left: -34px;
    margin-top: -24px;
    z-index: 15;

    -moz-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);
    -webkit-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);
    transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);
  }

  .ytp-play-button-bg {
    -moz-transition: fill .1s cubic-bezier(0.4,0.0,1,1),opacity .1s cubic-bezier(0.4,0.0,1,1);
    -webkit-transition: fill .1s cubic-bezier(0.4,0.0,1,1),opacity .1s cubic-bezier(0.4,0.0,1,1);
    transition: fill .1s cubic-bezier(0.4,0.0,1,1),opacity .1s cubic-bezier(0.4,0.0,1,1);
    fill: #1f1f1f;
    opacity: .9;
  }

  &:hover {
    .ytp-play-button-bg {
      fill: #cc181e;
      opacity: 1;
    }
  }

  // @media screen and ( min-width: $screen-md ) {
  //   width: 480px;
  // }
  @media screen and (max-width: $screen-md) {
    width: 100%;
  }
}