index.css 3.4 KB

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