Files
port-ui/app/static/css/default.css

194 lines
3.5 KiB
CSS
Raw Normal View History

2025-01-14 17:19:09 +01:00
@import url("navigation.css");
2025-01-10 14:08:21 +01:00
/* General link styles */
2025-01-08 14:59:36 +01:00
a {
2025-01-08 17:09:45 +01:00
text-decoration: none;
color: #000000;
}
2025-01-10 14:08:21 +01:00
/* Header styles */
2025-01-08 17:09:45 +01:00
.header img {
float: right;
width: 100px;
height: 100px;
}
2025-01-08 14:59:36 +01:00
2025-01-08 17:09:45 +01:00
.header h1 {
position: relative;
}
2025-01-10 14:08:21 +01:00
/* Equal-height container using flexbox */
2025-01-08 17:09:45 +01:00
.equal-height {
display: flex;
flex: 1;
}
2025-01-10 14:08:21 +01:00
2025-01-14 21:31:02 +01:00
/* Subtle shadow effect */
2025-03-18 14:27:07 +01:00
.navbar, .card, .dropdown-menu {
2025-01-14 21:31:02 +01:00
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
2025-01-10 14:08:21 +01:00
/* Card styles */
2025-01-10 15:24:51 +01:00
.navbar, .card {
2025-01-10 14:08:21 +01:00
flex: 1; /* Ensures cards fill the height of their container */
border-radius: 5px; /* Rounded corners */
border: 1px solid #ccc; /* Optional border color */
padding: 10px; /* Inner spacing */
color: #000000 !important;
background-color: #f9f9f9;
}
2025-07-06 22:25:22 +02:00
.card {
transition: background-color 1s ease, transform 1s ease;
transition: color 1s ease, transform 1s ease;
}
.card:hover {
2025-07-07 13:37:02 +02:00
/* invert everything inside the card */
filter: invert(0.8) hue-rotate(144deg);
2025-07-06 22:25:22 +02:00
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
2025-01-08 17:09:45 +01:00
.card-body {
display: flex;
flex-direction: column;
2025-01-10 14:08:21 +01:00
align-items: center; /* Center content horizontally */
text-align: center; /* Center text alignment */
2025-01-08 17:09:45 +01:00
}
2025-01-08 14:59:36 +01:00
2025-01-08 17:09:45 +01:00
.card-icon {
display: flex;
2025-01-10 14:08:21 +01:00
justify-content: center; /* Center the icon horizontally */
2025-01-08 17:09:45 +01:00
}
2025-01-08 14:59:36 +01:00
2025-01-08 17:09:45 +01:00
.card-text,
.card ul {
2025-01-10 14:08:21 +01:00
text-align: left; /* Align text to the left */
2025-01-08 17:09:45 +01:00
}
2025-01-08 14:59:36 +01:00
2025-01-10 14:08:21 +01:00
.card-column {
padding-top: 12px;
padding-bottom: 12px;
2025-01-08 17:09:45 +01:00
}
2025-01-08 14:59:36 +01:00
2025-01-10 14:08:21 +01:00
.card .stretched-link {
2025-01-08 17:09:45 +01:00
font-size: 0.7em;
}
2025-01-08 14:59:36 +01:00
2025-01-10 14:08:21 +01:00
h3.card-title {
2025-01-08 17:09:45 +01:00
font-size: 1.3em;
}
2025-01-08 14:59:36 +01:00
2025-01-10 14:08:21 +01:00
/* Footer styles */
2025-01-08 17:09:45 +01:00
.footer {
text-align: center;
2025-01-10 14:08:21 +01:00
font-size: 0.7em;
}
.footer p,
.footer h3 {
margin: 0;
padding: 0;
2025-01-08 17:09:45 +01:00
}
2025-01-10 14:08:21 +01:00
h3.footer-title {
font-size: 1.3em;
2025-02-19 20:53:05 +01:00
}
2025-07-07 19:14:29 +02:00
.card-img-top i, .card-img-top svg{
2025-02-19 20:53:05 +01:00
font-size: 100px;
2025-07-07 12:40:25 +02:00
fill: currentColor;
2025-07-07 19:14:29 +02:00
width: 100px;
height: auto;
2025-07-07 12:40:25 +02:00
}
2025-03-18 14:27:07 +01:00
div#navbarNavheader li.nav-item {
2025-02-19 20:53:05 +01:00
margin-left: 6px;
}
2025-03-18 14:27:07 +01:00
div#navbarNavfooter li.nav-item {
2025-02-19 20:53:05 +01:00
margin-right: 6px;
2025-03-18 13:10:35 +01:00
}
2025-07-05 20:08:00 +02:00
main, footer, header, nav {
2025-03-18 13:56:42 +01:00
position: relative;
box-shadow:
2025-03-18 14:27:07 +01:00
/* Inner shadow */
inset 10px 0 10px -10px rgba(0, 0, 0, 0.3), /* Left inner shadow */
inset -10px 0 10px -10px rgba(0, 0, 0, 0.3), /* Right inner shadow */
/* Outer shadow */
10px 0 10px -10px rgba(0, 0, 0, 0.3), /* Right outer shadow */
-10px 0 10px -10px rgba(0, 0, 0, 0.3); /* Left outer shadow */
2025-03-18 13:56:42 +01:00
overflow: visible;
}
2025-07-05 20:08:00 +02:00
header{
padding: 12px;
}
header,
footer {
left: 0;
right: 0;
bottom: 0;
top: 0;
margin: 0;
z-index: 1030;
background-color: var(--bs-light);
}
/* at the end of default.css */
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: -1;
}
2025-07-05 21:07:31 +02:00
iframe{
2025-07-06 10:55:12 +02:00
margin-bottom: -10px;
2025-07-05 21:07:31 +02:00
}
2025-07-06 17:35:40 +02:00
.container-fluid {
max-width: 100% !important;
}
2025-07-06 17:46:51 +02:00
:root {
--anim-duration: 3s; /* Basis-Dauer */
}
2025-07-06 17:35:40 +02:00
.container,
.container-fluid {
transition:
2025-07-06 17:46:51 +02:00
max-width var(--anim-duration) ease-in-out,
padding-left var(--anim-duration) ease-in-out,
padding-right var(--anim-duration) ease-in-out;
}
#navbar_logo {
/* start invisible but in the layout (d-none will actually hide it) */
opacity: 0;
transition: opacity var(--anim-duration) ease-in-out;
2025-07-06 18:14:42 +02:00
}
/* 1. Make sure headers and footers can collapse */
header,
footer {
overflow: hidden;
/* choose a max-height thats >= your tallest header/footer */
max-height: 200px;
padding: 1rem;
transition:
max-height var(--anim-duration) ease-in-out,
padding var(--anim-duration) ease-in-out;
}
/* 2. In fullscreen mode, collapse them */
body.fullscreen header,
body.fullscreen footer {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
2025-07-06 17:35:40 +02:00
}