2016-11-28 08:50:09 +01:00
|
|
|
.overlay {
|
|
|
|
background: rgba(#333, .7);
|
|
|
|
height: 100vh;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 50;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-wrap {
|
|
|
|
left: 50%;
|
|
|
|
max-width: 550px;
|
|
|
|
position: fixed;
|
|
|
|
top: 10%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
width: 100%;
|
|
|
|
box-shadow: 0 5px 20px 0 rgba(#000, .6);
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
@include media(4) {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header {
|
|
|
|
background: $main2;
|
|
|
|
background: linear-gradient(to right, $main1, $main2);
|
|
|
|
color: #fff;
|
|
|
|
float: left;
|
|
|
|
font-size: 20px;
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
|
2016-11-28 11:51:48 +01:00
|
|
|
.close-modal {
|
|
|
|
float: right;
|
|
|
|
padding: 7px;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: .8;
|
2016-12-12 09:18:13 +01:00
|
|
|
margin: 0 -5px 0 0px;
|
2016-11-28 11:51:48 +01:00
|
|
|
|
|
|
|
&:active {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-close {
|
|
|
|
background: url(../../../public/assets/img/close.png) no-repeat;
|
|
|
|
float: left;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
}
|
|
|
|
|
2016-11-28 08:50:09 +01:00
|
|
|
.season-tabs {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
background: #464646;
|
2016-11-28 11:51:48 +01:00
|
|
|
}
|
2016-11-28 08:50:09 +01:00
|
|
|
|
2016-11-28 11:51:48 +01:00
|
|
|
.season-number {
|
|
|
|
float: left;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 16px;
|
|
|
|
color: #a9a9a9;
|
|
|
|
padding: 10px 0;
|
|
|
|
width: 10%;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include media(6) {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include transition(background);
|
|
|
|
|
|
|
|
&.active,
|
|
|
|
&:hover {
|
|
|
|
background: #2f2f2f;
|
2016-11-28 08:50:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-28 11:51:48 +01:00
|
|
|
.completed {
|
|
|
|
color: $rating1;
|
|
|
|
}
|
|
|
|
|
2016-11-28 08:50:09 +01:00
|
|
|
.modal-content {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
2016-11-28 11:51:48 +01:00
|
|
|
position: relative;
|
2016-11-28 08:50:09 +01:00
|
|
|
background: #2f2f2f;
|
|
|
|
max-height: calc(60vh - 100px);
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
@include media(4) {
|
|
|
|
max-height: calc(100vh - 150px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-28 12:20:50 +01:00
|
|
|
.item-header {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
2016-11-30 15:26:38 +01:00
|
|
|
padding: 10px;
|
|
|
|
background: #2f2f2f;
|
2016-11-28 12:20:50 +01:00
|
|
|
|
|
|
|
span {
|
|
|
|
float: left;
|
|
|
|
color: rgba(#fff, .4);
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-episode {
|
|
|
|
width: 35px;
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2016-11-30 15:26:38 +01:00
|
|
|
.header-seen {
|
|
|
|
float: right !important;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
@include transition(color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: rgba(#fff, .8);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: rgba(#fff, .4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-28 11:51:48 +01:00
|
|
|
.modal-content-loading {
|
|
|
|
padding: 100px 0;
|
|
|
|
}
|
|
|
|
|
2016-11-28 08:50:09 +01:00
|
|
|
.modal-item {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-bottom: 1px solid #444;
|
|
|
|
|
|
|
|
@include transition(background);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: darken(#2f2f2f, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2017-02-09 16:48:13 +01:00
|
|
|
.logged & {
|
|
|
|
background: darken(#2f2f2f, 3%);
|
|
|
|
}
|
2016-11-28 08:50:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-episode {
|
|
|
|
float: left;
|
|
|
|
width: 35px;
|
|
|
|
text-align: right;
|
2016-11-28 12:20:50 +01:00
|
|
|
color: rgba(#fff, .4);
|
2016-11-28 08:50:09 +01:00
|
|
|
font-size: 15px;
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-name {
|
|
|
|
float: left;
|
2016-11-28 12:20:50 +01:00
|
|
|
color: rgba(#fff, .7);
|
2016-11-28 08:50:09 +01:00
|
|
|
max-width: calc(100% - 100px);
|
|
|
|
font-size: 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2016-12-12 09:18:13 +01:00
|
|
|
|
|
|
|
&.spoiler-protect {
|
|
|
|
background: rgba(#fff, .4);
|
|
|
|
color: transparent;
|
|
|
|
}
|
2016-11-28 08:50:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.episode-seen {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
i {
|
|
|
|
float: left;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
background: url(../../../public/assets/img/seen.png) no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.seen i {
|
|
|
|
background: url(../../../public/assets/img/seen-active.png) no-repeat;
|
|
|
|
}
|
|
|
|
}
|