online_fitolab.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. body {
  2. margin:0;
  3. }
  4. .navbar-dark .navbar-nav .nav-link {
  5. color: white;
  6. cursor: pointer;
  7. text-decoration:none;
  8. }
  9. .nav-top {
  10. line-height:40px;
  11. background-color: #C4C4C4;
  12. }
  13. .website_title{
  14. font-family: Roboto;
  15. font-style: normal;
  16. font-weight: normal;
  17. font-size: 30px;
  18. color: #000000;
  19. }
  20. .navbar-nav > li{
  21. float: none;
  22. display: inline-block;
  23. width: 170px;
  24. margin: 0 auto;
  25. text-align: center;
  26. }
  27. .navbar-nav > li a{
  28. font-size: 20px;
  29. }
  30. .main-page {
  31. margin-top: 200px;
  32. }
  33. .page-title {
  34. font-family: Roboto;
  35. font-style: normal;
  36. font-weight: bold;
  37. font-size: 36px;
  38. color: #000000;
  39. }
  40. form {
  41. margin-top: 70px;
  42. }
  43. .flex {
  44. display: flex;
  45. flex-direction: row;
  46. flex-wrap: wrap;
  47. justify-content: center;
  48. }
  49. .flex span {
  50. font-family: Roboto;
  51. font-style: normal;
  52. font-weight: normal;
  53. font-size: 18px;
  54. color: #000000;
  55. }
  56. .from .music-select {
  57. background: #FFFFFF;
  58. border: 1px solid #000000;
  59. box-sizing: border-box;
  60. border-radius: 5px;
  61. width: 110px;
  62. height: 35px;
  63. color: #000000;
  64. text-align: center;
  65. font-size: 20px;
  66. }
  67. .from select, .to select {
  68. width: 60px;
  69. height: 35px;
  70. margin-left: 5px;
  71. }
  72. .from .vibration-select {
  73. width: 75px;
  74. }
  75. .to {
  76. margin-top: 10px;
  77. margin-left: 200px
  78. }
  79. .tank1, .tank2 {
  80. height: 400px;
  81. border: 2px solid #E5E5E5;
  82. border-radius: 5px;
  83. margin-top:35px;
  84. }
  85. .camera {
  86. height: 300px;
  87. border: 2px solid #E5E5E5;
  88. border-radius: 5px;
  89. margin-top:35px;
  90. }
  91. .item-title {
  92. display: inline-block;
  93. margin-top: 20px;
  94. margin-left: 20px;
  95. font-family: Roboto;
  96. font-style: normal;
  97. font-weight: bold;
  98. font-size: 24px;
  99. color: #000000;
  100. }
  101. .set-schedule {
  102. width: 200px;
  103. height: 45px;
  104. background: #008CBA;
  105. border: 1px solid #CFCFCF;
  106. box-sizing: border-box;
  107. color: #FFFFFF;
  108. border-radius: 5px;
  109. font-size: 17px;
  110. }
  111. .delete {
  112. background: #E43030;
  113. border: 1px solid #CFCFCF;
  114. box-sizing: border-box;
  115. border-radius: 5px;
  116. margin-left: 5px;
  117. width: 60px;
  118. height: 33px;
  119. font-size: 16px;
  120. text-align: center;
  121. line-height: 16px;
  122. color: #FFFFFF;
  123. }
  124. .add {
  125. background: #008CBA;
  126. border: 1px solid #CFCFCF;
  127. box-sizing: border-box;
  128. border-radius: 5px;
  129. margin-top: 10px;
  130. margin-left: 77px;;
  131. width: 65px;
  132. height: 33px;
  133. font-size: 16px;
  134. text-align: center;
  135. line-height: 16px;
  136. color: #FFFFFF;
  137. }
  138. .page-bottom {
  139. margin-top: 100px;
  140. }
  141. .form-control {
  142. background: #008CBA;
  143. border: 1px solid #CFCFCF;
  144. box-sizing: border-box;
  145. border-radius: 5px;
  146. width: 120px;
  147. height: 58px;
  148. text-align: center;
  149. line-height: 58px;
  150. font-size: 15px;
  151. color: #FFFFFF;
  152. display: inline-block;
  153. }
  154. .cmn-toggle {
  155. position: absolute;
  156. margin-left: 0px;
  157. visibility: hidden;
  158. }
  159. .cmn-toggle + label {
  160. display: block;
  161. position: relative;
  162. cursor: pointer;
  163. outline: none;
  164. user-select: none;
  165. }
  166. input.cmn-toggle-round-flat + label {
  167. padding: 2px;
  168. width: 60px;
  169. height: 30px;
  170. background-color: #C0C0C0;
  171. border-radius: 60px;
  172. transition: background 0.4s;
  173. }
  174. input.cmn-toggle-round-flat + label:before,
  175. input.cmn-toggle-round-flat + label:after {
  176. display: block;
  177. position: absolute;
  178. content: "";
  179. }
  180. input.cmn-toggle-round-flat + label:before {
  181. top: 2px;
  182. left: 2px;
  183. bottom: 2px;
  184. right: 2px;
  185. background-color: #fff;
  186. border-radius: 60px;
  187. transition: background 0.4s;
  188. }
  189. input.cmn-toggle-round-flat + label:after {
  190. top: 4px;
  191. left: 4px;
  192. bottom: 4px;
  193. width: 24px;
  194. background-color: #dddddd;
  195. border-radius: 52px;
  196. transition: margin 0.4s, background 0.4s;
  197. }
  198. input.cmn-toggle-round-flat:checked + label {
  199. background-color: #C0C0C0;
  200. }
  201. input.cmn-toggle-round-flat:checked + label:after {
  202. margin-left: 27px;
  203. background-color: #008CBA;
  204. }
  205. .show-info{
  206. position: absolute;
  207. top: 200px;
  208. left: 10%;
  209. width: 1100px;
  210. height: 820px;
  211. background: #FFFFFF;
  212. border: 1px solid #949494;
  213. box-sizing: border-box;
  214. }
  215. #water-con-con {
  216. position: absolute;
  217. top: 200px;
  218. left: 10%;
  219. width: 1100px;
  220. height: 820px;
  221. background: #FFFFFF;
  222. border: 1px solid #949494;
  223. box-sizing: border-box;
  224. }
  225. #water-con-con .to {
  226. margin-left: 0px;
  227. }
  228. .show-info > h1 {
  229. text-align: center;
  230. }
  231. .volume, .power {
  232. transform: rotate(-90deg);
  233. width: 300px;
  234. margin-left: 130px;
  235. position: absolute;
  236. right: 70px;
  237. top: 220px;
  238. }
  239. .volume-span, .power-span {
  240. position: absolute;
  241. left: -55px;
  242. top: 380px;
  243. }
  244. .live-stream{
  245. height: 500px;
  246. border: 2px solid #FFF;
  247. background: #C4C4C4;
  248. }
  249. .show-chart {
  250. height: 500px;
  251. border: 2px solid #FFF;
  252. background: #C4C4C4;
  253. }
  254. .light-control_nav {
  255. margin-top: 20px;
  256. width: 100%;
  257. height: 45px;
  258. background: #F3F3F3;
  259. border: 1px solid #E2E2E2;
  260. box-sizing: border-box;
  261. }
  262. /*下滑線跟隨*/
  263. .light-control_nav ul{
  264. display: flex;
  265. position: initial;
  266. line-height: 45px;
  267. margin-top: 0;
  268. padding-left: 350px;
  269. }
  270. .light-control_nav li{
  271. position: relative;
  272. font-size: 18px;
  273. list-style: none;
  274. white-space:nowrap;
  275. margin-right: 50px;
  276. text-align: center;
  277. }
  278. .light-control_nav a {
  279. text-decoration: none;
  280. color: #000000;
  281. }
  282. .light-control_nav li.current_li{
  283. list-style-type:none;
  284. border-bottom:2px solid #008CBA;
  285. }
  286. .light-control_nav a:active, a:hover, a.current {
  287. color: #000000;
  288. }
  289. .light-control_nav li::after{
  290. content: '';
  291. position: absolute;
  292. bottom: 0;
  293. width: 0;
  294. height: 2px;
  295. color: #ff231c;
  296. background-color: #008CBA;
  297. transition: .2s all linear;
  298. }
  299. .light-control_nav li:hover::after{
  300. width: 100%;
  301. }
  302. .light-control_nav li::after{
  303. left: 100%; /*选中项上一个下划线收回的方向,从左往右收线*/
  304. }
  305. .light-control_nav li:hover::after{
  306. left: 0; /*选中项下划线出线的方向,从左往右出线*/
  307. }
  308. .light-control_nav li:hover ~ li::after {
  309. left: 0; /*选中项下一个下划线出线的方向,从左往右收线*/
  310. }
  311. #cancel_confirm {
  312. position: absolute;
  313. height: 300px;
  314. width: 400px;
  315. top: 1050px;
  316. left: 39%;
  317. }
  318. #cancel_confirm input, .gallery{
  319. background: #008CBA;
  320. border: 1px solid #CFCFCF;
  321. box-sizing: border-box;
  322. border-radius: 5px;
  323. width: 120px;
  324. height: 58px;
  325. text-align: center;
  326. line-height: 58px;
  327. font-size: 15px;
  328. margin-top: 100px;
  329. color: #FFFFFF;
  330. }
  331. #confirm {
  332. margin-left: 150px;
  333. }
  334. .color_info {
  335. position: relative;
  336. margin-top: 100px;
  337. margin-left: 100px;
  338. }
  339. .color-top {
  340. width: 900px;
  341. height: 450px;
  342. }
  343. .color-bottom {
  344. width: 900px;
  345. }
  346. .color-bottom > div:first-child {
  347. height: 40px;
  348. font-size: 20px;
  349. line-height: 40px;
  350. text-align: left;
  351. border-bottom: 2px solid #008CBA;
  352. }
  353. .color-group {
  354. display: inline-block;
  355. float:left;
  356. }
  357. .s-js-color, .r-js-color {
  358. height:30px;
  359. width:30px;
  360. }
  361. .s_show_color, .r_show_color {
  362. position: absolute;
  363. height: 250px;
  364. width: 250px;
  365. left: 65%;
  366. }
  367. .s_span_color, .r_span_color {
  368. position: absolute;
  369. left: 73%;
  370. top: 300px;
  371. }
  372. .cancel-confirm {
  373. text-align: center;
  374. }
  375. .cancel-confirm input{
  376. background: #008CBA;
  377. border: 1px solid #CFCFCF;
  378. box-sizing: border-box;
  379. border-radius: 5px;
  380. width: 120px;
  381. height: 58px;
  382. text-align: center;
  383. line-height: 58px;
  384. font-size: 15px;
  385. margin-top: 50px;
  386. color: #FFFFFF;
  387. }
  388. .cancel-confirm input:last-child {
  389. margin-left: 100px;
  390. }
  391. .slider-container {
  392. background: #C4C4C4;
  393. margin-bottom: 35px;
  394. margin-left: 35px;
  395. width: 150px;
  396. height: 160px;
  397. display: inline-block;
  398. }
  399. .brightness_info > div:first-child {
  400. text-align: center;
  401. margin-top: 250px;
  402. }
  403. .brightness_info .switch_div {
  404. position: relative;
  405. margin-top: 70px;
  406. margin-bottom: 150px;
  407. text-align: center;
  408. vertical-align: center;
  409. font-size: 20px;
  410. }
  411. .brightness_info .switch_div span {
  412. position: absolute;
  413. margin-right: 30px;
  414. left: 400px;
  415. top: 5px;
  416. }
  417. .brightness_info .switch {
  418. display: inline-block;
  419. position: absolute;
  420. left: 600px;
  421. }
  422. .recomendation_info > div {
  423. position: relative;
  424. display: inline-block;
  425. width: 45%;
  426. height: 50px;
  427. margin-top: 100px;
  428. text-align: center;
  429. }
  430. .recomendation_info .switch_div_right {
  431. width: 15%;
  432. }
  433. .recomendation_info .switch {
  434. position: absolute;
  435. display: inline-block;
  436. left: 400px;
  437. }
  438. .recomendation_info .switch_div_right .switch {
  439. left:230px;
  440. }
  441. .recomendation_info span {
  442. position: absolute;
  443. margin-right: 30px;
  444. top: 5px;
  445. }
  446. #fitolab1 {
  447. width: 125px;
  448. height: 63px;
  449. background: #008CBA;
  450. border: 1px solid #CFCFCF;
  451. box-sizing: border-box;
  452. border-radius: 5px;
  453. font-size: 18px;
  454. color: #FFFFFF;
  455. }
  456. .stem,.root {
  457. margin-top: 70px;
  458. }
  459. .stem span,.root span{
  460. font-family: Roboto;
  461. font-style: normal;
  462. font-weight: bold;
  463. font-size: 18px;
  464. }
  465. .stem-top div,.root-top div, .stem-tem div , .plant-stress-monitor div, .weight div{
  466. font-family: Roboto;
  467. font-style: normal;
  468. font-weight: normal;
  469. font-size: 20px;
  470. width: 150px;
  471. height: 170px;
  472. background: #FFFFFF;
  473. border: 1px solid #A5A5A5;
  474. box-sizing: border-box;
  475. border-radius: 5px;
  476. margin-left: 40px;
  477. margin-bottom: 40px;
  478. text-align: center;
  479. }
  480. .stem-top > div > div,.root-top > div > div, .stem-tem > div > div, .plant-stress-monitor >div > div, .weight > div > div{
  481. background: #C4C4C4;
  482. border-radius: 5px;
  483. width: 130px;
  484. height: 90px;
  485. line-height: 90px;
  486. font-size: 22px;
  487. margin: 40px auto auto auto;
  488. }
  489. .stem-bottom input,.root-bottom input{
  490. font-family: Roboto;
  491. font-style: normal;
  492. font-weight: normal;
  493. font-size: 18px;
  494. color: #FFFFFF;
  495. height: 50px;
  496. background: #008CBA;
  497. border: 1px solid #CFCFCF;
  498. box-sizing: border-box;
  499. border-radius: 5px;
  500. margin-right: 30px;
  501. margin-left: 40px;
  502. }
  503. @media(max-width:373px){
  504. .card {
  505. margin-right: 0px;
  506. }
  507. }
  508. @media(max-width:577px){
  509. .container-fluid {
  510. text-align: center;
  511. }
  512. }
  513. @media(min-width:576px){
  514. }
  515. @media(min-width:768px){
  516. .navbar-nav > li {
  517. margin-left: 0px;
  518. }
  519. .navbar-nav .li-block {
  520. display:none;
  521. }
  522. }
  523. @media(min-width:991px){
  524. .navbar-nav > li {
  525. margin-left: 20px;
  526. }
  527. .navbar-nav .li-block {
  528. display:none;
  529. }
  530. .page-bottom input:last-child {
  531. margin-left: 100px;
  532. }
  533. }
  534. @media(min-width:1200px){
  535. .navbar-nav > li {
  536. margin-left: 50px;
  537. }
  538. .navbar-nav .li-block {
  539. display: inline-block;
  540. width: 100px;
  541. }
  542. .tem > input {
  543. margin-left:50px;
  544. }
  545. .page-bottom input:last-child {
  546. margin-left: 100px;
  547. }
  548. .tem .to {
  549. margin-left: 150px;
  550. }
  551. }
  552. @media(min-width:1400px){
  553. .navbar-nav .li-block {
  554. display: inline-block;
  555. width: 250px;
  556. }
  557. .tem > input {
  558. margin-left:150px;
  559. }
  560. .page-bottom input:last-child {
  561. margin-left: 100px;
  562. }
  563. .tem .to {
  564. margin-left: 150px;
  565. }
  566. }
  567. @media(min-width:1689px) {
  568. .navbar-nav > li {
  569. margin-left: 50px;
  570. }
  571. .navbar-nav .li-block {
  572. display: inline-block;
  573. width: 580px;
  574. }
  575. .tem > input {
  576. margin-left: 150px;
  577. }
  578. .page-bottom input:last-child {
  579. margin-left: 100px;
  580. }
  581. .tem .to {
  582. margin-left: 150px;
  583. }
  584. }