body { margin:0; } .navbar-dark .navbar-nav .nav-link { color: white; cursor: pointer; text-decoration:none; } .nav-top { line-height:40px; background-color: #C4C4C4; } .website_title{ font-family: Roboto; font-style: normal; font-weight: normal; font-size: 30px; color: #000000; } .navbar-nav > li{ float: none; display: inline-block; width: 170px; margin: 0 auto; text-align: center; } .navbar-nav > li a{ font-size: 20px; } .main-page { margin-top: 200px; } .page-title { font-family: Roboto; font-style: normal; font-weight: bold; font-size: 36px; color: #000000; } form { margin-top: 70px; } .flex { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; } .flex span { font-family: Roboto; font-style: normal; font-weight: normal; font-size: 18px; color: #000000; } .from .music-select { background: #FFFFFF; border: 1px solid #000000; box-sizing: border-box; border-radius: 5px; width: 110px; height: 35px; color: #000000; text-align: center; font-size: 20px; } .from select, .to select { width: 60px; height: 35px; margin-left: 5px; } .from .vibration-select { width: 75px; } .to { margin-top: 10px; margin-left: 200px } .tank1, .tank2 { height: 400px; border: 2px solid #E5E5E5; border-radius: 5px; margin-top:35px; } .camera { height: 300px; border: 2px solid #E5E5E5; border-radius: 5px; margin-top:35px; } .item-title { display: inline-block; margin-top: 20px; margin-left: 20px; font-family: Roboto; font-style: normal; font-weight: bold; font-size: 24px; color: #000000; } .set-schedule { width: 200px; height: 45px; background: #008CBA; border: 1px solid #CFCFCF; box-sizing: border-box; color: #FFFFFF; border-radius: 5px; font-size: 17px; } .delete { background: #E43030; border: 1px solid #CFCFCF; box-sizing: border-box; border-radius: 5px; margin-left: 5px; width: 60px; height: 33px; font-size: 16px; text-align: center; line-height: 16px; color: #FFFFFF; } .add { background: #008CBA; border: 1px solid #CFCFCF; box-sizing: border-box; border-radius: 5px; margin-top: 10px; margin-left: 77px;; width: 65px; height: 33px; font-size: 16px; text-align: center; line-height: 16px; color: #FFFFFF; } .page-bottom { margin-top: 100px; } .form-control { background: #008CBA; border: 1px solid #CFCFCF; box-sizing: border-box; border-radius: 5px; width: 120px; height: 58px; text-align: center; line-height: 58px; font-size: 15px; color: #FFFFFF; display: inline-block; } .cmn-toggle { position: absolute; margin-left: 0px; visibility: hidden; } .cmn-toggle + label { display: block; position: relative; cursor: pointer; outline: none; user-select: none; } input.cmn-toggle-round-flat + label { padding: 2px; width: 60px; height: 30px; background-color: #C0C0C0; border-radius: 60px; transition: background 0.4s; } input.cmn-toggle-round-flat + label:before, input.cmn-toggle-round-flat + label:after { display: block; position: absolute; content: ""; } input.cmn-toggle-round-flat + label:before { top: 2px; left: 2px; bottom: 2px; right: 2px; background-color: #fff; border-radius: 60px; transition: background 0.4s; } input.cmn-toggle-round-flat + label:after { top: 4px; left: 4px; bottom: 4px; width: 24px; background-color: #dddddd; border-radius: 52px; transition: margin 0.4s, background 0.4s; } input.cmn-toggle-round-flat:checked + label { background-color: #C0C0C0; } input.cmn-toggle-round-flat:checked + label:after { margin-left: 27px; background-color: #008CBA; } .show-info{ position: absolute; top: 200px; left: 10%; width: 1100px; height: 820px; background: #FFFFFF; border: 1px solid #949494; box-sizing: border-box; } #water-con-con { position: absolute; top: 200px; left: 10%; width: 1100px; height: 820px; background: #FFFFFF; border: 1px solid #949494; box-sizing: border-box; } #water-con-con .to { margin-left: 0px; } .show-info > h1 { text-align: center; } .volume, .power { transform: rotate(-90deg); width: 300px; margin-left: 130px; position: absolute; right: 70px; top: 220px; } .volume-span, .power-span { position: absolute; left: -55px; top: 380px; } .live-stream{ height: 500px; border: 2px solid #FFF; background: #C4C4C4; } .show-chart { height: 500px; border: 2px solid #FFF; background: #C4C4C4; } .light-control_nav { margin-top: 20px; width: 100%; height: 45px; background: #F3F3F3; border: 1px solid #E2E2E2; box-sizing: border-box; } /*下滑線跟隨*/ .light-control_nav ul{ display: flex; position: initial; line-height: 45px; margin-top: 0; padding-left: 350px; } .light-control_nav li{ position: relative; font-size: 18px; list-style: none; white-space:nowrap; margin-right: 50px; text-align: center; } .light-control_nav a { text-decoration: none; color: #000000; } .light-control_nav li.current_li{ list-style-type:none; border-bottom:2px solid #008CBA; } .light-control_nav a:active, a:hover, a.current { color: #000000; } .light-control_nav li::after{ content: ''; position: absolute; bottom: 0; width: 0; height: 2px; color: #ff231c; background-color: #008CBA; transition: .2s all linear; } .light-control_nav li:hover::after{ width: 100%; } .light-control_nav li::after{ left: 100%; /*选中项上一个下划线收回的方向,从左往右收线*/ } .light-control_nav li:hover::after{ left: 0; /*选中项下划线出线的方向,从左往右出线*/ } .light-control_nav li:hover ~ li::after { left: 0; /*选中项下一个下划线出线的方向,从左往右收线*/ } #cancel_confirm { position: absolute; height: 300px; width: 400px; top: 1050px; left: 39%; } #cancel_confirm input, .gallery{ background: #008CBA; border: 1px solid #CFCFCF; box-sizing: border-box; border-radius: 5px; width: 120px; height: 58px; text-align: center; line-height: 58px; font-size: 15px; margin-top: 100px; color: #FFFFFF; } #confirm { margin-left: 150px; } .color_info { position: relative; margin-top: 100px; margin-left: 100px; } .color-top { width: 900px; height: 450px; } .color-bottom { width: 900px; } .color-bottom > div:first-child { height: 40px; font-size: 20px; line-height: 40px; text-align: left; border-bottom: 2px solid #008CBA; } .color-group { display: inline-block; float:left; } .s-js-color, .r-js-color { height:30px; width:30px; } .s_show_color, .r_show_color { position: absolute; height: 250px; width: 250px; left: 65%; } .s_span_color, .r_span_color { position: absolute; left: 73%; top: 300px; } .cancel-confirm { text-align: center; } .cancel-confirm input{ background: #008CBA; border: 1px solid #CFCFCF; box-sizing: border-box; border-radius: 5px; width: 120px; height: 58px; text-align: center; line-height: 58px; font-size: 15px; margin-top: 50px; color: #FFFFFF; } .cancel-confirm input:last-child { margin-left: 100px; } .slider-container { background: #C4C4C4; margin-bottom: 35px; margin-left: 35px; width: 150px; height: 160px; display: inline-block; } .brightness_info > div:first-child { text-align: center; margin-top: 250px; } .brightness_info .switch_div { position: relative; margin-top: 70px; margin-bottom: 150px; text-align: center; vertical-align: center; font-size: 20px; } .brightness_info .switch_div span { position: absolute; margin-right: 30px; left: 400px; top: 5px; } .brightness_info .switch { display: inline-block; position: absolute; left: 600px; } .recomendation_info > div { position: relative; display: inline-block; width: 45%; height: 50px; margin-top: 100px; text-align: center; } .recomendation_info .switch_div_right { width: 15%; } .recomendation_info .switch { position: absolute; display: inline-block; left: 400px; } .recomendation_info .switch_div_right .switch { left:230px; } .recomendation_info span { position: absolute; margin-right: 30px; top: 5px; } #fitolab1 { width: 125px; height: 63px; background: #008CBA; border: 1px solid #CFCFCF; box-sizing: border-box; border-radius: 5px; font-size: 18px; color: #FFFFFF; } .stem,.root { margin-top: 70px; } .stem span,.root span{ font-family: Roboto; font-style: normal; font-weight: bold; font-size: 18px; } .stem-top div,.root-top div, .stem-tem div , .plant-stress-monitor div, .weight div{ font-family: Roboto; font-style: normal; font-weight: normal; font-size: 20px; width: 150px; height: 170px; background: #FFFFFF; border: 1px solid #A5A5A5; box-sizing: border-box; border-radius: 5px; margin-left: 40px; margin-bottom: 40px; text-align: center; } .stem-top > div > div,.root-top > div > div, .stem-tem > div > div, .plant-stress-monitor >div > div, .weight > div > div{ background: #C4C4C4; border-radius: 5px; width: 130px; height: 90px; line-height: 90px; font-size: 22px; margin: 40px auto auto auto; } .stem-bottom input,.root-bottom input{ font-family: Roboto; font-style: normal; font-weight: normal; font-size: 18px; color: #FFFFFF; height: 50px; background: #008CBA; border: 1px solid #CFCFCF; box-sizing: border-box; border-radius: 5px; margin-right: 30px; margin-left: 40px; } @media(max-width:373px){ .card { margin-right: 0px; } } @media(max-width:577px){ .container-fluid { text-align: center; } } @media(min-width:576px){ } @media(min-width:768px){ .navbar-nav > li { margin-left: 0px; } .navbar-nav .li-block { display:none; } } @media(min-width:991px){ .navbar-nav > li { margin-left: 20px; } .navbar-nav .li-block { display:none; } .page-bottom input:last-child { margin-left: 100px; } } @media(min-width:1200px){ .navbar-nav > li { margin-left: 50px; } .navbar-nav .li-block { display: inline-block; width: 100px; } .tem > input { margin-left:50px; } .page-bottom input:last-child { margin-left: 100px; } .tem .to { margin-left: 150px; } } @media(min-width:1400px){ .navbar-nav .li-block { display: inline-block; width: 250px; } .tem > input { margin-left:150px; } .page-bottom input:last-child { margin-left: 100px; } .tem .to { margin-left: 150px; } } @media(min-width:1689px) { .navbar-nav > li { margin-left: 50px; } .navbar-nav .li-block { display: inline-block; width: 580px; } .tem > input { margin-left: 150px; } .page-bottom input:last-child { margin-left: 100px; } .tem .to { margin-left: 150px; } }