Files
Iris/src/scss/components/_modal.scss
2016-12-12 09:07:47 +13:00

124 lines
1.7 KiB
SCSS
Executable File

.modal {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 99;
background: rgba(10, 10, 10, 0.95);
overflow-y: scroll;
.close-modal {
@include animate();
position: absolute;
top: 10px;
right: 10px;
opacity: 0.5;
cursor: pointer;
padding: 20px;
img {
width: 30px;
}
&:hover {
opacity: 1;
}
}
.content {
padding: 100px;
margin: 0 auto;
width: 50%;
color: #FFFFFF;
h4 {
padding-bottom: 40px;
}
form {
.field {
padding-bottom: 20px;
input[type="text"]{
background: transparent;
font-size: 24px;
border-bottom: 2px solid #FFFFFF;
padding-left: 0;
padding-right: 0;
width: 100%;
color: #FFFFFF;
&:focus,
&:active {
border-color: $turquoise;
}
}
.label {
font-size: 16px;
}
}
button[type="submit"]{
margin-top: 50px;
}
}
.list {
@include clearfix();
.list-item {
float: left;
box-sizing: border-box;
display: block;
width: 49%;
padding: 16px 18px;
border-bottom: 1px solid $mid_grey;
position: relative;
&.playlist {
padding-left: 30px;
}
.source {
position: absolute;
top: 18px;
left: 10px;
}
&:nth-child(1),
&:nth-child(2){
border-top: 1px solid $mid_grey;
}
&:nth-child(2n+1){
float: right;
}
&:hover {
cursor: pointer;
background: rgba(255,255,255,0.1);
}
}
}
}
@include responsive( $bp_medium ){
.content {
padding: 50px;
width: 80%;
.list {
.list-item {
float: none !important;
width: auto;
}
}
}
}
}