amazeui update
|
|
@ -1,5 +1,5 @@
|
|||
# ShopXO
|
||||
ShopXO学校管理系统,中国首个开源『学校教务管理系统』建站更快速!
|
||||
求实进取、创新专注、自主研发、企业级电商系统解决方案。
|
||||
<br />官方地址:http://shopxo.net/
|
||||
|
||||
# 功能简介
|
||||
|
|
|
|||
|
|
@ -0,0 +1,373 @@
|
|||
/**
|
||||
* admin.css
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
fixed-layout 固定头部和边栏布局
|
||||
*/
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
|
@ -603,7 +603,7 @@ select {
|
|||
* http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
||||
* http://msdn.microsoft.com/en-us/library/ie/hh869615%28v=vs.85%29.aspx
|
||||
* http://msdn.microsoft.com/zh-cn/library/ie/hh708740(v=vs.85).aspx
|
||||
* @2014.01.20: 璁剧疆涓€涓嬪睘鎬т互鍚庯紝windows Phone 8 涓婃樉绀虹殑瀛椾綋杩囧皬锛屾殏鏃舵敞閲婃帀
|
||||
* @2014.01.20: 设置一下属性以后,windows Phone 8 上显示的字体过小,暂时注释掉
|
||||
* ========================================================================== */
|
||||
/*
|
||||
@-ms-viewport {
|
||||
|
|
@ -8997,8 +8997,8 @@ ul.am-dropdown-content > .am-disabled > a:focus {
|
|||
}
|
||||
/*
|
||||
TODO:
|
||||
1. 鍔ㄧ敾搴旇鏀惧湪 dialog 涓婏紝涓嶅啀鏄暣涓<EFBFBD> modal锛屾秹鍙<EFBFBD> JS 閫昏緫锛岄渶瑕佺粺绛逛慨鏀<EFBFBD>
|
||||
2. modal 婊氬姩鏉″鐞嗭紝鏄惁闇€瑕佹坊鍔犱竴涓粴鍔ㄦ潯瀹藉害鐨勬按骞<EFBFBD> padding锛<EFBFBD>
|
||||
1. 动画应该放在 dialog 上,不再是整个 modal,涉及 JS 逻辑,需要统筹修改
|
||||
2. modal 滚动条处理,是否需要添加一个滚动条宽度的水平 padding?
|
||||
*/
|
||||
/* ==========================================================================
|
||||
Component: Modal Plugin
|
||||
|
|
@ -14547,4 +14547,4 @@ tbody.am-collapse.am-in {
|
|||
.am-wechatpay .am-wechatpay-btn {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
/* Write your styles */
|
||||
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 9.4 KiB |
|
|
@ -0,0 +1,14 @@
|
|||
(function($) {
|
||||
'use strict';
|
||||
|
||||
$(function() {
|
||||
var $fullText = $('.admin-fullText');
|
||||
$('#admin-fullscreen').on('click', function() {
|
||||
$.AMUI.fullscreen.toggle();
|
||||
});
|
||||
|
||||
$(document).on($.AMUI.fullscreen.raw.fullscreenchange, function() {
|
||||
$fullText.text($.AMUI.fullscreen.isFullscreen ? '退出全屏' : '开启全屏');
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||