ffmpeg-service/public/assets/app.css

155 lines
3.0 KiB
CSS

:root {
--bg: #282828;
--foreground: white;
--header-bg: linear-gradient(#303030, #181818);
--header-fg: #555;
--header-title-fg: white;
--nav-above-border-color: #000000;
--nav-bg: linear-gradient(#262626, #181818);
--nav-fg: #666;
--nav-active-fg: #eb6e00;
--nav-top-border-color: #303030;
font-size: 12px;
}
@font-face {
font-family: 'Inter';
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url("Inter.var.woff2?v=3.19") format("woff2");
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
font-family: Inter, sans-serif;
font-feature-settings: "zero", "calt", "ccmp", "kern";
background: var(--bg);
color: var(--foreground);
font-size: 12px;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: 300;
}
.filler {
flex: 2 1 auto;
}
.container {
min-height: 100vh;
display: flex;
flex-direction: column;
}
[hidden] { display: none !important; }
header {
border-bottom: 1px solid black;
background: var(--header-bg);
display: flex;
align-items: center;
color: var(--header-fg);
}
header h1 {
padding: 1.5rem;
font-weight: 400;
align-self: stretch;
color: white;
}
header span {
font-size: 1.2rem;
}
header .status {
background-color: HSL(0, 0%, 80%);
border-radius: 100px;
box-shadow: rgba(255, 255, 255, .25) 0px 15px 11px -9px inset, rgba(0, 0, 0, .25) 0px -12px 11px -9px inset, rgba(0, 0, 0, .65) 0 4px 20px;
padding: 0.6rem 2rem;
text-align: center;
text-decoration: none;
border: 0;
font-size: 1rem;
user-select: none;
margin: 0 1rem 0 1rem;
}
header .status.red {
background-color: #ff3232;
box-shadow: rgba(255, 255, 255, .25) 0px 15px 11px -9px inset, rgba(0, 0, 0, .25) 0px -12px 11px -9px inset, rgba(0, 0, 0, .65) 0 4px 20px, rgba(255, 50, 50, .5) 0 0 15px;
color: black;
}
header .status.green {
background-color: #10ef07;
box-shadow: rgba(255, 255, 255, .65) 0px 15px 11px -9px inset, rgba(0, 100, 0, .4) 0px -12px 11px -9px inset, rgba(0, 0, 0, .65) 0 4px 20px, rgba(0, 255, 0, .5) 0 0 15px;
color: black;
}
main {
flex: 2 1 auto;
}
nav {
display: flex;
justify-content: center;
background: var(--nav-bg);
border-top: 1px solid var(--nav-top-border-color);
position: relative;
padding-bottom: 0.25rem;
}
nav a,
nav a:visited {
width: 100px;
padding: 0.5rem 0.5rem 0.5rem;
color: var(--nav-fg);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
font-size: 1.1rem;
height: 5rem;
justify-content: center;
border-radius: 3px;
}
nav a svg {
height: 2rem;
margin-bottom: 0.5rem;
fill: var(--nav-fg);
}
nav a.active {
color: var(--nav-active-fg);
background: #181818;
border: 1px solid #141414;
box-shadow: rgba(0, 0, 0, .35) 0px 5px 16px -6px inset;
}
nav a.active svg {
fill: var(--nav-active-fg);
}
nav::after {
content: '';
position: absolute;
top: -2px;
left: 0;
right: 0;
width: 100%;
border-top: 1px solid var(--nav-above-border-color);
}