File: /www/wwwroot/www.kntsleep.com/mp/js/css/admin2.css
body {
background: #0d1117!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;
}
.container {
width: 1220px;
background: #2f363e;
margin: 0 auto;
border-radius: 10px;
margin-top: 40px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
padding: 20px;
z-index: 99999;
}
.container .top {
display: flex;
justify-content: center;
margin-bottom: 30px;
}
.container .top h1 {
position: relative;
color: #fff;
}
.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 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;
color: #fff;
}
.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: 18%;
}
.container table tr th:nth-child(4) {
width: 36%;
}
.container table tr th:nth-child(5) {
width: 8%;
}
.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: 10%;
}
.container ul li form {
width: 100%;
display: flex;
}
.container ul li {
width: 100%;
padding: 10px 0;
background: #6c7480;
border-radius: 5px;
display: flex;
color: #fff;
}
.container ul li.add {
background: #232930!important;
border: 1px solid #713fc8;
}
.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 .wx {
width: 18%;
}
.container ul li .link {
width: 36%;
}
.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 .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: 0;
border-radius: 5px;
padding-left: 10px;
font-size: 14px;
}
.container ul li.add .wx:hover,
.container ul li.add .link:hover {
cursor: text;
}
.container ul li.add .wx input,
.container ul li.add .link input {
outline: 0;
border: 0;
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;
margin-right: 8px;
}
.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;
}
.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;
}
footer .zhuti {
position: absolute;
left: 0px;
top: 10px;
display: flex;
}
footer .zhuti>div {
width: 25px;
height: 25px;
border: 1px solid #909399;
border-radius: 4px;
margin-right: 10px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
cursor: pointer;
}
footer .zhuti>div:first-child {
border-color: #f6bb42;
}
footer .zhuti>div:last-child {
border-color: #1296db;
}
footer .zhuti img {
width: 20px;
height: 20px;
}
footer .zhuti>div:last-child img {
width: 18px;
height: 18px;
}
.xs {
width: 100%;
padding: 50px 0px 0px 50px;
background: #6c7480;
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: #009688;
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;
}