2023-01-04 00:58:38 +08:00
|
|
|
/*
|
|
|
|
Copyright 2022 New Vector Ltd
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
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;
|
2021-12-11 02:54:18 +08:00
|
|
|
flex: 1;
|
2021-11-30 08:19:48 +08:00
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
2021-12-11 02:54:18 +08:00
|
|
|
padding: 0 20px;
|
|
|
|
height: 64px;
|
2021-08-20 08:49:45 +08:00
|
|
|
}
|
|
|
|
|
2021-12-24 06:40:23 +08:00
|
|
|
.headerLogo {
|
|
|
|
display: none;
|
2021-08-20 08:49:45 +08:00
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-12-24 06:40:23 +08:00
|
|
|
.leftNav.hideMobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-30 08:19:48 +08:00
|
|
|
.leftNav > * {
|
|
|
|
margin-right: 12px;
|
2021-08-21 07:23:12 +08:00
|
|
|
}
|
|
|
|
|
2021-12-24 06:40:23 +08:00
|
|
|
.leftNav h3 {
|
2022-01-06 03:52:23 +08:00
|
|
|
margin: 0;
|
2021-12-24 06:40:23 +08:00
|
|
|
}
|
|
|
|
|
2021-12-11 02:54:18 +08:00
|
|
|
.rightNav {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2021-11-11 09:03:32 +08:00
|
|
|
.rightNav > * {
|
|
|
|
margin-right: 24px;
|
|
|
|
}
|
|
|
|
|
2022-01-05 08:00:13 +08:00
|
|
|
.rightNav.hideMobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-30 08:19:48 +08:00
|
|
|
.nav > :last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.roomAvatar {
|
|
|
|
position: relative;
|
2021-12-24 06:40:23 +08:00
|
|
|
display: none;
|
2021-11-30 08:19:48 +08:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
border-radius: 36px;
|
|
|
|
background-color: #5c56f5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.roomAvatar > * {
|
|
|
|
fill: white;
|
|
|
|
stroke: white;
|
|
|
|
}
|
|
|
|
|
2021-08-21 07:23:12 +08:00
|
|
|
.userName {
|
|
|
|
font-weight: 600;
|
|
|
|
margin-right: 8px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
2022-06-10 04:56:58 +08:00
|
|
|
.versionMismatchWarning {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.versionMismatchWarning::before {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2022-06-10 19:06:06 +08:00
|
|
|
top: 1px;
|
2022-06-10 04:56:58 +08:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
mask-image: url("./icons/AlertTriangleFilled.svg");
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
2023-08-29 04:45:17 +08:00
|
|
|
background-color: var(--cpd-color-icon-critical-primary);
|
2022-06-10 19:06:06 +08:00
|
|
|
padding-right: 5px;
|
2022-06-10 04:56:58 +08:00
|
|
|
}
|
|
|
|
|
2021-11-11 09:03:32 +08:00
|
|
|
@media (min-width: 800px) {
|
2021-12-24 06:40:23 +08:00
|
|
|
.headerLogo,
|
|
|
|
.roomAvatar,
|
2022-01-05 08:00:13 +08:00
|
|
|
.leftNav.hideMobile,
|
|
|
|
.rightNav.hideMobile {
|
2021-12-24 06:40:23 +08:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.leftNav h3 {
|
2022-12-10 03:25:02 +08:00
|
|
|
font-size: var(--font-size-subtitle);
|
2021-12-24 06:40:23 +08:00
|
|
|
}
|
|
|
|
|
2021-12-11 02:54:18 +08:00
|
|
|
.nav {
|
2021-12-24 06:40:23 +08:00
|
|
|
height: 76px;
|
2021-08-24 03:50:19 +08:00
|
|
|
}
|
2021-11-11 09:03:32 +08:00
|
|
|
}
|