群晖6.0登录界面美化
js文件路径:\usr\syno\synoman\webman\desktop.js
// 5102 行 去掉登录框模糊背景
items: [this.blurBkg, this.statusBlurBkg]
// 改为
items: [this.statusBlurBkg]
// 5187行
doAlignDialog: function() {
var a = 0.45;
var b = Ext.lib.Dom.getViewHeight() * (a - 0.5);
Ext.fly("sds-login-dialog").alignTo(document.body, "c-c", [500, -30 + b]); //500为登录框从左到右移动像素
Ext.defer(function() {
Ext.fly("sds-login-dialog").alignTo(document.body, "c-c", [500, -30 + b])
}, 500, this)
},
css文件路径:\usr\syno\synoman\synoSDSjslib\sds-business.css
上代码
.sds-login-welcome-info { width: 520px!important; top: 500px!important; left: 100px!important; } .sds-login-welcome-info-title{ font-size: 30px!important; } #sds-login .sds-icon-text-field,.sds-login-welcome-info-container:first-child:after { border: none!important; } #login-btn.x-btn.syno-ux-button { border: none!important; background-image: none!important; background-color: #1877f2!important; }
效果如下:
共有 0 条评论