1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- /*分屏样式*/
- /*分屏*/
- .split_screen {
- position: absolute;
- width: 100%;
- height: 70%;
- background-color: #0b0b0b;
- box-sizing: border-box;
- overflow: hidden;
- color:#ffffff;
- font-size:20px;
- /*分屏项(信号源)*/
- .sitem {
- position: absolute;
- border: 1px solid #000000;
- color:#fff;
- background-color: #717171;
- // 关闭信号源开窗按钮
- .closeBtn {
- position: absolute;
- right:2px;
- top:2px;
- color:#ffffff;
- width:20px;
- height: 20px;
- text-align: center;
- line-height: 20px;
- font-size:30px;
- z-index: 99999;
- cursor: default;
- }
- }
- /*分屏项(栅格)*/
- .sitem2 {
- color:#000;
- border: 1px solid #3b3b3b;
- margin-right: -1px;
- margin-bottom: -1px;
- }
- }
- /*1分屏*/
- .split_screen_one {
- display: grid;
- grid-template-columns: repeat(1,100%);
- grid-template-rows: repeat(1,100%);
- }
- /*4分屏*/
- .split_screen_four {
- display: grid;
- grid-template-columns: repeat(2,50%);
- grid-template-rows: repeat(2,50%);
- }
- /*9分屏*/
- .split_screen_nine {
- display: grid;
- grid-template-columns: repeat(3,33.3333333%);
- grid-template-rows: repeat(3,33.3333333%);
- }
- /*16分屏*/
- .split_screen_sixteen {
- display: grid;
- grid-template-columns: repeat(4,25%);
- grid-template-rows: repeat(4,25%);
- }
|