diff --git a/static/css/style.css b/static/css/style.css index 8eda330..1d9571d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -27,7 +27,7 @@ html { body { display: flex; - height: 103vh; + height: 100vh; flex-direction: column; gap: 1rem; } @@ -72,7 +72,7 @@ form { box-shadow: inset 0 0 0 10px; } -@media (max-width:600px) { +@media (max-width:1000px) { .not-required { display: none; } @@ -131,20 +131,28 @@ a:active { justify-content: flex-start; align-items: center; width: 100%; + gap: 1rem; flex-direction: column; flex-grow: 1; height: 90%; } -.textbox { +.search-bar { padding: .25rem; margin-top: .25rem; font-size: 1rem; width: 15rem; border: none; + transition: width 0.4s ease-in-out; background-color: var(--fg); } +@media (min-width:1500px) { + .search-bar:focus { + width: 30rem; + } +} + .search-button { padding: .25rem .5rem; margin-top: .25rem; @@ -155,14 +163,85 @@ a:active { background-color: orange; } + + .filter-pane { - width: 70%; - margin: .5rem 0rem; + padding: .5rem 2rem; background-color: var(--bg-grad-3); border-radius: 1rem; - min-height: 3rem; } +.filter-items { + display: flex; + align-items: center; + justify-content: space-between; + gap: 2rem; +} + +.product-filter { + width: 100%; + padding: 16px 20px; + border: none; + border-radius: 4px; + background-color: var(--bg-grad-2); + color: var(--fg); + font-size: .75rem; +} + + + + + + + +/* Number Plate*/ +.number-plate { + display: flex; + align-items: center; +} + +.country-identifier { + width: auto; + display: flex; + flex-direction: column; + align-items: center; + color: #ffffff; + font-weight: bold; + height: 60px; + justify-content: center; +} +.country-identifier img { + border-radius: 8px 0 0 8px; +} +.vrn { + width: 10rem; + height: 63px; + border: 1px solid #ead809; + background-color: #ead809; + border-radius: 0 8px 8px 0; +} +.vrn .vrn-text { + width: -webkit-fill-available; + height: -webkit-fill-available; + border-radius: 0; + border: 0; + font-family: "UKNumberPlate", sans-serif; + font-size: 180%; + text-transform: uppercase; + text-align: center; + outline: 0; + background-color: transparent; +} +.vrn .vrn-text:focus { + outline: 0; +} + + + + + +/* Product Information*/ + .product-container { width: 95%; margin: .5rem 0rem; @@ -172,7 +251,7 @@ a:active { flex-wrap: wrap; flex-direction: row; gap: 2rem 1.5rem; - padding: 2rem 1rem; + padding: 2rem 1rem 3rem; transition: all 0.2s; overflow-y: scroll; } diff --git a/static/index.html b/static/index.html index ada7c4a..9968a4f 100644 --- a/static/index.html +++ b/static/index.html @@ -6,13 +6,14 @@ + WMGZON