530 lines
8.0 KiB
CSS
530 lines
8.0 KiB
CSS
/**
|
|
* admin.css
|
|
*/
|
|
|
|
|
|
/*
|
|
fixed-layout 固定头部和边栏布局
|
|
*/
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
ul {
|
|
margin-top: 0;
|
|
}
|
|
|
|
|
|
|
|
.admin-ir-logo {
|
|
|
|
}
|
|
|
|
.admin-ir-logo h1 {
|
|
margin: 0;
|
|
padding: 10px;
|
|
}
|
|
|
|
.admin-ir-logo a {
|
|
display: block;
|
|
height: 100%;
|
|
width: 200px;
|
|
vertical-align:middle;
|
|
background: url(../.././img/logo.png) no-repeat left center;
|
|
-webkit-background-size: 125px 24px;
|
|
background-size: 125px 24px;
|
|
}
|
|
|
|
|
|
.admin-icon-yellow {
|
|
color: #ffbe40;
|
|
}
|
|
|
|
.admin-header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1500;
|
|
font-size: 1.4rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.admin-header-list a:hover :after {
|
|
content: none;
|
|
}
|
|
|
|
.admin-main {
|
|
position: relative;
|
|
height: 100%;
|
|
padding-top: 51px;
|
|
background: #f3f3f3;
|
|
}
|
|
|
|
.admin-menu {
|
|
position: fixed;
|
|
z-index: 10;
|
|
bottom: 30px;
|
|
right: 20px;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
width: 260px;
|
|
min-height: 100%;
|
|
float: left;
|
|
border-right: 1px solid #cecece;
|
|
}
|
|
|
|
.admin-sidebar.am-active {
|
|
z-index: 1600;
|
|
}
|
|
|
|
.admin-sidebar-list {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.admin-sidebar-list li a {
|
|
color: #5c5c5c;
|
|
padding-left: 24px;
|
|
}
|
|
|
|
.admin-sidebar-list li:first-child {
|
|
border-top: none;
|
|
}
|
|
|
|
.admin-sidebar-sub {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
box-shadow: 0 16px 8px -15px #e2e2e2 inset;
|
|
background: #ececec;
|
|
padding-left: 24px;
|
|
}
|
|
|
|
.admin-sidebar-sub li:first-child {
|
|
border-top: 1px solid #dedede;
|
|
}
|
|
|
|
.admin-sidebar-panel {
|
|
margin: 10px;
|
|
}
|
|
|
|
.admin-content {
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
background: #fff;
|
|
}
|
|
|
|
.admin-content,
|
|
.admin-sidebar {
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.admin-content-body {
|
|
-webkit-box-flex: 1;
|
|
-webkit-flex: 1 0 auto;
|
|
-ms-flex: 1 0 auto;
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
.admin-content-footer {
|
|
font-size: 85%;
|
|
color: #777;
|
|
}
|
|
|
|
.admin-content-list {
|
|
border: 1px solid #e9ecf1;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.admin-content-list li {
|
|
border: 1px solid #e9ecf1;
|
|
border-width: 0 1px;
|
|
margin-left: -1px;
|
|
}
|
|
|
|
.admin-content-list li:first-child {
|
|
border-left: none;
|
|
}
|
|
|
|
.admin-content-list li:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.admin-content-table a {
|
|
color: #535353;
|
|
}
|
|
.admin-content-file {
|
|
margin-bottom: 0;
|
|
color: #666;
|
|
}
|
|
|
|
.admin-content-file p {
|
|
margin: 0 0 5px 0;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.admin-content-file li {
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.admin-content-file li:first-child {
|
|
border-top: none;
|
|
}
|
|
|
|
.admin-content-file li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.admin-content-file li .am-progress {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.admin-content-file li .am-progress-bar {
|
|
line-height: 14px;
|
|
}
|
|
|
|
.admin-content-task {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.admin-content-task li {
|
|
padding: 5px 0;
|
|
border-color: #eee;
|
|
}
|
|
|
|
.admin-content-task li:first-child {
|
|
border-top: none;
|
|
}
|
|
|
|
.admin-content-task li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.admin-task-meta {
|
|
font-size: 1.2rem;
|
|
color: #999;
|
|
}
|
|
|
|
.admin-task-bd {
|
|
font-size: 1.4rem;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.admin-content-comment {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.admin-content-comment .am-comment-bd {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.admin-content-pagination {
|
|
margin-bottom: 0;
|
|
}
|
|
.admin-content-pagination li a {
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
@media only screen and (min-width: 641px) {
|
|
.admin-sidebar {
|
|
display: block;
|
|
position: static;
|
|
background: none;
|
|
}
|
|
|
|
.admin-offcanvas-bar {
|
|
position: static;
|
|
width: auto;
|
|
background: none;
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
-ms-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
overflow-y: visible;
|
|
min-height: 100%;
|
|
}
|
|
.admin-offcanvas-bar:after {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 640px) {
|
|
.admin-sidebar {
|
|
width: inherit;
|
|
}
|
|
|
|
.admin-offcanvas-bar {
|
|
background: #f3f3f3;
|
|
}
|
|
|
|
.admin-offcanvas-bar:after {
|
|
background: #BABABA;
|
|
}
|
|
|
|
.admin-sidebar-list a:hover, .admin-sidebar-list a:active{
|
|
-webkit-transition: background-color .3s ease;
|
|
-moz-transition: background-color .3s ease;
|
|
-ms-transition: background-color .3s ease;
|
|
-o-transition: background-color .3s ease;
|
|
transition: background-color .3s ease;
|
|
background: #E4E4E4;
|
|
}
|
|
|
|
.admin-content-list li {
|
|
padding: 10px;
|
|
border-width: 1px 0;
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.admin-content-list li:first-child {
|
|
border-top: none;
|
|
}
|
|
|
|
.admin-content-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.admin-form-text {
|
|
text-align: left !important;
|
|
}
|
|
|
|
}
|
|
|
|
/*
|
|
* user.html css
|
|
*/
|
|
.user-info {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.user-info .am-progress {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.user-info p {
|
|
margin: 5px;
|
|
}
|
|
|
|
.user-info-order {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
/*
|
|
* errorLog.html css
|
|
*/
|
|
|
|
.error-log .am-pre-scrollable {
|
|
max-height: 40rem;
|
|
}
|
|
|
|
/*
|
|
* table.html css
|
|
*/
|
|
|
|
.table-main {
|
|
font-size: 1.4rem;
|
|
padding: .5rem;
|
|
}
|
|
|
|
.table-main button {
|
|
background: #fff;
|
|
}
|
|
|
|
.table-check {
|
|
width: 30px;
|
|
}
|
|
|
|
.table-id {
|
|
width: 50px;
|
|
}
|
|
|
|
@media only screen and (max-width: 640px) {
|
|
.table-select {
|
|
margin-top: 10px;
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
/*
|
|
gallery.html css
|
|
*/
|
|
|
|
.gallery-list li {
|
|
padding: 10px;
|
|
}
|
|
|
|
.gallery-list a {
|
|
color: #666;
|
|
}
|
|
|
|
.gallery-list a:hover {
|
|
color: #3bb4f2;
|
|
}
|
|
|
|
.gallery-title {
|
|
margin-top: 6px;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.gallery-desc {
|
|
font-size: 1.2rem;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/*
|
|
404.html css
|
|
*/
|
|
|
|
.page-404 {
|
|
background: #fff;
|
|
border: none;
|
|
width: 200px;
|
|
margin: 0 auto;
|
|
}
|
|
.table-main {
|
|
font-size: 1.3vh !important;
|
|
}
|
|
input {
|
|
font-size: 1.48vh !important;
|
|
}
|
|
textarea{
|
|
font-size: 1.48vh !important;
|
|
}
|
|
select{
|
|
font-size: 1.48vh !important;
|
|
}
|
|
option{
|
|
font-size: 1.48vh !important;
|
|
}
|
|
div{
|
|
font-size: 1.48vh !important;
|
|
}
|
|
|
|
/* 全局样式 */
|
|
/* 切换组件tabs start */
|
|
.palm-tabs {
|
|
height: calc(100% - 60px);
|
|
margin: 0 1.6rem;
|
|
}
|
|
.palm-tabs .palm-tabs-nav {
|
|
height: 35px;
|
|
line-height: 35px;
|
|
}
|
|
.palm-tabs .palm-tabs-bd {
|
|
height: calc(100% - 35px);
|
|
overflow: hidden;
|
|
}
|
|
.palm-tabs .palm-tabs-bd .am-tab-panel {
|
|
height: 100%;
|
|
overflow: auto;
|
|
}
|
|
/* 切换组件tabs end */
|
|
/* 固定表头的table样式 start */
|
|
.fixed-section {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.fixed-section .am-modal-bd {
|
|
flex: 1 1 auto;
|
|
height: 10px;
|
|
overflow: hidden;
|
|
}
|
|
/* 顶部操作行样式 */
|
|
.fixed-section .fixed-actions {
|
|
height: 45px;
|
|
}
|
|
/* table主体样式 */
|
|
.fixed-section .fixed-table {
|
|
height: calc(100% - 26px);
|
|
}
|
|
.fixed-section .fixed-table.has-actions {
|
|
height: calc(100% - 71px);
|
|
}
|
|
/* 按钮行样式 */
|
|
.fixed-section .fixed-btns-row {
|
|
margin-top: 5px;
|
|
height: 26px;
|
|
}
|
|
/* 底部样式 */
|
|
.fixed-section .am-modal-footer {
|
|
flex: 0 0 44px;
|
|
}
|
|
/* 滚动条宽度 */
|
|
.fixed-table tbody::-webkit-scrollbar {
|
|
width: 8px;
|
|
background-color: transparent;
|
|
}
|
|
/* 滚动条颜色 */
|
|
.fixed-table tbody::-webkit-scrollbar-thumb {
|
|
background-color: #c1c1c1;
|
|
}
|
|
.fixed-table table {
|
|
display: block;
|
|
width: 100%;
|
|
max-height: 100%;
|
|
border-spacing: 0px;
|
|
border-collapse: collapse;
|
|
border: none;
|
|
overflow-y: hidden;
|
|
overflow-x: auto;
|
|
margin: 0;
|
|
}
|
|
.fixed-table.is-vertical-scroll table tbody {
|
|
max-height: calc(100% - 71px);
|
|
}
|
|
.fixed-table table>thead>tr>th {
|
|
height: 40px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
.fixed-table table td {
|
|
height: 55px;
|
|
text-align: center;
|
|
}
|
|
.fixed-table table tbody {
|
|
display: block;
|
|
width: 100%;
|
|
max-height: calc(100% - 45px);
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.fixed-table table tbody tr:last-child {
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
.fixed-table table tr {
|
|
table-layout: fixed;
|
|
display: table;
|
|
border-right: 1px solid #ddd;
|
|
border-left: 1px solid #ddd;
|
|
}
|
|
.fixed-table table thead tr {
|
|
width: calc(100% - 8px);
|
|
border-top: 1px solid #ddd;
|
|
border-bottom: none;
|
|
}
|
|
.fixed-table table tbody tr {
|
|
width: 100%;
|
|
}
|
|
.fixed-table table tbody tr:first-child>td {
|
|
border-top: none;
|
|
}
|
|
.fixed-table table tbody tr:last-child {
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
/* 固定表头的table样式 end */ |