Files
movies/resources/sass/app.scss
T
2025-08-07 23:01:58 +03:00

753 lines
18 KiB
SCSS

// Fonts
@import url('https://fonts.bunny.net/css?family=Nunito');
// Variables
@import 'variables';
// Bootstrap
@import 'bootstrap/scss/bootstrap';
@import "../js/OwlCarousel2-2.3.4/dist/assets/owl.carousel.css";
@import "../js/OwlCarousel2-2.3.4/dist/assets/owl.theme.default.css";
@import "font-awesome/scss/variables";
$fa-font-path: "/fonts";
@import "font-awesome/scss/font-awesome";
.dark-mode{
background-color: #1a1a1a !important;
color: #e0e0e0;
.forums{
.category{
.title{
font-size: 20px;
line-height: 1;
margin-bottom: 0;
color: #e0e0e0;
small{
font-size: 14px;
font-weight: 500;
color: #a0a0a0;
}
}
}
}
.medium-info-box{
border: 1px solid #333;
border-radius: 15px;
padding: 15px;
text-align: center;
margin-top: 45px;
background: #2a2a2a;
}
.profile-page{
background: #2a2a2a;
padding: 15px 0;
margin-top: -50px;
.user-avatar{
width: 125px;
border-radius: 50%;
border: 2px solid #333;
box-shadow: 2px 2px 9px #000;
}
h1{
display: inline-block;
margin-right: 15px;
color: #e0e0e0;
}
}
.profile-page-menu{
background: rgba(42, 42, 42, 0.3);
ul{
margin: 0;
li{
padding: 5px;
a{
text-decoration: none;
color: #e0e0e0;
&:hover{
color: #fff;
}
&.active{
color: #fff;
text-decoration: underline;
}
}
}
}
}
.large-list-item{
margin: 15px 0;
border-radius: 5px;
background: #2a2a2a;
border: 1px solid #333;
box-shadow: 0px 0px 5px #000;
color: #e0e0e0;
}
header{
background: #2a2a2a;
padding-right: 1rem;
border-bottom: 1px solid #333;
}
.card{
margin-bottom: 1rem;
box-shadow: 0px 1px 2px -1px #000;
background: #2a2a2a;
border: 1px solid #333;
.card-header{
background: #2a2a2a;
border-bottom: 1px solid #333;
color: #e0e0e0;
}
.card-body{
color: #e0e0e0;
}
}
.movie-card{
border: 1px solid #333;
background: #2a2a2a;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
&:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.quick-actions{
background: #333;
border-top: 1px solid #444;
li {
border-right: 1px solid #444;
a {
color: #a0a0a0;
&:hover {
background: #444;
color: #e0e0e0;
}
}
}
}
}
.user-actions{
padding: 5px;
.mark-as-seen-btn{
margin-top: 5px;
display: block;
border: 1px solid #903eb3;
padding: 7px 10px;
text-decoration: none;
color: #e0e0e0;
&:hover{
color: white;
transition: all .5s;
background: #903eb3;
}
&.seen{
color: white;
background: #903eb3;
}
}
.like-btn{
display: block;
margin-top: 5px;
padding: 7px 10px;
text-decoration: none;
border: 1px solid #16a085;
color: #e0e0e0;
&:hover{
color: white;
transition: all .5s;
background: #16a085;
}
&.liked{
color: white;
background: #16a085;
}
}
.add-to-list-btn{
display: block;
margin-top: 5px;
padding: 7px 10px;
text-decoration: none;
border: 1px solid #ff5f06;
color: #e0e0e0;
&:hover{
color: white;
transition: all .5s;
background: #ff5f06;
}
&.listed{
color: white;
background: #ff5f06;
}
}
}
.right-sidebar {
.card {
background: #2a2a2a;
border: 1px solid #333;
.card-header {
background: #333;
color: #e0e0e0;
border-bottom: 1px solid #444;
}
.card-body {
color: #e0e0e0;
}
}
.trending-movies {
.movie-item {
border-bottom: 1px solid #444;
.movie-info {
h6 {
color: #e0e0e0;
}
.rating {
color: #a0a0a0;
}
}
}
}
.quick-links {
ul {
li {
border-bottom: 1px solid #444;
a {
color: #e0e0e0;
&:hover {
color: #0d6efd;
}
}
}
}
}
}
.threads-page{
.thread-info{
background: #333;
border-radius: 15px;
padding: 15px;
color: #e0e0e0;
}
.topics-list{
.no-topics{
text-align: center;
padding: 15px;
border: 1px solid #333;
border-radius: 15px;
margin-top: 15px;
color: #e0e0e0;
}
}
}
.topic-row{
border-bottom: 1px dashed #444;
}
.navbar {
background: #2a2a2a;
border-bottom: 1px solid #333;
.navbar-brand {
color: #e0e0e0;
}
.nav-link {
color: #e0e0e0;
&:hover {
color: #fff;
}
}
}
.form-control {
background: #333;
border: 1px solid #444;
color: #e0e0e0;
&:focus {
background: #333;
border-color: #555;
color: #e0e0e0;
}
}
.btn-outline-primary {
color: #0d6efd;
border-color: #0d6efd;
&:hover {
background: #0d6efd;
color: #fff;
}
}
}
body.light-mode{
background-color: #d9d9d9 !important;
}
.light-mode{
.forums{
.category{
.title{
font-size: 20px;
line-height: 1;
margin-bottom: 0;
small{
font-size: 14px;
font-weight: 500;
}
}
}
}
.medium-info-box{
border: 1px solid #ccc;
border-radius: 15px;
padding: 15px;
text-align: center;
margin-top: 45px;
}
.profile-page{
background: #ccc;
padding: 15px 0;
margin-top: -50px;
.user-avatar{
width: 125px;
border-radius: 50%;
border: 2px solid #eeecec;
box-shadow: 2px 2px 9px #979696;
}
h1{
display: inline-block;
margin-right: 15px;
}
&.pattern1{
background: url("/public/img/email-pattern.webp");
}
&.pattern2{
background: url("/public/img/greek-vase.webp");
}
&.pattern3{
background: url("/public/img/hypnotize.webp");
}
&.pattern4{
background: url("/public/img/funky-lines.webp");
}
&.pattern5{
background: url("/public/img/leaves-pattern.webp");
}
&.pattern6{
background: url("/public/img/folk-pattern.webp");
}
}
.profile-page-menu{
background: rgba(255, 255, 255, .3);
ul{
margin: 0;
li{
padding: 5px;
a{
text-decoration: none;
&:hover{}
&.active{
color: black;
text-decoration: underline;
}
}
}
}
}
.large-list-item{
margin: 15px 0;
border-radius: 5px;
background: white;
border: 1px solid #ccc;
box-shadow: 0px 0px 5px #ccc;
.poster{
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
}
}
.jq-star{
display: inline-block;
svg{
max-width: 20px;
max-height: 20px;
}
}
header{
background: white;
padding-right: 1rem;
}
.card{
margin-bottom: 1rem;
box-shadow: 0px 1px 2px -1px #918f8f;
.card-header{
background: white;
border-bottom: 1px dashed #d9d9d9;
}
.card-body{}
}
.movie-card{
border: 1px solid #e0e0e0;
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border-radius: 8px;
overflow: hidden;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
&:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
img {
width: 100%;
height: auto;
object-fit: cover;
border-radius: 8px 8px 0 0;
}
.quick-actions{
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: space-between;
background: #f8f9fa;
border-top: 1px solid #e0e0e0;
li {
flex: 1;
text-align: center;
border-right: 1px solid #e0e0e0;
&:last-child {
border-right: none;
}
a {
color: #6c757d;
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 8px;
transition: all 0.2s ease;
font-size: 0.85rem;
&:hover {
background: #e9ecef;
color: #495057;
}
.iconify {
font-size: 1.1rem;
}
}
// Special styling for the rating item
&:last-child a {
flex-direction: row;
justify-content: center;
gap: 4px;
.iconify {
margin-top: 0;
}
}
}
}
}
.movie-page{
.card{
.card-header{
h1{
display: inline-block;
font-size: 1.7em;
}
}
}
.tagline{
text-transform: uppercase;
}
.cast-list{
.department{
.persons{
.person{
img{
max-width: 45px;
margin-right: 5px;
}
margin-bottom: 30px;
}
}
}
}
}
.user-actions{
padding: 5px;
.mark-as-seen-btn{
margin-top: 5px;
display: block;
border: 1px solid #903eb3;
padding: 7px 10px;
text-decoration: none;
&:hover{
color: white;
transition: all .5s;
background: #903eb3;
}
&.seen{
color: white;
background: #903eb3;
}
}
.like-btn{
display: block;
margin-top: 5px;
padding: 7px 10px;
text-decoration: none;
border: 1px solid #16a085;
&:hover{
color: white;
transition: all .5s;
background: #16a085;
}
&.liked{
color: white;
background: #16a085;
}
}
.add-to-list-btn{
display: block;
margin-top: 5px;
padding: 7px 10px;
text-decoration: none;
border: 1px solid #ff5f06;
&:hover{
color: white;
transition: all .5s;
background: #ff5f06;
}
&.listed{
color: white;
background: #ff5f06;
}
}
}
.infinite-carousel {
position: relative;
overflow: hidden;
clear: both;
height: 100px;
//@include transform( scale3d(1,1,1) );
background: #333333;
.carousel-viewport {}
.slide {
float: left;
//Slide dimensions
width: 150px;
height: 100px;
//Slide background color
background: #666;
color:#aaa;
&.slide-current {background:#444;color: #fff;}
&.slide-enable-animation {
//Animation
@include transition(all .5s ease-in-out);
}
}
}
/*-- Controls --*/
.carousel-control-previous,
.carousel-control-next {
display: block;
width: 40px;
height: 40px;
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
margin: auto;
cursor: pointer;
background: rgba(0,0,0,.6);
color: #fff;
line-height: 40px;
font-size: 11px;
text-align: center;
}
.carousel-control-previous {
left: 0;
right: auto;
}
.carousel-control-next {
left: auto;
right: 0;
}
.threads-page{
.thread-info{
background: #ccc;
border-radius: 15px;
padding: 15px;
}
.topics-list{
.no-topics{
text-align: center;
padding: 15px;
border: 1px solid #ccc;
border-radius: 15px;
margin-top: 15px;
}
}
}
.topic-row{
border-bottom: 1px dashed #ccc;
}
.right-sidebar {
.card {
border-radius: 8px;
overflow: hidden;
margin-bottom: 1.5rem;
.card-header {
background: #f8f9fa;
padding: 1rem;
font-weight: 600;
border-bottom: 1px solid #e0e0e0;
}
.card-body {
padding: 1rem;
}
}
.trending-movies {
.movie-item {
display: flex;
align-items: center;
padding: 0.5rem 0;
border-bottom: 1px solid #e0e0e0;
&:last-child {
border-bottom: none;
}
img {
width: 50px;
height: 75px;
object-fit: cover;
border-radius: 4px;
margin-right: 1rem;
}
.movie-info {
flex: 1;
h6 {
margin: 0;
font-size: 0.9rem;
}
.rating {
font-size: 0.8rem;
color: #6c757d;
}
}
}
}
.quick-links {
ul {
list-style: none;
padding: 0;
margin: 0;
li {
padding: 0.5rem 0;
border-bottom: 1px solid #e0e0e0;
&:last-child {
border-bottom: none;
}
a {
color: #495057;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
&:hover {
color: #0d6efd;
}
.iconify {
font-size: 1.2rem;
}
}
}
}
}
}
}
.theme-switcher {
background: none;
border: none;
cursor: pointer;
padding: 0.5rem 1rem;
transition: all 0.3s ease;
&:hover {
opacity: 0.8;
}
.iconify {
font-size: 1.2rem;
}
}