set_stem.css 14 KB

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