* { box-sizing: border-box; margin: none; } body { background-color: rgb(255, 255, 255); display: flex; margin-top: 25px; align-items: center; justify-content: center; background-image: url("../assets/bg.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; } .wrapper { display: flex; width: 90vw; height: 90vh; align-items: center; justify-content: center; } .innerwrapper { height: 90%; width: 90%; padding: 10px; position: relative; } .container { display: flex; align-items: center; background-color: rgb(0, 255, 255,0.2); backdrop-filter: blur(15px); border-radius: 30px; position: relative; width: 1200px; height: 600px; box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.8); overflow: hidden; justify-content: center; } footer{ position: fixed; bottom: 0px; background-color: rgb(12, 12, 12); height: 50px; width: 100vw; } footer p{ color: white; text-align: center; } /*----------------------------------------------------------------------------------------*/ .contentbox { display: flex; position: absolute; right: 30px; bottom: 0; background-color: rgb(0, 255, 255,0.3); border-radius: 20px; height: 100%; width: 45%; justify-content: center; align-items: center; max-height: 100%; overflow: auto; box-shadow: 0 0 10px; } /*----------------------------------------------------------------------------------------*/ .searchbar { display: flex; justify-content: center; align-items: center; position: absolute; overflow: hidden; top: 15px; width: 90%; height: 11%; background-color: rgb(255, 255, 255, 0.5); border-radius: 10px; padding: 10px; flex-shrink: 0; } .searchbar input { width: 88%; height: 65%; border: blue 2px slateblue; box-shadow: none; background-color: rgb(255, 255, 255, 0.5); border-radius: 20px; padding-left: 20px; padding-right: 40px; position: absolute; left:20px; } /* .searchbar button { background-image: url("../assets/search.svg"); background-size: cover; background-position: center; display: inline-block; position: absolute; top: 19%; right: 4px; width: 30px; height: 30px; border: none; background-color: transparent; cursor: pointer; } */ .searchbar button:hover { background-image: url(../assets/search2.svg); } .searchbar button:not(:hover) { background-image: url(../assets/search.svg); } .searchbar:hover{ box-shadow: 0, 0, 5px; } .searchbar:not(:hover){ box-shadow: none; } /*----------------------------------------------------------------------------------------*/ .objcontainer { display: flex; flex-direction: column; row-gap: 10px; position: absolute; bottom: 20px; width: 90%; height: 80%; background-color: rgb(255, 255, 255, 0.5); border-radius: 10px; overflow: auto; padding-top: 20px; padding-bottom: 20px; align-items: center; } .objcontainer div{ display: flex; padding: 20px; width: 90%; height: 50px; background-color: rgb(255, 255, 255, 0.5); text-align: left; box-shadow: 0 0 10px black; border: rgba(0, 255, 255, 0.5) 1px solid; overflow: hidden; align-items: center; flex-shrink: 0; transition: width 0.3s ease, height 0.3s ease; } .objcontainer div:hover { background-color: rgba(255, 255, 255, 0.7); width: 95%; height: 60px; } .objcontainer div:not(:hover) { background-color: rgb(255, 255, 255, 0.5); width: 90%; height: 50px; } .objcontainer div button{ position: absolute; right: 40px; background-color: hsl(0, 0%, 100%, 0.5); border-radius: 10px; padding: 5px; font-weight: bold; box-shadow: 0 0 5px; cursor: pointer; opacity: 0; transition: opacity 0.3s ease; } .objcontainer div:hover button{ opacity: 1; } .objcontainer div:not(:hover) button{ opacity: 0; } .objcontainer div button:hover{ background-color: rgba(143, 143, 143, 0.5); } .objcontainer div button:not(:hover){ background-color: hsl(0, 0%, 100%, 0.5); } .objcontainer div img{ width: 30px; } .objcontainer div p{ padding-left: 20px; font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-weight: bold; } .objcontainer div:last-child { border-radius: 0 0 10px 10px; } .objcontainer div:first-child { border-radius: 10px 10px 0 0; } /*----------------------------------------------------------------------------------------*/ .querybox { display: flex; justify-content: center; align-items: center; position: absolute; left: 30px; bottom: 40px; background-color: rgb(0, 255, 255,0.3); border-radius: 20px; height: 70%; width: 40%; position: absolute; bottom: 0; box-shadow: 0 0 10px; } .infopanel { width: 90%; height: 90%; background-color: rgb(255, 255, 255, 0.5); border-radius: 10px; } /*----------------------------------------------------------------------------------------*/ .buttonbox { display: flex; justify-content: center; align-items: center; position: absolute; left: 30px; top: 0; background-color: rgb(0, 255, 255,0.3); border-radius: 20px; height: 20%; width: 40%; box-shadow: 0 0 10px; } .buttonpanel { width: 90%; height: 70%; background-color: rgb(255, 255, 255, 0.5); border-radius: 10px; display: flex; align-items: center; padding: 20px; } .buttonpanel div:first-child { display: flex; flex-direction: column; position: absolute; width: 50%; height: 50px; left: 30px; } .buttonpanel p:first-child { color: rgb(0, 0, 0); position: absolute; bottom: 0px; left: 10px; font-size: 25px; font-family: Impact, fantasy; } .buttonpanel p:last-child { position: absolute; color: rgb(0, 0, 0); top: -1px; left: 11px; font-size: 25px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; } .buttonpanel div:last-child { position: absolute; width: 50px; height: 50px; right: 50px; display: flex; align-items: center; justify-content: center; } #addentry { width: 40px; height: 40px; border-radius: 10px; background-color: rgba(0, 146, 15, 0.7); border: none; box-shadow: 0 0 5px; background-image: url(../assets/plus.svg); background-size: 90% auto; background-position: center; transition: width 0.1s ease, height 0.1s ease; } #addentry:hover { background-color: rgba(0, 223, 22, 0.7); width: 45px; height: 45px; } #addentry:not(:hover) { background-color: rgba(0, 146, 15, 0.7); width: 40px; height: 40px; } /*----------------------------------------------------------------------------------------*/ ::-webkit-scrollbar { width: 10px; border-radius: 5px; } ::-webkit-scrollbar-track { /* background: hsla(0, 0%, 73%, 0.7); */ background: transparent; } ::-webkit-scrollbar-thumb { background: hsl(0, 0%, 20%); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: hsl(0, 0%, 17%); } /*----------------------------------------------------------------------------------------*/ #logout{ width: 40px; height: 40px; position: absolute; top: 20px; right: 20px; border-radius: 10px; background-image: url(../assets/logout2.svg); background-size: cover; background-color: transparent; border: none; } #logout:hover{ background-image: url(../assets/logout2.svg); opacity: 0.8; } #logout:not(:hover){ background-image: url(../assets/logout.svg); opacity: 0.7; } /*----------------------------------------------------------------------------------------*/ #entrycontainer { position: absolute; width: 100%; height: 100%; background-color: hsl(0, 0%, 100%, 10%); display: flex; justify-content: center; align-items: center; backdrop-filter: blur(20px); overflow: hidden; } .hidden { display: none; } .addentrydiv { position: relative; width: 700px; height: 400px; background-color: rgb(255, 255, 255, 0.6); backdrop-filter: blur(5px); border-radius: 40px; display: flex; justify-content: center; align-items: center; } .addentrydiv > div:first-child{ display: flex; position: absolute; top: 20px; right: 20px; justify-content: center; align-items: center; width: 35px; height: 35px; } #backbtn { width: 30px; height: 30px; background-color: rgb(255, 0, 0, 0.8); background-image: url(../assets/x.svg); background-size: 50%; background-position: center; background-repeat: no-repeat; border: none; box-shadow: 0 0 5px; border-radius: 20px; transition: width 0.1s ease, height 0.1s ease; } #backbtn:hover { width: 35px; height: 35px; background-color: rgba(226, 0, 0, 0.8); } #backbtn:not(:hover) { width: 30px; height: 30px; background-color: rgb(255, 0, 0, 0.8); } /*----------------------------------------------------------------------------------------*/ .fieldcontainer { width: 80%; height: 70%; background-color: white; display: flex; position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 0 5px; } .fieldcontainer form > div:first-child { position: absolute; width: 50%; height: 100%; background-color: rgba(55, 16, 229, 0.8); display: flex; align-items: center; justify-content: center; flex-direction: column; row-gap: 20px; } .fieldcontainer input { padding-left: 10px; font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; box-shadow: 0 0 10px; } .fieldcontainer input:focus { outline: none; } .fieldcontainer input::placeholder{ color: rgb(82, 82, 82); font-weight: bold; } .fieldcontainer form > div:first-child input{ margin-top: 20px; width: 80%; height: 30px; border-radius: 10px; background-color: rgb(255, 255, 255, 0.8); border: none; transition: width 0.1s ease, height 0.1s ease; } .fieldcontainer form > div:first-child input:hover, .fieldcontainer form > div:first-child input:focus { width: 83%; height: 35px; } .fieldcontainer form > div:first-child input:not(:hover):not(:focus) { width: 80%; height: 30px; } .fieldcontainer form > div:first-child button{ width: 60px; height: 30px; border-radius: 10px; background-color: rgb(255, 255, 255, 0.8); border: none; margin-top: 30px; } /*----------------------------------------------------------------------------------------*/ .fieldcontainer form > div:last-child { position: absolute; right: 0; width: 50%; height: 100%; background-color: rgb(34, 0, 255, 0.2); display: flex; align-items: center; justify-content: center; flex-direction: column; row-gap: 20px; } .fieldcontainer form > div:last-child div { display: flex; flex-direction: row; align-items: center; width: 100%; } .fieldcontainer form > div:last-child div input[type="text"]{ width: 80%; height: 30px; border-radius: 10px; background-color: rgb(255, 255, 255, 0.8); border: none; transition: width 0.1s ease, height 0.1s ease; } .fieldcontainer form > div:last-child div input[type="text"]:enabled:hover, .fieldcontainer form > div:last-child div input[type="text"]:enabled:focus{ width: 83%; height: 35px; } .fieldcontainer form > div:last-child div input[type="text"]:not(:hover):not(:focus){ width: 80%; height: 30px; } .fieldcontainer form > div:last-child div input[type="checkbox"]{ margin-right: 10px; margin-left: 10px; width: 15px; height: 15px; border: none; transition: width 0.1s ease, height 0.1s ease; } .fieldcontainer form > div:last-child div input[type="checkbox"]:hover { width: 20px; height: 20px; } .fieldcontainer form > div:last-child div input[type="checkbox"]:checked { width: 20px; height: 20px; } .fieldcontainer form > div:last-child div input[type="checkbox"]:not(:hover):not(:checked) { width: 15px; height: 15px; } /*----------------------------------------------------------------------------------------*/ @media (max-width: 860px) { .container{ position: fixed; width: 774px; } } @media (max-width: 860px) { .entrycontainer{ position: fixed; width: 860px; } .addentrydiv{ position: fixed; width: 700px; } }