admin.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. /**
  2. * admin.css
  3. */
  4. /*
  5. fixed-layout 固定头部和边栏布局
  6. */
  7. html,
  8. body {
  9. height: 100%;
  10. overflow: hidden;
  11. }
  12. ul {
  13. margin-top: 0;
  14. }
  15. .admin-icon-yellow {
  16. color: #ffbe40;
  17. }
  18. .admin-header {
  19. position: fixed;
  20. top: 0;
  21. left: 0;
  22. right: 0;
  23. z-index: 1500;
  24. font-size: 1.4rem;
  25. margin-bottom: 0;
  26. }
  27. .admin-header-list a:hover :after {
  28. content: none;
  29. }
  30. .admin-main {
  31. position: relative;
  32. height: 100%;
  33. padding-top: 51px;
  34. background: #f3f3f3;
  35. }
  36. .admin-menu {
  37. position: fixed;
  38. z-index: 10;
  39. bottom: 30px;
  40. right: 20px;
  41. }
  42. .admin-sidebar {
  43. width: 260px;
  44. min-height: 100%;
  45. float: left;
  46. border-right: 1px solid #cecece;
  47. }
  48. .admin-sidebar.am-active {
  49. z-index: 1600;
  50. }
  51. .admin-sidebar-list {
  52. margin-bottom: 0;
  53. }
  54. .admin-sidebar-list li a {
  55. color: #5c5c5c;
  56. padding-left: 24px;
  57. }
  58. .admin-sidebar-list li:first-child {
  59. border-top: none;
  60. }
  61. .admin-sidebar-sub {
  62. margin-top: 0;
  63. margin-bottom: 0;
  64. box-shadow: 0 16px 8px -15px #e2e2e2 inset;
  65. background: #ececec;
  66. padding-left: 24px;
  67. }
  68. .admin-sidebar-sub li:first-child {
  69. border-top: 1px solid #dedede;
  70. }
  71. .admin-sidebar-panel {
  72. margin: 10px;
  73. }
  74. .admin-content {
  75. display: -webkit-box;
  76. display: -webkit-flex;
  77. display: -ms-flexbox;
  78. display: flex;
  79. -webkit-box-orient: vertical;
  80. -webkit-box-direction: normal;
  81. -webkit-flex-direction: column;
  82. -ms-flex-direction: column;
  83. flex-direction: column;
  84. background: #fff;
  85. }
  86. .admin-content,
  87. .admin-sidebar {
  88. height: 100%;
  89. overflow-x: hidden;
  90. overflow-y: scroll;
  91. -webkit-overflow-scrolling: touch;
  92. }
  93. .admin-content-body {
  94. -webkit-box-flex: 1;
  95. -webkit-flex: 1 0 auto;
  96. -ms-flex: 1 0 auto;
  97. flex: 1 0 auto;
  98. }
  99. .admin-content-footer {
  100. font-size: 85%;
  101. color: #777;
  102. }
  103. .admin-content-list {
  104. border: 1px solid #e9ecf1;
  105. margin-top: 0;
  106. }
  107. .admin-content-list li {
  108. border: 1px solid #e9ecf1;
  109. border-width: 0 1px;
  110. margin-left: -1px;
  111. }
  112. .admin-content-list li:first-child {
  113. border-left: none;
  114. }
  115. .admin-content-list li:last-child {
  116. border-right: none;
  117. }
  118. .admin-content-table a {
  119. color: #535353;
  120. }
  121. .admin-content-file {
  122. margin-bottom: 0;
  123. color: #666;
  124. }
  125. .admin-content-file p {
  126. margin: 0 0 5px 0;
  127. font-size: 1.4rem;
  128. }
  129. .admin-content-file li {
  130. padding: 10px 0;
  131. }
  132. .admin-content-file li:first-child {
  133. border-top: none;
  134. }
  135. .admin-content-file li:last-child {
  136. border-bottom: none;
  137. }
  138. .admin-content-file li .am-progress {
  139. margin-bottom: 4px;
  140. }
  141. .admin-content-file li .am-progress-bar {
  142. line-height: 14px;
  143. }
  144. .admin-content-task {
  145. margin-bottom: 0;
  146. }
  147. .admin-content-task li {
  148. padding: 5px 0;
  149. border-color: #eee;
  150. }
  151. .admin-content-task li:first-child {
  152. border-top: none;
  153. }
  154. .admin-content-task li:last-child {
  155. border-bottom: none;
  156. }
  157. .admin-task-meta {
  158. font-size: 1.2rem;
  159. color: #999;
  160. }
  161. .admin-task-bd {
  162. font-size: 1.4rem;
  163. margin-bottom: 5px;
  164. }
  165. .admin-content-comment {
  166. margin-bottom: 0;
  167. }
  168. .admin-content-comment .am-comment-bd {
  169. font-size: 1.4rem;
  170. }
  171. .admin-content-pagination {
  172. margin-bottom: 0;
  173. }
  174. .admin-content-pagination li a {
  175. padding: 4px 8px;
  176. }
  177. @media only screen and (min-width: 641px) {
  178. .admin-sidebar {
  179. display: block;
  180. position: static;
  181. background: none;
  182. }
  183. .admin-offcanvas-bar {
  184. position: static;
  185. width: auto;
  186. background: none;
  187. -webkit-transform: translate3d(0, 0, 0);
  188. -ms-transform: translate3d(0, 0, 0);
  189. transform: translate3d(0, 0, 0);
  190. overflow-y: visible;
  191. min-height: 100%;
  192. }
  193. .admin-offcanvas-bar:after {
  194. content: none;
  195. }
  196. }
  197. @media only screen and (max-width: 640px) {
  198. .admin-sidebar {
  199. width: inherit;
  200. }
  201. .admin-offcanvas-bar {
  202. background: #f3f3f3;
  203. }
  204. .admin-offcanvas-bar:after {
  205. background: #BABABA;
  206. }
  207. .admin-sidebar-list a:hover, .admin-sidebar-list a:active{
  208. -webkit-transition: background-color .3s ease;
  209. -moz-transition: background-color .3s ease;
  210. -ms-transition: background-color .3s ease;
  211. -o-transition: background-color .3s ease;
  212. transition: background-color .3s ease;
  213. background: #E4E4E4;
  214. }
  215. .admin-content-list li {
  216. padding: 10px;
  217. border-width: 1px 0;
  218. margin-top: -1px;
  219. }
  220. .admin-content-list li:first-child {
  221. border-top: none;
  222. }
  223. .admin-content-list li:last-child {
  224. border-bottom: none;
  225. }
  226. .admin-form-text {
  227. text-align: left !important;
  228. }
  229. }
  230. /*
  231. * user.html css
  232. */
  233. .user-info {
  234. margin-bottom: 15px;
  235. }
  236. .user-info .am-progress {
  237. margin-bottom: 4px;
  238. }
  239. .user-info p {
  240. margin: 5px;
  241. }
  242. .user-info-order {
  243. font-size: 1.4rem;
  244. }
  245. /*
  246. * errorLog.html css
  247. */
  248. .error-log .am-pre-scrollable {
  249. max-height: 40rem;
  250. }
  251. /*
  252. * table.html css
  253. */
  254. .table-main {
  255. font-size: 1.4rem;
  256. padding: .5rem;
  257. }
  258. .table-main button {
  259. background: #fff;
  260. }
  261. .table-check {
  262. width: 30px;
  263. }
  264. .table-id {
  265. width: 50px;
  266. }
  267. @media only screen and (max-width: 640px) {
  268. .table-select {
  269. margin-top: 10px;
  270. margin-left: 5px;
  271. }
  272. }
  273. /*
  274. gallery.html css
  275. */
  276. .gallery-list li {
  277. padding: 10px;
  278. }
  279. .gallery-list a {
  280. color: #666;
  281. }
  282. .gallery-list a:hover {
  283. color: #3bb4f2;
  284. }
  285. .gallery-title {
  286. margin-top: 6px;
  287. font-size: 1.4rem;
  288. }
  289. .gallery-desc {
  290. font-size: 1.2rem;
  291. margin-top: 4px;
  292. }
  293. /*
  294. 404.html css
  295. */
  296. .page-404 {
  297. background: #fff;
  298. border: none;
  299. width: 200px;
  300. margin: 0 auto;
  301. }