fuxisheng/static/css/common.css
2025-04-11 16:12:24 +08:00

286 lines
3.8 KiB
CSS

.center {
text-align: center;
}
.ml-0 {
margin-left: 0;
}
.ml-10 {
margin-left: 10px;
}
.ml-20 {
margin-left: 20px;
}
.ml-30 {
margin-left: 30px;
}
.mr-0 {
margin-right: 0;
}
.mr-10 {
margin-right: 10px;
}
.mr-20 {
margin-right: 20px;
}
.mr-30 {
margin-right: 30px;
}
.mt-10 {
margin-top: 10px;
}
.mt-20 {
margin-top: 20px;
}
.mt-30 {
margin-top: 30px;
}
.mt-50 {
margin-top: 50px;
}
.mb-0 {
margin-bottom: 0;
}
.mb-10 {
margin-bottom: 10px;
}
.mb-20 {
margin-bottom: 20px;
}
.pd-5 {
padding: 5px;
}
.pd-10 {
padding: 10px;
}
.pd-20 {
padding: 20px;
}
.pl-20 {
padding-left: 20px;
}
.left {
float: left;
}
.right {
float: right;
}
.clear {
clear: both;
}
.must {
color: #FF5722;
}
.fs-16 {
font-size: 16px;
}
.fs-20 {
font-size: 20px;
}
.w-100 {
width: 100px;
}
.color-green {
color: #009688;
}
.color-red {
color: #ff0000;
}
.color-my {
color: #aacf53;
}
.window {
padding: 20px;
}
.layui-layout-admin .layui-body {
padding: 10px;
}
.layui-btn-normal {
border-radius: 4px;
}
/*.layui-elem-quote {
border-left: 5px solid #1E9FFF;
}*/
.layui-nav-item .layui-nav-child a {
padding-left: 20px;
}
.layui-tab-title li {
font-size: 18px;
}
.layui-col-xs12 {
margin: 10px 0;
}
.layui-tab-brief > .layui-tab-more li.layui-this:after, .layui-tab-brief > .layui-tab-title .layui-this:after {
border-bottom: 4px solid #5FB878;
}
.tip {
text-align: center;
color: #999;
font-size: 16px;
padding: 20px;
}
.tips {
color: #F00;
padding: 10px;
border-width: 0 0 0 5px;
border-style: solid;
border-color: #FF5722;
}
.none-tips {
text-align: center;
font-size: 16px;
color: #CCC;
}
.layui-tab[overflow] > .layui-tab-title, .layui-tab > .layui-tab-title {
overflow-x: scroll;
overflow-y: hidden;
}
.layui-tab[overflow] > .layui-tab-title::-webkit-scrollbar, .layui-tab > .layui-tab-title::-webkit-scrollbar {
display: none
}
.layui-form-mid {
margin: 0 5px 0 5px;
}
.long-item .layui-input {
display: inline-block;
width: 90%;
}
.del-btn {
position: relative;
top: -30px;
right: -60px;
}
.layui-tab-bar {
display: none;
}
.layui-badge {
padding: 3px 6px;
}
.add-popup, .edit-popup {
padding: 30px;
}
/*自定义弹出框*/
.cardWrapper.active {
pointer-events: all;
z-index: 1;
animation: fadeIn 0.5s ease-in-out both 0.5s;
}
.cardWrapper {
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
border-radius: 3px;
background-color: white;
width: 250px;
overflow: hidden;
z-index: 0;
box-shadow: 5px 10px 10px 0px rgba(0, 0, 0, 0.1);
pointer-events: none;
opacity: 0;
transform: scale(0.5);
}
.cardWrapper .textWrapper {
padding: 30px 20px;
text-align: center;
}
.textWrapper .title {
font-weight: bold;
color: #616e7d;
font-size: 14px;
padding-bottom: 5px;
}
.cardWrapper .button {
text-align: center;
padding: 10px 0;
color: white;
background-color: #3ca7fb;
width: 100%;
border-radius: 0 0 3px 3px;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
/*number类型输入框去除上下箭头*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
.footer {
margin-top: 20px;
width: 100%;
background: #141a25;
color: #fff;
font-size: 14px;
overflow: hidden;
}
.footer .tip {
opacity: 0.4;
width: 1200px;
margin: 0 auto;
border-top: 1px solid hsla(0,0%,100%,.4);
padding: 15px 0;
text-align: center;
color: #fff;
}
.footer .tip a {
color: #fff;
}