2019-03-12 17:45:53 +00:00
|
|
|
.subject {
|
2021-04-08 08:35:26 +00:00
|
|
|
color: #fff;
|
2021-12-23 13:06:14 +00:00
|
|
|
transition: opacity .6s ease-in-out;
|
2022-02-24 12:20:37 +00:00
|
|
|
z-index: $toolbarZ + 2;
|
2021-12-21 10:22:30 +00:00
|
|
|
margin-top: 20px;
|
|
|
|
opacity: 0;
|
2019-03-12 17:45:53 +00:00
|
|
|
|
|
|
|
&.visible {
|
2021-12-21 10:22:30 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&#autoHide.with-always-on {
|
|
|
|
overflow: hidden;
|
2021-12-23 13:06:14 +00:00
|
|
|
animation: hideSubject forwards .6s ease-out;
|
2022-07-12 11:25:56 +00:00
|
|
|
margin-left: 4px;
|
2021-12-21 10:22:30 +00:00
|
|
|
|
|
|
|
& > .subject-info-container {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.visible {
|
2021-12-23 13:06:14 +00:00
|
|
|
animation: showSubject forwards .6s ease-out;
|
2021-12-21 10:22:30 +00:00
|
|
|
}
|
2021-07-21 08:46:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-08 08:35:26 +00:00
|
|
|
.subject-info-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 0 auto;
|
2021-09-20 18:12:56 +00:00
|
|
|
height: 28px;
|
2020-01-13 17:12:25 +00:00
|
|
|
|
2021-04-08 08:35:26 +00:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
flex-wrap: wrap;
|
2020-01-13 17:12:25 +00:00
|
|
|
}
|
2019-03-12 17:45:53 +00:00
|
|
|
}
|
2021-04-08 08:35:26 +00:00
|
|
|
|
|
|
|
.subject-info {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
max-width: 80%;
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subject-text {
|
|
|
|
background: rgba(0, 0, 0, 0.6);
|
|
|
|
border-radius: 3px 0px 0px 3px;
|
2021-09-20 18:12:56 +00:00
|
|
|
box-sizing: border-box;
|
2021-04-08 08:35:26 +00:00
|
|
|
font-size: 14px;
|
2021-09-20 18:12:56 +00:00
|
|
|
line-height: 28px;
|
|
|
|
padding: 0 16px;
|
|
|
|
height: 28px;
|
2021-12-21 10:22:30 +00:00
|
|
|
max-width: 324px;
|
2021-09-20 18:12:56 +00:00
|
|
|
|
|
|
|
@media (max-width: 300px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--content {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2021-04-08 08:35:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.subject-timer {
|
|
|
|
background: rgba(0, 0, 0, 0.8);
|
|
|
|
border-radius: 0px 3px 3px 0px;
|
2021-09-20 18:12:56 +00:00
|
|
|
box-sizing: border-box;
|
2021-04-08 08:35:26 +00:00
|
|
|
font-size: 12px;
|
2021-09-20 18:12:56 +00:00
|
|
|
line-height: 28px;
|
2021-04-08 08:35:26 +00:00
|
|
|
min-width: 34px;
|
2021-09-20 18:12:56 +00:00
|
|
|
padding: 0 8px;
|
|
|
|
height: 28px;
|
|
|
|
|
|
|
|
@media (max-width: 300px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.details-container {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
height: 48px;
|
2021-12-21 10:22:30 +00:00
|
|
|
max-width: calc(100% - 24px);
|
2021-04-08 08:35:26 +00:00
|
|
|
}
|
2021-09-24 08:13:55 +00:00
|
|
|
|
2021-12-21 10:22:30 +00:00
|
|
|
@keyframes hideSubject {
|
|
|
|
0% {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
max-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes showSubject {
|
|
|
|
0% {
|
|
|
|
max-width: 0%;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|