You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

181 lines
3.2 KiB

6 years ago
  1. /*公共样式*/
  2. body{
  3. /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
  4. font-size: 1rem;
  5. line-height: 1.45;
  6. color: #373a3c;
  7. background-color: #F1F1F1;
  8. }
  9. .f30{
  10. font-size:30px;
  11. }
  12. .f24{
  13. font-size:24px;
  14. }
  15. .f20{
  16. font-size:20px;
  17. }
  18. /*登录页*/
  19. .login-body{
  20. display: flex;
  21. align-items: center;
  22. height: 100vh;
  23. }
  24. .login-body .line {
  25. border-bottom: 1px solid #dadada;
  26. line-height: 0.1em;
  27. margin: 10px 0 20px;
  28. }
  29. .login-body .line span {
  30. background: #fff;
  31. padding: 0 10px;
  32. }
  33. .login-form {
  34. box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  35. margin: 0 auto;
  36. }
  37. .login-form h2{
  38. text-align: center;
  39. margin-bottom: 20px;
  40. }
  41. .login-form h6 {
  42. text-align: center;
  43. }
  44. /*导航部分*/
  45. .navbar {
  46. position: relative;
  47. min-height: 58px;
  48. margin-bottom: 20px;
  49. padding: 0px;
  50. transition: 300ms ease all;
  51. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  52. background: #FFFFFF;
  53. border: 0px;
  54. }
  55. .navbar-header{
  56. float: left;
  57. width: 240px;
  58. background: #1D2B36;
  59. height: 58px;
  60. }
  61. .navbar-header a{
  62. display: block;
  63. margin-left: 20px;
  64. margin-top: 15px;
  65. }
  66. .navbar-content {
  67. margin-left: 240px;
  68. padding: 0rem 1rem;
  69. transition: 300ms ease all;
  70. background: inherit;
  71. height: 58px;
  72. }
  73. .navbar-content .navbar-left {
  74. float: left;
  75. padding-left: 0;
  76. margin-bottom: 0;
  77. list-style: none;
  78. height: 58px;
  79. width: 300px;
  80. }
  81. .navbar-content > .navbar-left > li {
  82. float: left;
  83. height: 58px;
  84. line-height: 58px;
  85. margin-left: 25px;
  86. }
  87. .navbar-content > .navbar-left > li > a{
  88. text-decoration: none;
  89. line-height: 58px;
  90. color: #55595c;
  91. position: relative;
  92. display: block;
  93. padding: 0;
  94. background-color: #fff;
  95. }
  96. .navbar-content > .navbar-left > li > a:hover,
  97. .navbar-content > .navbar-left > li > a:focus {
  98. text-decoration: none;
  99. background-color: inherit !important;
  100. }
  101. .navbar-content .navbar-right {
  102. float: right;
  103. padding-right: 0;
  104. margin-bottom: 0;
  105. list-style: none;
  106. height: 58px;
  107. width: 500px;
  108. }
  109. .navbar-content > .navbar-right > li {
  110. float: right;
  111. height: 58px;
  112. line-height: 58px;
  113. margin-right: 30px;
  114. }
  115. .navbar-content > .navbar-right > li > a{
  116. text-decoration: none;
  117. line-height: 58px;
  118. color: #55595c;
  119. position: relative;
  120. display: block;
  121. padding: 0;
  122. background-color: #fff;
  123. }
  124. .navbar-content > .navbar-right > li > a:hover,
  125. .navbar-content > .navbar-right > li > a:focus {
  126. text-decoration: none;
  127. background-color: inherit !important;
  128. }
  129. .dropdown-menu > li > a {
  130. font-size: 18px;
  131. }
  132. .navbar-content .navbar-right i {
  133. font-size: 16px;
  134. margin-right: 8px;
  135. }
  136. /*侧边栏*/
  137. .sidebar{
  138. width: 240px;
  139. background: #1D2B36;
  140. }
  141. .sidebar-content{
  142. height: 100%;
  143. position: relative;
  144. }
  145. .sidebar-content > ul {
  146. overflow-x: hidden;
  147. list-style: none;
  148. margin: 0;
  149. padding: 0;
  150. font-size: 1rem;
  151. overflow-y: hidden;
  152. }
  153. .sidebar-content > ul > li{
  154. line-height: 2.8;
  155. border: 1px solid red;
  156. }
  157. .sidebar-item-list{
  158. display: none;
  159. }