Files
retrowave-player/hg.css
2025-06-30 18:53:59 +05:30

648 lines
11 KiB
CSS

@font-face {
font-family: "StreamSter";
src: url(./fonts/Streamster.ttf);
}
@font-face {
font-family: "VCR";
src: url(./fonts/VCR_OSD_MONO_1.001.ttf);
}
#app,
body,
html {
height: 100%;
}
html,
body {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
background: #fafafa;
font-family: "VCR", arial, sans-serif;
font-weight: 400;
color: #444;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
background: #f5b7f0;
background-image: url("./images/rainbowprism.gif");
}
#app {
height: 100%;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.music-player {
width: 350px;
height: 500px;
position: absolute;
top: 50%;
left: 50%;
margin: -250px 0 0 -175px;
overflow: hidden;
border-radius: 10px;
box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
text-align: center;
background-position: 50% 50%;
background-repeat: no-repeat;
z-index: 999;
}
.music-player .color-overlay {
/* Rectangle 11: */
background: rgba(84, 104, 110, 0.4);
width: 350px;
height: 500px;
position: absolute;
z-index: 10;
top: 0;
left: 0;
transition: background 0.3s cubic-bezier(0.33, 0.66, 0.66, 1);
}
.music-player .gradient-overlay {
/* bg-gradient: */
background-image: -webkit-linear-gradient(
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.6) 21%
);
background-image: -moz-linear-gradient(
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.6) 21%
);
background-image: -o-linear-gradient(
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.6) 21%
);
background-image: linear-gradient(
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.6) 21%
);
width: 350px;
height: 500px;
position: absolute;
top: 350px;
left: 0;
z-index: 15;
}
.player-controls {
/* width: 100%;
position: absolute;
bottom: 100px;
left: 0;
margin: 0 auto;
padding: 0 50px;
color: #DCE3E7;
font-family: 'Droid Serif', serif;
font-style: 16px;
line-height: 24px;
z-index: 20;
opacity: 0;
transition: bottom 0.3s, opacity 0.3s cubic-bezier(0.33, 0.66, 0.66, 1); */
}
.music-player:hover .player-controls {
opacity: 1;
bottom: 120px;
}
.music-player:hover .color-overlay {
background: rgba(84, 104, 110, 0.8);
}
.title-content {
text-align: center;
margin: 130px 0 0 0;
position: absolute;
z-index: 20;
width: 100%;
top: 0;
left: 0;
}
h3#track-name {
font-size: 26px;
font-weight: 500;
letter-spacing: 2px;
color: #e91e63;
/* font-family: "StreamSter", sans-serif; */
font-family: "VCR", sans-serif;
margin-bottom: 0;
background: rgb(0 0 0 / 71%);
padding: 10px;
}
hr {
width: 50px;
height: 3px;
margin: 20px auto;
border: 0;
background: #d0bb57;
}
.intro {
width: 170px;
margin: 0 auto;
color: #dce3e7;
font-family: "VCR", serif;
font-size: 13px;
font-style: italic;
line-height: 18px;
}
dialog {
text-align: center;
padding: 50px;
z-index: 999;
border: 1px solid #000000;
margin-left: 15px;
width: 50%;
background: #000000;
color: #ffffff;
}
dialog button {
background: #ffffff;
border: none;
padding: 3px;
}
dialog::backdrop {
background: repeating-linear-gradient(
45deg,
rgba(0, 0, 0, 0.2),
rgba(0, 0, 0, 0.2) 1px,
rgba(0, 0, 0, 0.3) 1px,
rgba(0, 0, 0, 0.3) 20px
);
backdrop-filter: blur(3px);
}
.modal {
position: fixed;
width: 100vw;
height: 100vh;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.modal.open {
visibility: visible;
opacity: 1;
transition-delay: 0s;
}
.modal-bg {
position: absolute;
background: teal;
background-image: url(./images/comp009.jpg);
width: 100%;
height: 100%;
}
.modal-container {
border-radius: 10px;
background: #fff;
position: relative;
padding: 30px;
}
.modal-close {
position: absolute;
right: 15px;
top: 15px;
outline: none;
appearance: none;
color: red;
background: none;
border: 0px;
font-weight: bold;
cursor: pointer;
}
.text-center {
text-align: center;
}
.mt-5 {
margin-top: 10px;
}
#file-upload {
display: none;
}
.controls {
font-style: italic;
font-size: larger;
color: #ff0095;
}
.footer {
position: absolute;
bottom: 0px;
width: 342px;
display: flex;
color: #ffffff;
z-index: 999;
justify-content: center;
height: 17px;
}
.footer .footer-items {
font-size: 13px;
font-family: "VCR", serif;
text-decoration: none;
cursor: pointer;
padding-left: 10px;
color: #ffffff;
justify-content: center;
}
.footer-items#history {
margin-top: 3px;
}
canvas {
position: absolute;
top: 0;
}
.buttons {
z-index: 999;
cursor: pointer;
position: relative;
user-select: none;
}
.refresh {
float: right;
}
.fullscreen {
float: left;
float: left;
margin-left: 5px;
margin-top: 3px;
color: #565656;
}
.fullscreen svg {
height: 10px;
width: 10px;
color: #ffffffff;
}
.fullscreen:hover * {
color: #ffffff;
}
.hidden {
display: none;
}
.OVR {
position: absolute;
bottom: 0;
z-index: 999;
color: #ffff;
right: 0;
margin-right: 5px;
padding: 5px;
background: rgba(0, 0, 0, 0.5);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.ERRORS {
position: absolute;
bottom: 0;
z-index: 999;
color: #ffff;
left: 0;
margin-left: 5px;
}
#warning {
text-align: center;
font-size: 20px;
color: red;
font-weight: bold;
border: 2px solid red;
margin-top: 10px;
}
/* Terminal Overlay Styles - ORED Initial Console Emulator Style */
.terminal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(192, 192, 192, 0.3);
backdrop-filter: none;
z-index: 10001;
display: flex;
justify-content: center;
align-items: center;
}
.terminal-window {
width: 80%;
max-width: 600px;
height: 65%;
max-height: 450px;
min-height: 300px;
background: #c0c0c0;
border: 4px outset #c0c0c0;
border-radius: 0;
font-family: 'VCR', 'Monaco', 'Courier New', monospace;
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
display: flex;
flex-direction: column;
position: relative;
}
/* Mobile-specific terminal styling */
@media (max-width: 768px) {
.terminal-window {
width: 100%;
height: 100vh;
height: 100dvh; /* Dynamic viewport height for better mobile support */
max-width: none;
max-height: none;
min-height: 100vh;
min-height: 100dvh;
border: none;
box-shadow: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.terminal-overlay {
background: #c0c0c0;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.terminal-content {
padding: 4px;
height: calc(100% - 24px); /* Account for header height */
display: flex;
flex-direction: column;
}
#terminal-output {
flex: 1;
margin-bottom: 8px;
font-size: 14px;
padding: 8px;
overflow-y: auto;
min-height: 0; /* Allow flex shrinking */
}
.terminal-line {
font-size: 14px;
line-height: 1.3;
margin-bottom: 2px;
}
.terminal-input-line {
flex-shrink: 0; /* Prevent input line from shrinking */
padding: 8px;
min-height: 44px; /* iOS minimum touch target */
border: 2px inset #c0c0c0;
background: #c0c0c0;
position: relative;
bottom: 0;
}
.terminal-prompt {
font-size: 14px;
margin-right: 6px;
line-height: 1.3;
}
.terminal-input {
font-size: 16px; /* Prevent zoom on iOS */
line-height: 1.3;
min-height: 24px;
padding: 4px 0;
}
.terminal-header {
flex-shrink: 0;
min-height: 24px;
padding: 4px 0;
}
.terminal-title {
font-size: 14px;
}
.terminal-close {
width: 24px;
height: 20px;
font-size: 14px;
line-height: 18px;
}
}
.terminal-header {
background: #c0c0c0;
color: #000000;
padding: 1px 0;
border-bottom: 2px inset #c0c0c0;
display: flex;
justify-content: center;
align-items: center;
font-size: 10px;
font-weight: bold;
font-family: 'VCR', 'Geneva', 'Helvetica', sans-serif;
min-height: 16px;
position: relative;
}
.terminal-title {
color: #000000;
font-size: 10px;
font-weight: bold;
text-align: center;
}
.terminal-close {
cursor: pointer;
color: #000000;
font-size: 10px;
font-weight: bold;
width: 16px;
height: 14px;
border: 1px outset #c0c0c0;
background: #c0c0c0;
text-align: center;
line-height: 12px;
border-radius: 0;
position: absolute;
right: 2px;
top: 1px;
}
.terminal-close:hover {
background: #b0b0b0;
}
.terminal-close:active {
border: 1px inset #c0c0c0;
background: #a0a0a0;
}
.terminal-content {
flex: 1;
display: flex;
flex-direction: column;
padding: 2px;
overflow: hidden;
background: #c0c0c0;
}
#terminal-output {
flex: 1;
overflow-y: auto;
margin-bottom: 4px;
color: #000000;
font-size: 9px;
line-height: 1.1;
font-family: 'VCR', 'Monaco', 'Courier New', monospace;
background: #c0c0c0;
border: 2px inset #c0c0c0;
padding: 2px 4px;
white-space: pre-wrap;
}
.terminal-line {
margin-bottom: 0;
word-wrap: break-word;
color: #000000;
font-size: 9px;
line-height: 1.1;
}
.terminal-input-line {
display: flex;
align-items: center;
color: #000000;
font-size: 9px;
background: #c0c0c0;
border: 2px inset #c0c0c0;
padding: 1px 4px;
min-height: 14px;
}
.terminal-prompt {
color: #000000;
margin-right: 2px;
font-weight: normal;
font-family: 'VCR', 'Monaco', 'Courier New', monospace;
font-size: 9px;
}
.terminal-input {
flex: 1;
background: transparent;
border: none;
color: #000000;
font-family: 'VCR', 'Monaco', 'Courier New', monospace;
font-size: 9px;
outline: none;
caret-color: #000000;
line-height: 1.1;
}
.terminal-input::selection {
background: #000080;
color: #ffffff;
}
.terminal-btn {
float: right;
margin-right: 10px;
font-size: 16px;
color: #565656;
}
.terminal-btn:hover {
color: #000000;
}
.terminal-overlay.hidden {
display: none;
}
/* Custom scrollbar for terminal output - Classic style */
#terminal-output::-webkit-scrollbar {
width: 16px;
}
#terminal-output::-webkit-scrollbar-track {
background: #c0c0c0;
border: 1px inset #c0c0c0;
}
#terminal-output::-webkit-scrollbar-thumb {
background: linear-gradient(to bottom, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
border: 1px outset #c0c0c0;
border-radius: 0;
}
#terminal-output::-webkit-scrollbar-thumb:hover {
background: linear-gradient(to bottom, #d0d0d0 0%, #b0b0b0 50%, #909090 100%);
}
#terminal-output::-webkit-scrollbar-thumb:active {
border: 1px inset #c0c0c0;
background: linear-gradient(to bottom, #a0a0a0 0%, #b0b0b0 50%, #d0d0d0 100%);
}
#terminal-output::-webkit-scrollbar-corner {
background: #c0c0c0;
}
#terminal-output::-webkit-scrollbar-button {
width: 16px;
height: 16px;
background: linear-gradient(to bottom, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
border: 1px outset #c0c0c0;
}
#terminal-output::-webkit-scrollbar-button:hover {
background: linear-gradient(to bottom, #d0d0d0 0%, #b0b0b0 50%, #909090 100%);
}
#terminal-output::-webkit-scrollbar-button:active {
border: 1px inset #c0c0c0;
background: linear-gradient(to bottom, #a0a0a0 0%, #b0b0b0 50%, #d0d0d0 100%);
}