layui实现自适应大气后台管理菜单仪表盘数据统计效果代码
代码语言:html
所属分类:响应式
代码描述:layui实现自适应大气后台管理菜单仪表盘数据统计效果代码
代码标签: layui 自适应 大气 后台 管理 菜单 仪表盘 数据 统计
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>登录页面</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/js/layui/css/layui.css"> <style> *{ margin: 0px; padding: 0px; font-family: "microsoft yahei","Helvetica Neue", Helvetica, Arial, sans-serif; } a{ text-decoration: none; } html{ width: 100%; height: 100%; overflow-x:hidden; overflow-y:auto; } body{ width: 100%; min-height: 100%; } .login-bg{ background: #eeeeee 0 0 no-repeat; background-size: cover; overflow: hidden; } .form-wrap{background:#f8f8f8; margin-top:15px;} .login{ margin: 120px auto 0 auto; min-height: 420px; max-width: 420px; padding: 40px; background-color: #ffffff; margin-left: auto; margin-right: auto; border-radius: 4px; /* overflow-x: hidden; */ box-sizing: border-box; } .login a.logo{ display: block; height: 58px; width: 167px; margin: 0 auto 30px auto; background-size: 167px 42px; } .login .message { margin: 10px 0 0 0; padding: 18px 10px 18px 60px; background: #0dc316; position: relative; color: #fff; font-size: 16px; } .login #darkbannerwrap { /* background: url(../images/aiwrap.png); */ width: 18px; height: 10px; margin: 0 0 20px -58px; position: relative; } .login input[type=text], .login input[type=file], .login input[type=password], .login input[type=email], select { border: 1px solid #DCDEE0; vertical-align: middle; border-radius: 3px; height: 50px; padding: 0px 16px; font-size: 14px; color: #555555; outline:none; width:100%; box-sizing: border-box; } .login input[type=text]:focus, .login input[type=file]:focus, .login input[type=password]:focus, .login input[type=email]:focus, select:focus { border: 1px solid #27A9E3; } .login input[type=submit], .login input[type=button]{ display: inline-block; vertical-align: middle; padding: 12px 24px; margin: 0px; font-size: 18px; line-height: 24px; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; color: #ffffff; background-color: #189F92; border-radius: 3px; border: none; -webkit-appearance: none; outline:none; width:100%; } .login hr.hr15 { height: 15px; border: none; margin: 0px; padding: 0px; width: 100%; } .login hr.hr20 { height: 20px; border: none; margin: 0px; padding: 0px; width: 100%; } .x-body{ padding: 20px; } .x-nav{ padding: 0 20px; position: relative; z-index: 99; border-bottom: 1px solid #e5e5e5; line-height: 39px; height: 39px; overflow: hidden; } xblock{ display: block; margin-bottom: 10px; padding: 5px ; padding-left:6px; padding-right:15px; line-height: 22px; /* border-left: 5px solid #15c142; */ border-radius: 0 2px 2px 0; background-color: #f2f2f2; } .x-right{ float: right; } .x-so{ /*text-align: center;*/ /*background: #f2f2f2 url() 0 0 no-repeat;*/ margin-bottom: 20px; } .x-so input.layui-input{ width: 150px; } .x-so .layui-form-label{ display: inline-block; } .x-so input.layui-input,.x-so input.layui-btn{ display: inline-block; } .x-red{ color: red; } .x-a{ color: #099641; } .x-a:hover{ color: #077e37; } .x-sort{ height: 30px; } .x-show{ cursor: pointer; } .layui-form-switch{ margin-top: 0px; } .layui-input:focus, .layui-textarea:focus { border-color: #15c142!important; } .page{ margin-top: 20px; text-align: center; } .page a{ display: inline-block; background: #f5f5f5; color: #888; padding: 10px 13px; min-width: 15px; transition:background-color ease .5s; font-family:"microsoft yahei"; border-radius:3px; } .page span{ display: inline-block; padding: 10px 10px; min-width: 15px; } .page span.current{ display: inline-block; background: #15c142 0 0 no-repeat; color: #fff; padding: 10px 13px; min-width: 15px; border-radius:3px; } .page .pagination li{ display: inline-block; margin-right: 5px; text-align: center; } .page .pagination li.active span{ background: #15c142 0 0 no-repeat; color: #fff; } /*登录样式*/ /*头部*/ .container{ width: 100%; height: 55px; background-color:#111; border-bottom: 1px solid rgba(0, 0, 0, 0.8); } .container .logo a{ float: left; color: #fff; font-size: 18px; padding-left: 20px; line-height: 50px; width: 200px; transition:background-color ease .3s .........完整代码请登录后点击上方下载按钮下载查看
网友评论0