From 85c7235b4fe8d38f6e635d6af17d19642d6f3421 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 15 Mar 2022 17:06:33 +0800
Subject: [PATCH] 样式更改
---
src/styles/login.scss | 294 ++++++++++++++++++++++++++++++++--------------------------
1 files changed, 163 insertions(+), 131 deletions(-)
diff --git a/src/styles/login.scss b/src/styles/login.scss
index 498d5af..92a197a 100644
--- a/src/styles/login.scss
+++ b/src/styles/login.scss
@@ -1,184 +1,216 @@
.login-container {
- display: flex;
- align-items: center;
- position: relative;
- width: 100%;
- height: 100%;
- margin: 0 auto;
- background-image: url("/img/bg/bg.jpg");
- background-size: 100% 100%;
+ display: flex;
+ align-items: center;
+ position: relative;
+ width: 100%;
+ height: 100%;
+ margin: 0 auto;
+ background-image: url("/img/bg/bg.jpg");
+ background-size: 100% 100%;
}
.login-weaper {
- margin: 0 auto;
- width: 1000px;
- box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+ width: 1000px;
+ height: 500px;
+ min-height: 500px;
+ box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
- .el-input-group__append {
- border: none;
- }
+ .el-input-group__append {
+ border: none;
+ }
}
.login-left,
-.login-border {
- position: relative;
- min-height: 500px;
- align-items: center;
- display: flex;
+.login-border,
+.login-radius,
+.login-radius-bg {
+ position: relative;
+ min-height: 500px;
+ align-items: center;
+ display: flex;
}
.login-left {
- border-top-left-radius: 5px;
- border-bottom-left-radius: 5px;
- justify-content: center;
- flex-direction: column;
- background-color: #409EFF;
- color: #fff;
- float: left;
- width: 50%;
- position: relative;
+ position: absolute;
+ left: 0;
+ top: -40px;
+ padding: 40px 0;
+ width: 34%;
+ border-top-left-radius: 20px;
+ border-bottom-left-radius: 20px;
+ justify-content: center;
+ flex-direction: column;
+ background-color: #02255e;
+ color: #fff;
+ z-index: 10;
+}
+
+.login-radius {
+ position: absolute;
+ left: 34%;
+ top: -40px;
+ padding: 40px 0;
+ width: 16%;
+ border-top-right-radius: 50%;
+ border-bottom-right-radius: 50%;
+ background-color: #02255e;
+ z-index: 10;
}
.login-left .img {
- width: 140px;
+ width: 140px;
}
.login-time {
- position: absolute;
- left: 25px;
- top: 25px;
- width: 100%;
- color: #fff;
- font-weight: 200;
- opacity: 0.9;
- font-size: 18px;
- overflow: hidden;
+ position: absolute;
+ left: 25px;
+ top: 25px;
+ width: 100%;
+ color: #fff;
+ font-weight: 200;
+ opacity: 0.9;
+ font-size: 18px;
+ overflow: hidden;
}
.login-left .title {
- margin-top: 60px;
- text-align: center;
- color: #fff;
- font-weight: 300;
- letter-spacing: 2px;
- font-size: 25px;
+ margin-top: 60px;
+ text-align: center;
+ color: #fff;
+ font-weight: 300;
+ letter-spacing: 2px;
+ font-size: 25px;
}
.login-border {
- border-left: none;
- border-top-right-radius: 5px;
- border-bottom-right-radius: 5px;
- color: #fff;
- background-color: #fff;
- width: 50%;
- float: left;
- box-sizing: border-box;
+ position: absolute;
+ right: 0;
+ border-left: none;
+ border-top-right-radius: 20px;
+ border-bottom-right-radius: 20px;
+ color: #fff;
+ background-color: #fff;
+ width: 50%;
+ box-sizing: border-box;
+}
+
+.login-radius-bg {
+ position: absolute;
+ left: 34%;
+ background-color: #fff;
+ width: 16%;
}
.login-main {
- margin: 0 auto;
- width: 65%;
- box-sizing: border-box;
+ margin: 0 auto;
+ width: 65%;
+ box-sizing: border-box;
}
-.login-main > h3 {
- margin-bottom: 20px;
+.login-main>h3 {
+ margin-bottom: 20px;
}
-.login-main > p {
- color: #76838f;
+.login-main>p {
+ color: #76838f;
}
.login-title {
- color: #333;
- margin-bottom: 40px;
- font-weight: 500;
- font-size: 22px;
- text-align: center;
- letter-spacing: 4px;
+ color: #333;
+ margin-bottom: 40px;
+ font-weight: 500;
+ font-size: 22px;
+ text-align: center;
+ letter-spacing: 4px;
}
.login-menu {
- margin-top: 40px;
- width: 100%;
- text-align: center;
+ margin-top: 40px;
+ width: 100%;
+ text-align: center;
- a {
- color: #999;
- font-size: 12px;
- margin: 0px 8px;
- }
+ a {
+ color: #999;
+ font-size: 12px;
+ margin: 0px 8px;
+ }
}
.login-submit {
- width: 100%;
- height: 45px;
- border: 1px solid #409EFF;
- background: none;
- font-size: 18px;
- letter-spacing: 2px;
- font-weight: 300;
- color: #409EFF;
- cursor: pointer;
- margin-top: 30px;
- font-family: "neo";
- transition: 0.25s;
+ width: 100%;
+ height: 45px;
+ border: 1px solid #02255e;
+ background: none;
+ font-size: 18px;
+ letter-spacing: 2px;
+ font-weight: 300;
+ color: #02255e;
+ cursor: pointer;
+ margin-top: 30px;
+ font-family: "neo";
+ transition: 0.25s;
}
.login-form {
- margin: 10px 0;
+ margin: 10px 0;
- i {
- color: #333;
- }
-
- .el-form-item__content {
- width: 100%;
- }
-
- .el-form-item {
- margin-bottom: 12px;
- }
-
- .el-input {
- input {
- padding-bottom: 10px;
- text-indent: 5px;
- background: transparent;
- border: none;
- border-radius: 0;
- color: #333;
- border-bottom: 1px solid rgb(235, 237, 242);
+ i {
+ color: #333;
}
- .el-input__prefix {
- i {
- padding: 0 5px;
- font-size: 16px !important;
- }
+ .el-form-item__content {
+ width: 100%;
}
- }
+
+ .el-form-item {
+ margin-bottom: 12px;
+ }
+
+ .el-input {
+ input {
+ padding-bottom: 10px;
+ text-indent: 5px;
+ background: transparent;
+ border: none;
+ border-radius: 0;
+ color: #333;
+ border-bottom: 1px solid rgb(235, 237, 242);
+ }
+
+ .el-input__prefix {
+ i {
+ padding: 0 5px;
+ font-size: 16px !important;
+ }
+ }
+ }
}
.login-code {
- display: flex;
- align-items: center;
- justify-content: space-around;
- margin: 0 0 0 10px;
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+ margin: 0 0 0 10px;
}
.login-code-img {
- margin-top: 2px;
- width: 100px;
- height: 38px;
- background-color: #fdfdfd;
- border: 1px solid #f0f0f0;
- color: #333;
- font-size: 14px;
- font-weight: bold;
- letter-spacing: 5px;
- line-height: 38px;
- text-indent: 5px;
- text-align: center;
- cursor:pointer!important;
-}
+ margin-top: 2px;
+ width: 100px;
+ height: 38px;
+ background-color: #fdfdfd;
+ border: 1px solid #f0f0f0;
+ color: #333;
+ font-size: 14px;
+ font-weight: bold;
+ letter-spacing: 5px;
+ line-height: 38px;
+ text-indent: 5px;
+ text-align: center;
+ cursor: pointer !important;
+}
\ No newline at end of file
--
Gitblit v1.9.3