* { 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: rgb(128, 128, 128, 0.4); 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: rgb(128, 128, 128, 0.7); } .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; } /*----------------------------------------------------------------------------------------*/ .buttonpanel { width: 90%; height: 70%; background-color: rgb(255, 255, 255, 0.5); border-radius: 10px; display: flex; align-items: center; padding: 20px; } .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 p { font-size: 30px; font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-weight: bold; } .buttonpanel div { 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%); justify-content: center; align-items: center; backdrop-filter: blur(20px); } .hidden { display: none; } .addentrydiv { position: relative; width: 50%; height: 60%; background-color: rgb(255, 255, 255, 0.8); border-radius: 20px; } .addentrydiv div{ 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); } /*----------------------------------------------------------------------------------------*/ @media (max-width: 860px) { .container{ position: fixed; width: 774px; } }