Default.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. a{
  2. text-decoration: none;/*去除a标签下划线*/
  3. }
  4. /*顶部导航栏样式*/
  5. .container{
  6. position: fixed;
  7. top: 0;
  8. right: 0;
  9. left: 0;
  10. }
  11. .header{
  12. display: flex;
  13. height: 64px;
  14. background-color: #2196f3;
  15. box-shadow: 0 4 5 #c4c0bd;
  16. box-shadow: 0px 4px 5px #c4c0bd;/*边框阴影*/
  17. align-items: baseline;
  18. }
  19. .header i{
  20. width: 24px;
  21. height: 24px;
  22. font-size: 24px;
  23. color: #fff;
  24. }
  25. .header_column{
  26. display: flex;
  27. flex: 1;
  28. width: 275px;
  29. height: 22px;
  30. margin: auto 0;
  31. }
  32. .header_column i{
  33. margin-left: 40px;
  34. cursor: pointer;
  35. }
  36. .img_left{
  37. flex-direction: row;
  38. width: 25px;
  39. height: 25px;
  40. }
  41. .header_column a{
  42. font-size: 24px;
  43. font-family: Roboto,Noto,Helvetica,Arial,sans-serif;/*字体样式*/
  44. color: #fff;
  45. margin-left: 34px;
  46. }
  47. .header_icon{
  48. display: flex;
  49. flex: 1;
  50. justify-content: flex-end;
  51. margin: auto;
  52. margin-right: 25px;
  53. }
  54. /*左侧导航栏样式*/
  55. .body{
  56. display: flex;
  57. }
  58. #sidebar{
  59. width: 225px;
  60. height: 500px;
  61. flex: 1;
  62. flex-direction: column;
  63. position: relative;
  64. top: 0px;
  65. left: -225px;
  66. }
  67. .row{
  68. height: 49px;
  69. display: flex;
  70. width: 225px;
  71. margin: 0 auto;
  72. justify-content: flex-start;
  73. align-items: center;
  74. }
  75. .row i{
  76. width: 24px;
  77. height: 24px;
  78. font-size: 24px;
  79. color: #757474;
  80. margin-left: 18px;
  81. }
  82. .row p{
  83. color: #333;
  84. margin-left: 35px;
  85. }
  86. /*页面导航样式*/
  87. .main{
  88. width: 100%;
  89. height: auto!important;
  90. color: black;
  91. display: flex;
  92. flex: 5;
  93. }
  94. .main_row{
  95. width: 1125px;
  96. height: 140px;
  97. padding: 10px;
  98. position: relative;
  99. top: 47px;
  100. }
  101. .icon{
  102. float: left;
  103. }
  104. .col_user{
  105. float: left;
  106. width: 330px;
  107. height: 74px;
  108. padding: 10px;
  109. }
  110. .col_database{
  111. float: left;
  112. width: 330px;
  113. height: 74px;
  114. padding: 10px;
  115. }
  116. .col_service{
  117. float: left;
  118. width: 330px;
  119. height: 74px;
  120. padding: 10px;
  121. }
  122. .main_row i{
  123. width: 74px;
  124. height: 74px;
  125. font-size: 74px;
  126. color: #757474;
  127. }
  128. /*文本和数字样式*/
  129. .col_text{
  130. float: left;
  131. }
  132. .user_text{
  133. padding: 10px 5px;
  134. font-size: 18px;
  135. color: #333;
  136. }
  137. .database_text{
  138. padding: 10px 5px;
  139. font-size: 18px;
  140. color: #333;
  141. }
  142. .service_text{
  143. padding: 10px 5px;
  144. font-size: 18px;
  145. color: #333;
  146. }
  147. .user_number{
  148. padding: 0px 5px;
  149. font-size: 24px;
  150. color: #333;
  151. line-height: 0.7;
  152. }
  153. .database_number{
  154. padding: 0px 5px;
  155. font-size: 24px;
  156. color: #333;
  157. line-height: 0.7;
  158. }
  159. .service_number{
  160. padding: 0px 5px;
  161. font-size: 24px;
  162. color: #333;
  163. line-height: 0.7;
  164. }
  165. /*font-icon替换矢量图*/
  166. @font-face {
  167. font-family: 'Material Icons';
  168. font-style: normal;
  169. font-weight: 400;
  170. src: local('Material Icons'),
  171. local('MaterialIcons-Regular'),
  172. url(MaterialIcons-Regular.woff2) format('woff2'),
  173. url(MaterialIcons-Regular.woff) format('woff');
  174. }
  175. .material-icons {
  176. font-style: normal;
  177. font-family: 'Material Icons';
  178. /* Support for all WebKit browsers. */
  179. -webkit-font-smoothing: antialiased;
  180. /* Support for Safari and Chrome. */
  181. text-rendering: optimizeLegibility;
  182. /* Support for Firefox. */
  183. -moz-osx-font-smoothing: grayscale;
  184. /* Support for IE. */
  185. -webkit-font-feature-settings: 'liga';
  186. -moz-font-feature-settings: 'liga';
  187. font-feature-settings: 'liga';
  188. }