mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
89 lines
1.3 KiB
CSS
89 lines
1.3 KiB
CSS
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
height: 100%;
|
|
}
|
|
|
|
.part-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 700px;
|
|
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 .menus {
|
|
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: 800px;
|
|
height: 450px;
|
|
}
|
|
|
|
.part-right .console {
|
|
height: 30%;
|
|
}
|
|
|
|
.part-right .console textarea {
|
|
color: rgba(0, 0, 0, 0.8);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 10px 20px;
|
|
overflow-y: scroll;
|
|
border: none;
|
|
outline: none;
|
|
resize: none;
|
|
box-sizing: border-box;
|
|
}
|