index.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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:35px;
  12. height: 100%;
  13. width: 250px;
  14. position: fixed;
  15. z-index: 1;
  16. top: 59.6333px;
  17. left: 0;
  18. background: #fff;
  19. color:#002e86;
  20. overflow-x: hidden;
  21. transition: 0.5s;
  22. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  23. border-radius: 10px;
  24. }
  25. #nav-side-bar .bar_img {
  26. transform: rotate(270deg);
  27. position: absolute;
  28. right: -110%;
  29. top: 15rem;
  30. z-index: 3;
  31. }
  32. #content{
  33. position: absolute;
  34. left: 50px;
  35. top: 60px;
  36. width: calc(100% - 250px);
  37. margin-left: 200px;
  38. /* border-style:solid; */
  39. }
  40. #content_login {
  41. width: calc(100% - 250px);
  42. height: calc(100vh - 60px);
  43. margin-left: 250px;
  44. 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);
  45. }
  46. #show_factory_class_1{
  47. border-style:solid;
  48. text-align:center;
  49. }
  50. #show_factory_class_2{
  51. border-style:solid;
  52. text-align:center;
  53. }
  54. .navbar {
  55. box-shadow: 0 2px 2px -2px rgba(0,0,0,.2);
  56. position:fixed;
  57. top:0px;
  58. width: 100vw !important;
  59. z-index: 100;
  60. opacity: 1 !important;
  61. background:#002e86 !important;
  62. color: #fff;
  63. }
  64. .nav-link{
  65. color:#fff !important;
  66. }
  67. .navbar-brand img{
  68. width: 150px;
  69. }
  70. .nav-side-bar ul {
  71. margin-top: 3rem;
  72. margin-left: 1rem;
  73. padding-left: 0rem;
  74. }
  75. .nav-side-bar li {
  76. padding: .5rem 0;
  77. margin-right: 10px;
  78. }
  79. .nav-side-bar .side-bar-link {
  80. display: block;
  81. text-decoration-line: none;
  82. font-size: 18px;
  83. color: #002e86;
  84. padding-left: 2rem;
  85. }
  86. .nav-side-bar .side-bar-link.active, .nav-side-bar .side-bar-link:hover {
  87. background: #002e86;
  88. color: #fff;
  89. border-radius: 8px;
  90. position: relative;
  91. }
  92. .side-img{
  93. filter: invert(18%) sepia(35%) saturate(4882%) hue-rotate(209deg) brightness(84%) contrast(112%);
  94. }
  95. .nav-side-bar .side-bar-link.active .side-img, .nav-side-bar .side-bar-link:hover .side-img {
  96. filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
  97. }
  98. .nav-side-bar .side-bar-link.active::after {
  99. position: absolute;
  100. right: 1rem;
  101. top: -2px;
  102. /* content: ">"; */
  103. }
  104. .login_form {
  105. display: block;
  106. margin: 5rem auto;
  107. width: 60%;
  108. padding-top: 7rem;
  109. }
  110. .login_form h2 {
  111. text-align: center;
  112. font-size: 2.5rem;
  113. color: #002e86;
  114. margin-bottom: 4rem;
  115. }
  116. .login_form label {
  117. color: #002e86;
  118. }
  119. .login_form input {
  120. border-radius: 10px;
  121. padding-top: .5rem;
  122. padding-bottom: .5rem;
  123. }
  124. .login_form #btn_login,.login_form #btn_register {
  125. display: block;
  126. width: 100%;
  127. border-radius: 10px;
  128. background: #002e86;
  129. border-color: #002e86;
  130. padding-top: .5rem;
  131. padding-bottom: .5rem;
  132. }
  133. /* 水塔監控 */
  134. /* =================================================== */
  135. /* body{
  136. background: #f8f9fb;
  137. } */
  138. .option{
  139. background: #0174c7;
  140. color:#000;
  141. }
  142. .tower-data{
  143. width: 80vw;
  144. margin: 0 auto;
  145. }
  146. .select-item{
  147. width: 16vw;
  148. padding: 12px;
  149. margin-right:1.5%;
  150. border-radius: 5px;
  151. font-size: 16px;
  152. color:#002e86;
  153. font-weight: 900;
  154. border:1px solid #002e86;
  155. }
  156. #tower_btn{
  157. width: 8vw;
  158. padding: 12px;
  159. margin: 10px;
  160. border-radius: 5px;
  161. font-size: 16px;
  162. border:none;
  163. font-weight: 900;
  164. background: #002e86;
  165. color:#fff;
  166. transition: 0.3s;
  167. }
  168. #tower_btn:hover{
  169. background: #0174c7;
  170. color:#fff;
  171. }
  172. h1{
  173. font-size: 1.6rem;
  174. font-weight: 900;
  175. padding: 15px;
  176. }
  177. p{
  178. font-size: 2.4vmin;
  179. }
  180. #select_boxes{
  181. margin: 2.3vmin;
  182. }
  183. #tower_temperature,.card{
  184. margin: 2.3vmin;
  185. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  186. border-radius:10px;
  187. padding: 10px;
  188. }
  189. .card2{
  190. margin: 1vmin;
  191. border-radius:10px;
  192. /* display: flex; */
  193. padding: 10px;
  194. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  195. background-color: #fff;
  196. }
  197. .unit{
  198. font-size: 25px;
  199. font-weight: 900;
  200. }
  201. .data-title{
  202. color:#002e86;
  203. }
  204. .data-content{
  205. color:#707070;
  206. font-weight: 900;
  207. }
  208. #map{
  209. position:relative;
  210. width: 450px;
  211. height: 450px;
  212. }
  213. /* 智能最佳化 */
  214. table {
  215. font-family: arial, sans-serif;
  216. border-collapse: collapse;
  217. width: 50%;
  218. }
  219. /* td,
  220. th {
  221. border: 1px solid #dddddd;
  222. text-align: left;
  223. padding: 8px;
  224. } */
  225. /* tr:nth-child(even) {
  226. background-color: #dddddd;
  227. } */
  228. h1{
  229. font-size: 1.6rem;
  230. font-weight: 900;
  231. padding: 15px;
  232. }
  233. #h1text{
  234. color:#002e86;
  235. }
  236. .progress-label {
  237. width: 170px;
  238. text-align: right;
  239. padding-right: 10px;
  240. font-size: 16px;
  241. }
  242. .horizontal .progress-bar {
  243. float: left;
  244. /* height: 50px; */
  245. width: 100%;
  246. padding: 3px 0;
  247. }
  248. .progress-bar{
  249. background: none !important;
  250. }
  251. .horizontal .progress-track {
  252. position: relative;
  253. width: 100%;
  254. /* height: 50px; */
  255. background: #e4f8ff;
  256. }
  257. .horizontal .progress-fill {
  258. position: relative;
  259. /* background: #2883fa; */
  260. background: #002e86;
  261. /* height: 50px; */
  262. width: 50%;
  263. color: #fff;
  264. text-align: center;
  265. font-family: "Lato", "Verdana", sans-serif;
  266. font-size: 16px;
  267. line-height: 20px;
  268. }
  269. .horizontal .progress-fill2 {
  270. position: relative;
  271. /* background: #ba711e; */
  272. background: #002e86;
  273. /* height: 50px; */
  274. width: 50%;
  275. color: #fff;
  276. text-align: center;
  277. font-family: "Lato", "Verdana", sans-serif;
  278. font-size: 16px;
  279. line-height: 20px;
  280. }
  281. .horizontal .progress-fill3 {
  282. position: relative;
  283. /* background: #3dba1e; */
  284. background: #002e86;
  285. /* height: 50px; */
  286. width: 50%;
  287. color: #fff;
  288. text-align: center;
  289. font-family: "Lato", "Verdana", sans-serif;
  290. font-size: 16px;
  291. line-height: 20px;
  292. }
  293. .horizontal .progress-fill4 {
  294. position: relative;
  295. /* background: #f0ff1f; */
  296. background: #002e86;
  297. /* height: 50px; */
  298. width: 50%;
  299. color: #fff;
  300. text-align: center;
  301. font-family: "Lato", "Verdana", sans-serif;
  302. font-size: 16px;
  303. line-height: 20px;
  304. }
  305. .progress-label {
  306. width: 170px;
  307. text-align: right;
  308. padding-right: 10px;
  309. font-size: 16px;
  310. font-weight: 900;
  311. }
  312. .progress-group {
  313. display: flex;
  314. }
  315. .progress-label::after {
  316. content: ":";
  317. }
  318. #app {
  319. width: 100%;
  320. height: 300px;
  321. float: left;
  322. }
  323. #app2 {
  324. width: 100%;
  325. height: 300px;
  326. float: left;
  327. }
  328. #app3 {
  329. width: 100%;
  330. height: 300px;
  331. float: left;
  332. }
  333. .form-select{
  334. border-color:#002e86;
  335. color:#002e86;
  336. }
  337. .tower-active{
  338. background: #002e86 !important;
  339. color:#fff !important;
  340. }