From 3bbe9a88d9ab747ee2e4f01128547efd1fc20038 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Mon, 29 Jan 2018 16:27:17 +0800 Subject: [PATCH] 编译精简完成 --- src/app/routes/passport/login/login.component.less | 75 +++++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/src/app/routes/passport/login/login.component.less b/src/app/routes/passport/login/login.component.less new file mode 100644 index 0000000..601a0a3 --- /dev/null +++ b/src/app/routes/passport/login/login.component.less @@ -0,0 +1,75 @@ +@import '~@delon/theme/styles/antd/themes/default.less'; + +:host { + display: block; + width: 368px; + margin: 0 auto; + + ::ng-deep { + .tabs { + padding: 0 2px; + margin: 0 -2px; + .ant-tabs-tab { + font-size: 16px; + line-height: 24px; + } + .ant-input-affix-wrapper .ant-input:not(:first-child) { + padding-left: 34px; + } + } + + .ant-tabs .ant-tabs-bar { + border-bottom: 0; + margin-bottom: 24px; + text-align: center; + } + + .ant-form-item { + margin-bottom: 24px; + } + + .icon-alipay, .icon-taobao, .icon-weibo { + display: inline-block; + width: 24px; + height: 24px; + background: url('https://gw.alipayobjects.com/zos/rmsportal/itDzjUnkelhQNsycranf.svg'); + margin-left: 16px; + vertical-align: middle; + cursor: pointer; + } + + .icon-alipay { + background-position: -24px 0; + + &:hover { + background-position: 0 0; + } + } + + .icon-taobao { + background-position: -24px -24px; + + &:hover { + background-position: 0 -24px; + } + } + + .icon-weibo { + background-position: -24px -48px; + + &:hover { + background-position: 0 -48px; + } + } + + .other { + text-align: left; + margin-top: 24px; + line-height: 22px; + + .register { + float: right; + } + } + } +} -- Gitblit v1.8.0