index.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. #sitebody{
  2. margin:0 auto;
  3. margin-top: -80px;
  4. font-size:13px;
  5. }
  6. #nav-side-bar{
  7. /* background-color; */
  8. /* width:120px; */
  9. /* height:120px; */
  10. /* text-align:center; */
  11. line-height:40px;
  12. height: 100%;
  13. width: 250px;
  14. position: fixed;
  15. z-index: 1;
  16. top: 59.6333px;
  17. left: 0;
  18. background: url(../static/img/sidebar.png);
  19. background-size: cover;
  20. overflow-x: hidden;
  21. transition: 0.5s;
  22. }
  23. #nav-side-bar .bar_img {
  24. transform: rotate(270deg);
  25. position: absolute;
  26. right: -110%;
  27. top: 15rem;
  28. z-index: 3;
  29. }
  30. #content{
  31. position: absolute;
  32. left: 50px;
  33. top: 60px;
  34. width: calc(100% - 250px);
  35. margin-left: 200px;
  36. /* border-style:solid; */
  37. }
  38. #content_login {
  39. width: calc(100% - 250px);
  40. height: calc(100vh - 60px);
  41. margin-left: 250px;
  42. background: linear-gradient(105deg, rgba(255, 255, 255, 0.884) 0%, rgba(255, 255, 255, 0.884) 100%, transparent 100%), url(../static/img/technology.jpg);
  43. }
  44. #show_factory_class_1{
  45. border-style:solid;
  46. text-align:center;
  47. }
  48. #show_factory_class_2{
  49. border-style:solid;
  50. text-align:center;
  51. }
  52. .navbar {
  53. box-shadow: 0 2px 2px -2px rgba(0,0,0,.2);
  54. position:fixed;
  55. top:0px;
  56. width: 100vw !important;
  57. z-index: 100;
  58. }
  59. .navbar-brand img{
  60. width: 120px;
  61. }
  62. .nav-side-bar ul {
  63. margin-top: 3rem;
  64. margin-left: 2.5rem;
  65. padding-left: 0rem;
  66. }
  67. .nav-side-bar li {
  68. padding: .5rem 0;
  69. }
  70. .nav-side-bar .side-bar-link {
  71. display: block;
  72. text-decoration-line: none;
  73. font-size: .9rem;
  74. color: white;
  75. padding-left: 2rem;
  76. }
  77. .nav-side-bar .side-bar-link.active, .nav-side-bar .side-bar-link:hover {
  78. background: white;
  79. color: black;
  80. border-top-left-radius: 8px;
  81. border-bottom-left-radius: 8px;
  82. position: relative;
  83. }
  84. .nav-side-bar .side-bar-link.active::after {
  85. position: absolute;
  86. right: 1rem;
  87. top: -2px;
  88. content: ">";
  89. }
  90. .login_form {
  91. display: block;
  92. margin: 5rem auto;
  93. width: 60%;
  94. padding-top: 7rem;
  95. }
  96. .login_form h2 {
  97. text-align: center;
  98. font-size: 2.5rem;
  99. color: #002e86;
  100. margin-bottom: 4rem;
  101. }
  102. .login_form label {
  103. color: #002e86;
  104. }
  105. .login_form input {
  106. border-radius: 10px;
  107. padding-top: .5rem;
  108. padding-bottom: .5rem;
  109. }
  110. .login_form #btn_login,.login_form #btn_register {
  111. display: block;
  112. width: 100%;
  113. border-radius: 10px;
  114. background: #002e86;
  115. border-color: #002e86;
  116. padding-top: .5rem;
  117. padding-bottom: .5rem;
  118. }
  119. /* 版本一 */
  120. body{
  121. background: #f8f9fb;
  122. }
  123. .option{
  124. background: #0174c7;
  125. color:#000;
  126. }
  127. .tower-data{
  128. width: 80vw;
  129. margin: 0 auto;
  130. }
  131. #select_boxes{
  132. padding: 10px 25px;
  133. }
  134. .select-item{
  135. width: 20%;
  136. padding: 10px;
  137. margin: 10px;
  138. border-radius: 5px;
  139. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  140. border:none;
  141. }
  142. #tower_btn{
  143. padding: 8px 15px;
  144. margin: 10px;
  145. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  146. border:none;
  147. border-radius: 5px;
  148. background: #fff;
  149. color:#0174c7;
  150. transition: 0.3s;
  151. }
  152. #tower_btn:hover{
  153. background: #0174c7;
  154. color:#fff;
  155. }
  156. #tower-box{
  157. padding: 10px;
  158. }
  159. #tower{
  160. width: 100%;
  161. padding: 10px;
  162. border-radius: 5px;
  163. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  164. border:none;
  165. }
  166. h1{
  167. font-size: 1.6rem;
  168. font-weight: 900;
  169. padding: 15px;
  170. }
  171. p{
  172. font-size: 2.4vmin;
  173. }
  174. .card{
  175. margin: 2.3vmin;
  176. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  177. border-radius:15px;
  178. padding: 15px;
  179. }
  180. .unit{
  181. font-size: 25px;
  182. font-weight: 900;
  183. }
  184. .data-title{
  185. color:#495057;
  186. }