Files
ArtPlayer/docs/css/common.css
T
2018-11-08 22:26:56 +08:00

75 lines
1.0 KiB
CSS

html, body {
height: 100%;
}
.container {
display: flex;
height: 100%;
}
.part-left {
display: flex;
flex-direction: column;
width: 50%;
border-right: 1px solid #ddd;
}
.part-right {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.part-left .controls {
display: flex;
align-items: center;
height: 40px;
line-height: 40px;
padding: 0 20px;
border-bottom: 1px solid #ddd;
box-sizing: border-box;
}
.part-left .controls .logo {
height: 30px;
line-height: 30px;
flex: 1;
}
.part-left .controls .run {
height: 30px;
width: 100px;
}
.part-left .code {
flex: 1;
overflow: auto;
}
.part-left .code .CodeMirror {
height: 100%;
}
.part-left .code .CodeMirror pre {
padding-left: 7px;
line-height: 1.25;
}
.part-right .video-wrap {
display: flex;
height: 70%;
align-items: center;
justify-content: center;
border-bottom: 1px solid #ddd;
}
.part-right .video-wrap .artplayer-app {
width: 90%;
height: 65%;
}
.part-right .console {
position: relative;
height: 30%;
}