WGShare.Client.Electron/src/components/UserVideo/index.module.scss

94 lines
1.9 KiB
SCSS

.userVideo {
width: 100%;
height: 100%;
background-color: rgb(7, 9, 11);
box-sizing: border-box;
display: flex;
flex-direction: column;
.userVideoContent {
flex-grow: 1;
display: flex;
flex-direction: column;
.userVideoContentHeader {
flex-shrink: 0;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
box-sizing: border-box;
>div:nth-child(1) {
display: flex;
align-items: center;
>div {
background-color: #181A1D;
border-radius: 4px;
padding: 4px 10px;
box-sizing: border-box;
margin: 0 10px 0 0;
display: flex;
align-items: center;
>span {
color: #EEEEEE;
font-size: 12px;
white-space: nowrap;
margin-right: 4px;
}
}
}
>div:nth-child(2) {
display: flex;
align-items: center;
>span {
color: #EEEEEE;
font-size: 12px;
margin-right: 4px;
}
}
}
.userVideoContentList {
display: flex;
align-items: center;
flex-wrap: wrap;
align-content: flex-start;
flex-grow: 1;
overflow-y: auto;
height: 0;
.userVideoContentListItem {
height: 13%;
width: calc(100% / 3 - 8px);
padding: 4px;
.userVideoContentListItemVideo {
background-color: #101317;
border: 1px solid #EBEBEB;
box-sizing: border-box;
width: 100%;
height: 100%;
position: relative;
>div:nth-child(1) {
background-color: rgb(253, 194, 41);
color: black;
position: absolute;
left: 4px;
bottom: 4px;
font-size: 12px;
z-index: 1;
padding: 2px 4px;
}
}
}
}
}
}