style.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. /*
  2. * Title: Pure CSS3 Backend Panel
  3. * Author: Clear
  4. * Version: 1.0.0
  5. * Create: 2015-06-05
  6. * Update: 2015-06-05
  7. */
  8. /* CSS Reset */
  9. * {
  10. padding: 0;
  11. margin: 0;
  12. list-style: none;
  13. box-sizing: border-box;
  14. outline: none;
  15. font-weight: normal;
  16. }
  17. body {
  18. background: #1ABC9C;
  19. font-family: "Segoe UI","Microsoft YaHei";
  20. }
  21. a {
  22. color: #000;
  23. text-decoration: none;
  24. }
  25. header {
  26. color: #fff;
  27. text-align: center;
  28. min-height: 140px;
  29. margin-bottom: 60px;
  30. }
  31. header h1{
  32. /*margin-top: 100px;*/
  33. font-size: 50px;
  34. margin-bottom: 20px;
  35. font-weight: 100;
  36. }
  37. header a{
  38. font-size: 18px;
  39. margin-left: 20px;
  40. }
  41. .copyright {
  42. font-size: 25px;
  43. font-weight: 100;
  44. color: #fff;
  45. text-align: center;
  46. margin: 100px 0;
  47. }
  48. .copyright a {
  49. color: #fff;
  50. }
  51. .pb30{padding-bottom: 30px;}
  52. .fl {
  53. float: left
  54. }
  55. .fr {
  56. float: right
  57. }
  58. .ease {
  59. -webkit-transition: all .5s;
  60. -moz-transition: all .5s;
  61. -o-transition: all .5s;
  62. transition: all .5s;
  63. }
  64. .container {
  65. width: 100%;
  66. max-width: 1200px;
  67. margin: 0 auto;
  68. }
  69. /* Backend Panel Start */
  70. .clear-backend {
  71. background: #fff;
  72. width: 100%;
  73. height: 800px;
  74. position: relative;
  75. }
  76. .avatar {
  77. background: #f0f0f0;
  78. width: 200px;
  79. height: 200px;
  80. }
  81. .avatar div {
  82. width: 150px;
  83. height: 150px;
  84. border-radius: 50%;
  85. overflow: hidden;
  86. position: relative;
  87. top: 25px;
  88. left: 25px;
  89. }
  90. .avatar div img {
  91. width: 100%;
  92. height: auto;
  93. }
  94. .clear-backend > input {
  95. position: absolute;
  96. filter: alpha(opacity=0);
  97. opacity: 0;
  98. }
  99. .clear-backend > input:hover {
  100. cursor: pointer;
  101. }
  102. .clear-backend > input:hover + span,
  103. .clear-backend > input:checked + span {
  104. background: #fff;
  105. color: #1ABC9C;
  106. }
  107. .clear-backend > input:checked + span + i {
  108. color: #1ABC9C;
  109. }
  110. .clear-backend > i {
  111. position: absolute;
  112. margin-top: -40px;
  113. padding: 0 20px;
  114. font-size: 20px;
  115. }
  116. .clear-backend > span,
  117. .clear-backend > i {
  118. -webkit-transition: all .5s;
  119. -moz-transition: all .5s;
  120. -o-transition: all .5s;
  121. transition: all .5s;
  122. }
  123. .clear-backend > input,
  124. .clear-backend > span {
  125. background: #f0f0f0;
  126. display: block;
  127. width: 200px;
  128. height: 60px;
  129. line-height: 60px;
  130. text-align: center;
  131. z-index: 9;
  132. }
  133. .top-bar {
  134. background: #f0f0f0;
  135. color: #000;
  136. position: absolute;
  137. top: 0;
  138. right: 0;
  139. width: calc(100% - 200px);
  140. height: 60px;
  141. line-height: 60px;
  142. font-size: 20px;
  143. z-index: 9;
  144. }
  145. .top-bar li {
  146. float: right;
  147. }
  148. .top-bar a {
  149. display: block;
  150. padding: 0 20px;
  151. -webkit-transition: all .5s;
  152. -moz-transition: all .5s;
  153. -o-transition: all .5s;
  154. transition: all .5s;
  155. }
  156. .top-bar a:hover {
  157. color: #1ABC9C;
  158. }
  159. .top-bar li:hover {
  160. background: #fff;
  161. }
  162. .tab-content {
  163. position: absolute;
  164. top: 0;
  165. right: 0;
  166. width: calc(100% - 200px);
  167. height: 100%;
  168. padding-top: 60px;
  169. overflow: hidden;
  170. }
  171. .tab-content section {
  172. position: absolute;
  173. width: 100%;
  174. height: 100%;
  175. padding: 20px;
  176. display: none;
  177. }
  178. .clear-backend > input.tab-1:checked ~ .tab-content .tab-item-1 {
  179. display: block;
  180. }
  181. .clear-backend > input.tab-2:checked ~ .tab-content .tab-item-2 {
  182. display: block;
  183. }
  184. .clear-backend > input.tab-3:checked ~ .tab-content .tab-item-3 {
  185. display: block;
  186. }
  187. .clear-backend > input.tab-4:checked ~ .tab-content .tab-item-4 {
  188. display: block;
  189. }
  190. .clear-backend > input.tab-5:checked ~ .tab-content .tab-item-5 {
  191. display: block;
  192. }
  193. .clear-backend > input.tab-6:checked ~ .tab-content .tab-item-6 {
  194. display: block;
  195. }
  196. .clear-backend > input.tab-7:checked ~ .tab-content .tab-item-7 {
  197. display: block;
  198. }
  199. .clear-backend > input.tab-8:checked ~ .tab-content .tab-item-8 {
  200. display: block;
  201. }
  202. .clear-backend > input.tab-9:checked ~ .tab-content .tab-item-9 {
  203. display: block;
  204. }
  205. .clear-backend > input.tab-10:checked ~ .tab-content .tab-item-10 {
  206. display: block;
  207. }
  208. /* Responsive */
  209. @media screen and (max-width: 1367px) {
  210. }
  211. @media screen and (max-width: 1281px) {
  212. }
  213. @media screen and (max-width: 1025px) {
  214. }
  215. @media only screen and (max-width: 961px) {
  216. }
  217. @media only screen and (max-width: 641px) {
  218. .avatar,
  219. .clear-backend > input,
  220. .clear-backend > span {
  221. width: 60px;
  222. height: 60px;
  223. }
  224. .clear-backend > span {
  225. filter: alpha(opacity=0);
  226. opacity: 0;
  227. }
  228. .avatar div {
  229. width: 40px;
  230. height: 40px;
  231. border-radius: 50%;
  232. top: 5px;
  233. left: 5px;
  234. }
  235. .top-bar,
  236. .tab-content {
  237. width: calc(100% - 60px);
  238. }
  239. }
  240. @media only screen and (max-width: 481px) {
  241. }