258 lines
4.0 KiB
CSS
258 lines
4.0 KiB
CSS
.container {
|
|
margin: 20px;
|
|
border: solid 1px black;
|
|
}
|
|
|
|
main {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.5fr 1fr;
|
|
}
|
|
|
|
.leftContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
border: solid 1px black;
|
|
}
|
|
|
|
.leftbuttonBox {
|
|
margin-top: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.leftContainer button {
|
|
margin-top: 20px;
|
|
width: 200px;
|
|
height: 72px;
|
|
}
|
|
|
|
.leftContainer button.selected {
|
|
color: rgb(54, 54, 54);
|
|
background-color: rgb(61, 230, 69);
|
|
}
|
|
|
|
.middleContainer {
|
|
display: grid;
|
|
grid-template-rows: auto;
|
|
border: solid 1px black;
|
|
}
|
|
|
|
.middleBoxContainer {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.buttonBox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.buttonBox button {
|
|
padding: 15px 20px;
|
|
font-size: 32px;
|
|
}
|
|
|
|
.buttonWithImage {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.buttonWithImage img {
|
|
width: 140px;
|
|
height: 140px;
|
|
margin-right: 10px;
|
|
margin-left: 17px;
|
|
}
|
|
|
|
.buttonBox button.selected {
|
|
color: rgb(54, 54, 54);
|
|
background-color: rgb(61, 230, 69);
|
|
}
|
|
|
|
.rightContainer {
|
|
display: grid;
|
|
grid-template-rows: 60px 60px 238px 60px 60px;
|
|
border: solid 1px black;
|
|
}
|
|
|
|
button {
|
|
margin: 0 20px;
|
|
margin-bottom: 10px;
|
|
padding: 10px 20px;
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
color: rgb(54, 54, 54);
|
|
background-color: #3396ff;
|
|
border: solid 2px black;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
#sendPaletteInfo {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 72px;
|
|
margin-bottom: 20px;
|
|
background-color: #3396ff;
|
|
}
|
|
|
|
#startRobotButton {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 72px;
|
|
margin-bottom: 55px;
|
|
margin-top: 10px;
|
|
padding: 10px 15px;
|
|
background-color: #3396ff;
|
|
}
|
|
|
|
#startRobotButton:disabled {
|
|
background-color: gray;
|
|
color: white;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#woodenFlatPallet:disabled {
|
|
background-color: gray;
|
|
color: white;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#exitAppButton {
|
|
margin: 0;
|
|
width: 100%;
|
|
color: rgb(54, 54, 54);
|
|
background-color: rgb(252, 101, 101);
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
font-size: 22px;
|
|
}
|
|
|
|
#resetButton {
|
|
margin: 0;
|
|
width: 100%;
|
|
color: rgb(54, 54, 54);
|
|
background-color: rgb(252, 169, 101);
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
font-size: 22px;
|
|
}
|
|
|
|
#bookHeight {
|
|
width: 100px;
|
|
height: 40px;
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
font-size: 19px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#palletHeight {
|
|
width: 180px;
|
|
height: 40px;
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
font-size: 19px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.inputContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.inputBox {
|
|
display: flex;
|
|
}
|
|
|
|
p {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 60px;
|
|
height: 40px;
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
font-size: 19px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#bookHeight::placeholder,
|
|
#palletHeight::placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
#bookHeightTitle,
|
|
#palletHeightTitle {
|
|
margin-top: 20px;
|
|
font-size: 19px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#alert {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
position: absolute;
|
|
justify-content: center;
|
|
display: none;
|
|
}
|
|
|
|
#alertBox{
|
|
width: 80%;
|
|
height: 50%;
|
|
background-color: white;
|
|
display: flex;
|
|
align-self: center;
|
|
border-radius: 10px;
|
|
border:2px solid black;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#loader {
|
|
border: 16px solid #f3f3f3; /* Light gray */
|
|
border-top: 16px solid #3498db; /* Blue */
|
|
border-radius: 50%;
|
|
width: 100px;
|
|
height: 100px;
|
|
animation: spin 1s linear infinite;
|
|
margin: 10px auto; /* Center the loader */
|
|
}
|
|
|
|
#alert_msg {
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
color: rgb(54, 54, 54);
|
|
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
} |