diff --git a/web/css/xadmin.css b/web/css/xadmin.css new file mode 100644 index 0000000..d6dc2f3 --- /dev/null +++ b/web/css/xadmin.css @@ -0,0 +1,433 @@ +@charset "utf-8"; +@import url(../lib/layui/css/layui.css); +*{ + margin: 0px; + padding: 0px; + font-family: "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%; +} + + +.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; + line-height: 22px; + /* border-left: 5px solid #009688; */ + 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; + padding-left: 25px; +} +.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: #1AA093; +} +.x-a:hover{ + color: #127F74; +} +.x-sort{ + height: 30px; +} +.x-show{ + cursor: pointer; +} +.layui-form-switch{ + margin-top: 0px; +} +.layui-input:focus, .layui-textarea:focus { + border-color: #189f92!important; +} + +.page{ + margin-top: 20px; + text-align: center; + +} +.page a{ + display: inline-block; + background: #fff url(#) 0 0 no-repeat; + color: #888; + padding: 10px; + min-width: 15px; + border: 1px solid #E2E2E2; + +} +.page span{ + display: inline-block; + padding: 10px; + min-width: 15px; + border: 1px solid #E2E2E2; +} +.page span.current{ + display: inline-block; + background: #009688 url(#) 0 0 no-repeat; + color: #fff; + padding: 10px; + min-width: 15px; + border: 1px solid #009688; +} +.page .pagination li{ + display: inline-block; + margin-right: 5px; + text-align: center; +} +.page .pagination li.active span{ + background: #009688 url(#) 0 0 no-repeat; + color: #fff; + border: 1px solid #009688; + +} + +/*登录样式*/ +/*头部*/ +.container{ + width: 100%; + height: 45px; + background-color: #222; + border-bottom: 1px solid rgba(255, 255, 255, 0.2); +} +.container .logo a{ + float: left; + color: #fff; + font-size: 18px; + padding-left: 20px; + line-height: 45px; + width: 200px; +} +.container .right{ + background-color:rgba(0,0,0,0); + float: right; + +} +.container .left_open{ + height: 45px; + float: left; +} +.container .left_open i{ + display: block; + background: rgba(255,255,255,0.1) url(#) 0 0 no-repeat; + color: #fff; + width: 32px; + height: 32px; + line-height: 32px; + border-radius: 3px; + text-align: center; + margin-top: 7px; + cursor: pointer; +} +.container .left_open i:hover{ + background: rgba(255,255,255,0.3) url(#) 0 0 no-repeat; +} + +.container .left{ + background-color:rgba(0,0,0,0); + float: left; + +} +.container .layui-nav-item{ + line-height: 45px; +} +.container .layui-nav-more{ + top: 20px; +} +.container .layui-nav-child{ + top: 50px; +} +.container .layui-nav-child i{ + margin-right: 10px; +} +.layui-nav .layui-nav-item a{ + color: #fff; + cursor: pointer; +} +.layui-nav .layui-nav-child a{ + color: #333; + cursor: pointer; +} +.left-nav{ + position: absolute; + top: 46px; + bottom: 42px; + left: 0; + z-index: 2; + padding-top: 10px; + background-color: #EEEEEE; + width: 220px; + max-width: 220px; + overflow: auto; + overflow-x:hidden; + border-right: 1px solid #e5e5e5; + + /*width: 0px;*/ +} +.left-nav #nav li{ + border-bottom: 1px solid #e5e5e5; +} +.left-nav #nav li:hover > a{ + /*color: blue;*/ +} +.left-nav #nav .current{ + background-color: rgba(0, 0, 0, 0.3); +} +.left-nav #nav li a{ + font-size: 14px; + padding: 10px 15px 10px 20px; + display: block; + cursor: pointer; +} +.left-nav #nav li a cite{ + font-size: 14px; +} + +.left-nav #nav li .sub-menu{ + display: none; +} +.left-nav #nav li .opened{ + display: block; +} +.left-nav #nav li .opened:hover{ + /*background: #fff url() 0 0 no-repeat;*/ +} +.left-nav #nav li .opened .current{ + +} +.left-nav #nav li .sub-menu li:hover{ + /*color: blue;*/ + /*background: #fff url() 0 0 no-repeat;*/ +} +.left-nav #nav li .sub-menu li a{ + padding: 12px 15px 12px 30px; + font-size: 14px; + cursor: pointer; +} +.left-nav #nav li .sub-menu li .sub-menu li a{ + padding-left: 45px; +} +.left-nav #nav li .sub-menu li a:hover{ + color: #148cf1; +} +.left-nav #nav li .sub-menu li a i{ + font-size: 12px; +} +.left-nav #nav li a i{ + padding-right: 10px; + line-height: 14px; +} +.left-nav #nav li .nav_right{ + float: right; + font-size: 16px; +} +.x-slide_left { + width: 17px; + height: 61px; + background: url(#) 0 0 no-repeat; + position: absolute; + top: 200px; + left: 221px; + cursor: pointer; + z-index: 3; +} +.page-content{ + position: absolute; + top: 46px; + right: 0; + bottom: 42px; + left: 221px; + overflow: hidden; + z-index: 1; +} +.page-content-bg{ + position: absolute; + top: 46px; + right: 0; + bottom: 42px; + left: 221px; + background: rgba(0,0,0,0.5); url() 0 0 no-repeat; + overflow: hidden; + z-index: 100; + display: none; +} + +.page-content .tab{ + height: 100%; + width: 100%; + background: #EFEEF0 url(#) 0 0 no-repeat; + margin: 0px; +} +.page-content .layui-tab-title{ + /*padding-top: 5px;*/ + height: 35px; + background: #EFEEF0 url(#) 0 0 no-repeat; + position: relative; + z-index: 100; +} +.page-content .layui-tab-title li.home i{ + padding-right: 5px; +} +.page-content .layui-tab-title li.home .layui-tab-close{ + display: none; +} +.page-content .layui-tab-title li{ + line-height: 35px; +} +.page-content .layui-tab-title .layui-this:after{ + height: 36px; +} +.page-content .layui-tab-title li .layui-tab-close{ + border-radius: 50%; +} +.page-content .layui-tab-title .layui-this{ + background: #fff url(#) 0 0 no-repeat; +} +.page-content .layui-tab-bar{ + height:34px; + line-height: 35px; +} +.page-content .layui-tab-content{ + position: absolute; + top: 36px; + bottom: 0px; + width: 100%; + background: #fff url(#) 0 0 no-repeat; + padding: 0px; + overflow: hidden; +} +.page-content .layui-tab-content .layui-tab-item{ + width: 100%; + height: 100%; + +} +.page-content .layui-tab-content .layui-tab-item iframe{ + width: 100%; + height: 100%; + +} +.x-admin-carousel,.layui-carousel,.x-admin-carousel>[carousel-item]>* { + background-color:#fff +} + +.x-admin-backlog .x-admin-backlog-body { + display:block; + padding:10px 15px; + background-color:#f8f8f8; + color:#999; + border-radius:2px; + transition:all .3s; + -webkit-transition:all .3s +} +.x-admin-backlog-body h3 { + padding-bottom:10px; + font-size:12px +} +.x-admin-backlog-body p cite { + font-style:normal; + font-size:30px; + font-weight:300; + color:#009688 +} +.x-admin-backlog-body:hover { + background-color:#CFCFCF; + color:#888 +} + +.welcome-footer{padding: 30px 0; line-height: 30px; text-align: center; background-color: #eee; color: #666; font-weight: 300;} +body .layui-layout-admin .footer-demo{height: auto; padding: 15px 0; line-height: 26px;} +.welcome-footer a{padding: 0 5px;} + +table th, table td { + word-break: break-all; +} + +.footer{ + position: fixed; + bottom: 0px; + width: 100%; + background-color: #222; + border-top: 1px solid rgba(255, 255, 255, 0.2); + line-height: 41px; + color: #fff; + /*padding-left: 10px;*/ +} +.footer .copyright{ + margin-left: 10px; +} + + +@media screen and (max-width: 768px){ + .fast-add{ + display: none; + } + .layui-nav .to-index{ + display: none; + } + .container .logo a{ + width: 140px; + } + .container .left_open { + /*float: right;*/ + } + .left-nav{ + left: -221px; + } + .page-content{ + left: 0px; + } + .page-content .layui-tab-content .layui-tab-item{ + -webkit-overflow-scrolling: touch; + overflow-y: scroll; + } + .x-so input.layui-input{ + width: 100%; + margin: 10px; + } + + .layui-input{ + margin-left: 20px; + } + + +} +