#banner{ position: sticky; background-color: rgba(255, 255, 255, 0.5); color: black; font-size: 240%; box-shadow: 0px 0px 10px rgb(106, 104, 104); border-radius: 12px; backdrop-filter: blur(20px); height: 6%; width: 98%; top: 2%; margin: auto; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); user-select: none; text-align: left; z-index: 100; } .banner_img{ width: 58%; height: 58%; cursor: hand; } #banner_img:hover{ width: 60%; height: 60%; border-radius: 12px; box-shadow: 0px 0px 6px #878686; } #login{ position: absolute; text-align: center; transform: scale(1.7); /* 垂直居中 */ top: 0; bottom: 0; height: 45%; /* 水平居中 */ left: 0; right: 0; width: 40%; margin: auto; user-select: none; background-color: rgba(239, 230, 230, 0.5); border: 0px; border-radius: 12px; box-shadow: 0px 0px 16px rgb(70, 69, 69); backdrop-filter: blur(6px); } #customerpage{ position: absolute; text-align: center; top: 0%; height: 100%; width: 100%; left: 0%; margin: none; padding: none; user-select: none; border: none; z-index: 0; } #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(109, 103, 103, 0.6); z-index: 10000; } #search{ position: fixed; background-color: rgba(255, 255, 255, 0.5); box-shadow: 0px 0px 10px rgb(106, 104, 104); border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; backdrop-filter: blur(15px); height: 70%; width: 100%; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); user-select: none; text-align: left; z-index: 10; border: none; } #search_overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(109, 103, 103, 0.6); z-index: 5; } #closebutton{ position: absolute; text-align: center; transform: scale(1.4); top: 14%; height: 2.2%; margin-left: 80%; width: 2.2%; font-size: 80%; user-select: none; border: 0px; border-radius: 12px; box-shadow: 0px 0px 16px rgb(142, 142, 142); } #closebutton:hover{ background-color: red; } #grid{ position:absolute; display: flex; justify-content: center; flex-wrap: wrap; margin: none; border: none; width: 98%; left:1.5%; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); } #items{ text-align: left; background-color: rgba(255, 255, 255, 0.4); color: black; font-size: 200%; border-radius: 12px; backdrop-filter: blur(4px); margin: 1%; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); width: 96%; height: 5vw; transition: 0.3s; } img{ border-radius: 12px; width: 10%; height: 10%; margin: none; padding: none; overflow:hidden; background-position: center; background-repeat: no-repeat; -webkit-background-size:cover; -moz-background-size:cover; background-size:cover; cursor: hand; transition: 0.5s; } #icon{ border-radius: 12%; width: 6%; height: 6%; overflow:hidden; cursor: hand; transition: 0.5s; } #items:hover{ box-shadow: 0px 0px 10px rgb(106, 104, 104); } img:hover{ box-shadow: 0px 0px 10px rgb(106, 104, 104); } p,h5:hover{ cursor: hand; } input{ font-size: 100%; width: 80%; border-radius: 12px; text-align: center; background-color: rgba(138, 179, 193, 0.632); border: none; outline: none; } input:focus{ border: 2px solid pink; } #detail_window{ position: absolute; text-align: center; transform: scale(1.7); /* 垂直居中 */ top: 10%; bottom: 0; height: 50%; /* 水平居中 */ left: 0%; right: 0%; width: 57%; margin: auto; user-select: none; background-color: rgba(239, 230, 230, 0.5); border: 0px; border-radius: 12px; box-shadow: 0px 0px 16px rgb(70, 69, 69); backdrop-filter: blur(20px); } #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(109, 103, 103, 0.6); backdrop-filter: blur(4px); z-index: 10000; } body{ align-items: center; height: 100%; width: 99%; z-index: 1; overflow: hidden; } .dynamic-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(255, 165, 0, 1), rgba(173, 216, 230, 1)); animation: changeBackground 15s infinite; } @keyframes changeBackground { 0% { background: linear-gradient(to right, rgba(255, 165, 0, 1), rgba(173, 216, 230, 1)); } 20% { background: linear-gradient(to right, rgba(255, 165, 0, 0.9), rgba(173, 216, 230, 0.9)); } 40% { background: linear-gradient(to right, rgba(255, 165, 0, 0.8), rgba(173, 216, 230, 0.8)); } 60% { background: linear-gradient(to right, rgba(255, 165, 0, 0.7), rgba(173, 216, 230, 0.7)); } 80% { background: linear-gradient(to right, rgba(255, 165, 0, 0.9), rgba(173, 216, 230, 0.9)); } 100% { background: linear-gradient(to right, rgba(255, 165, 0, 1), rgba(173, 216, 230, 1)); } } /* Hide scrollbar when not needed */ body::-webkit-scrollbar { width: 0.5em; } body::-webkit-scrollbar-thumb { width: 0.5em; background: linear-gradient(rgba(109, 103, 103, 0.6), #00000000); border-radius: 0.25em; } button{ height: 32px; width: 300px; border: solid white 0px; background: linear-gradient(to right, rgb(26, 117, 172), rgb(26, 158, 144)); color: white; cursor: hand; box-shadow: 0px 0px 0px #424242; transition: 0.3s; border-radius: 5px; } textarea{ background-color: rgba(138, 179, 193, 0.632); border: none; border-radius: 12px; outline: none; font-size: 75%; width: 90%; height: max-content; } textarea:focus{ border: 2px solid pink; } td{ font-size: 75%; font-family: Arial, Helvetica, sans-serif; } th{ font-size: 75%; font-family: Arial, Helvetica, sans-serif; } h2{ text-align: center; } .dialog{ background-color: rgba(255, 255, 255, 0.5); color: black; font-size: 150%; box-shadow: 0px 0px 10px rgb(106, 104, 104); border-radius: 12px; border: none; backdrop-filter: blur(20px); height: 20%; width: 40%; margin: auto; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); user-select: none; text-align: center; overflow: hidden; padding-top: 5%; } dialog::backdrop { background-color: rgba(75, 75, 75, 0.598); } .dialogbutton{ height: 25%; width: 40%; font-size: medium; border: solid white 0px; background: linear-gradient(to right, rgb(26, 117, 172), rgb(26, 158, 144)); color: white; cursor: hand; box-shadow: 0px 0px 0px #424242; transition: 0.3s; border-radius: 5px; margin-top: 5%; } .dialogbutton:hover { box-shadow: 0px 0px 10px #424242; }