Style fixes
This commit is contained in:
@@ -1,12 +1,13 @@
|
|||||||
header {
|
header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background-color: white;
|
||||||
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
background-color: white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.redirect-img {
|
.redirect-img {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<header>
|
<header class="relative shadow-md">
|
||||||
<div class="header px-8 py-4 shadow-md">
|
<div class="header px-8 pt-4 pb-3 relative">
|
||||||
<a routerLink="/" class="flex items-center space-x-4 hover:opacity-80 transition">
|
<a routerLink="/" class="flex items-center space-x-4 hover:opacity-80 transition">
|
||||||
<img src="assets/logo.png" class="h-10 w-10 transform scale-175 translate-y-0.25" />
|
<img src="assets/logo.png" class="h-10 w-10 transform scale-175 translate-y-0.25" />
|
||||||
<h1 class="text-3xl font-semibold tracking-wide">InfiniMotion</h1>
|
<h1 class="text-3xl font-semibold tracking-wide">InfiniMotion</h1>
|
||||||
|
|||||||
@@ -9,5 +9,10 @@ import { Component, input, computed } from '@angular/core';
|
|||||||
export class MovieDurationComponent {
|
export class MovieDurationComponent {
|
||||||
duration = input<number>(0);
|
duration = input<number>(0);
|
||||||
|
|
||||||
durationText = computed(() => `${this.duration()} Min.`);
|
durationText = computed(() => {
|
||||||
|
if (this.duration() > 0) {
|
||||||
|
return `${this.duration()} Min.`;
|
||||||
|
}
|
||||||
|
return 'N/A';
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<a routerLink="/schedule" class="bg-gray-200 m-2 flex flex-col items-center justify-between rounded-md overflow-hidden text-xl shadow-lg transform transition-all duration-300 hover:scale-105">
|
<a routerLink="/schedule" class="bg-gray-200 m-2 flex flex-col items-center justify-between rounded-md overflow-hidden text-xl shadow-lg transform transition-all duration-300 hover:scale-105">
|
||||||
|
|
||||||
<div class="bg-gradient-to-r from-indigo-500 to-pink-600 w-full text-center text-white font-medium rounded-t-md py-0.5">
|
<div class="bg-gradient-to-r from-indigo-500 to-pink-600 w-full text-center text-white font-medium rounded-t-md py-0.5 px-2">
|
||||||
<p>{{ hall() }}</p>
|
<p>{{ hall() }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -18,5 +18,10 @@ export class MovieRatingComponent {
|
|||||||
return 'bg-white';
|
return 'bg-white';
|
||||||
});
|
});
|
||||||
|
|
||||||
ratingText = computed(() => `FSK ${this.rating()}`);
|
ratingText = computed(() => {
|
||||||
|
if (this.rating() < 0) {
|
||||||
|
return 'FSK ?';
|
||||||
|
}
|
||||||
|
return `FSK ${this.rating()}`
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,12 +14,14 @@ nav {
|
|||||||
|
|
||||||
.gradient-text:hover {
|
.gradient-text:hover {
|
||||||
background: linear-gradient(to right, #6366f1, #db2777);
|
background: linear-gradient(to right, #6366f1, #db2777);
|
||||||
|
background-clip: text;
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
-webkit-text-fill-color: transparent;
|
-webkit-text-fill-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar a.active {
|
.navbar a.active {
|
||||||
background: linear-gradient(to right, #6366f1, #db2777);
|
background: linear-gradient(to right, #6366f1, #db2777);
|
||||||
|
background-clip: text;
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
-webkit-text-fill-color: transparent;
|
-webkit-text-fill-color: transparent;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|||||||
@@ -6,6 +6,16 @@
|
|||||||
// custom components at https://material.angular.dev/guide/theming
|
// custom components at https://material.angular.dev/guide/theming
|
||||||
@use '@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
|
@include mat.progress-bar-overrides((
|
||||||
|
active-indicator-color: white,
|
||||||
|
track-color: transparent, // Transparent machen
|
||||||
|
));
|
||||||
|
|
||||||
|
// Gradient als Hintergrund
|
||||||
|
.mdc-linear-progress__buffer-bar {
|
||||||
|
background: linear-gradient(to right, #6366f1, #db2777) !important;
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@include mat.theme((
|
@include mat.theme((
|
||||||
color: (
|
color: (
|
||||||
|
|||||||
Reference in New Issue
Block a user