You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss

229 lines
3.6 KiB

5 years ago
$ombi-primary:#3f3f3f;
5 years ago
$card-background: #2b2b2b;
5 years ago
#cardImage {
border-radius: 5px;
height: 315px;
5 years ago
}
.dark-card {
border-radius: 8px;
5 years ago
}
4 years ago
// Changed height to 100% to make all cards the same height
5 years ago
.card-spacing {
5 years ago
margin-top: 10%;
height: 100%;
5 years ago
}
5 years ago
.rating {
position: absolute;
font-weight: bold;
5 years ago
}
.expand {
text-align: center;
}
@media (min-width: 1025px) {
5 years ago
// Changed height to 100% to make all cards the same height
.grow {
transition: all .2s ease-in-out;
height: 100%;
}
.grow:hover {
transform: scale(1.1);
}
}
::ng-deep mat-dialog-container.mat-dialog-container {
5 years ago
// background-color: $ombi-primary;
// color: white;
border-radius: 2%
}
4 years ago
/* Title adjust for the Discover page */
.mat-card-content h6 {
overflow: hidden;
white-space: nowrap;
font-weight: 400;
font-size: 1.1rem;
4 years ago
}
/* Summary adjust for Discover page */
.small,
small {
font-size: 0.8rem;
4 years ago
}
@media (min-width: 2000px) {
.ombi-card{
height:100%;
}
4 years ago
#cardImage {
height: 100%;
object-fit: cover;
display: block;
4 years ago
}
}
.box {
position: relative;
max-width: 600px;
}
/* common */
.ribbon {
width: 100px;
height: 96px;
overflow: hidden;
position: absolute;
text-align:right;
}
.ribbon span {
position: absolute;
display: none;
background-color: transparent;
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,.2);
text-transform: uppercase;
text-align: right;
font-size: 14px;
}
.ribbon.available span{
display:block;
}
.ribbon.available span:before{
content: '';
display: inline-block;
width: 10px;
height: 10px;
-moz-border-radius: 7.5px;
-webkit-border-radius: 7.5px;
border-radius: 7.5px;
background-color: #1DE9B6;
}
.ribbon.approved span {
display: block;
}
.ribbon.approved span:before{
content: '';
display: inline-block;
width: 10px;
height: 10px;
-moz-border-radius: 7.5px;
-webkit-border-radius: 7.5px;
border-radius: 7.5px;
background-color: #ff5722;
}
.ribbon.requested span {
display: block;
}
.ribbon.requested span:before{
content: '';
display: inline-block;
width: 10px;
height: 10px;
-moz-border-radius: 7.5px;
-webkit-border-radius: 7.5px;
border-radius: 7.5px;
background-color: #ffd740;
}
/* top right*/
.ribbon-top-right {
top: 13px;
right: 0px;
z-index: 999999;
}
.ombi-card {
padding: 5px;
}
::ng-deep .p-carousel-indicators {
display: none !important;
}
.image {
border-radius: 10px;
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 67%;
width: 90%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}
.c {
position: relative;
}
.c:hover .image {
opacity: 0.3;
}
.c:hover .middle {
opacity: 1;
}
.small-text {
font-size: 11px;
}
.title {
font-size: 18px;
}
.top-left {
font-size: 14px;
position: absolute;
text-transform: uppercase;
top: 0px;
width: 100%;
background-color: rgba(15,23,31,0.6);
padding-left: 1em;
padding-top: 1em;
padding-bottom: 0.5em;font-size: 14px;
position: absolute;
text-transform: uppercase;
}
.full-width {
width: 100%;
}
.ellipsis {
display: -webkit-box;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}