dev1/src/components/PopoutPanel.css

55 lines
919 B
CSS

.popout-panel {
position: fixed;
top: 0;
right: 0;
width: 40%;
height: 100%;
background-color: #fff;
box-shadow: -3px 0 5px rgba(0, 0, 0, 0.3);
padding: 20px;
overflow-y: auto;
transform: translateX(0);
transition: transform 0.3s ease-in-out;
}
.close-btn {
position: absolute;
top: 10px;
right: 15px;
background-color: #dc3545;
color: #fff;
border: none;
padding: 5px 10px;
font-size: 1rem;
cursor: pointer;
}
h3 {
margin-top: 20px;
}
ul {
list-style: none;
padding: 0;
}
li {
margin-bottom: 15px;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
}
button {
margin-top: 10px;
background-color: #007bff;
color: white;
border: none;
padding: 8px 12px;
cursor: pointer;
font-size: 0.9rem;
}
button:hover {
background-color: #0056b3;
}