index2.css 3.1 KB

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