Spaces:
Runtime error
Runtime error
| @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap'); | |
| body { | |
| } | |
| blockquote { | |
| font-size: 16px; | |
| line-height: 1.6; | |
| color: #ccc; | |
| border-left: 4px solid #00ff88; | |
| padding-left: 12px; | |
| margin: 0; | |
| font-style: italic; | |
| background-color: #111; | |
| border-radius: 4px; | |
| padding: 12px; | |
| margin-top: 10px; | |
| } | |
| .robot_btn { | |
| position: absolute; | |
| top: 10px; | |
| right: 10px; | |
| background: rgba(0, 0, 0, 0.4); | |
| border: none; | |
| border-radius: 50%; | |
| width: 36px; | |
| height: 36px; | |
| cursor: pointer; | |
| z-index: 3; | |
| transition: opacity 0.3s ease-in-out; | |
| " title="Показать тепловую карту"> | |
| } | |
| @font-face { | |
| font-family: 'Tablon'; | |
| src: url('../Font/Tablon-Regular.ttf') format('truetype'); | |
| font-weight: normal; | |
| font-style: normal; | |
| } | |
| header { | |
| background: linear-gradient(to right, #0f0f0f, #1b1b1b); | |
| border-bottom: 2px solid #00ff88; | |
| } | |
| .custom-file-upload { | |
| background: linear-gradient(to right, #1c1c1c, #111); | |
| } | |
| body { | |
| margin: 0; | |
| font-family: 'Tablon', 'Orbitron', sans-serif; | |
| background-color: #0b0b0b; | |
| color: #e6e6e6; | |
| letter-spacing: 0.5px; | |
| } | |
| header { | |
| padding: 20px 30px; | |
| border-bottom: 3px solid #333; | |
| background: #111; | |
| } | |
| h1 { | |
| margin: 0; | |
| font-size: 36px; | |
| text-transform: uppercase; | |
| font-weight: 700; | |
| } | |
| body::before { | |
| content: ""; | |
| position: fixed; | |
| z-index: -2; | |
| top: 0; left: 0; | |
| width: 100vw; height: 100vh; | |
| background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat; | |
| opacity: 0.03; | |
| } | |
| #background-blur { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| background-position: center; | |
| background-size: cover; | |
| filter: blur(15px); | |
| opacity: 0.25; | |
| z-index: -1; | |
| transition: background-image 0.5s ease-in-out; | |
| } | |
| header { | |
| padding: 20px 30px; | |
| border-bottom: 2px solid #00ff88; | |
| background: linear-gradient(to right, #0f0f0f, #1b1b1b); | |
| } | |
| h1 { | |
| margin: 0; | |
| font-size: 28px; | |
| } | |
| nav { | |
| display: flex; | |
| gap: 25px; | |
| margin-top: 10px; | |
| } | |
| nav a { | |
| color: #ccc; | |
| text-decoration: none; | |
| font-weight: bold; | |
| padding: 5px 0; | |
| } | |
| nav a:hover { | |
| color: #fff; | |
| border-bottom: 2px solid #fff; | |
| } | |
| #upload-section { | |
| margin: 30px; | |
| } | |
| #imageInput { | |
| display: none; | |
| } | |
| .custom-file-upload { | |
| display: inline-block; | |
| padding: 10px 18px; | |
| font-size: 16px; | |
| color: white; | |
| border: 2px solid white; | |
| border-radius: 0; | |
| cursor: pointer; | |
| background-color: transparent; | |
| transition: background 0.2s ease; | |
| } | |
| .custom-file-upload:hover { | |
| background-color: white; | |
| color: black; | |
| } | |
| #preview-scroll { | |
| display: flex; | |
| overflow-x: auto; | |
| gap: 12px; | |
| background-color: #222; | |
| padding: 15px; | |
| margin: 20px 30px; | |
| border-radius: 10px; | |
| border: 2px solid #333; | |
| } | |
| .preview-scroll { | |
| display: flex; | |
| gap: 12px; | |
| background-color: #222; | |
| padding: 15px; | |
| border-radius: 10px; | |
| margin-bottom: 20px; | |
| border: 2px solid #333; | |
| } | |
| .image-box { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .filename { | |
| color: #888; | |
| font-size: 12px; | |
| margin-top: 5px; | |
| } | |
| .preview-image { | |
| height: 120px; | |
| cursor: pointer; | |
| border: 3px solid transparent; | |
| transition: transform 0.2s ease, border-color 0.2s ease; | |
| border-radius: 6px; | |
| } | |
| .preview-image:hover { | |
| transform: scale(1.05); | |
| } | |
| .preview-image.selected { | |
| border-color: #00ff88; | |
| transform: scale(1.15); | |
| } | |
| #result-section { | |
| margin: 30px; | |
| background-color: #1a1a1a; | |
| padding: 20px; | |
| border-radius: 10px; | |
| border: 1px solid #444; | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 20px; | |
| } | |
| .result-img { | |
| width: 100%; | |
| max-height: 300px; | |
| object-fit: contain; | |
| border: 2px dashed #666; | |
| margin-bottom: 15px; | |
| } | |
| p { | |
| margin: 5px; | |
| } | |
| .label-group { | |
| margin-bottom: 15px; | |
| flex: 1 1 300px; | |
| min-width: 280px; | |
| } | |
| .bar { | |
| width: 160px; | |
| height: 15px; | |
| margin-bottom: 5px; | |
| background: #555; | |
| border-radius: 5px; | |
| overflow: hidden; | |
| } | |
| .bar-fill { | |
| height: 100%; | |
| background: linear-gradient(to right, #00ff88, #00c4ff); | |
| transition: width 0.3s ease; | |
| } | |
| #loader { | |
| text-align: center; | |
| margin: 20px; | |
| } | |
| footer { | |
| text-align: center; | |
| padding: 20px; | |
| color: #444; | |
| font-size: 12px; | |
| } | |
| #splash-screen { | |
| position: fixed; | |
| z-index: 9999; | |
| top: 0; left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: url('https://source.unsplash.com/random/1600x900?art') center/cover no-repeat; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| animation: fadeOut 1s ease forwards; | |
| animation-delay: 2.5s; | |
| } | |
| .splash-content { | |
| text-align: center; | |
| background-color: rgba(0, 0, 0, 0.75); | |
| padding: 40px; | |
| border-radius: 10px; | |
| } | |
| .splash-logo { | |
| font-family: 'Orbitron', sans-serif; | |
| font-size: 36px; | |
| color: #00ff88; | |
| margin-bottom: 25px; | |
| letter-spacing: 2px; | |
| } | |
| .spinner { | |
| border: 5px solid #444; | |
| border-top: 5px solid #00ff88; | |
| border-radius: 50%; | |
| width: 60px; | |
| height: 60px; | |
| animation: spin 1.2s linear infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| @keyframes fadeOut { | |
| to { | |
| opacity: 0; | |
| visibility: hidden; | |
| } | |
| } | |
| #cam-image { | |
| max-width: 100%; | |
| border: 2px solid #444; | |
| border-radius: 8px; | |
| } | |
| body { | |
| transition: opacity 0.6s ease; | |
| opacity: 1; | |
| } | |
| body.fade-out { | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |