index.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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. border:none;
  164. }
  165. h1{
  166. font-size: 1.6rem;
  167. font-weight: 900;
  168. padding: 15px;
  169. }
  170. p{
  171. font-size: 2.4vmin;
  172. }
  173. .card{
  174. margin: 2.3vmin;
  175. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  176. border-radius:10px;
  177. padding: 15px;
  178. }
  179. .unit{
  180. font-size: 25px;
  181. font-weight: 900;
  182. }
  183. .data-title{
  184. color:#495057;
  185. }
  186. #map{
  187. position:relative;
  188. width: 450px;
  189. height: 450px;
  190. }
  191. /* 智能最佳化 */
  192. table {
  193. font-family: arial, sans-serif;
  194. border-collapse: collapse;
  195. width: 50%;
  196. }
  197. /* td,
  198. th {
  199. border: 1px solid #dddddd;
  200. text-align: left;
  201. padding: 8px;
  202. } */
  203. /* tr:nth-child(even) {
  204. background-color: #dddddd;
  205. } */
  206. #tower_temperature{
  207. padding: 10px 25px;
  208. }
  209. h1{
  210. font-size: 1.6rem;
  211. font-weight: 900;
  212. padding: 15px;
  213. }
  214. #h1text{
  215. color:#002e86;
  216. }
  217. .progress-label {
  218. width: 170px;
  219. text-align: right;
  220. padding-right: 10px;
  221. font-size: 16px;
  222. }
  223. .horizontal .progress-bar {
  224. float: left;
  225. height: 50px;
  226. width: 100%;
  227. padding: 3px 0;
  228. }
  229. .horizontal .progress-track {
  230. position: relative;
  231. width: 100%;
  232. height: 50px;
  233. background: #ebebeb;
  234. }
  235. .horizontal .progress-fill {
  236. position: relative;
  237. background: #2883fa;
  238. height: 50px;
  239. width: 50%;
  240. color: #080707;
  241. text-align: center;
  242. font-family: "Lato", "Verdana", sans-serif;
  243. font-size: 16px;
  244. line-height: 20px;
  245. }
  246. .horizontal .progress-fill2 {
  247. position: relative;
  248. background: #ba711e;
  249. height: 50px;
  250. width: 50%;
  251. color: #080707;
  252. text-align: center;
  253. font-family: "Lato", "Verdana", sans-serif;
  254. font-size: 16px;
  255. line-height: 20px;
  256. }
  257. .horizontal .progress-fill3 {
  258. position: relative;
  259. background: #3dba1e;
  260. height: 50px;
  261. width: 50%;
  262. color: #080707;
  263. text-align: center;
  264. font-family: "Lato", "Verdana", sans-serif;
  265. font-size: 16px;
  266. line-height: 20px;
  267. }
  268. .horizontal .progress-fill4 {
  269. position: relative;
  270. background: #f0ff1f;
  271. height: 50px;
  272. width: 50%;
  273. color: #080707;
  274. text-align: center;
  275. font-family: "Lato", "Verdana", sans-serif;
  276. font-size: 16px;
  277. line-height: 20px;
  278. }
  279. .progress-label {
  280. width: 170px;
  281. text-align: right;
  282. padding-right: 10px;
  283. font-size: 16px;
  284. font-weight: 900;
  285. }
  286. .progress-group {
  287. display: flex;
  288. }
  289. .progress-label::after {
  290. content: ":";
  291. }
  292. #app {
  293. width: 100%;
  294. height: 300px;
  295. float: left;
  296. }
  297. #app2 {
  298. width: 100%;
  299. height: 300px;
  300. float: left;
  301. }
  302. #app3 {
  303. width: 100%;
  304. height: 300px;
  305. float: left;
  306. }
  307. #system-table{
  308. border:none !important;
  309. }