jiti-meet/css/_subject.scss

84 lines
1.5 KiB
SCSS
Raw Normal View History

2019-03-12 17:45:53 +00:00
.subject {
box-sizing: border-box;
color: #fff;
margin-top: 20px;
position: absolute;
2019-03-12 17:45:53 +00:00
top: -120px;
transition: top .3s ease-in;
width: 100%;
z-index: $zindex3;
2019-03-12 17:45:53 +00:00
&.visible {
top: 0;
2019-03-12 17:45:53 +00:00
}
&.recording {
top: 0;
.subject-details-container {
opacity: 0;
transition: opacity .3s ease-in;
}
.subject-info-container .show-always {
transition: margin-left .3s ease-in;
}
&.visible {
.subject-details-container {
opacity: 1;
}
}
}
}
.subject-details-container {
display: flex;
}
2019-10-31 06:14:15 +00:00
.subject-info-container {
display: flex;
justify-content: center;
max-width: calc(100% - 280px);
margin: 0 auto;
&--full-width {
max-width: 100%;
2019-10-31 06:14:15 +00:00
}
2020-01-13 17:12:25 +00:00
@media (max-width: 500px) {
flex-wrap: wrap;
max-width: 100%;
2020-01-13 17:12:25 +00:00
}
2019-03-12 17:45:53 +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;
font-size: 14px;
line-height: 24px;
padding: 2px 16px;
height: 24px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.subject-timer {
background: rgba(0, 0, 0, 0.8);
border-radius: 0px 3px 3px 0px;
display: inline-block;
font-size: 12px;
line-height: 16px;
min-width: 34px;
padding: 6px 8px;
}