123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612 |
- 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 select, .to select {
- width: 60px;
- height: 35px;
- margin-left: 5px;
- }
- .from .tem-select{
- width: 75px;
- }
- .to {
- margin-top: 10px;
- }
- .tem,.lamp {
- height: 400px;
- border: 2px solid #E5E5E5;
- border-radius: 5px;
- margin-top:35px;
- }
- .fan {
- height: 350px;
- border: 2px solid #E5E5E5;
- border-radius: 5px;
- margin-top:35px;
- }
- .humidity {
- height: 250px;
- 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: 50px;
- 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;
- }
- .btn-configure {
- width: 100px;
- height: 35px;
- font-size: 14px;
- color: #000000;
- background: #FBFBFB;
- border: 1px solid #CFCFCF;
- box-sizing: border-box;
- border-radius: 5px;
- }
- #configure {
- position: absolute;
- width: 1100px;
- height: 900px;
- left: 10%;
- top: 28%;
- background: #FFFFFF;
- border: 1px solid #949494;
- box-sizing: border-box;
- display: block;
- }
- #configure > h1 {
- text-align: center;
- }
- #configuration_nav {
- margin-top: 20px;
- width: 100%;
- height: 45px;
- background: #F3F3F3;
- border: 1px solid #E2E2E2;
- box-sizing: border-box;
- }
- /*下滑線跟隨*/
- #configuration_nav ul{
- display: flex;
- position: initial;
- line-height: 45px;
- margin-top: 0;
- padding-left: 350px;
- }
- #configuration_nav li{
- position: relative;
- font-size: 18px;
- list-style: none;
- white-space:nowrap;
- margin-right: 50px;
- text-align: center;
- }
- #configuration_nav a {
- text-decoration: none;
- color: #000000;
- }
- #configuration_nav li.current_li{
- list-style-type:none;
- border-bottom:2px solid #008CBA;
- }
- #configuration_nav a:active, a:hover, a.current {
- color: #000000;
- }
- #configuration_nav li::after{
- content: '';
- position: absolute;
- bottom: 0;
- width: 0;
- height: 2px;
- color: #ff231c;
- background-color: #008CBA;
- transition: .2s all linear;
- }
- #configuration_nav li:hover::after{
- width: 100%;
- }
- #configuration_nav li::after{
- left: 100%; /*选中项上一个下划线收回的方向,从左往右收线*/
- }
- #configuration_nav li:hover::after{
- left: 0; /*选中项下划线出线的方向,从左往右出线*/
- }
- #configuration_nav li:hover ~ li::after {
- left: 0; /*选中项下一个下划线出线的方向,从左往右收线*/
- }
- #cancel_confirm {
- position: absolute;
- height: 300px;
- width: 400px;
- top: 1050px;
- left: 39%;
- }
- #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: 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;
- }
- .js-color {
- height:30px;
- width:30px;
- }
- .show_color {
- position: absolute;
- height: 250px;
- width: 250px;
- left: 65%;
- }
- .span_color {
- position: absolute;
- left: 73%;
- top: 300px;
- }
- .down-arrow {
- width: 40px;
- height: 40px;
- margin-left: 10px;
- }
- .down-arrow:after {
- content: '';
- display: inline-block;
- width: 20px;
- height: 20px;
- border-right: 2px solid #008CBA;
- border-top: 2px solid #008CBA;
- transform: rotate(135deg);
- }
- .up-arrow {
- width: 40px;
- height: 40px;
- margin-left: 10px;
- display: none;
- }
- .up-arrow:after {
- content: '';
- display: inline-block;
- width: 15px;
- height: 15px;
- border-left: 2px solid #008CBA;
- border-bottom: 2px solid #008CBA;
- transform: rotate(135deg);
- }
- .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: 150px;
- }
- .slider {
- position: absolute;
- left: -50px;
- transform: rotate(-90deg);
- }
- .slider-container {
- position: relative;
- margin-top: 100px;
- width: 80px;
- height: 150px;
- display: inline-block;
- }
- .slider-container span{
- position: absolute;
- top: 115px;
- }
- .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;
- }
- @media(max-width:373px){
- .card {
- margin-right: 0px;
- }
- }
- @media(max-width:577px){
- }
- @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;
- }
- }
- @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;
- }
- }
- @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;
- }
- }
|