File: /www/wwwroot/www.wopant.com/ceshi2/js/css/admin.css
body {
background: #e0e0e0!important;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
ul li {
list-style: none;
}
a {
text-decoration: none;
user-select: none;
}
button {
user-select: none;
}
span {
user-select: none;
}
.box {
width: 100%;
height: 100vh;
background: #e0e0e0;
padding: 20px 0;
z-index: -999;
position: absolute;
overflow: hidden;
overflow-y: auto;
}
.container {
width: 1220px;
background: #fafafa;
margin: 0px auto 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
padding: 20px;
z-index: 99999;
position: relative;
}
.container .top {
display: flex;
justify-content: center;
margin-bottom: 30px;
}
.container .top h1 {
position: relative;
}
.container .top #title-input {
display: none;
width: 180px;
height: 35px;
border: 1px solid #000;
border-radius: 5px;
padding-left: 15px;
outline: none;
margin: 0 auto;
position: relative;
font-size: 14px;
}
.container .top h1::after {
content: '';
display: block;
width: 130px;
height: 3px;
background: #1f9cc7;
position: absolute;
bottom: -2px;
left: 50%;
transform: translateX(-50%);
}
.container table {
width: 100%;
}
.container table tr th {
padding: 10px 0;
user-select: none;
}
.container table tr th:nth-child(1) {
width: 4%;
}
.container table tr th:nth-child(2) {
width: 8%;
}
.container table tr th:nth-child(3) {
width: 10%;
}
.container table tr th:nth-child(4) {
width: 18%;
}
.container table tr th:nth-child(5) {
width: 26%;
}
.container table tr th:nth-child(6) {
width: 8%;
}
.container table tr th:nth-child(7) {
width: 8%;
}
.container table tr th:nth-child(8) {
width: 8%;
}
.container table tr th:nth-child(9) {
width: 10%;
}
.container ul li form {
width: 100%;
display: flex;
}
.container ul li {
width: 100%;
padding: 10px 0;
background: #fff;
border-radius: 5px;
display: flex;
}
.container ul li.add {
background: #b2dfdb!important;
}
.container ul li:nth-child(odd) {
background: #dfe6e9;
}
.container ul li:not(:first-child) {
margin-top: 15px;
}
.container ul li .select {
width: 4%;
}
.container ul li .status {
width: 8%;
}
.container ul li .remark {
width: 10%;
}
.container ul li .wx {
width: 18%;
}
.container ul li .link {
width: 26%;
}
.container ul li .click {
width: 8%;
}
.container ul li .show {
width: 8%;
}
.container ul li .totalshow {
width: 8%;
}
.container ul li .tools {
width: 10%;
}
.container ul li p {
overflow: hidden; /* 隐藏溢出内容 */
word-break: break-all; /* 在单词内换行 */
}
.container ul li>div,
.container ul li form>div {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.container ul li div:not(.select) input {
display: none;
width: 100%;
height: 30px;
}
.container ul li button{
display: block;
padding: 5px 10px;
background: red;
border-radius: 5px;
border: 0;
color: #fff;
cursor: pointer;
}
.container ul li.add .remark,
.container ul li.add .wx,
.container ul li.add .link {
padding: 0 5px;
}
.container ul li.item {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.container ul li.item div:not(.status):not(.tools) {
padding: 0 5px;
}
.container ul li.item div:not(.status):not(.tools) input {
outline: 0;
border: 1px solid #000;
border-radius: 5px;
padding-left: 10px;
font-size: 14px;
}
.container ul li.add .remark:hover,
.container ul li.add .wx:hover,
.container ul li.add .link:hover {
cursor: text;
}
.container ul li.add .remark input,
.container ul li.add .wx input,
.container ul li.add .link input {
outline: 0;
border: 1px solid #000;
border-radius: 5px;
padding-left: 10px;
font-size: 14px;
}
.container ul li.add .tools {
flex-direction: row;
}
.container ul li.add .tools button {
background: #67C23A;
padding: 5px 10px;
}
.container ul li.add .tools .addexit {
display: none;
padding: 5px 10px;
border-radius: 5px;
border: 0;
color: #fff;
cursor: pointer;
background: #909399;
font-size: 13px;
margin-left: 8px;
}
.container ul li.add .status span {
background: #F56C6C!important;
}
.container ul li.item .status a,
.container ul li.add .status span {
display: block;
padding: 5px 10px;
border-radius: 5px;
border: 0;
color: #fff;
cursor: pointer;
background: red;
font-size: 13px;
}
.container ul li.item .tools {
flex-direction: row;
}
.container ul li.item .tools .edit,
.container ul li.item .tools .exit,
.container ul li.item .tools .delete {
display: block;
padding: 5px 10px;
border-radius: 5px;
border: 0;
color: #fff;
cursor: pointer;
background: #E6A23C;
margin-right: 5px;
font-size: 14px;
}
.container ul li.item .tools .exit {
display: none;
background: #909399;
}
.container ul li.item .tools .delete {
background: #F56C6C;
}
.container ul li.item .tools button.editsubmit {
display: none;
background: #67C23A;
margin-right: 5px;
}
.container ul li.item .tools button.delete {
background: #F56C6C;
}
.container ul li.item .status .offline {
background: #909399;
}
footer {
padding: 10px 0;
margin-top: 20px;
display: flex;
justify-content: flex-end;
position: relative;
}
footer a {
display: block;
padding: 5px 10px;
border-radius: 5px;
border: 0;
color: #fff;
cursor: pointer;
background: #F56C6C;
font-size: 13px;
margin-left: 10px;
}
footer a.click {
background: #409EFF;
}
.xs {
width: 100%;
padding: 50px 0px 0px 50px;
background: #eeeeee;
border-radius: 10px;
margin-top: 20px;
position: relative;
overflow: hidden;
}
.xs .xs-title {
position: absolute;
left: 0;
top: 0;
width: 100px;
height: 30px;
border-bottom-right-radius: 10px;
background: #2e7d32;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
}
.xs .items {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.xs .items .item {
padding: 10px;
background: #80cbc4;
border-radius: 10px;
position: relative;
color: #fff;
margin-bottom: 20px;
margin-right: 35px;
}
.xs .items .item input,
.xs .items .itemadd input {
display: none;
outline: none;
width: 150px;
font-size: 14px;
border: 0;
background: transparent;
color: #fff;
padding-left: 5px;
}
.xs .items .itemadd {
padding: 10px;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
cursor: pointer;
user-select: none;
}
.xs .items .itemadd input,
.xs .items .itemadd img{
display: none;
}
.xs .items .item .close {
position: absolute;
top: -4px;
right: -4px;
width: 15px;
height: 15px;
cursor: pointer;
}
/* 显示隐藏像素按钮 */
#showxs,
#hidexs,
#hl{
background: #2e7d32;
}
#hidexs,
#xs {
display: none;
}
.time {
width: 100%;
background: #eeeeee;
border-radius: 10px;
padding: 20px 0;
margin-top: 20px;
display: flex;
justify-content: space-around;
z-index: 999;
}
.time .item {
display: flex;
flex-direction: column;
text-align: center;
}
.time .item span {
display: inline-block;
padding: 10px 0;
width: 130px;
background-image: linear-gradient(25deg, #300528, #601338, #932449, #c9375a);
font-size: 18px;
font-weight: bold;
border-radius: 10px;
color: #fff;
margin: 0 auto;
}
.time .item:nth-child(2) span {
background-image: linear-gradient(25deg, #001e81, #4b20a8, #7f1bd0, #b101fa);
}
.time .item:nth-child(3) span {
background-image: linear-gradient(25deg, #1e656b, #218987, #20afa3, #19d7c1);
}
.time .item:nth-child(4) span {
background-image: linear-gradient(25deg, #d43d3a, #e06c36, #eb932f, #f4b921);
}
.time .item p {
font-weight: bold;
font-family: Verdana, Geneva, Tahoma, sans-serif;
letter-spacing: 5px;
margin-top: 10px;
font-size: 15px;
}