diff --git a/css/common.css b/css/common.css index 5604fce..9756872 100644 --- a/css/common.css +++ b/css/common.css @@ -2,6 +2,14 @@ display: none!important; } +/**占满屏幕**/ +.page-fill{ + width: 100%; + height: 100%; + display: block; + box-sizing: border-box; +} + /**card**/ .ok-card-body{ padding: 20px; @@ -96,48 +104,54 @@ } -/**滚动条样式**/ -.not-scroll::-webkit-scrollbar{ +/*********************美化滚动条样式*********************/ + +.not-scroll::-webkit-scrollbar{ /*不显示滚动条*/ height: 0; width: 0; background: transparent; display: none; } -.scrollBody::-webkit-scrollbar{ +.scrollBody::-webkit-scrollbar{/*不显示滚动条*/ display: none; } +::-webkit-scrollbar, .scrollBody::-webkit-scrollbar{ width: 8px; height: 8px; background-color: #F5F5F5; } /*定义滚动条轨道 内阴影+圆角*/ +::-webkit-scrollbar-track, .scrollBody::-webkit-scrollbar-track { - border-radius: 10px; + /*border-radius: 10px;*/ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1); background-color: #FFFFFF; } /*定义滑块 内阴影+圆角*/ +::-webkit-scrollbar-thumb, .scrollBody::-webkit-scrollbar-thumb { - border-radius: 10px; + /*border-radius: 10px;*/ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: #A8A8A8; } - /**内页body滚动条样式**/ +::-webkit-scrollbar, .ok-body-scroll::-webkit-scrollbar{ width: 8px; height: 8px; background-color: #FFFFFF; } +::-webkit-scrollbar-track, .ok-body-scroll::-webkit-scrollbar-track{/*定义滚动条轨道 内阴影+圆角*/ - border-radius: 10px; + /*border-radius: 10px;*/ background-color: #FFFFFF; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2); } +::-webkit-scrollbar-thumb, .ok-body-scroll::-webkit-scrollbar-thumb{/*定义滑块 内阴影+圆角*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1); diff --git a/css/home.css b/css/home.css index fd1594a..2daa4ef 100644 --- a/css/home.css +++ b/css/home.css @@ -98,3 +98,71 @@ -webkit-box-shadow: 0 0 20px rgba(0,0,0,.08); box-shadow: 0 0 20px rgba(0,0,0,.08); } + +/************home2样式************/ +.data-body { + display: flex; + padding:20px; + padding-bottom: 0; + color:#333333; +} +.data-body .media-cont { + -ms-flex-align: center !important; + align-items: center !important; + -ms-flex: 1 1 auto; + flex: 1 1 auto; +} +.data-body .media-cont .tit{ + font-size: 16px; + padding-bottom:5px; +} +.data-body .media-cont .num{ + font-size: 24px; + line-height: 22px; +} +.data-body .w-img{ + width: 60px; + height: 60px; +} +.data-body .w-img img{ + width: 100%; + height: 100%; +} +.line-home-a{ + height: 60px; +} + +.cart-data .stat-text { + color: #455a64; + font-size: 24px; + padding-bottom: 5px; +} +.extra-small-font { + font-size: 12px; +} + +.cart-data .stat-heading { + color: #99abb4; +} + +.cart-data .img-box { + display: inline-block; + vertical-align: middle; +} + +.cart-data .img-box img { + width: 60px; +} + +.cart-data .cart-r { + display: inline-block; + vertical-align: middle; + padding-left: 20px; +} + +.my-card-title { + color: #212529; + font-size: 16px; + padding-bottom: 20px; + font-weight: bolder; +} diff --git a/css/home2.css b/css/home2.css deleted file mode 100644 index 933e49b..0000000 --- a/css/home2.css +++ /dev/null @@ -1,143 +0,0 @@ -@import "./common.css"; -@import "../lib/layui/css/layui.css"; - -.data-body { - display: flex; - padding:20px; - padding-bottom: 0; - color:#333333; -} -.data-body .media-cont { - -ms-flex-align: center !important; - align-items: center !important; - -ms-flex: 1 1 auto; - flex: 1 1 auto; -} -.data-body .media-cont .tit{ - font-size: 16px; - padding-bottom:5px; -} -.data-body .media-cont .num{ - font-size: 24px; - line-height: 22px; -} -.data-body .w-img{ - width: 60px; - height: 60px; -} -.data-body .w-img img{ - width: 100%; - height: 100%; -} -.line-home-a{ - height: 60px; -} - - - - - - - - - - - - - - - -.cart-data .stat-text { - color: #455a64; - font-size: 24px; - padding-bottom: 5px; -} -.extra-small-font { - font-size: 12px; -} - -.cart-data .stat-heading { - color: #99abb4; -} - -.cart-data .img-box { - display: inline-block; - vertical-align: middle; -} - -.cart-data .img-box img { - width: 60px; -} - -.cart-data .cart-r { - display: inline-block; - vertical-align: middle; - padding-left: 20px; -} - -.my-card-title { - color: #212529; - font-size: 16px; - padding-bottom: 20px; - font-weight: bolder; -} - -/**图表样式**/ -.map-body { - height: 360px; -} - -.map-china { - height: 360px; -} - -/***进度条***/ -.progress-box { - margin-bottom: 20px; - display: flex; -} - -.progress-box .por-title { - font-weight: 600; - color: #868e96; - padding-bottom: 5px; -} - -.progress-box .por-txt { - font-size: 13px; - padding-bottom: 5px; -} - -.progress-box .pro-head { - width: 50px; - height: 50px; - line-height: 50px; - display: inline-block; - vertical-align: middle; - float: left; - overflow: hidden; - padding-right: 20px; -} - -.progress-box .pro-head img { - background: #BEA8AB; - width: 100%; - height: 100%; - border-radius: 100%; -} - -.progress-box .pro-data { - display: inline-block; - vertical-align: middle; - flex: 1; - /*float: left;*/ - /*width: 70%;*/ -} - -/**日历**/ -#calendar .layui-laydate { - border-radius: 5px; - border: 0; - -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, .08); - box-shadow: 0 0 20px rgba(0, 0, 0, .08); -} diff --git a/css/login.css b/css/login.css deleted file mode 100644 index c9c0eed..0000000 --- a/css/login.css +++ /dev/null @@ -1,116 +0,0 @@ -#app, -body, -html { - width: 100%; - height: 100%; - display: block; - box-sizing: border-box; -} - -.layui-icon{ font-size:16px !important;} -.mag0{ margin:0 !important; } -::selection { background: #ff5722; color: #fff; } -.layui-red{ color:#f00 !important; font-weight:bold;} -.layui-blue{ color:#01AAED !important;} -#app .layui-form-item.layui-input-focus input{ border-color:#ff6700 !important;} -.layui-block { - width: 100% !important; -} -#app { - width: 100%; - height: 100%; - background-image: url('../images/login-bg.jpg'); - position: relative; -} - -#app form.layui-form { - padding: 0 20px 20px 20px; - width: 300px; - position: absolute; - left: 50%; - top: 50%; - margin: -150px 0 0 -150px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - -o-box-sizing: border-box; - box-sizing: border-box; - background: #fff; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - box-shadow: 0 0 50px #009688; -} - -#app .login_face { - margin: -55px auto 20px; - width: 100px; - height: 100px; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; - border: 5px solid #fff; - overflow: hidden; - box-shadow: 0 0 30px #009688; - background: #FFF; -} - -#app .login_face img { - width: 100%; -} - -#app .layui-form-item { - position: relative; -} - -#app .layui-form-item label { - position: absolute; - color: #757575; - left: 10px; - top: 9px; - line-height: 20px; - background: transparent; - padding: 0 5px; - font-size: 14px; - cursor: text; -} -#code{ - padding-right: 110px; -} -#imgCode .img { - position: absolute; - top: 1px; - bottom: 1px; - right: 1px; - cursor: pointer; - width: 100px; - background: #C4E1CE; -} -#app .layui-form-item input{ - background: #FFF!important; -} -#app .layui-form-item input, -#app .layui-form-item label{ - transition: all 0.3s ease-in-out; - -webkit-transition: all 0.3s ease-in-out; -} -#app .layui-form-item input::placeholder{ - color: transparent!important; -} -#app .layui-form-item.layui-input-focus input::placeholder{ - color: #757575!important; -} -#app .layui-form-item.layui-input-focus label, -#app .layui-form-item.layui-input-active label{ - top: -10px; - font-size: 12px; - color: #ff6700; - background: #fff!important; -} - -#codeImg canvas{ - cursor:pointer; -} - - - - diff --git a/css/okadmin-v2.css b/css/okadmin.css similarity index 85% rename from css/okadmin-v2.css rename to css/okadmin.css index 3813fe7..8e6763e 100644 --- a/css/okadmin-v2.css +++ b/css/okadmin.css @@ -611,6 +611,115 @@ left: 0; } +/**********登录页的样式**********/ +.page-fill{ + width: 100%; + height: 100%; + display: block; + box-sizing: border-box; +} +#login .layui-icon{ font-size:16px !important;} +#login .mag0{ margin:0 !important; } +#login ::selection { background: #ff5722; color: #fff; } +#login .layui-red{ color:#f00 !important; font-weight:bold;} +#login .layui-blue{ color:#01AAED !important;} +#login .layui-form-item.layui-input-focus input{ border-color:#ff6700 !important;} +#login .layui-block { + width: 100% !important; +} +#login { + width: 100%; + height: 100%; + background-image: url('../images/login-bg.jpg'); + position: relative; +} +#login form.layui-form { + padding: 0 20px 20px 20px; + width: 300px; + position: absolute; + left: 50%; + top: 50%; + margin: -150px 0 0 -150px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -o-box-sizing: border-box; + box-sizing: border-box; + background: #fff; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + box-shadow: 0 0 50px #009688; +} + +#login .login_face { + margin: -55px auto 20px; + width: 100px; + height: 100px; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + border-radius: 50%; + border: 5px solid #fff; + overflow: hidden; + box-shadow: 0 0 30px #009688; + background: #FFF; +} + +#login .login_face img { + width: 100%; +} + +#login .layui-form-item { + position: relative; +} + +#login .layui-form-item label { + position: absolute; + color: #757575; + left: 10px; + top: 9px; + line-height: 20px; + background: transparent; + padding: 0 5px; + font-size: 14px; + cursor: text; +} +#login #code{ + padding-right: 110px; +} +#login #imgCode .img { + position: absolute; + top: 1px; + bottom: 1px; + right: 1px; + cursor: pointer; + width: 100px; + background: #C4E1CE; +} +#login .layui-form-item input{ + background: #FFF!important; +} +#login .layui-form-item input, +#login .layui-form-item label{ + transition: all 0.3s ease-in-out; + -webkit-transition: all 0.3s ease-in-out; +} +#login .layui-form-item input::placeholder{ + color: transparent!important; +} +#login .layui-form-item.layui-input-focus input::placeholder{ + color: #757575!important; +} +#login .layui-form-item.layui-input-focus label, +#login .layui-form-item.layui-input-active label{ + top: -10px; + font-size: 12px; + color: #ff6700; + background: #fff!important; +} +#login #codeImg canvas{ + cursor:pointer; +} + /* * 以下都是移动端的处理响应 */ diff --git a/css/scroll-bar.css b/css/scroll-bar.css deleted file mode 100644 index 61cb798..0000000 --- a/css/scroll-bar.css +++ /dev/null @@ -1,42 +0,0 @@ -/*==============================================美化滚动条代码==============================================*/ -/*滚动条整体部分*/ -::-webkit-scrollbar { - width: 10px; - height: 10px; -} - -/*滚动条的轨道的两端按钮,允许通过点击微调小方块的位置。*/ -::-webkit-scrollbar-button:vertical { - display: none; -} - -/*滚动条的轨道(里面装有Thumb)*/ -::-webkit-scrollbar-track:vertical { - background-color: black; -} - -/*内层轨道,滚动条中间部分(除去)*/ -::-webkit-scrollbar-track-piece { - background-color: #F5F5F5; -} - -/*滚动条里面的小方块,能向上向下移动(或往左往右移动,取决于是垂直滚动条还是水平滚动条)*/ -/*如何只控制横向滚动条样式则应该写成: ::-webkit-scrollbar-thumb:vertical */ -::-webkit-scrollbar-thumb { - margin-right: 10px; - background-color: #A6A6A6; -} - -/*如何只控制横向滚动条样式则应该写成: ::-webkit-scrollbar-thumb:vertical:hover */ -::-webkit-scrollbar-thumb:hover { - background-color: #aaa; -} - -/*边角,即两个滚动条的交汇处*/ -::-webkit-scrollbar-corner:vertical { - background-color: #535353; -} - -::-webkit-scrollbar-resizer:vertical { - background-color: #FF6E00; -} \ No newline at end of file diff --git a/index.html b/index.html index 91b82eb..32a2cfc 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - +
@@ -15,12 +15,12 @@