From c12abe5132dd455e701c2bb2a5a2b2efa2751bcd Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Mon, 7 Nov 2016 15:59:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86login.css=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=BD=91=E9=A1=B5=E5=8A=A0=E8=BD=BD=E6=A0=B7=E5=BC=8F=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Bootstrap.Admin.csproj | 1 + Bootstrap.Admin/Content/css/login.css | 95 +++++++++++++++++++++++++ Bootstrap.Admin/Content/css/site.css | 90 ----------------------- Bootstrap.Admin/Views/Home/Login.cshtml | 2 +- 4 files changed, 97 insertions(+), 91 deletions(-) create mode 100644 Bootstrap.Admin/Content/css/login.css diff --git a/Bootstrap.Admin/Bootstrap.Admin.csproj b/Bootstrap.Admin/Bootstrap.Admin.csproj index 738c9eb1..f5477f19 100644 --- a/Bootstrap.Admin/Bootstrap.Admin.csproj +++ b/Bootstrap.Admin/Bootstrap.Admin.csproj @@ -113,6 +113,7 @@ + diff --git a/Bootstrap.Admin/Content/css/login.css b/Bootstrap.Admin/Content/css/login.css new file mode 100644 index 00000000..dcef2326 --- /dev/null +++ b/Bootstrap.Admin/Content/css/login.css @@ -0,0 +1,95 @@ +body { + color: #797979; + background: #f1f2f7; + font-family: 'Open Sans', sans-serif; + padding: 0px !important; + margin: 0px !important; + font-size: 13px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-font-smoothing: antialiased; +} + +/*Login*/ +.form-signin { + width: 330px; + max-width: 330px; + margin: 0 auto; + background: #fff; + border-radius: 5px; + -webkit-border-radius: 5px; + border: solid 1px #ddd; +} + + .form-signin h2.form-signin-heading { + margin: 0; + padding: 20px 15px; + text-align: center; + background: #41cac0; + border-radius: 5px 5px 0 0; + -webkit-border-radius: 5px 5px 0 0; + color: #fff; + font-size: 18px; + text-transform: uppercase; + font-weight: 300; + font-family: 'Open Sans', sans-serif; + } + + .form-signin div.login-wrap { + padding: 20px; + } + + .form-signin div.login-wrap .login-footer { + padding-bottom: 15px; + } + + .form-signin div.login-wrap .login-footer .login-create { + float: left; + } + + .form-signin div.login-wrap .login-footer .login-reset { + float: right; + } + + .form-signin div.input-group { + margin-bottom: 15px; + border-radius: 5px; + -webkit-border-radius: 5px; + border: 1px solid #eaeaea; + box-shadow: none; + font-size: 12px; + } + + .form-signin div.input-group > span { + top: 0; + background-color: #5bc0de; + } + + .form-signin div.input-group > span, div.input-group > input { + border-color: #5bc0de; + } + + .form-signin .btn-login { + background: #f67a6e; + color: #fff; + text-transform: uppercase; + font-weight: 300; + font-family: 'Open Sans', sans-serif; + box-shadow: 0 4px #e56b60; + margin-bottom: 20px; + outline: none !important; + } + + .form-signin .checkbox { + padding-left: 24px; + } + + .form-signin .checkbox > input { + top: -1px; + } + + .form-signin .checkbox > label { + padding-left: 4px; + } + +/*end login*/ \ No newline at end of file diff --git a/Bootstrap.Admin/Content/css/site.css b/Bootstrap.Admin/Content/css/site.css index 537bd101..c15536ac 100644 --- a/Bootstrap.Admin/Content/css/site.css +++ b/Bootstrap.Admin/Content/css/site.css @@ -524,90 +524,6 @@ a.logo { } /*end*/ -/*Login*/ -.form-signin { - width: 330px; - max-width: 330px; - margin: 0 auto; - background: #fff; - border-radius: 5px; - -webkit-border-radius: 5px; - border: solid 1px #ddd; -} - - .form-signin h2.form-signin-heading { - margin: 0; - padding: 20px 15px; - text-align: center; - background: #41cac0; - border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - color: #fff; - font-size: 18px; - text-transform: uppercase; - font-weight: 300; - font-family: 'Open Sans', sans-serif; - } - - .form-signin div.login-wrap { - padding: 20px; - } - - .form-signin div.login-wrap .login-footer { - padding-bottom: 15px; - } - - .form-signin div.login-wrap .login-footer .login-create { - float: left; - } - - .form-signin div.login-wrap .login-footer .login-reset { - float: right; - } - - .form-signin div.input-group { - margin-bottom: 15px; - border-radius: 5px; - -webkit-border-radius: 5px; - border: 1px solid #eaeaea; - box-shadow: none; - font-size: 12px; - } - - .form-signin div.input-group > span { - top: 0; - background-color: #5bc0de; - } - - .form-signin div.input-group > span, div.input-group > input { - border-color: #5bc0de; - } - - .form-signin .btn-login { - background: #f67a6e; - color: #fff; - text-transform: uppercase; - font-weight: 300; - font-family: 'Open Sans', sans-serif; - box-shadow: 0 4px #e56b60; - margin-bottom: 20px; - outline: none !important; - } - - .form-signin .checkbox { - padding-left: 24px; - } - - .form-signin .checkbox > input { - top: -1px; - } - - .form-signin .checkbox > label { - padding-left: 4px; - } - -/*end login*/ - .form-inline .form-group label.control-label { margin-right: 10px; width: 80px; @@ -678,12 +594,6 @@ input.valid { padding-left: 0; } -.lgbMenu { - float: left; - padding-top: 4px; - padding-left: 6px; -} - ul.breadcrumb { position: absolute; top: 56px; diff --git a/Bootstrap.Admin/Views/Home/Login.cshtml b/Bootstrap.Admin/Views/Home/Login.cshtml index be1f7daf..076a1167 100644 --- a/Bootstrap.Admin/Views/Home/Login.cshtml +++ b/Bootstrap.Admin/Views/Home/Login.cshtml @@ -4,7 +4,7 @@ Layout = "~/Views/Shared/_Layout.cshtml"; } @section css { - + } @section javascript {