admin.css 4.9 KB

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