.card h1,h2,h3,p{ margin: 0; } .card { display: flex; padding: 1rem; background-color: red; border-radius: 8px; gap: 1.5rem; } .img-container { display: flex; background-color: rgb(223, 223, 223); width: 120px; height: 120px; border-radius: 8px; } .img-container img{ width: 100%; height: 100%; border-radius: 8px; object-fit: cover; } .info{ display: flex; flex-flow: column; background-color: rgb(223, 223, 223); padding: 1rem; height: 120px; border-radius: 8px; box-sizing: border-box; gap: 0.5rem; flex: 1; } .info .label-classes{ display: grid; grid-template-columns: repeat(2,130px); column-gap: 1rem; row-gap: 3px; align-items: start; justify-content: start; } .info .label-classes p{ background-color: lightgray; padding-inline: 4px; border-radius: 4px; width: 130px; } .dataset-card { width: 500px; height: 120px; } .dataset-card .div { position: relative; height: 120px; background-color: #d9d9d9; border-radius: 9px; } .dataset-card:hover .div { background-color: #4a90e2; /* Change this to any color you want */ } .dataset-card .image { position: absolute; width: 100px; height: 100px; top: 10px; left: 10px; background-color: #747474; border-radius: 10px; } .dataset-card .info-card { position: absolute; width: 362px; height: 100px; top: 10px; left: 130px; } .dataset-card .overlap-group { position: relative; width: 360px; height: 100px; background-color: #747373; border-radius: 10px; } .dataset-card .classes { position: absolute; width: 249px; height: 60px; top: 35px; left: 14px; } .dataset-card .frame { position: relative; height: 60px; background-color: #747474; border-radius: 2px; overflow: hidden; } .dataset-card .div-wrapper { position: absolute; width: 120px; height: 16px; top: 3px; left: 3px; background-color: #d9d9d9; border-radius: 2px; overflow: hidden; } .dataset-card .text-wrapper { position: absolute; top: -1px; left: 5px; font-family: var(--m3-body-small-font-family); font-weight: var(--m3-body-small-font-weight); color: #000000; font-size: var(--m3-body-small-font-size); letter-spacing: var(--m3-body-small-letter-spacing); line-height: var(--m3-body-small-line-height); white-space: nowrap; font-style: var(--m3-body-small-font-style); } .dataset-card .frame-2 { position: absolute; width: 120px; height: 16px; top: 22px; left: 3px; background-color: #d9d9d9; border-radius: 2px; overflow: hidden; } .dataset-card .frame-3 { top: 41px; left: 3px; position: absolute; width: 120px; height: 16px; background-color: #d9d9d9; border-radius: 2px; overflow: hidden; } .dataset-card .frame-4 { top: 3px; left: 126px; position: absolute; width: 120px; height: 16px; background-color: #d9d9d9; border-radius: 2px; overflow: hidden; } .dataset-card .frame-5 { top: 22px; left: 126px; position: absolute; width: 120px; height: 16px; background-color: #d9d9d9; border-radius: 2px; overflow: hidden; } .dataset-card .frame-6 { top: 41px; left: 126px; position: absolute; width: 120px; height: 16px; background-color: #d9d9d9; border-radius: 2px; overflow: hidden; } .dataset-card .text-wrapper-2 { position: absolute; width: 300px; top: 4px; left: 14px; font-family: var(--title2-regular-font-family); font-weight: var(--title2-regular-font-weight); color: #ff715e; font-size: var(--title2-regular-font-size); letter-spacing: var(--title2-regular-letter-spacing); line-height: var(--title2-regular-line-height); white-space: nowrap; font-style: var(--title2-regular-font-style); } .button { padding: 8px 16px; background-color: #009dac; color: white; border: none; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease; position: relative; } .button:hover { background-color: #0095a3; } .button-red { padding: 8px 16px; background-color: #ff0f43; color: white; border: none; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease; } .button-red:hover { background-color: #b60202; } .button-row { display: flex; gap: 10px; /* Abstand zwischen den Buttons */ } #header { display: flex; justify-content: space-between; /* space between title and buttons */ align-items: center; background-color: #fff; height: 70px; padding: 20px; border-bottom: 2px solid #ccc; border-radius: 8px; margin-bottom: 20px; } .header-icon { width: 222px; height: 53px; background-image: url("./media/logo.png"); background-size: cover; background-position: center; display: flex; justify-content: center; align-items: center; } .popup { position: absolute; left: 50%; transform: translate(-50%); /* Optional box style */ background-color: white; width: 800px; height: 600px; border-radius: 20px; border: 2px solid #ccc; box-shadow: 10px 10px 6.8px 3px #00000040; } .popup .image { position: absolute; width: 250px; height: 250px; top: 43px; left: 43px; background-color: #d9d9d9; border-radius: 10px; } .popup .upload-button { width: 80px; height: 25px; background-color: #009dac; border-radius: 5px; display: flex; justify-content: center; align-items: center; cursor: pointer; position: absolute; top: 303px; left: 128px; box-sizing: border-box; } .popup .upload-button:hover{ width: 80px; height: 25px; background-color: #0095a3; border-radius: 5px; display: flex; justify-content: center; align-items: center; cursor: pointer; position: absolute; top: 303px; left: 128px; box-sizing: border-box; } .popup .upload-button-text { font-family: var(--m3-body-small-font-family); font-weight: var(--m3-body-small-font-weight); color: #FFFF; font-size: var(--m3-body-small-font-size); letter-spacing: var(--m3-body-small-letter-spacing); line-height: var(--m3-body-small-line-height); white-space: nowrap; font-style: var(--m3-body-small-font-style); } .popup .div { position: absolute; width: 395px; height: 501px; top: 43px; left: 343px; background-color: #d9d9d9; border-radius: 5px; } .popup .add-category { position: absolute; width: 335px; height: 25px; top: 144px; left: 30px; } .popup .div-wrapper { position: relative; width: 240px; height: 25px; top: 0; left: 95px; background-color: #efefef; border-radius: 5px; border-color: #009dac; outline: none; font-family: var(--m3-body-small-font-family); font-size: var(--m3-body-small-font-size); line-height: var(--m3-body-small-line-height); } .popup .div-wrapper:focus { border-color: #000000; } .popup .div-wrapper::placeholder { color: #000; transition: opacity 0.3s ease; position: absolute; } .popup .div-wrapper:focus::placeholder { opacity: 0; } .popup .upload-button-text-wrapper { all: unset; box-sizing: border-box; position: absolute; align-items: center; justify-content: center; width: 80px; height: 25px; cursor: pointer; display: flex; top: 0; left: 0; background-color: #009dac; border-radius: 5px; } .popup .upload-button-text-wrapper:hover { all: unset; box-sizing: border-box; position: absolute; align-items: center; justify-content: center; width: 80px; height: 25px; cursor: pointer; display: flex; top: 0; left: 0; background-color: #0095a3; border-radius: 5px; } .popup .confirm-button-datasetcreation { all: unset; box-sizing: border-box; position: absolute; align-items: center; justify-content: center; bottom: 10px; right: 59px; width: 80px; height: 25px; cursor: pointer; display: flex; background-color: #009dac; border-radius: 5px; } .popup .confirm-button-datasetcreation:hover { all: unset; box-sizing: border-box; position: absolute; align-items: center; justify-content: center; bottom: 10px; right: 59px; width: 80px; height: 25px; cursor: pointer; display: flex; background-color: #0095a3; border-radius: 5px; } .popup .confirm-button-datasetcreation:disabled { all: unset; box-sizing: border-box; position: absolute; align-items: center; justify-content: center; bottom: 10px; right: 59px; width: 80px; height: 25px; cursor: pointer; display: flex; background-color: #66c4cd; border-radius: 5px; } .popup .button-text-upload { font-family: var(--m3-body-small-font-family); font-weight: var(--m3-body-small-font-weight); color: #FFFF; font-size: var(--m3-body-small-font-size); letter-spacing: var(--m3-body-small-letter-spacing); line-height: var(--m3-body-small-line-height); white-space: nowrap; font-style: var(--m3-body-small-font-style); } .popup .project-name { position: absolute; width: 335px; height: 25px; top: 27px; left: 30px; background-color: #efefef; border-radius: 5px; border-color: #009dac; outline: none; font-family: var(--m3-body-small-font-family); font-size: var(--m3-body-small-font-size); line-height: var(--m3-body-small-line-height); } .popup .project-name:focus { border-color: #000000; } .popup .project-name::placeholder { color: #000; transition: opacity 0.3s ease; } .popup .project-name:focus::placeholder { opacity: 0; } .popup .add-description { position: absolute; width: 335px; height: 50px; top: 73px; left: 30px; background-color: #efefef; border-radius: 5px; border-color: #009dac; padding: 4px; outline: none; resize: none; font-family: var(--m3-body-small-font-family); font-size: var(--m3-body-small-font-size); line-height: var(--m3-body-small-line-height); } .popup .add-description:focus { border-color: #000000; } .popup .add-description::placeholder { color: #000; transition: opacity 0.3s ease; } .popup .add-description:focus::placeholder { opacity: 0; } .popup .add-class-wrapper { position: absolute; width: 353px; height: 302px; top: 183px; left: 21px; } .popup .add-class { position: relative; width: 335px; height: 25px; top: 9px; left: 9px; } .popup .overlap-group { position: absolute; width: 275px; height: 25px; top: 0; left: 0; background-color: #30bffc80; border-radius: 5px; } .popup .overlap { position: absolute; width: 50px; height: 25px; left: 285px; } .popup .text-wrapper-overlap { position: absolute; top: 4%; left: 5px; font-family: var(--m3-body-small-font-family); font-weight: var(--m3-body-small-font-weight); color: #000000; font-size: var(--m3-body-small-font-size); letter-spacing: var(--m3-body-small-letter-spacing); line-height: var(--m3-body-small-line-height); white-space: nowrap; font-style: var(--m3-body-small-font-style); } .popup .rectangle { position: absolute; width: 50px; height: 25px; background-color: #ff0f43; border-radius: 5px; box-sizing: border-box; cursor: pointer; align-items: center; display: flex; justify-content: center; } .popup .rectangle:hover { position: absolute; width: 50px; height: 25px; background-color: #bb032b; border-radius: 5px; box-sizing: border-box; cursor: pointer; align-items: center; display: flex; justify-content: center; } .popup .text-wrapper-4 { position: absolute; top: -18px; left: 18px; font-family: var(--m3-display-large-font-family); font-weight: var(--m3-display-large-font-weight); color: #000000; font-size: var(--minus-for-button-size); letter-spacing: var(--m3-display-large-letter-spacing); line-height: var(--m3-display-large-line-height); white-space: nowrap; cursor: pointer; font-style: var(--m3-display-large-font-style); } .centered-div { position: absolute; left: 50%; transform: translate(-50%); /* Optional box style */ background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); } .loader { top: 4px; left: 43%; border: 5px solid #f3f3f3; /* Light grey background */ border-top: 5px solid #3498db; /* Blue top to create the spinning effect */ border-radius: 50%; width: 25px; height: 25px; animation: spin 1s linear infinite; position: absolute; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }