element-call/src/Header.module.css

141 lines
1.9 KiB
CSS
Raw Normal View History

2021-08-20 00:49:45 +00:00
.header {
position: relative;
display: flex;
2021-11-30 00:19:48 +00:00
justify-content: space-between;
2021-08-20 00:49:45 +00:00
align-items: center;
user-select: none;
2021-08-20 23:23:12 +00:00
flex-shrink: 0;
2021-08-20 00:49:45 +00:00
}
2021-11-30 00:19:48 +00:00
.nav {
display: flex;
2021-12-10 18:54:18 +00:00
flex: 1;
2021-11-30 00:19:48 +00:00
align-items: center;
white-space: nowrap;
2021-12-10 18:54:18 +00:00
padding: 0 20px;
height: 64px;
2021-08-20 00:49:45 +00:00
}
2021-12-23 22:40:23 +00:00
.headerLogo {
display: none;
2021-08-20 00:49:45 +00:00
align-items: center;
text-decoration: none;
}
2021-12-23 22:40:23 +00:00
.leftNav.hideMobile {
display: none;
}
2021-11-30 00:19:48 +00:00
.leftNav > * {
margin-right: 12px;
2021-08-20 23:23:12 +00:00
}
2021-12-23 22:40:23 +00:00
.leftNav h3 {
2022-01-05 19:52:23 +00:00
margin: 0;
2021-12-23 22:40:23 +00:00
}
2021-12-10 18:54:18 +00:00
.rightNav {
justify-content: flex-end;
}
2021-11-11 01:03:32 +00:00
.rightNav > * {
margin-right: 24px;
}
2022-01-05 00:00:13 +00:00
.rightNav.hideMobile {
display: none;
}
2021-11-30 00:19:48 +00:00
.nav > :last-child {
margin-right: 0;
}
.roomAvatar {
position: relative;
2021-12-23 22:40:23 +00:00
display: none;
2021-11-30 00:19:48 +00:00
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;
2022-06-01 15:48:17 +00:00
color: var(--primary-content);
2021-11-30 00:19:48 +00:00
cursor: pointer;
align-items: center;
}
.backButton h3 {
margin: 0;
}
.backButton > * {
margin-right: 12px;
}
.backButton > :last-child {
2021-11-11 01:03:32 +00:00
margin-right: 0;
}
2021-08-20 23:23:12 +00: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-23 19:50:19 +00:00
.versionMismatchWarning {
padding-left: 15px;
}
.versionMismatchWarning::before {
content: "";
display: inline-block;
position: relative;
top: 1px;
width: 16px;
height: 16px;
mask-image: url("./icons/AlertTriangleFilled.svg");
mask-repeat: no-repeat;
mask-size: contain;
background-color: var(--alert);
padding-right: 5px;
}
2021-11-11 01:03:32 +00:00
@media (min-width: 800px) {
2021-12-23 22:40:23 +00:00
.headerLogo,
.roomAvatar,
2022-01-05 00:00:13 +00:00
.leftNav.hideMobile,
.rightNav.hideMobile {
2021-12-23 22:40:23 +00:00
display: flex;
}
.leftNav h3 {
font-size: 18px;
}
2021-12-10 18:54:18 +00:00
.nav {
2021-12-23 22:40:23 +00:00
height: 76px;
2021-08-23 19:50:19 +00:00
}
2021-11-11 01:03:32 +00:00
}