diff --git a/views/track.ejs b/views/track.ejs index 1e825cc..7f57609 100644 --- a/views/track.ejs +++ b/views/track.ejs @@ -18,52 +18,120 @@ .card { background-color: #222; border: 1px solid #444; + border-radius: 8px; + overflow: hidden; + } + + .card-body { + padding: 1.5rem; } .btn-primary { background-color: #ff5500; border-color: #ff5500; + transition: background-color 0.3s ease; } .btn-primary:hover { background-color: #ff3300; } - /* Custom slim dark mode scrollbar for webkit browsers (Chrome, Safari, Edge) */ ::-webkit-scrollbar { width: 8px; - /* Slim width for the scrollbar */ } ::-webkit-scrollbar-track { background: #1e1e1e; - /* Dark background for the scrollbar track */ } ::-webkit-scrollbar-thumb { background-color: #4a4a4a; - /* Slightly lighter thumb color */ border-radius: 10px; - /* Rounded corners for the scrollbar */ border: 2px solid #1e1e1e; - /* Matches the track background to create a gap effect */ } ::-webkit-scrollbar-thumb:hover { background-color: #555555; - /* Lighter on hover */ } - /* Scrollbar styling for Firefox */ * { scrollbar-width: thin; scrollbar-color: #4a4a4a #1e1e1e; } + + /* Search box styling */ + .search-container { + position: relative; + width: 100%; + max-width: 500px; + margin: 0 auto 20px; + } + + .search-input { + background-color: #222; + border: 1px solid #444; + color: white; + border-radius: 4px; + padding: 8px 12px; + width: 100%; + transition: border-color 0.3s ease; + } + + .search-input:focus { + border-color: #ff5500; + outline: none; + box-shadow: 0 0 5px rgba(255, 85, 0, 0.3); + } + + .search-results { + position: absolute; + top: 100%; + left: 0; + right: 0; + background-color: #222; + border: 1px solid #444; + border-radius: 4px; + max-height: 300px; + overflow-y: auto; + z-index: 1000; + display: none; + margin-top: 5px; + } + + .search-results.show { + display: block; + } + + .search-result-item { + padding: 10px; + color: white; + cursor: pointer; + transition: background-color 0.2s ease; + } + + .search-result-item:hover { + background-color: #ff5500; + } + + .search-result-item small { + color: #aaa; + display: block; + } + + /* Adjust container padding */ + .container { + padding-top: 30px; + padding-bottom: 30px; + }
+ + + + +