This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/components/cli/webSSH.scss
hanyuxia 0bf7ae1fbf feat:新功能
1.webshell模块:根据是否连接服务器更新tab的title及圆点颜色
fix:修改问题
1.webshell窗口最大化及最小化后获得焦点
2.webshell:浏览器改变大小,调用resize
3.下载功能可进行下载
4.xshell窗口样式修改:左边有白线、最大化后底部有白条、全屏后恢复正常大小时新增窗口,滚动条高度不对、全屏返回正常大小时滚动条高度不对、高度改变后新增窗口,滚动条高度不对
2020-03-13 11:13:30 +08:00

140 lines
2.5 KiB
SCSS

#shell-service {
border-top: 1px solid #aaa;
width: 100%;
left: 0;
position: fixed;
bottom: 0;
background: #fff;
z-index: 2000;
height: 300px;
#shell-service-resize-mask {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
display: none;
z-index: 1;
}
.shell-split {
cursor: ns-resize;
height: 8px;
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
justify-content: center;
background-color: #eaeaea;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
box-sizing: border-box;
position: relative;
z-index: 2;
font-size: 20px;
line-height: 8px;
color: #5f6368;
}
.shell-iconfont {
font-family: "cloudshell-scripts-iconfont";
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.console-title-icon{
font-size:17px;
color: #909399;
position: absolute;
top:8px;
}
.console-title-icon:hover:before{
color: #1989fa;
}
.el-dialog {
.el-dialog__body{
overflow-x:hidden !important;/*防止console窗口x轴出现滚动条*/
}
.el-dialog__header{
}
}
.el-tabs--border-card>.el-tabs__content {
padding: 0px !important;
}
.el-tabs {
/*background-color: #F5F7FA;*/
}
.el-tabs .el-tabs__header {
margin-left:90px;
margin-right:150px;
height:29px;
}
.el-tabs__nav-wrap{
margin-bottom: 0px;
}
.el-tabs__nav{
height:30px;
}
.el-tabs__item {
height:30px;
margin-top: -2px !important;
line-height: 30px;
font-size:14px !important;
}
.el-tabs__nav-prev {
line-height: 30px;
}
.el-tabs__nav-next{
line-height: 30px;
}
.el-menu--horizontal>.el-submenu .el-submenu__title {
height: 29px;
line-height: 29px;
}
.el-menu.el-menu--horizontal .el-submenu__title i:first-child:before{
color: #909399;
font-size:22px;
}
.el-menu.el-menu--horizontal .el-submenu__title i:first-child:hover:before{
color: #1989fa;
}
.el-submenu__title:hover{
background-color:#FFF !important;
}
.upload-body{
text-align: center;
}
.footer:before{
/*content: '';*/
/*clear:both;*/
/*display: block;*/
/*height: 40px;*/
}
}
.shell-service-max {
height: 100% !important;
position: fixed !important;
top: 0;
bottom: 0;
background: black !important;
}
/*-------*/
.dailog-custom{
width:100%;
}