ok-admin/css/common.css

275 lines
5.3 KiB
CSS
Raw Normal View History

2019-08-27 09:46:44 +00:00
/*********************************************
* (*^__^*) (*^__^*) *
* *
*********************************************/
2019-08-24 12:03:47 +00:00
[v-cloak] {
display: none !important;
2019-05-27 01:24:17 +00:00
}
2019-08-27 09:46:44 +00:00
.ok-body{padding:10px}
/*面包屑导航*/
.ok-body-breadcrumb{position:relative;line-height:39px;height:32px;border-bottom:1px solid #e5e5e5}
.ok-body-breadcrumb .layui-btn{line-height:2.4em;margin-top:3px;float:right}
.ok-body-breadcrumb .layui-btn .layui-icon{line-height:32px}
/*多条件搜索框*/
.ok-search{margin-top:15px}
.ok-search .layui-input{width:190px;padding-left:10px;margin-left:10px;float:left}
.ok-search .layui-input:first-child{margin-left:0}
.ok-search .layui-btn{margin-left:10px}
@media screen and (max-width:768px){
.ok-search .layui-input{width:100%;margin-left:0;margin-top:10px}
.ok-search .layui-btn{margin-left:0;margin-top:10px}
}
/*表单*/
.ok-form{margin-top:10px}
/*滚动条*/
::-webkit-scrollbar{width: 8px; height: 8px;}
::-webkit-scrollbar-button:vertical{display: none;}
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner{background-color: #e2e2e2;}
::-webkit-scrollbar-thumb{border-radius: 0; background-color: rgba(0,0,0,.3);}
::-webkit-scrollbar-thumb:vertical:hover{background-color: rgba(0,0,0,.35);}
::-webkit-scrollbar-thumb:vertical:active{background-color: rgba(0,0,0,.38);}
2019-06-21 03:02:58 +00:00
2019-08-21 05:28:51 +00:00
/**占满屏幕**/
2019-08-24 12:03:47 +00:00
.page-fill {
2019-08-21 05:28:51 +00:00
width: 100%;
height: 100%;
display: block;
box-sizing: border-box;
}
2019-06-21 03:02:58 +00:00
/**card**/
2019-08-24 12:03:47 +00:00
.ok-card-body {
2019-06-21 03:02:58 +00:00
padding: 20px;
position: relative;
width: 100%;
box-sizing: border-box;
}
2019-08-24 12:03:47 +00:00
.ok-card-body-tb {
2019-06-21 03:02:58 +00:00
padding: 20px 0;
position: relative;
width: 100%;
box-sizing: border-box;
}
2019-08-26 09:08:33 +00:00
.ok-card-title {
color: #212529;
font-size: 16px;
padding-bottom: 20px;
font-weight: bolder;
}
2019-08-24 12:03:47 +00:00
.ok-card {
-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, .08);
box-shadow: 0 0 20px rgba(0, 0, 0, .08);
2019-06-21 03:02:58 +00:00
border-radius: 5px;
}
2019-05-27 01:24:17 +00:00
/**断行**/
2019-08-24 12:03:47 +00:00
.wp1 {
word-break: break-all;
}
/*只对英文起作用,以字母作为换行依据*/
.wp2 {
word-wrap: break-word;
}
/*--只对英文起作用,以单词作为换行依据*/
.wp3 {
white-space: pre-wrap;
}
/*只对中文起作用,强制换行*/
.wp4 {
white-space: nowrap;
}
2019-05-27 01:24:17 +00:00
/**边距**/
2019-08-24 12:03:47 +00:00
.p0 {
padding: 0 !important;
2019-06-21 03:02:58 +00:00
}
2019-08-24 12:03:47 +00:00
.ptb0 {
padding-top: 0 !important;
padding-bottom: 0 !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
.plr0 {
padding-left: 0 !important;
padding-right: 0 !important;
2019-06-21 03:02:58 +00:00
}
2019-08-24 12:03:47 +00:00
.ptb20 {
padding-top: 20px !important;
padding-bottom: 20px !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
.plr20 {
padding-left: 20px !important;
padding-right: 20px !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
.pl20 {
padding-left: 20px !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
.pr20 {
padding-right: 20px !important;
2019-05-27 01:24:17 +00:00
}
/**浮动**/
2019-08-24 12:03:47 +00:00
.f-left {
2019-05-27 01:24:17 +00:00
float: left;
}
2019-08-24 12:03:47 +00:00
.f-right {
2019-05-27 01:24:17 +00:00
float: right;
}
2019-08-24 12:03:47 +00:00
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden
}
2019-05-27 01:24:17 +00:00
/**卡片样式**/
2019-08-24 12:03:47 +00:00
.my-cart {
-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, .08);
box-shadow: 0 0 20px rgba(0, 0, 0, .08);
2019-05-27 01:24:17 +00:00
border-radius: 5px;
}
/**颜色**/
2019-08-24 12:03:47 +00:00
.bg-white {
background: white !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
.col-white {
color: white !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
2019-05-27 01:24:17 +00:00
.childrenBody {
padding: 15px;
background-color: #f1f2f7;
}
2019-08-24 12:03:47 +00:00
.ok-card-list {
2019-05-27 01:24:17 +00:00
padding: 15px;
}
2019-08-24 12:03:47 +00:00
.ok-card-list .ok-big-font {
2019-05-27 01:24:17 +00:00
font-size: 36px;
color: #666;
line-height: 36px;
padding: 5px 0 10px;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: nowrap;
}
2019-08-21 05:28:51 +00:00
/*********************美化滚动条样式*********************/
2019-08-24 12:03:47 +00:00
.not-scroll::-webkit-scrollbar { /*不显示滚动条*/
2019-05-27 01:24:17 +00:00
height: 0;
width: 0;
background: transparent;
display: none;
}
2019-08-24 12:03:47 +00:00
.scrollBody::-webkit-scrollbar { /*不显示滚动条*/
2019-05-27 01:24:17 +00:00
display: none;
}
2019-08-21 05:28:51 +00:00
::-webkit-scrollbar,
2019-08-24 12:03:47 +00:00
.scrollBody::-webkit-scrollbar {
2019-05-27 01:24:17 +00:00
width: 8px;
height: 8px;
background-color: #F5F5F5;
}
2019-08-24 12:03:47 +00:00
2019-05-27 01:24:17 +00:00
/*定义滚动条轨道 内阴影+圆角*/
2019-08-21 05:28:51 +00:00
::-webkit-scrollbar-track,
.scrollBody::-webkit-scrollbar-track {
2019-08-21 05:28:51 +00:00
/*border-radius: 10px;*/
2019-08-24 12:03:47 +00:00
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #FFFFFF;
2019-05-27 01:24:17 +00:00
}
/*定义滑块 内阴影+圆角*/
2019-08-21 05:28:51 +00:00
::-webkit-scrollbar-thumb,
.scrollBody::-webkit-scrollbar-thumb {
2019-08-21 05:28:51 +00:00
/*border-radius: 10px;*/
2019-08-24 12:03:47 +00:00
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
2019-05-27 01:24:17 +00:00
background-color: #A8A8A8;
}
/**内页body滚动条样式**/
2019-08-21 05:28:51 +00:00
::-webkit-scrollbar,
2019-08-24 12:03:47 +00:00
.ok-body-scroll::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: #FFFFFF;
}
2019-08-24 12:03:47 +00:00
2019-08-21 05:28:51 +00:00
::-webkit-scrollbar-track,
2019-08-24 12:03:47 +00:00
.ok-body-scroll::-webkit-scrollbar-track { /*定义滚动条轨道 内阴影+圆角*/
2019-08-21 05:28:51 +00:00
/*border-radius: 10px;*/
background-color: #FFFFFF;
2019-08-24 12:03:47 +00:00
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}
2019-08-24 12:03:47 +00:00
2019-08-21 05:28:51 +00:00
::-webkit-scrollbar-thumb,
2019-08-24 12:03:47 +00:00
.ok-body-scroll::-webkit-scrollbar-thumb { /*定义滑块 内阴影+圆角*/
border-radius: 10px;
2019-08-24 12:03:47 +00:00
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
background-color: #dadada;
}
2019-05-27 01:24:17 +00:00
/*进度条颜色*/
2019-08-24 12:03:47 +00:00
.per-bg-a {
background: #00c292 !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
.per-bg-b {
2019-08-27 07:10:13 +00:00
background: #9a66e4 !important;
2019-05-27 01:24:17 +00:00
}
2019-08-24 12:03:47 +00:00
.per-bg-c {
2019-05-27 01:24:17 +00:00
background: #03a9f3 !important;
}
2019-08-24 12:03:47 +00:00
.per-bg-d {
background: #fb9678 !important;
2019-05-27 01:24:17 +00:00
}
2019-08-27 07:10:13 +00:00
.per-bg-e {
background: #ed4014 !important;
2019-06-21 03:02:58 +00:00
}
2019-08-27 07:10:13 +00:00
.per-bg-f {
background: #ab8ce4 !important;
}
.per-bg-g {
background: #e46cbb !important;
2019-06-21 03:02:58 +00:00
}
2019-05-27 01:24:17 +00:00