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

94 lines
1.8 KiB
SCSS

.userVideo {
width: 100%;
height: 100%;
background-color: rgb(7, 9, 11);
padding: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
.userVideoTitle {
text-align: center;
color: white;
font-size: 20px;
flex-shrink: 0;
position: relative;
>span {
cursor: pointer;
position: absolute;
right: 20px;
top: 50%;
transform: translate(0, -50%);
}
}
.userVideoContent {
flex-grow: 1;
display: flex;
flex-direction: column;
padding: 20px 40px 0;
.userVideoContentHeader {
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
margin-bottom: 10px;
padding: 0 10px;
>div:nth-child(1) {
display: flex;
align-items: center;
>div {
background-color: #181A1D;
border-radius: 4px;
padding: 4px 10px;
margin: 0 10px 0 0;
>span {
color: #EEEEEE;
font-size: 14px;
margin-right: 10px;
}
}
}
>div:nth-child(2) {
display: flex;
align-items: center;
>span {
color: #EEEEEE;
font-size: 14px;
margin-right: 10px;
}
}
}
.userVideoContentList {
display: flex;
align-items: center;
flex-wrap: wrap;
align-content: flex-start;
flex-grow: 1;
overflow-y: auto;
height: 0;
.userVideoContentListItem {
height: 20%;
width: calc(100% / 4 - 20px);
padding: 10px;
.userVideoContentListItemVideo {
background-color: #101317;
border: 1px solid #EBEBEB;
box-sizing: border-box;
width: 100%;
height: 100%;
}
}
}
}
}