* { margin: 0; padding: 0; box-sizing: border-box; } :root { --vh: 100vh; --container-min-h: 100vh; --keypad-gap: 10px; --panel-bg: #111111; --body-bg: #000000; --text-main: #ffffff; --text-muted: #aaaaaa; } @supports (height: 100svh) { :root { --vh: 100svh; --container-min-h: 100svh; } } @supports (height: 100dvh) { :root { --vh: 100dvh; } } body { font-family: 'Times New Roman', serif; background-color: #0a0a0a; color: #ffffff; min-height: var(--container-min-h); overflow: auto; } .container { display: flex; flex-direction: column; min-height: var(--vh); height: var(--vh); overflow: hidden; background-color: var(--body-bg); } /* skrito vnosno polje - script.js ga še vedno uporablja */ #song-number { display: none; } /* vrstica s stanjem */ .status-bar { background-color: #111111; border-bottom: 1px solid #222; color: #dddddd; padding: 8px 12px; flex-shrink: 0; min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .page-info { color: #cccccc; font-size: 20px; line-height: 1.2; white-space: nowrap; transition: color 0.2s ease, font-weight 0.2s ease; } .page-info.input-active { color: #1f8a46; font-weight: bold; } .menu-container { position: relative; } .search-container { position: relative; flex: 1; max-width: 400px; margin: 0 auto; } #search-input { width: 100%; padding: 6px 12px; border-radius: 20px; border: 1px solid #444; background-color: #222; color: #fff; font-size: 16px; outline: none; } #search-input:focus { border-color: #1f8a46; background-color: #2a2a2a; } .search-results { position: absolute; top: 100%; left: 0; right: 0; background-color: #222; border: 1px solid #444; border-top: none; border-radius: 0 0 8px 8px; max-height: 300px; overflow-y: auto; z-index: 1001; display: none; box-shadow: 0 4px 12px rgba(0,0,0,0.5); } .search-results.show { display: block; } .search-item { padding: 10px 15px; border-bottom: 1px solid #333; cursor: pointer; display: flex; gap: 10px; } .search-item:last-child { border-bottom: none; } .search-item:hover { background-color: #333; } .search-item .song-id { color: #1f8a46; font-weight: bold; min-width: 30px; } .search-item .song-title { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .menu-toggle { background: transparent; border: none; cursor: pointer; padding: 10px; display: flex; align-items: center; justify-content: center; } .hamburger-icon { position: relative; width: 24px; height: 2px; background-color: #fff; display: block; } .hamburger-icon::before, .hamburger-icon::after { content: ''; position: absolute; width: 24px; height: 2px; background-color: #fff; left: 0; } .hamburger-icon::before { top: -8px; } .hamburger-icon::after { bottom: -8px; } .menu-dropdown { display: none; position: absolute; top: 100%; right: 0; background-color: #222; border: 1px solid #444; border-radius: 8px; min-width: 200px; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.5); overflow: hidden; } .menu-dropdown.show { display: block; } .menu-item { display: block; width: 100%; padding: 12px 16px; background: transparent; border: none; color: #fff; text-align: left; font-size: 16px; cursor: pointer; border-bottom: 1px solid #333; } .menu-item:last-child { border-bottom: none; } .menu-item:hover { background-color: #333; } .menu-item.active { background-color: #444; font-weight: bold; } /* glavni prikaz besedila */ .content { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 20px 16px; overflow-y: auto; background-color: #000000; -webkit-overflow-scrolling: touch; } .lyrics-display { text-align: center; font-size: 24px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; max-width: 100%; width: 100%; padding-bottom: 20px; color: #ffffff; } .status-message { color: #aaa; font-size: 20px; } /* ovijalec tipkovnice */ .keypad-wrapper { flex-shrink: 0; background-color: #111111; border-top: 1px solid #222; } .keypad-wrapper.hidden { display: none; } /* numerična tipkovnica */ .keypad { background-color: #111111; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--keypad-gap); width: 100%; } /* osnovni videz gumbov */ .keypad button { min-height: 58px; border: none; border-radius: 10px; cursor: pointer; font-family: Arial, sans-serif; font-size: 28px; font-weight: bold; transition: transform 0.05s ease, filter 0.2s ease, opacity 0.2s ease, box-shadow 0.05s ease; -webkit-tap-highlight-color: transparent; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); } .keypad button:active { transform: scale(0.80); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); } .keypad button:disabled { opacity: 0.45; cursor: not-allowed; } /* številke */ .btn-key { background-color: #f2f2f2; color: #111111; } /* Zastri / Nazaj */ .btn-action { background-color: #c28b24; color: #ffffff; font-size: 20px; } /* Placeholder for removed AAaa button */ .keypad-placeholder { visibility: hidden; } /* C */ .btn-clear { background-color: #555555; color: #ffffff; font-size: 20px; } /* Enter čez dve vrstici */ .btn-enter { background-color: #1f8a46; color: #ffffff; grid-row: span 2; font-size: 24px; } /* hover samo za naprave z miško */ @media (hover: hover) and (pointer: fine) { .btn-key:hover { filter: brightness(0.92); } .btn-action:hover, .btn-dark:hover, .btn-clear:hover, .btn-enter:hover { filter: brightness(1.08); } } /* tablica / manjši laptop */ @media (max-width: 900px) { .lyrics-display { font-size: 22px; } .page-info { font-size: 18px; } .keypad button { min-height: 54px; font-size: 24px; } } /* telefon */ @media (max-width: 600px) { .content { padding: 14px 10px; } .lyrics-display { font-size: 20px; line-height: 1.4; } .status-message { font-size: 18px; } .page-info { font-size: 18px; } .keypad { gap: 8px; padding: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); } .keypad button { min-height: 52px; font-size: 22px; border-radius: 9px; } } /* zelo majhen telefon */ @media (max-width: 400px) { .lyrics-display { font-size: 18px; } .page-info { font-size: 16px; } .keypad button { min-height: 48px; font-size: 20px; } } /* veliki ekrani */ @media (min-width: 901px) { .keypad { width: fit-content; margin: 0 auto; grid-template-columns: repeat(4, 120px); gap: 10px; } .keypad button { height: 80px; min-height: 80px; font-size: 22px; } .btn-action, .btn-dark, .btn-clear { font-size: 18px; } .btn-enter { font-size: 22px; height: auto; } }