index.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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. opacity: 1 !important;
  59. background: #fff !important;
  60. }
  61. .navbar-brand img{
  62. width: 120px;
  63. }
  64. .nav-side-bar ul {
  65. margin-top: 3rem;
  66. margin-left: 2.5rem;
  67. padding-left: 0rem;
  68. }
  69. .nav-side-bar li {
  70. padding: .5rem 0;
  71. }
  72. .nav-side-bar .side-bar-link {
  73. display: block;
  74. text-decoration-line: none;
  75. font-size: .9rem;
  76. color: white;
  77. padding-left: 2rem;
  78. }
  79. .nav-side-bar .side-bar-link.active, .nav-side-bar .side-bar-link:hover {
  80. background: white;
  81. color: black;
  82. border-top-left-radius: 8px;
  83. border-bottom-left-radius: 8px;
  84. position: relative;
  85. }
  86. .nav-side-bar .side-bar-link.active::after {
  87. position: absolute;
  88. right: 1rem;
  89. top: -2px;
  90. content: ">";
  91. }
  92. .login_form {
  93. display: block;
  94. margin: 5rem auto;
  95. width: 60%;
  96. padding-top: 7rem;
  97. }
  98. .login_form h2 {
  99. text-align: center;
  100. font-size: 2.5rem;
  101. color: #002e86;
  102. margin-bottom: 4rem;
  103. }
  104. .login_form label {
  105. color: #002e86;
  106. }
  107. .login_form input {
  108. border-radius: 10px;
  109. padding-top: .5rem;
  110. padding-bottom: .5rem;
  111. }
  112. .login_form #btn_login,.login_form #btn_register {
  113. display: block;
  114. width: 100%;
  115. border-radius: 10px;
  116. background: #002e86;
  117. border-color: #002e86;
  118. padding-top: .5rem;
  119. padding-bottom: .5rem;
  120. }
  121. /* 水塔監控 */
  122. /* =================================================== */
  123. body{
  124. background: #f8f9fb;
  125. }
  126. .option{
  127. background: #0174c7;
  128. color:#000;
  129. }
  130. .tower-data{
  131. width: 80vw;
  132. margin: 0 auto;
  133. }
  134. #select_boxes{
  135. padding: 10px 25px;
  136. }
  137. .select-item{
  138. width: 20%;
  139. padding: 10px;
  140. margin: 10px;
  141. border-radius: 5px;
  142. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  143. border:none;
  144. }
  145. #tower_btn{
  146. padding: 8px 15px;
  147. margin: 10px;
  148. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  149. border:none;
  150. border-radius: 5px;
  151. background: #fff;
  152. color:#0174c7;
  153. transition: 0.3s;
  154. }
  155. #tower_btn:hover{
  156. background: #0174c7;
  157. color:#fff;
  158. }
  159. #tower-box{
  160. padding: 10px;
  161. }
  162. #tower{
  163. width: 100%;
  164. padding: 10px;
  165. border-radius: 5px;
  166. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  167. border:none;
  168. }
  169. h1{
  170. font-size: 1.6rem;
  171. font-weight: 900;
  172. padding: 15px;
  173. }
  174. p{
  175. font-size: 2.4vmin;
  176. }
  177. .card{
  178. margin: 2.3vmin;
  179. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  180. border-radius:15px;
  181. padding: 15px;
  182. }
  183. .unit{
  184. font-size: 25px;
  185. font-weight: 900;
  186. }
  187. .data-title{
  188. color:#495057;
  189. }
  190. #map{
  191. position: absolute;
  192. left: 300px;
  193. top: 500px;
  194. width: 450px;
  195. height: 450px;
  196. }
  197. /* 智能最佳化 */
  198. table {
  199. font-family: arial, sans-serif;
  200. border-collapse: collapse;
  201. width: 50%;
  202. }
  203. td,
  204. th {
  205. border: 1px solid #dddddd;
  206. text-align: left;
  207. padding: 8px;
  208. }
  209. tr:nth-child(even) {
  210. background-color: #dddddd;
  211. }
  212. #tower_temperature{
  213. padding: 10px 25px;
  214. }
  215. h1{
  216. font-size: 1.6rem;
  217. font-weight: 900;
  218. padding: 15px;
  219. }
  220. #h1text{
  221. color:#002e86;
  222. }
  223. .progress-label {
  224. width: 170px;
  225. text-align: right;
  226. padding-right: 10px;
  227. font-size: 16px;
  228. }
  229. .horizontal .progress-bar {
  230. float: left;
  231. height: 50px;
  232. width: 100%;
  233. padding: 3px 0;
  234. }
  235. .horizontal .progress-track {
  236. position: relative;
  237. width: 100%;
  238. height: 50px;
  239. background: #ebebeb;
  240. }
  241. .horizontal .progress-fill {
  242. position: relative;
  243. background: #2883fa;
  244. height: 50px;
  245. width: 50%;
  246. color: #080707;
  247. text-align: center;
  248. font-family: "Lato", "Verdana", sans-serif;
  249. font-size: 16px;
  250. line-height: 20px;
  251. }
  252. .horizontal .progress-fill2 {
  253. position: relative;
  254. background: #ba711e;
  255. height: 50px;
  256. width: 50%;
  257. color: #080707;
  258. text-align: center;
  259. font-family: "Lato", "Verdana", sans-serif;
  260. font-size: 16px;
  261. line-height: 20px;
  262. }
  263. .horizontal .progress-fill3 {
  264. position: relative;
  265. background: #3dba1e;
  266. height: 50px;
  267. width: 50%;
  268. color: #080707;
  269. text-align: center;
  270. font-family: "Lato", "Verdana", sans-serif;
  271. font-size: 16px;
  272. line-height: 20px;
  273. }
  274. .horizontal .progress-fill4 {
  275. position: relative;
  276. background: #f0ff1f;
  277. height: 50px;
  278. width: 50%;
  279. color: #080707;
  280. text-align: center;
  281. font-family: "Lato", "Verdana", sans-serif;
  282. font-size: 16px;
  283. line-height: 20px;
  284. }
  285. .progress-label {
  286. width: 170px;
  287. text-align: right;
  288. padding-right: 10px;
  289. font-size: 16px;
  290. font-weight: 900;
  291. }
  292. .progress-group {
  293. display: flex;
  294. }
  295. .progress-label::after {
  296. content: ":";
  297. }
  298. #app {
  299. width: 400px;
  300. height: 400px;
  301. }