bingyu-duanxinwangzhan/message-code/message-admin/public/assets/css/xadmin.css

809 lines
13 KiB
CSS
Executable File

@charset "utf-8";
@import url(../lib/layui/css/layui.css);
* {
margin: 0px;
padding: 0px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
text-decoration: none;
}
html {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
body {
width: 100%;
min-height: 100%;
background: #f1f1f1;
/*background: #fff;*/
}
.x-red {
color: red;
}
.layui-form-switch {
margin-top: 0px;
}
.layui-input:focus, .layui-textarea:focus {
border-color: #189f92!important;
}
.layui-fluid {
padding: 15px;
}
.x-nav {
padding: 0 20px;
position: relative;
z-index: 99;
border-bottom: 1px solid #e5e5e5;
line-height: 39px;
height: 39px;
overflow: hidden;
background: #fff;
}
.page {
text-align: center;
}
.page a {
display: inline-block;
background: #fff;
color: #888;
padding: 5px;
min-width: 15px;
border: 1px solid #E2E2E2;
}
.page span {
display: inline-block;
padding: 5px;
min-width: 15px;
border: 1px solid #E2E2E2;
}
.page span.current {
display: inline-block;
background: #009688;
color: #fff;
padding: 5px;
min-width: 15px;
border: 1px solid #009688;
}
.page .pagination li {
display: inline-block;
margin-right: 5px;
text-align: center;
}
.page .pagination li.active span {
background: #009688;
color: #fff;
border: 1px solid #009688;
}
/*登录样式*/
/*头部*/
.container {
width: 100%;
height: 50px;
background-color: #00bfa0;
}
.container a, .layui-nav .layui-nav-item a {
color: #fff;
}
.container .logo a {
background-color: #00a88d;
}
.container .logo a {
float: left;
width: 200px;
font-size: 18px;
padding-left: 20px;
line-height: 50px;
text-align: center;
}
.container .right {
background-color: rgba(0, 0, 0, 0);
float: right;
}
.container .left_open {
height: 45px;
float: left;
margin-left: 10px;
}
.container .left_open i {
display: block;
background: rgba(255, 255, 255, 0.1);
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 3px;
text-align: center;
margin-top: 7px;
cursor: pointer;
}
.container .left_open i:hover {
background: rgba(255, 255, 255, 0.3);
}
.container .left {
background-color: rgba(0, 0, 0, 0);
float: left;
}
.container .layui-nav-item {
line-height: 45px;
}
.container .layui-nav-more {
top: 20px;
}
.container .layui-nav-child {
top: 50px;
}
.container .layui-nav-child i {
margin-right: 10px;
}
.layui-nav .layui-nav-item a {
cursor: pointer;
}
.layui-nav .layui-nav-child a {
color: #333;
cursor: pointer;
}
.left-nav {
position: absolute;
top: 45px;
bottom: 0px;
/*bottom: 42px;*/
left: 0;
z-index: 2;
padding-top: 10px;
background-color: #1e2d32;
width: 220px;
max-width: 220px;
overflow: auto;
overflow-x: hidden;
overflow: hidden;
/*width: 0px;*/
}
#side-nav {
width: 220px;
}
.left-nav #nav li:hover>a {
/*color: blue;*/
}
.left-nav #nav .current {
background-color: rgba(0, 0, 0, 0.3);
}
.left-nav #nav li a {
color: #b8c7ce;
font-size: 14px;
padding: 10px 15px 10px 15px;
display: block;
cursor: pointer;
border-left: 4px solid transparent;
transition: all 0.3s;
}
.left-nav a:hover {
color: #fff !important;
background: #1b282c !important;
border-color: #00bfa0 !important;
}
.left-nav a.active {
color: #fff !important;
background: #1b282c !important;
border-color: #00bfa0 !important;
}
.left-nav #nav li a cite {
font-size: 14px;
}
.left-nav #nav li .sub-menu {
display: none;
}
.left-nav #nav li .opened {
display: block;
}
.left-nav #nav li .opened:hover {
/*background: #fff ;*/
}
.left-nav #nav li .opened .current {}
.left-nav #nav li .sub-menu li:hover {
/*color: blue;*/
/*background: #fff ;*/
}
.left-nav #nav li .sub-menu li a {
padding: 12px 15px 12px 30px;
font-size: 14px;
cursor: pointer;
}
.left-nav #nav li .sub-menu li .sub-menu li a {
padding-left: 45px;
}
/*.left-nav #nav li .sub-menu li a:hover{
color: #148cf1;
}*/
.left-nav #nav li .sub-menu li a i {
font-size: 12px;
}
.left-nav #nav li a i {
padding-right: 10px;
line-height: 14px;
}
.left-nav #nav li .nav_right {
float: right;
font-size: 16px;
}
.x-slide_left {
width: 17px;
height: 61px;
background: url(../images/icon.png) 0 0 no-repeat;
position: absolute;
top: 200px;
left: 220px;
cursor: pointer;
z-index: 3;
}
.page-content {
position: absolute;
top: 45px;
right: 0;
/*bottom: 42px;*/
bottom: 0px;
left: 220px;
overflow: hidden;
z-index: 1;
}
.page-content-bg {
position: absolute;
top: 45px;
right: 0;
/*bottom: 42px;*/
bottom: 0px;
left: 220px;
background: rgba(0, 0, 0, 0.5);
overflow: hidden;
z-index: 100;
display: none;
}
.page-content .tab {
height: 100%;
width: 100%;
/*background: #EFEEF0;*/
margin: 0px;
}
.page-content .layui-tab-title {
/*padding-top: 5px;*/
height: 35px;
background: #EFEEF0;
position: relative;
z-index: 100;
}
.page-content .layui-tab-title li.home i {
padding-right: 5px;
}
.page-content .layui-tab-title li.home .layui-tab-close {
display: none;
}
.page-content .layui-tab-title li {
line-height: 35px;
}
.page-content .layui-tab-title .layui-this:after {
height: 36px;
}
.page-content .layui-tab-title li .layui-tab-close {
border-radius: 50%;
}
.page-content .layui-tab-title .layui-this {
background: #fff;
}
.page-content .layui-tab-bar {
height: 34px;
line-height: 35px;
}
.page-content .layui-tab-content {
position: absolute;
top: 36px;
bottom: 0px;
width: 100%;
padding: 0px;
overflow: hidden;
}
.page-content .layui-tab-content .layui-tab-item {
width: 100%;
height: 100%;
}
.page-content .layui-tab-content .layui-tab-item iframe {
width: 100%;
height: 100%;
}
.x-admin-carousel, .layui-carousel, .x-admin-carousel>[carousel-item]>* {
background-color: #fff
}
.x-admin-backlog .x-admin-backlog-body {
display: block;
padding: 10px 15px;
background-color: #f8f8f8;
color: #999;
border-radius: 2px;
transition: all .3s;
-webkit-transition: all .3s
}
.x-admin-backlog-body h3 {
padding-bottom: 10px;
font-size: 12px
}
.x-admin-backlog-body p cite {
font-style: normal;
font-size: 30px;
font-weight: 300;
color: #009688
}
.x-admin-backlog-body:hover {
background-color: #CFCFCF;
color: #888
}
.layui-table td, .layui-table th {
min-width: 80px;
}
table th, table td {
word-break: break-all;
}
/*404页面样式*/
.fly-panel {
margin-bottom: 15px;
border-radius: 2px;
/*background-color: #fff;*/
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}
.fly-none {
min-height: 600px;
text-align: center;
padding-top: 50px;
color: #999;
}
.fly-none .layui-icon {
line-height: 300px;
font-size: 300px;
color: #393D49;
}
.fly-none p {
margin-top: 50px;
padding: 0 15px;
font-size: 20px;
color: #999;
font-weight: 300;
}
#tab_right {
display: none;
width: 80px;
position: absolute;
top: 35px;
left: 0px;
}
#tab_right dl {
top: 0px;
}
#tab_show {
position: absolute;
top: 36px;
bottom: 0px;
width: 100%;
background: rgb(255, 255, 255, 0);
padding: 0px;
overflow: hidden;
display: none;
}
@media screen and (max-width: 768px) {
.fast-add {
display: none;
}
.layui-nav .to-index {
display: none;
}
.container .logo a {
width: 140px;
}
.container .left_open {
/*float: right;*/
}
.left-nav {
width: 60px;
}
.left-nav #nav li a i {
font-size: 18px;
}
.left-nav cite, .left-nav .nav_right {
display: none;
}
.page-content {
left: 60px;
}
.page-content .layui-tab-content .layui-tab-item {
-webkit-overflow-scrolling: touch;
overflow-y: scroll;
}
.x-so input.layui-input {
width: 100%;
margin: 10px;
}
}
/*精细版样式*/
.x-admin-sm {
font-size: 12px;
}
.x-admin-sm body {
font-size: 12px;
}
/*登录页面样式*/
.x-admin-sm .login input[type=submit], .x-admin-sm .login input[type=button] {
font-size: 14px;
}
.x-admin-sm .login input[type=text], .x-admin-sm .login input[type=file], .x-admin-sm .login input[type=password], .x-admin-sm .login input[type=email], .x-admin-sm select {
font-size: 12px;
}
.x-admin-sm .login .message {
font-size: 14px;
}
.x-admin-sm .layui-table td, .x-admin-sm .layui-table th {
font-size: 12px;
}
.x-admin-sm .layui-elem-field legend {
font-size: 18px;
}
.x-admin-sm .x-admin-backlog-body p cite {
font-size: 24px;
}
.x-admin-sm .left-nav #nav li a cite {
font-size: 12px;
}
.x-admin-sm .iconfont {
font-size: 14px;
}
.x-admin-sm .layui-tab-title li {
font-size: 12px;
}
.x-admin-sm .layui-icon {
font-size: 14px;
}
.x-admin-sm .layui-nav * {
font-size: 12px;
}
.x-admin-sm .layui-breadcrumb>* {
font-size: 12px;
}
.x-admin-sm .layui-btn, .x-admin-sm .layui-btn-xs, .x-admin-sm .layui-btn-sm {
font-size: 12px;
}
.x-admin-sm .layui-laydate {
font-size: 12px;
}
.x-admin-sm .layui-btn {
height: 30px;
line-height: 30px;
padding: 0 10px;
}
.x-admin-sm .layui-btn-lg {
height: 38px;
line-height: 38px;
padding: 0 18px;
font-size: 14px;
}
.x-admin-sm .layui-layer-title, .x-admin-sm .layui-layer-dialog .layui-layer-content {
font-size: 12px;
}
.x-admin-sm .layui-input, .x-admin-sm .layui-select, .x-admin-sm .layui-textarea {
height: 30px;
}
.x-admin-sm .layui-form-pane .layui-form-label {
height: 30px;
line-height: 14px;
}
.x-admin-sm .layui-form-checkbox span {
font-size: 12px;
}
.x-admin-sm .fly-none .layui-icon {
line-height: 300px;
font-size: 300px;
color: #393D49;
}
/**20200606 Mr.xu */
.info {
overflow: hidden;
margin: 20px 10px;
}
.info img {
float: left;
border-radius: 25px;
overflow: hidden;
}
.info-right {
float: left;
color: white;
font-size: 14px;
padding-left: 10px;
margin-top: 5px;
}
.x-admin-sm .info-right p button {
height: 20px;
line-height: 20px;
margin-left: 20px;
background-color: #72838e;
}
.x-admin-sm .info-right p span {
cursor: pointer;
}
.box.box-success {
border-top-color: #18bc9c;
}
.box {
position: relative;
border-radius: 3px;
background: #ffffff;
border-top: 3px solid #d2d6de;
margin-bottom: 20px;
width: 100%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.panel-heading {
font-size: 14px;
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-right-radius: 2px;
border-top-left-radius: 2px;
}
.panel-body {
padding: 15px;
}
.box-body {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
padding: 10px;
}
.form-group {
margin-bottom: 15px;
}
.control-label {
font-size: 14px;
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: bold;
}
.code {
text-align: center;
margin-top: 30px;
}
.code p {
color: #999999;
font-size: 14px;
}
.my-invitation {
padding: 10px;
margin: 20px;
margin-bottom: 0;
background-color: #e7edf0;
}
.link {
color: #333333;
font-size: 16px;
margin-top: 10px;
}
.link button {
background-color: #697c88;
}
.layui-tab {
margin: 20px;
margin-top: 0;
}
.layui-tab-title {
padding-left: 8px;
border-bottom: none;
background-color: #e7edf0;
}
.layui-tab-title li {
margin-left: 8px;
background-color: #d6e0e6;
}
.layui-tab-title .layui-this {
background-color: #fff;
}
.layui-tab-title .layui-this:after {
border: none;
}
.layui-tab-content {
background-color: #fff;
}
.btn-black {
background-color: #000000;
}
.layui-layer-title {
color: #fff !important;
background-color: #253f50 !important;
}
.layui-layer-setwin .layui-layer-min cite {
background-color: #fff !important;
}
.alert-nr {
background-color: #fff;
}
.alert-footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 10px 0;
margin-bottom: 0;
background-color: #ebf0f1;
}
.image-upload {
overflow: hidden;
position: relative;
background-color: #1a242f;
}
.image-upload input {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
}
.news {
text-align: center;
}
.news-title {
line-height: 80px;
font-size: 30px;
}
.news-time {
display: block;
font-size: 18px;
color: #999999;
}
.news img {
max-width: 100%;
margin: 20px 0;
}
.news p {
max-width: 900px;
text-align: left;
color: #333333;
font-size: 18px;
text-indent: 2em;
line-height: 32px;
margin: 0 auto;
}