Common.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /**
  2. * 公共class
  3. */
  4. .w-12 { width: 12px !important; }
  5. .w-14 { width: 14px !important; }
  6. .w-16 { width: 14px !important; }
  7. .w-18 { width: 18px !important; }
  8. .w-20 { width: 20px !important; }
  9. .m-0 { margin: 0px !important; }
  10. .m-5 { margin: 5px !important; }
  11. .m-10 { margin: 10px !important; }
  12. .m-15 { margin: 15px !important; }
  13. .m-20 { margin: 20px !important; }
  14. .m-25 { margin: 25px !important; }
  15. .m-30 { margin: 30px !important; }
  16. .m-35 { margin: 35px !important; }
  17. .m-40 { margin: 40px !important; }
  18. .m-45 { margin: 45px !important; }
  19. .m-50 { margin: 50px !important; }
  20. .p-0 { padding: 0px !important; }
  21. .p-10 { padding: 10px !important; }
  22. .p-20 { padding: 20px !important; }
  23. .p-30 { padding: 30px !important; }
  24. .p-l-0 { padding-left: 0px !important; }
  25. .p-l-5 { padding-left: 5px !important; }
  26. .p-l-10 { padding-left: 10px !important; }
  27. .p-l-15 { padding-left: 15px !important; }
  28. .p-l-20 { padding-left: 20px !important; }
  29. .p-l-25 { padding-left: 25px !important; }
  30. .p-l-30 { padding-left: 30px !important; }
  31. .p-r-0 { padding-right: 0px !important; }
  32. .p-r-5 { padding-right: 5px !important; }
  33. .p-r-10 { padding-right: 10px !important; }
  34. .p-r-15 { padding-right: 15px !important; }
  35. .p-r-20 { padding-right: 20px !important; }
  36. .p-r-25 { padding-right: 25px !important; }
  37. .p-r-30 { padding-right: 30px !important; }
  38. .p-r-0 { padding-right: 0px !important; }
  39. .p-t-0 { padding-top: 0px !important; }
  40. .p-b-0 { padding-bottom: 0px !important; }
  41. .p-t-10 { padding-top: 10px !important; }
  42. .p-b-10 { padding-bottom: 10px !important; }
  43. .p-l-r-10 { padding-left: 10px; padding-right: 10px; }
  44. .m-0 { margin: 0px !important; }
  45. .m-r-5 { margin-right: 5px !important; }
  46. .m-r-10 { margin-right: 10px !important; }
  47. .m-r-15 { margin-right: 15px !important; }
  48. .m-r-20 { margin-right: 15px !important; }
  49. .m-l-5 { margin-left: 5px !important; }
  50. .m-l-10 { margin-left: 10px !important; }
  51. .m-l-15 { margin-left: 15px !important; }
  52. .m-l-20 { margin-left: 20px !important; }
  53. .m-l-25 { margin-left: 25px !important; }
  54. .m-l-30 { margin-left: 30px !important; }
  55. .m-t-5 { margin-top: 5px !important; }
  56. .m-t-0 { margin-top: 0px !important; }
  57. .m-t-10 { margin-top: 10px !important; }
  58. .m-t-15 { margin-top: 15px !important; }
  59. .m-t-20 { margin-top: 20px !important; }
  60. .m-t-30 { margin-top: 30px !important; }
  61. .m-t-40 { margin-top: 40px !important; }
  62. .m-b-0 { margin-bottom: 0px !important; }
  63. .m-b-5 { margin-bottom: 5px !important; }
  64. .m-b-10 { margin-bottom: 10px !important; }
  65. .m-b-15 { margin-bottom: 15px !important; }
  66. .m-b-20 { margin-bottom: 20px !important; }
  67. .m-b-25 { margin-bottom: 25px !important; }
  68. .m-b-30 { margin-bottom: 30px !important; }
  69. .b-b-solid { border-bottom: 1px solid #dedede; }
  70. /**
  71. * 用户中心布局样式
  72. */
  73. .user-menu {position:fixed;z-index:10;bottom:30px;right:20px;}
  74. .user-sidebar {width:145px;min-height:100%;float:left;border-right:1px solid #cecece;}
  75. .user-sidebar .am-active {z-index:1600;}
  76. .user-sidebar .am-active a, .user-sidebar-list li a:hover {background:#eee;}
  77. .user-sidebar-list li a {color:#5c5c5c;padding-left:10px;padding: 0.8rem;}
  78. .user-sidebar-list li:first-child {border-top:none;}
  79. .user-sidebar-sub {margin-top:0;margin-bottom:0;padding-left:24px;border-top:1px solid #dedede;}
  80. .user-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;}
  81. .user-content-body {-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}
  82. .user-offcanvas-bar { z-index: 900; }
  83. @media only screen and (min-width:641px) {
  84. .user-sidebar {display:block;position:static;background:none;margin-left:10px;}
  85. .user-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:hidden;}
  86. .user-offcanvas-bar:after {content:none;}
  87. }
  88. @media only screen and (max-width:640px) {
  89. .user-sidebar {width:inherit;}
  90. .user-offcanvas-bar {background:#f3f3f3;}
  91. .user-offcanvas-bar:after {background:#BABABA;}
  92. .user-sidebar-list a:hover,.user-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;}
  93. }
  94. /**
  95. * 公共
  96. */
  97. img, video, embed { max-width: 100%; }
  98. .tips-error { margin: 15% 0; }
  99. /**
  100. * 导航
  101. */
  102. header .am-topbar-right .am-topbar-btn { margin-top: 0.8rem; }
  103. header .am-dropdown-content { border-radius: 2px; }
  104. header.am-topbar { margin-bottom: 0rem; }
  105. .nav-header, .am-footer, .site-oneself, .my-error, .user-main { margin: auto; }
  106. .my-radius { border-radius: 2px !important; }
  107. .nav-active { background-color: #0d82bd; }
  108. .am-topbar-nav > li > a:after { display: none; }
  109. .am-footer { font-size: 1.4rem; }
  110. .footer-nav-list a:hover { color: #095f8a; }
  111. .am-footer { padding: 0.5rem 20px 1em 20px; }
  112. #home_site_logo { max-width: 180px; max-height: 38px; }
  113. .user-header-nav .am-dropdown-content { min-width: 100px; }
  114. /**
  115. * 错误页面
  116. */
  117. .my-error { margin: 20% 10% 0 10%; }
  118. /**
  119. * 回顶部
  120. */
  121. #my-go-top { position: fixed; right: 50px; bottom: 100px; }
  122. /**
  123. * PC
  124. */
  125. @media only screen and (min-width: 641px) {
  126. /**
  127. * 用户导航
  128. */
  129. .user-header-nav ul { margin-top: 1.4rem; }
  130. .user-nav-reg-submit { margin-left: 10px; }
  131. /**
  132. * 图片验证码
  133. */
  134. #verify-img-value { float: left; width: 50%; margin-right: 5px; }
  135. }
  136. /**
  137. * 手机
  138. */
  139. @media only screen and (max-width: 641px) {
  140. /**
  141. * 用户导航
  142. */
  143. .user-header-nav { width: 100%; }
  144. /**
  145. * 错误页面
  146. */
  147. .my-error { margin-top: 35%; }
  148. /**
  149. * 图片验证码
  150. */
  151. #verify-img-value { margin-bottom: 10px; }
  152. }