Skip to content

Instantly share code, notes, and snippets.

@rocka
Last active December 18, 2018 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rocka/836e25f1fe18bb06df4c38344682b0d9 to your computer and use it in GitHub Desktop.
Save rocka/836e25f1fe18bb06df4c38344682b0d9 to your computer and use it in GitHub Desktop.
UserSytles for Stylus/Stylish
/* 隐藏扫码登录 */
.login_scan_panel {
display: none !important;
}
/* 显示账号密码登录 */
.login_account_pwd_panel {
display: block !important;
}
/* 修复 iframe 横向滚动条 */
.updateInfo {
margin: unset !important;
width: unset !important;
}
/* 清理邮箱推荐 */
#today_bd,
.today_linkPanel.addrtitle > li.today_linkItem:first-child,
.today_linkPanel.addrtitle > li.today_linkItem:last-child {
display: none;
}
/* based on http://userstyles.org/styles/134090 */
/* 登录页背景图片 */
div.login-newbg {
/*background-image: url("...") !important;*/
}
/* 登录表单的容器 */
div.content-layout {
top: 45px;
}
/* 扩宽登录表单容器并更改其位置 */
.login-box-warp {
width: 650px;
top: 60px;
right: 50px;
}
/* 主要作用于天猫登录页的登录表单,此处对淘宝登录影响不大*/
.bd {
width: 650px;
}
#J_LoginBox {
width: 650px;
}
/* 覆盖在背景上的广域广告链接,登录提示,二维码与账号密码的切换按钮,二维码下方的'密码登录'和'注册'链接 */
.login-adlink,
.login-tip,
#J_Quick2Static,
div.login-links:nth-child(5) {
display: none !important;
}
/* 显示账号密码登登录 */
#J_StaticForm {
display: inline-block !important;
padding-right: 35px;
border-right-style: dashed;
}
/* 将二维码登录移动至容器右上角 */
.quick-form {
width: 300px;
float: right !important;
}
UserSytles for Stylus/Stylish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment