element-call-Github/src/Header.module.css

95 lines
1.3 KiB
CSS
Raw Normal View History

2021-08-20 08:49:45 +08:00
.header {
position: relative;
display: flex;
2021-11-30 08:19:48 +08:00
justify-content: space-between;
2021-08-20 08:49:45 +08:00
align-items: center;
2021-08-24 03:50:19 +08:00
height: 64px;
2021-08-20 08:49:45 +08:00
user-select: none;
2021-08-21 07:23:12 +08:00
flex-shrink: 0;
2021-08-20 08:49:45 +08:00
}
2021-11-30 08:19:48 +08:00
.nav {
display: flex;
align-items: center;
white-space: nowrap;
margin: 0 20px;
2021-08-20 08:49:45 +08:00
}
.logo {
display: flex;
align-items: center;
text-decoration: none;
}
2021-11-30 08:19:48 +08:00
.leftNav > * {
margin-right: 12px;
2021-08-21 07:23:12 +08:00
}
2021-11-11 09:03:32 +08:00
.rightNav > * {
margin-right: 24px;
}
2021-11-30 08:19:48 +08:00
.nav > :last-child {
margin-right: 0;
}
.roomAvatar {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 36px;
height: 36px;
border-radius: 36px;
background-color: #5c56f5;
}
.roomAvatar > * {
fill: white;
stroke: white;
}
.backButton {
background: transparent;
border: none;
display: flex;
color: var(--textColor1);
cursor: pointer;
align-items: center;
}
.backButton h3 {
margin: 0;
}
.backButton > * {
margin-right: 12px;
}
.backButton > :last-child {
2021-11-11 09:03:32 +08:00
margin-right: 0;
}
2021-08-21 07:23:12 +08:00
.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;
}
2021-08-24 03:50:19 +08:00
2021-11-11 09:03:32 +08:00
@media (min-width: 800px) {
2021-08-24 03:50:19 +08:00
.header {
height: 98px;
}
2021-11-11 09:03:32 +08:00
}