File: D:/HostingSpaces/ReturnIndustries/return-industries.nl/resources/sass/kms/attributes/_video.scss
.c-video {}
.c-video__grid{
@include flex(flex-start, flex-start);
padding-left: 45px;
}
.c-video__fields{
width: calc(100% - 475px);
}
.c-video__fields{
padding: 20px 20px 20px 0;
}
.c-video__preview{
position: relative;
width: 200px;
min-height: 150px;
padding: 20px 0;
text-decoration: none;
&[href]{
&:after{
display: none;
}
}
&:after{
content: '';
display: block;
width: 200px;
height: 150px;
background-color: rgba($light-gray, 0.15);
background-image: radial-gradient(white, rgba($light-gray, 0.15));
}
}
.c-video__title{
display: block;
font-size: 0.7rem;
line-height: 1.2;
color: $light-gray;
text-transform: uppercase;
font-weight: $font-weight-bold;
}
.c-video__title{
width: 100%;
color: $medium-gray;
}
.c-video__id{
@include flex(flex-start, center);
@include flex-rows;
}
.c-video__url{
display: inline-block;
width: 220px;
font-size: 0.7rem;
line-height: 1.2;
color: $light-gray;
}
.c-video__input{
display: inline-block;
width: calc(100% - 220px);
padding: 5px 10px;
background-color: white;
font-size: 0.7rem;
border: 1px solid rgba($light-gray, 0.4);
border-radius: 4px;
color: $dark-gray;
box-sizing: border-box;
transition: border-color ease-in-out 0.25s, box-shadow ease-in-out 0.25s;
@include attribute-focus
}
.c-video__autoplay{
margin-top: 20px;
border-top: 1px solid #e0e6ec;
padding-top: 20px;
}
.c-video__thumb{
display: none;
width: 100%;
&[src]{
display: block;
}
}