手动抠下的wordpress登录页面样式
CSS文件 login.css
body, html {
height: 100%;
margin: 0;
padding: 0;
}
html[Attributes Style] {
-webkit-locale: "zh-CN";
}
user agent stylesheet
html {
display: block;
}
head {
display: none;
}
body {
background: #f1f1f1;
min-width: 0;
color: #444;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
font-size: 13px;
line-height: 1.4em;
}
body {
display: block;
}
#login {
width: 320px;
padding: 8% 0 0;
margin: auto;
}
.login * {
margin: 0;
padding: 0;
}
h1 {
display: block;
-webkit-margin-before: 0.67em;
-webkit-margin-after: 0.67em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
}
.login h1 a {
background-image: none,url(images/wordpress-logo.svg?ver=20131107);
background-size: 84px;
background-position: center top;
background-repeat: no-repeat;
color: #444;
height: 84px;
font-size: 20px;
line-height: 1.3em;
margin: 0 auto 25px;
padding: 0;
width: 84px;
text-indent: -9999px;
outline: 0;
display: block;
}
.login form {
margin-top: 20px;
margin-left: 0;
padding: 26px 24px 46px;
background: #fff;
box-shadow: 0 1px 3px rgba(0,0,0,.13);
}
.login form, .login h1 a {
overflow: hidden;
font-weight: 400;
}
.login h1 a, form p.submit a.cancel:hover {
text-decoration: none;
}
a {
transition-property: border,background,color;
transition-duration: .05s;
transition-timing-function: ease-in-out;
}
a:-webkit-any-link {
cursor: pointer;
}
.login #pass-strength-result, .login h1, .privacy_requests .column-type {
text-align: center;
}
#login_error, .login .message, .login .success {
border-left: 4px solid #00a0d2;
padding: 12px;
margin-left: 0;
margin-bottom: 20px;
background-color: #fff;
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
p {
line-height: 1.5;
}
user agent stylesheet
p {
display: block;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
}
form {
display: block;
}
label {
vertical-align: middle;
}
label {
cursor: pointer;
}
.login form .input, .login form input[type=checkbox], .login input[type=text] {
background: #fbfbfb;
}
.login form .input, .login input[type=text] {
font-size: 24px;
width: 100%;
padding: 3px;
margin: 2px 6px 16px 0;
}
@media screen and (max-width: 782px)
load-styles.php…n&ver=4.9.6:10
input[type=text], input[type=search], input[type=password], input[type=email], input[type=number] {
-webkit-appearance: none;
}
input[type=text], input[type=search], input[type=radio], input[type=tel], input[type=time], input[type=url], input[type=week], input[type=password], input[type=checkbox], input[type=color], input[type=date], input[type=datetime], input[type=datetime-local], input[type=email], input[type=month], input[type=number], select, textarea {
border: 1px solid #ddd;
box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
color: #32373c;
outline: 0;
transition: 50ms border-color ease-in-out;
}
@media screen and (max-width: 782px)
load-styles.php…in&ver=4.9.6:6
input[type=text], input[type=search], input[type=password], input[type=email], input[type=number] {
}
input, select, textarea {
border-radius: 0;
}
button, input, select, textarea {
font-family: inherit;
font-weight: inherit;
}
#pass-strength-result, .color-option, input, textarea {
box-sizing: border-box;
}
input, textarea, select, button {
text-rendering: auto;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
display: inline-block;
text-align: start;
font: 400 13.3333px Arial;
}
input, textarea, select, button, meter, progress {
-webkit-writing-mode: horizontal-tb;
}
p {
line-height: 1.5;
}
p {
display: block;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
}
.login form, .login h1 a {
overflow: hidden;
font-weight: 400;
}
.wp-core-ui .button, .wp-core-ui .button.button-large, .wp-core-ui .button.button-small, a.preview, input#publish, input#save-post {
padding: 6px 14px;
line-height: normal;
font-size: 14px;
vertical-align: middle;
height: auto;
margin-bottom: 4px;
}
.login .button-primary {
float: right;
}
.wp-core-ui .button-primary {
background: #0085ba;
border-color: #0073aa #006799 #006799;
box-shadow: 0 1px 0 #006799;
color: #fff;
text-decoration: none;
text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
}
.wp-core-ui .button, .wp-core-ui .button-primary, .wp-core-ui .button-secondary {
display: inline-block;
margin: 0;
cursor: pointer;
border-width: 1px;
border-style: solid;
-webkit-appearance: none;
border-radius: 3px;
white-space: nowrap;
box-sizing: border-box;
}
button, input, select, textarea {
font-family: inherit;
font-weight: inherit;
}
input[type="button" i], input[type="submit" i], input[type="reset" i], input[type="file" i]::-webkit-file-upload-button, button {
align-items: flex-start;
text-align: center;
border-image: initial;
}
input[type="button" i], input[type="submit" i], input[type="reset" i] {
user-select: none;
}
input {
-webkit-rtl-ordering: logical;
}
input, textarea, select, button {
text-rendering: auto;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
font: 400 13.3333px Arial;
}
登录页面:
<html lang="en"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<link rel="stylesheet" href="/css/login.css">
</head> <body class="login login-action-login wp-core-ui locale-zh-cn">
<div id="login">
<h1>卖家管理系统后台</h1><br>
<p class="message"> ${(login_msg?if_exists)}<br></p> <form name="loginform" id="loginform" action="/user/login/addlogin" name="loginfrom" accept-charset="utf-8" method="post">
<p>
<label for="user_login">用户名<br>
<input type="text" id="user_login" aria-describedby="login_error" class="input" name="username" value="${username?if_exists}" size="20"></label>
</p>
<p>
<label for="user_pass">密码<br>
<input type="password" id="user_pass" aria-describedby="login_error" class="input" name="password" value="${password?if_exists}" size="20"></label>
</p> <p class="submit">
<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="登录"> </p>
</form> </body>
</html>
手动抠下的wordpress登录页面样式的更多相关文章
- 重写ajax方法实现特定情况下跳转登录页面
jQuery(function($){ // 备份jquery的ajax方法 var _ajax=$.ajax; // 重写ajax方法, $.ajax=function(opt){ var _suc ...
- 单点登录CAS使用记(四):为登录页面加上验证码
CAS默认的登录页面样式如下,只有用户名与密码两项验证项目. 现在需要为首页登录加上验证码功能. 第一步:首页对默认登录页面的样式进行了调整,使其看上去还算美观. 在页面上加上了验证码项目. 第二步: ...
- php源码建博客1--搭建站点-实现登录页面
主要: 站点搭建 实现登录页面 分析及改进 站点搭建 1) 在apache安装目录下: [conf\extra\httpd-vhosts.conf]加入站点配置 <VirtualHost *: ...
- (二)spring Security 自定义登录页面与校验用户
文章目录 配置 security 配置下 MVC 自定义登录页面 自定义一个登陆成功欢迎页面 效果图 小结: 使用 Spring Boot 的快速创建项目功能,勾选上本篇博客需要的功能:web,sec ...
- 关于WordPress登录后跳转到指定页面
前面在写模版的时候,有朋友要求网站登录后要跳转的到指定的页面.这个从前还真没遇到过.于是就用万能的搜索(很少百度)找了下,方法基本上就是一个,代码如下: <?php // Fields f ...
- Selenium2学习-024-WebUI自动化实战实例-022-网站不同分辨率下页面样式展示兼容性问题解决方案 -- 设置浏览器显示区域大小(无人值守,节约测试成本的福音,BOSS 最爱)
在 Web UI 自动化测试的过程中,通常会测试页面在不同分辨率下的显示效果,即在不同大小的显示器上全屏浏览器后的页面展示,此种测试方法需要购置不同大小的显示器,或者频繁的设置屏幕分辨率,不仅浪费了大 ...
- vue_cli下开发一个简单的模块权限系统之建立登录页面并且实现在浏览器输入地址出现内容
新建一个Login.vue(登录页面,先把Hello.vue的内容复制过来即可) 然后我们打开router下面的index.js,第一个箭头:(引入vue路由)第二个箭头(引入我们新建的Login.v ...
- struts2拦截器实现session超时返回登录页面(iframe下跳转到其父页面)
需求:session超时时,返回登录页面,由于页面嵌套在iframe下,因此要跳转到登录页面的父页面,但是首页,登录页面等不需要进行跳转 实现: java文件:SessionIterceptor.ja ...
- wordpress登录账号之后才能查看页面,实例
函数: <?php auth_redirect(); ?> 例子: 要求用户登录才能查看页面 if(!is_user_logged_in()){ auth_redirect(); } 源文 ...
随机推荐
- WebLogic(12C)——几个基本概念
转http://blog.csdn.net/hanxuemin12345/article/details/46287597 目录(?)[-] 域Domain 服务器Server 机器Machine W ...
- Redis高可用及分片集群
一.主从复制 使用异步复制 一个服务器可以有多个从服务器 从服务器也可以有自己的从服务器 复制功能不会阻塞主服务器 可以通过服务功能来上主服务器免于持久化操作,由从服务器去执行持久化操作即可. 以下是 ...
- MYISM表并发写请求过多 导致无法被读取解决方案
MyISAM锁调度是如何实现的呢,这也是一个很关键的问题.例如,当一个进程请求某个MyISAM表的读锁,同时另一个进程也请求同一表的写锁,此时MySQL将会如优先处理进程呢?通过研究表明,写进程将先获 ...
- Disruptor 系列(二)使用场景
Disruptor 系列(二)使用场景 今天用一个订单问题来加深对 Disruptor 的理解.当系统中有订单产生时,系统首先会记录订单信息.同时也会发送消息到其他系统处理相关业务,最后才是订单的处理 ...
- 动态执行SQL语句,接收返回值
一.exec和sp_executesql介绍 当需要根据外部输入的参数来决定要执行的SQL语句时,常常需要动态来构造SQL查询语句.比如,一个比较通用的分页存储过程,可能需要传入表名,字段,过滤条件, ...
- 布局xml文件不能预览
原因:xml文件里,有一些值没有设置属性. 如: <LinearLayout android:layout_width="fill_ ...
- Windows 环境下分布式跨域Session共享(转)
出处:http://www.cnblogs.com/stangray/p/3328092.html 为什么还是那句话,在网上找了N篇Session共享,但真正可以直接解决问题的还是没有找到. 一.以下 ...
- http://www.rabbitmq.com/
什么是RabbitMQ 官网http://www.rabbitmq.com/ 1.应用程序间健壮的消息发送 2.简单易用 3.可在所有主流操作系统运行 4.支持巨量的开发者平台 5.开源和商用双重支持 ...
- Appium之启用手机桌面APP的多种方法
方法一: 其实之前的随笔 Appium之连续启动多个应用(APP)中已经介绍了可以用appium下的start_activity()方法来启动一个应用,那这里就不再说明啦. 方法二: 因为有时用sta ...
- iptables命令(备忘)
语法 iptables(选项)(参数) 选项 -t<表>:指定要操纵的表: -A:向规则链中添加条目: -D:从规则链中删除条目: -i:向规则链中插入条目: -R:替换规则链中的条目: ...