WGShare.Client.Wx/pages/meeting/index.scss

439 lines
8.2 KiB
SCSS

/* pages/meeting/index.wxss */
@mixin user () {
&-user {
display: flex;
align-items: center;
position: absolute;
z-index: 3;
left: 6rpx;
background-color: rgba(0, 0, 0, 0.4);
border-radius: 4rpx;
padding: 2rpx;
bottom: 4rpx;
&-view {
width: 16rpx;
height: 16rpx;
border-radius: 4rpx;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
&-image {
width: 60%;
height: 60%;
}
}
&-image {
width: 16rpx;
height: 16rpx;
flex-shrink: 0;
}
&-audio {
flex-shrink: 0;
position: relative;
width: 16rpx;
height: 16rpx;
&-image {
width: 100%;
height: 100%;
}
&-stateImage {
position: absolute;
width: 100%;
height: 0%;
bottom: 0;
left: 0;
overflow: hidden;
&-image {
position: absolute;
bottom: 0;
left: 0;
width: 16rpx;
height: 16rpx;
}
}
}
&-text {
color: white;
font-size: 12rpx;
margin-left: 2rpx;
}
}
}
.meeting {
background-color: rgb(44, 48, 51);
height: 100vh;
display: flex;
flex-direction: column;
&-content {
flex-grow: 1;
display: flex;
position: relative;
box-sizing: border-box;
&-noAdmin {
position: absolute;
width: 100%;
height: 100%;
background-color: black;
z-index: 4;
&-image {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: calc(370rpx / 2);
height: calc(330rpx / 2);
}
}
&-video {
flex-grow: 1;
position: relative;
background-color: black;
&-avatar {
position: absolute;
left: 0%;
top: 0%;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
background-color: black;
z-index: 2;
}
&-fullscreen {
position: absolute;
left: 2%;
top: 2%;
color: white;
z-index: 2;
background-color: rgba(0, 0, 0, 0.4);
}
&-canvas {
width: 100%;
height: 100%;
background-color: black;
#player {
height: 100%;
width: 100%;
box-sizing: border-box;
}
}
@include user();
}
&-smallvideo {
overflow-y: auto;
position: relative;
&-up {
position: fixed;
z-index: 5;
right: 7.4%;
top: 14%;
color: white;
background-color: rgba(0, 0, 0, 0.5);
border: 1px white solid;
width: 30rpx;
height: 20rpx;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.4;
}
&-down {
position: fixed;
z-index: 5;
right: 7.4%;
bottom: 14%;
color: white;
background-color: rgba(0, 0, 0, 0.5);
border: 1px white solid;
width: 30rpx;
height: 20rpx;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.4;
}
&-box {
height: calc(100% / 3);
position: relative;
padding: 2rpx 4rpx;
box-sizing: border-box;
&-view {
height: 100%;
background-color: black;
border: 1px solid #7B96FF;
box-shadow: 0 0 13rpx #7b96ff;
box-sizing: border-box;
&-avatar {
border: 1px solid #7B96FF;
position: absolute;
left: 4rpx;
top: 2rpx;
width: calc(100% - 8rpx);
height: calc(100% - 4rpx);
z-index: 2;
background-color: black;
display: flex;
align-items: center;
justify-content: center;
}
&-canvas {
width: 100%;
height: 100%;
background-color: black;
&-play {
height: 100%;
width: 100%;
box-sizing: border-box;
}
}
@include user();
&-share {
position: absolute;
left: 50%;
top: 6%;
z-index: 2;
transform: translate(-50%, 0%);
background-color: rgba(0, 0, 0, 0.5);
color: white;
font-size: 10rpx;
padding: 2rpx 4rpx;
white-space: nowrap;
}
}
}
.active {
border: 1px solid #0fa01b !important;
}
}
}
&-footer {
flex-shrink: 0;
background-color: rgb(35, 36, 38);
display: flex;
align-items: center;
justify-content: space-between;
&-left {
display: flex;
align-items: center;
margin-left: 30rpx;
&-view {
display: flex;
flex-direction: column;
align-items: center;
padding: 4rpx 0;
width: 60rpx;
box-sizing: border-box;
&-view {
position: relative;
width: 22rpx;
height: 22rpx;
&-image {
width: 100%;
height: 100%;
}
&-audioImage {
width: 100%;
height: 0%;
position: absolute;
left: 50%;
bottom: 0;
transform: translate(-50%, 0);
overflow: hidden;
&-image {
position: absolute;
bottom: 0;
left: 0;
width: 22rpx;
height: 22rpx;
}
}
}
&-text {
font-size: 10rpx;
color: white;
}
}
}
&-right {
color: red;
font-size: 16rpx;
margin-right: 30rpx;
}
}
}
.user-popup {
width: 30vw;
height: 100vh;
background-color: #16191E;
padding: 10rpx 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
&-title {
color: white;
text-align: center;
font-size: 16rpx;
flex-shrink: 0;
border-bottom: 1px rgb(59, 59, 59) solid;
padding-bottom: 10rpx;
}
&-view {
overflow-y: auto;
padding: 4rpx 10rpx;
box-sizing: border-box;
flex-grow: 1;
&-view {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10rpx;
&-avatar {
display: flex;
align-items: center;
flex-grow: 1;
&-text {
flex-grow: 1;
color: white;
font-size: 14rpx;
margin: 0 2rpx;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
width: 0;
}
}
&-image {
display: flex;
align-items: center;
flex-shrink: 0;
&-icon {
width: 16rpx;
height: 16rpx;
}
}
}
}
}
.chat-popup {
width: 40vw;
height: 100vh;
background-color: #16191E;
padding: 10rpx 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
&-title {
color: white;
text-align: center;
border-bottom: 1px rgb(59, 59, 59) solid;
padding-bottom: 10rpx;
font-size: 16rpx;
}
&-list {
flex-grow: 1;
overflow-y: auto;
padding: 0 10rpx;
box-sizing: border-box;
&-view {
color: white;
font-size: 14rpx;
margin-bottom: 6rpx;
}
}
&-button {
padding: 0 10rpx;
display: flex;
flex-wrap: wrap;
&-view {
margin: 0 0 4rpx 4rpx;
color: white;
font-size: 12rpx;
background-color: #5575F2;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
}
&-input {
flex-shrink: 0;
display: flex;
align-items: center;
padding: 10rpx 10rpx 0;
border-top: 1px rgb(59, 59, 59) solid;
&-text {
flex-grow: 1;
background-color: black;
color: white;
font-size: 14rpx;
padding: 6rpx 4rpx;
}
&-submit {
color: white;
font-size: 14rpx;
margin-left: 4rpx;
background-color: #5575F2;
padding: 6rpx 10rpx;
border-radius: 4rpx;
}
}
}
.t-message {
transform: scale(0.4);
}