element-call/src/Header.module.css
2021-11-10 17:03:32 -08:00

59 lines
814 B
CSS

.header {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 64px;
user-select: none;
flex-shrink: 0;
}
.leftNav {
position: absolute;
left: 20px;
}
.logo {
display: flex;
align-items: center;
text-decoration: none;
}
.rightNav {
position: absolute;
right: 20px;
max-width: 40%;
white-space: nowrap;
display: flex;
}
.rightNav > * {
margin-right: 24px;
}
.rightNav > :last-child {
margin-right: 0;
}
.userName {
font-weight: 600;
margin-right: 8px;
text-overflow: ellipsis;
overflow: hidden;
flex-shrink: 1;
}
.signOutButton {
background: transparent;
border: none;
color: rgb(255, 75, 85);
cursor: pointer;
font-weight: 600;
flex-shrink: 0;
}
@media (min-width: 800px) {
.header {
height: 98px;
}
}