75 lines
1.5 KiB
CSS
75 lines
1.5 KiB
CSS
body {
|
|
display: flex;
|
|
margin: 0;
|
|
height: 100vh;
|
|
font-family: Arial, sans-serif;
|
|
background-color: #2c3e50;
|
|
color: white;
|
|
}
|
|
#sidebar {
|
|
width: 250px;
|
|
background-color: #34495e;
|
|
padding: 20px;
|
|
box-shadow: 2px 0 5px rgba(0,0,0,0.5);
|
|
}
|
|
.spawn-btn {
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
background-color: #7f8c8d;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
user-select: none;
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
.spawn-btn:hover {
|
|
filter: brightness(1.1);
|
|
}
|
|
#lab-desk {
|
|
flex-grow: 1;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
#workspace {
|
|
flex-grow: 1;
|
|
background-color: #ecf0f1;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
color: #333;
|
|
box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
|
|
}
|
|
.atom {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: absolute;
|
|
font-weight: bold;
|
|
cursor: grab;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
|
|
user-select: none;
|
|
border: 2px solid rgba(0,0,0,0.2);
|
|
}
|
|
.atom:active {
|
|
cursor: grabbing;
|
|
}
|
|
.molecule {
|
|
padding: 10px 20px;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: absolute;
|
|
font-weight: bold;
|
|
cursor: grab;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
|
|
background-color: #f1c40f;
|
|
user-select: none;
|
|
border: 2px solid rgba(0,0,0,0.2);
|
|
}
|