From ce6b5be6c0e1544bcc66f9fce9efec3ced724d95 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 11 七月 2020 15:46:29 +0800 Subject: [PATCH] # --- src/main/webapp/views/pda/login.html | 55 ++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 34 insertions(+), 21 deletions(-) diff --git a/src/main/webapp/views/pda/login.html b/src/main/webapp/views/pda/login.html index 96f9ad2..a7878d6 100644 --- a/src/main/webapp/views/pda/login.html +++ b/src/main/webapp/views/pda/login.html @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="UTF-8"> - <meta name="viewport" content="user-scalable=0"> + <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi, initial-scale=1.0, user-scalable=no"/> <title>绯荤粺鐧诲綍</title> <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all"> <script type="text/javascript" src="../../static/layui/layui.js"></script> @@ -12,52 +12,65 @@ height: 100%; overflow: hidden; } + body.login-bg { + color: #777; + height: 100%; + background-image: linear-gradient(to right, #ff9569 0%, #e92758 100%); + /*background-image: linear-gradient(-90deg, #29bdd9 0%, #276ace 100%);*/ + /*background: -webkit-linear-gradient(red, blue); !* Safari 5.1 - 6.0 *!;*/ + /*background-image: url("../static/image/login_bg.jpg");*/ + /*background-repeat: no-repeat;*/ + /*background-size: cover;*/ + /*background-position: top center;*/ + } #login-wrapper { box-sizing:border-box; background: #fff; height: 100%; - padding: 300px 100px; + padding: 60px 40px; text-align: center; overflow: hidden; } - #login-wrapper h1 { - font-size: xx-large; font-weight: bolder; - margin-bottom: 100px; + margin-bottom: 20px; letter-spacing: 5px; - transform:scale(3); - -webkit-transform:scale(3); - -moz-transform:scale(3); + /*transform:scale(3);*/ + /*-webkit-transform:scale(3);*/ + /*-moz-transform:scale(3);*/ } - .layui-form-item { - margin-bottom: 50px; + margin-bottom: 15px; position: relative; } .layui-form-item .layui-input { - height: 120px; - padding-left: 40px; - font-size: xx-large; - border: 1px solid #939393; + height: 30px; + padding-left: 20px; + font-size: 14px; + border: 1px solid #767676; color: inherit; + border-radius: 3px; + transition: 0.3s; } - + .layui-input:hover, .layui-textarea:hover { + border-color: #0767aa !important; + border-width: 1.5px; + } .login-submit { - margin-top: 80px; + margin-top: 20px; } #login-button { background-color: #0767aa; - /*width: 80%;*/ - font-size: xx-large; + width: 50%; + font-size: 14px; font-weight: bolder; - border-radius: 4px; - height: 120px; + border-radius: 5px; + height: 40px; } </style> </head> -<body> +<body class="login-bg"> <div id="login-wrapper"> <header> -- Gitblit v1.9.1