nanruan
Version:
南软科技有限公司UI组件库
402 lines (295 loc) • 6.79 kB
CSS
@charset "utf-8";
* {
box-sizing: border-box;
}
h1 {
font-weight: 700;
font-size: 20px;
color: #101010;
}
/*页面标题文字*/
h2 {
font-weight: 700;
font-size: 16px;
color: #101010;
}
/*板块标题文字*/
h3 {
font-weight: 200;
font-size: 16px;
color: #101010;
}
/*列表标题文字*/
h4 {
font-weight: 700;
font-size: 20px;
color: #ff6500;
}
/*弹窗标题文字*/
h5 {
font-weight: 700;
font-size: 18px;
color: #6e6e6e;
}
/*详情页标题文字*/
h6 {
font-weight: 700;
font-size: 16px;
color: #101010;
}
/*详情页信息内容*/
strong {
font-weight: 200;
font-size: 14px;
color: #6e6e6e;
}
small {
font-size: 12px;
color: #999;
font-weight: 200;
}
/*列表内容文字*/
hr {
width: 100%;
height: 1px;
background-color: #deded6;
}
/*分割线的背景色*/
main {
display: flex;
justify-content: center;
align-items: center;
}
/*居中*/
article {
display: flex;
flex-direction: column;
}
/*y轴定向*/
section {
display: flex;
flex-wrap: wrap;
}
/*超出换行*/
.t-route {
color: #eb662b;
}
.t-route:hover {
color: #ff8c59
}
.t-route:active {
color: #ca4002
}
/*导航的文本颜色*/
.b-route {
background-color: #eb662b;
}
.b-route:hover {
background-color: #ff8c59
}
.b-route:active {
background-color: #ca4002
}
/*导航的背景颜色*/
.iconfont {
color: #eb662b;
}
/*字体图标颜色*/
.b-body {
background-color: #efefef;
}
/*页面背景颜色*/
.b-area {
background-color: #fff;
padding: 2.5%;
}
/*区域背景颜色*/
.border {
border: 1px solid #eee;
}
.shadow {
box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, .2);
}
/*--------------------------------------------------------------------------------*/
button[disabled], input[disabled], select[disabled], textarea[disabled] {
color: #c7c7cc ;
}
/*输入框禁止选中的文本颜色*/
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
/* WebKit browsers */
font-size: 16px;
font-weight: 200;
color: #c7c7cc;
}
input:-moz-placeholder, textarea:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
font-size: 16px;
font-weight: 200;
color: #c7c7cc;
}
input::-moz-placeholder, textarea::-moz-placeholder {
/* Mozilla Firefox 19+ */
font-size: 16px;
font-weight: 200;
color: #c7c7cc;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
/* Internet Explorer 10+ */
font-size: 16px;
font-weight: 200;
color: #c7c7cc;
}
/*设置表单占位样式*/
input, textarea, select {
border-color: #c7c7cc ;
}
/*文本框默认边框样式*/
input:hover, textarea:hover, select:hover {
border: 1px solid #8e8e93 ;
}
input:focus, textarea:focus, select:focus {
border-color: #ff6500 ;
}
/*文本框激活时的边框样式*/
/*-------------------------------------------*/
body {
font-family: "regular", "medium", "Bold", "Arial", "Helvetica Neue", "Verdana", Helvetica, "PingFang SC", "Hiragino Sans GB", sans-serif;
background-color: #efefef;
color: #6e6e6e;
font-size: 14px;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, textarea, p, blockquote, th, td, input, select, textarea, button, hr {
margin: 0;
padding: 0;
line-height: 1.5;
}
/* 初始化标签在所有浏览器中的margin、padding值 */
fieldset, img {
border: 0 none;
}
/* 重置fieldset(表单分组)、图片的边框为0*/
dl, ul, ol, menu, li {
list-style: none;
}
/* 重置类表前导符号为onne,menu在HTML5中有效 */
blockquote, q {
quotes: none;
}
/* 重置嵌套引用的引号类型 */
blockquote:before, blockquote:after, q:before, q:after {
content: "";
content: none;
}
/* 重置嵌套引用*/
input, select, textarea, button {
vertical-align: middle;
}
/* 重置表单控件垂直居中*/
button {
border: 0 none;
background-color: transparent;
cursor: pointer;
}
/* 重置表单button按钮效果 */
a {
color: #666;
text-decoration: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* 重置链接a标签 */
a:active, a:hover {
text-decoration: none;
}
/* 重置链接a标签的鼠标滑动效果 */
address, caption, cite, code, dfn, em, var {
font-style: normal;
font-weight: normal;
}
/* 重置样式标签的样式 */
caption {
display: none;
}
/* 重置表格标题为隐藏 */
table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
}
/* 重置table属性 */
img {
vertical-align: top;
}
/* 图片在当前行内的垂直位置 */
/* 页面设置 */
/* 取消a标签点击后的虚线框 */
a {
outline: none;
}
button {
outline: none;
}
/* 设置页面文字等在拖动鼠标选中情况下的背景色与文字颜色 */
/*
::selection {color: #fff;background-color: #4C6E78;}
::-moz-selection {color: #fff;background-color: #4C6E78;}
*/
/*清除浮动*/
.clear {
clear: both;
}
/*清除浮动--推荐使用*/
.clearfix:before, .clearfix:after {
content: "";
display: table;
}
.clearfix:after {
clear: both;
}
a:hover {
color: blue;
}
/*-------------------------------element-ui------------------------------------------------*/
.el-message--info {
border-color: #14a6fd;
background-color: #def3ff;
}
.el-message--warning {
border-color: #fea900;
background-color: #faf0dd;
}
.el-message--success {
border-color: #57b02b;
background-color: #edf8e8;
}
.el-message--error {
border-color: #fc150f;
background-color: #ffe5e4;
}
.el-input .el-input__suffix .el-icon-circle-check {
color: #67c23a;
}
.el-input.is-disabled .el-input__inner {
background-color: #eee;
}
.el-select-dropdown__item:hover {
background-color: #ffede2;
}
.el-table__header .has-gutter tr {
height: 56px;
}
.el-table__body tbody .el-table__row {
height: 42px;
}
.el-table__body tbody .el-table__row td {
padding: 0;
}
.el-dialog .el-table__header .has-gutter tr {
height: 50px;
}
.el-dialog .el-table__body tbody .el-table__row {
height: 36px;
}
.el-dialog .el-table__body tbody .el-table__row td {
padding: 0;
}