body{ background-color: #FADFCA; box-sizing: border-box; margin: 0; padding: 0; } h1{ color: #4169E1; font-weight: bold; } .containeraa { width: 100%; height: 100vh; display: flex; justify-content: center; align-items:center; } .side { border-left: 2px solid gray; width: 50%; height: 100vh; text-align: center; background-color: #544B44; overflow: scroll; overflow-x: hidden } /* Move on Button */ button:disabled{ opacity: 0.5; cursor: not-allowed; } .moveOn{ display: inline-block; border: none; padding: 6px 12px; margin-botton: 0; font-size: 1rem; font-weight: normal; text-align: center; cursor: pointer; border-radius: 4px; background-color: #4BB543; color: white; } .checkMoveOn{ margin: 0.7rem 25px; border-radius: 50px; cursor: pointer; border: none; padding: 10px; background-color: #B77729; } .messageBox { padding-top: 7px; } .kuiEiLeiaTeksti {font-size: .87rem;} /* Modal Stuff */ .avatar { border-radius: 20px; width: 100%; max-width: 15rem; } .modalHeaderWrapper{ text-align: center; margin: 0; width: 100%; } .modal{ color: black; } .closeModalButton { border-radius: 50px; } .modalButton{ padding: 6px 12px; margin-left: 30px; background-color: rgba(0,136,169,1); border: none; border-radius: 50px; cursor: pointer; transition: all 0.3 ease 0; font-size: 1rem; } .modalButton:hover{ background-color: rgba(0,136,169,0.8); } /* Clipping for text overflow */ g { clip-path: url(#clip1); } /* Svg stuff*/ path { maring: 0; padding: 0; } svg { width: 100%; height: 100%; overflow: hidden; } #sark { fill: white; stroke: black; stroke-width: 5px; } .sarkTekst { fontSize: 20px; fill: black; transform-box: fill-box; transform-origin: center; } .doneTekst{ transform-box: fill-box; transform-origin: center; } /*Muutuste osa*/ .muutused button { background-color: #596B6E; border: none; border-radius: 4px; font-size:1.3rem; color:white; padding: 10px; margin: .7rem; font-size: 0.9rem; } .nulliBtn { margin-top: .7rem !important; background-color: red !important; } .muutused { margin-top: 10px; border-top: 2px solid gray; width: 100%; text-align: center; } .muutused h4 { padding-top: 1.7rem; } .fileUpload { margin-top: 2px; } .textPos, .nulliBtn{ margin-top: 5px; } .textAddWrapper{ margin: 5px; } .textAddWrapper *{ font-size: 2rem; margin: 2px; border: 2px solid black; background-color: gray; cursor: pointer; } .textAddWrapper button { background-color: #596B6E; border: none; border-radius: 4px; font-size:1.3rem; color:white; padding: 5px; margin: 0 2px; } /* Img item stuff */ .item { height: 20%; width: 20%; position: absolute; background-image: url("img/shirtImg.jpg"); background-repeat: no-repeat; background-size: 100%; top: 50vh; cursor: move; /* top: 50%; right: 50%; top: calc(50% - 300px); right: calc(50% - 300px); */ } .resizer { height: 7px; width: 7px; position: absolute; border-radius: 3px; background: #000; z-index: 2; } .resizer.ne { top: -1px; right: -1px; cursor: ne-resize; } .resizer.nw { top: -1px; left: -1px; cursor: nw-resize; } .resizer.se { bottom: -1px; right: -1px; cursor: se-resize; } .resizer.sw { bottom: -1px; left: -1px; cursor: sw-resize; }