cohorta/src/styles/backButton.css
2025-08-04 09:07:59 -05:00

43 lines
849 B
CSS

/* Consistent back button styling */
.back-button {
position: absolute;
top: 1.25rem;
left: 1.25rem;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 9999px;
background-color: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.1);
backdrop-filter: blur(4px);
transition: all 150ms ease;
}
.back-button:hover {
background-color: rgba(255, 255, 255, 0.9);
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.back-button:active {
transform: translateY(0);
}
.back-button-content {
display: flex;
align-items: center;
gap: 0.25rem;
}
/* For page headers with back button */
.page-header-with-back {
display: flex;
align-items: center;
gap: 0.75rem;
padding-left: 2.5rem;
position: relative;
}