huimv.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. @import "huimvModule/vendor-prefixes";
  2. @import "huimvModule/datePicker";
  3. $huimv_blue: #2285E2;
  4. @include keyframes(emerge) {
  5. from {
  6. opacity: 0.3;
  7. bottom: -14px;
  8. }
  9. to {
  10. opacity: 1;
  11. bottom: 0;
  12. }
  13. }
  14. #sy {
  15. .wrapper {
  16. margin: 10px;
  17. }
  18. }
  19. div#alertBanner {
  20. position: fixed;
  21. left: 0;
  22. right: 0;
  23. top: 40px;
  24. margin: 0;
  25. padding: 8px;
  26. }
  27. .navbar-fixed-top {
  28. height: 38px;
  29. background-color: $huimv_blue;
  30. opacity: 0.97;
  31. display: flex;
  32. flex-wrap: wrap;
  33. flex-direction: row;
  34. justify-content: space-between;
  35. align-items: center;
  36. span.glyphicon-menu-left, span.logo {
  37. margin: 10px;
  38. font-size: 18px;
  39. color: #ffffff;
  40. width: 40px;
  41. }
  42. span.logo img {
  43. width: 30px;
  44. height: 30px;
  45. }
  46. h4 {
  47. color: #ffffff;
  48. select {
  49. margin: auto;
  50. border-radius: 4px;
  51. color: #555;
  52. height: 29px;
  53. padding: 3px 12px;
  54. }
  55. }
  56. .placeholder, .saveBtn, .glyphicon-wrench, .glyphicon-bell {
  57. line-height: 1.1;
  58. margin: 10px;
  59. font-size: 18px;
  60. color: #ffffff;
  61. width: 40px;
  62. height: 20px;
  63. text-align: right;
  64. }
  65. }
  66. #bjMenu1 {
  67. ul.nav-pills {
  68. background-color: #f0f0f0;
  69. height: 30px;
  70. li {
  71. text-align: center;
  72. font-size: 16px;
  73. line-height: 30px;
  74. height: 30px;
  75. &.active {
  76. color: $huimv_blue;
  77. }
  78. }
  79. }
  80. }
  81. #hkmenu1, #menu1 {
  82. ul.nav-pills {
  83. background-color: #f0f0f0;
  84. height: 60px;
  85. li {
  86. text-align: center;
  87. font-size: 12px;
  88. &.active {
  89. color: $huimv_blue;
  90. }
  91. img {
  92. width: 30px;
  93. height: 30px;
  94. margin: 5px;
  95. }
  96. div {
  97. height: 20px;
  98. }
  99. }
  100. }
  101. .searchBtn {
  102. font-size: 28px;
  103. position: absolute;
  104. top: -43px;
  105. right: 38px;
  106. z-index: 20;
  107. }
  108. }
  109. #menu1 > .nav-pills > li {
  110. width: 20% !important;
  111. }
  112. #hkmenu2, #menu2 {
  113. margin-top: 38px;
  114. .container {
  115. margin-top: 0;
  116. ul.nav {
  117. background-color: #fff;
  118. border-bottom: 1px solid #f0f0f0;
  119. li.active {
  120. color: #428bca;
  121. &:before {
  122. content: "";
  123. position: absolute;
  124. z-index: 2;
  125. left: 0;
  126. right: 0;
  127. bottom: 0;
  128. background: #2098d1;
  129. height: 2px;
  130. width: 80%;
  131. margin: 0 auto;
  132. }
  133. }
  134. }
  135. }
  136. }
  137. #hkzsmain, #zsmain {
  138. //margin-bottom: 60px;
  139. }
  140. div#chartDiv {
  141. margin-bottom: 70px;
  142. }
  143. .container {
  144. background-color: #f0f0f0;
  145. & > div {
  146. background-color: #fff;
  147. }
  148. }
  149. .cardWrapper { //card flow
  150. margin-bottom: 60px;
  151. div.row {
  152. margin-top: 3px;
  153. &:first-child {
  154. margin-top: 0;
  155. }
  156. .leftDiv {
  157. text-align: center;
  158. div img {
  159. margin-top: 20px;
  160. width: 60px;
  161. height: 60px;
  162. }
  163. h5 {
  164. border-radius: 20px;
  165. background-color: #28cd6f;
  166. text-align: center;
  167. height: 20px;
  168. line-height: 20px;
  169. color: #F0F0F0;
  170. width: 80px;
  171. margin: 10px auto;
  172. }
  173. }
  174. .rightDiv {
  175. margin: 16px auto 0;
  176. dl.dl-horizontal {
  177. dt {
  178. height: 26px;
  179. text-align: justify;
  180. float: left;
  181. width: 60px;
  182. white-space: inherit;
  183. clear: left;
  184. span {
  185. display: inline-block;
  186. padding-left: 100%;
  187. }
  188. //text-align: right;
  189. //white-space: nowrap;
  190. }
  191. dd {
  192. margin-left: 15px;
  193. float: left;
  194. }
  195. }
  196. }
  197. }
  198. }
  199. #mc > .nav-pills > li.active:before {
  200. content: "";
  201. position: absolute;
  202. z-index: 2;
  203. left: 0;
  204. right: 0;
  205. bottom: 0;
  206. background: #2098d1;
  207. height: 2px;
  208. }
  209. #channelSwitch {
  210. height: 270px;
  211. background: url(../images/hjkz/channelswitch.png) no-repeat;
  212. background-size: cover;
  213. .panel {
  214. width: 190px;
  215. height: 190px;
  216. border-radius: 100%;
  217. top: 5%;
  218. position: relative;
  219. margin: 0 auto;
  220. box-shadow: 0 12px 31px rgba(123, 178, 226, 0.55);
  221. .infoPanel {
  222. position: relative;
  223. top: 14%;
  224. color: #999;
  225. text-align: center;
  226. font-size: large;
  227. }
  228. .lcdShow {
  229. font-size: 28px;
  230. font-weight: bolder;
  231. text-align: center;
  232. top: 22%;
  233. position: relative;
  234. color: rgba($huimv_blue, 0.8);
  235. }
  236. .flex-container {
  237. display: flex;
  238. flex-wrap: wrap;
  239. flex-direction: row;
  240. justify-content: space-around;
  241. font-size: 24px;
  242. height: 60px;
  243. line-height: 60px;
  244. width: 65%;
  245. margin: 0 auto;
  246. color: $huimv_blue;
  247. top: 28%;
  248. position: relative;
  249. .flex-item {
  250. text-align: center;
  251. &:nth-child(2) {
  252. font-size: 19px;
  253. border-radius: 100%;
  254. color: #fff;
  255. width: 60px;
  256. letter-spacing: 4px;
  257. background-color: $huimv_blue;
  258. }
  259. }
  260. }
  261. }
  262. #slider {
  263. top: 15%;
  264. position: relative;
  265. background: #fff;
  266. width: 260px;
  267. border-radius: 4px;
  268. height: 4px;
  269. box-shadow: 0 2px 4px rgba(123, 178, 226, 0.3);
  270. margin: 0 auto;
  271. i {
  272. position: absolute;
  273. color: $huimv_blue;
  274. width: 30px;
  275. height: 30px;
  276. border-radius: 100%;
  277. top: -12px;
  278. font-size: 30px;
  279. &.addBtn {
  280. left: -10px;
  281. }
  282. &.subtractBtn {
  283. right: -10px;
  284. }
  285. }
  286. }
  287. }
  288. #channelSet, #alarmSet, #deviceAlarmSet {
  289. margin-top: 38px;
  290. margin-bottom: 40px;
  291. dl.dl-horizontal {
  292. border-bottom: 2px solid #f0f0f0;
  293. margin-bottom: 0;
  294. dt {
  295. text-align: center;
  296. span.icon-wrapper {
  297. line-height: 60px;
  298. position: relative;
  299. width: 50px;
  300. margin: 0 auto;
  301. img {
  302. width: 50px;
  303. height: 50px;
  304. }
  305. span {
  306. background-color: rgba(39, 135, 225, 0.93);
  307. border-radius: 100%;
  308. width: 24px;
  309. height: 24px;
  310. line-height: 24px;
  311. position: absolute;
  312. top: -12px;
  313. right: 0;
  314. color: #ffffff;
  315. }
  316. }
  317. span.glyphicon-alert {
  318. width: 50px;
  319. font-size: 24px;
  320. line-height: 60px;
  321. height: 100%;
  322. }
  323. }
  324. dd {
  325. text-align: center;
  326. line-height: 60px;
  327. height: 60px;
  328. input {
  329. height: 24px;
  330. line-height: 24px;
  331. width: 95%;
  332. border: 1px solid rgba(56, 49, 49, 0.19);
  333. margin: 18px auto;
  334. }
  335. span.caret {
  336. right: 24px;
  337. top: 48%;
  338. position: absolute;
  339. }
  340. span.glyphicon-trash {
  341. color: red;
  342. }
  343. span.glyphicon-ok {
  344. color: greenyellow;
  345. }
  346. }
  347. }
  348. div.infoBottom {
  349. position: absolute;
  350. width: 100%;
  351. text-align: center;
  352. bottom: 35px;
  353. color: rgba(176, 176, 176, 0.68);
  354. }
  355. .displayNone {
  356. display: none;
  357. }
  358. .addButtonWrapper {
  359. height: 40px !important;
  360. div.addButton {
  361. position: relative;
  362. background-color: #39e605;
  363. box-shadow: 0 5px 11px rgba(98, 98, 102, 0.25);
  364. font-size: 30px;
  365. width: 35px;
  366. height: 35px;
  367. line-height: 30px;
  368. margin: 0 auto;
  369. text-align: center;
  370. color: white;
  371. border-radius: 100%;
  372. }
  373. }
  374. #addWrapper {
  375. position: fixed;
  376. bottom: 80px;
  377. width: 100%;
  378. .addButton {
  379. position: relative;
  380. background-color: #39e605;
  381. box-shadow: 0 5px 11px rgba(98, 98, 102, 0.25);
  382. font-size: 30px;
  383. width: 40px;
  384. height: 40px;
  385. line-height: 35px;
  386. margin: 0 auto;
  387. text-align: center;
  388. color: white;
  389. border-radius: 100%;
  390. }
  391. .emerge {
  392. @include animation-name(emerge);
  393. @include animation-duration(0.2s);
  394. @include animation-fill-mode()
  395. }
  396. }
  397. }
  398. #chooseHjkzSet {
  399. .modal-dialog {
  400. width: 300px;
  401. margin: 36% auto 0 auto;
  402. div.option {
  403. height: 40px;
  404. line-height: 40px;
  405. text-align: center;
  406. &:first-child {
  407. border-bottom: 1px solid #F0F0F0;
  408. }
  409. }
  410. }
  411. }
  412. ul.row {
  413. margin-left: 0;
  414. margin-right: 0;
  415. height: 32px;
  416. line-height: 32px;
  417. background-color: #f0f0f0;
  418. color: #969696;
  419. li {
  420. text-align: center;
  421. }
  422. }
  423. .modal#checkboxWrapper {
  424. .modal-dialog {
  425. margin: 55px;
  426. .modal-header {
  427. background-color: #f4f2f2;
  428. .modal-title {
  429. text-align: center;
  430. }
  431. }
  432. .modal-footer {
  433. text-align: center;
  434. button.save {
  435. width: 100%;
  436. background-color: #28ce6f;
  437. color: #f0f0f0;
  438. }
  439. }
  440. }
  441. }
  442. ul#alarmCheckbox {
  443. width: 200px;
  444. margin: 10px auto;
  445. li {
  446. position: relative;
  447. padding-bottom: 15px;
  448. padding-left: 40px;
  449. .icheckbox_green {
  450. top: 0;
  451. left: 0;
  452. position: absolute;
  453. display: block;
  454. padding: 0;
  455. width: 20px;
  456. height: 20px;
  457. background: url(../images/hjkz/green.png) no-repeat 0 0;
  458. border: none;
  459. input {
  460. position: absolute;
  461. opacity: 0;
  462. }
  463. ins {
  464. position: absolute;
  465. top: 0;
  466. left: 0;
  467. display: block;
  468. width: 100%;
  469. height: 100%;
  470. margin: 0;
  471. padding: 0;
  472. border: 0;
  473. opacity: 0;
  474. background: #ffffff;
  475. }
  476. }
  477. label {
  478. padding-left: 16px;
  479. }
  480. &.checked {
  481. div {
  482. background-position: -22px 0;
  483. }
  484. label {
  485. font-weight: bold;
  486. color: #1ABC9c;
  487. }
  488. }
  489. }
  490. }
  491. .displayNone {
  492. display: none;
  493. }
  494. $huimv_blue: #357BDC;
  495. .nav-top {
  496. position: fixed;
  497. top: 0;
  498. left: 0;
  499. right: 0;
  500. background-color: #fff;
  501. border-bottom: 1px solid #ccc;
  502. display: flex;
  503. flex-direction: row;
  504. justify-content: space-around;
  505. li {
  506. padding: 10px;
  507. &.active {
  508. color: $huimv_blue;
  509. border-bottom: 2px solid $huimv_blue;
  510. }
  511. }
  512. }
  513. .bottom-da {
  514. position: fixed;
  515. right: 20px;
  516. top: 50px;
  517. padding: 3px;
  518. background-color: $huimv_blue;
  519. color: #ffffff;
  520. }
  521. .cont-div {
  522. margin-top: 90px;
  523. margin-bottom: 40px;
  524. div {
  525. padding: 10px 30px;
  526. display: flex;
  527. flex-direction: row;
  528. justify-content: space-between;
  529. }
  530. }
  531. .nav-bottom {
  532. left: 0;
  533. right: 0;
  534. background-color: #fff;
  535. border-top: 1px solid #ccc;
  536. position: fixed;
  537. bottom: 0;
  538. margin-bottom: 0;
  539. display: flex;
  540. flex-direction: row;
  541. justify-content: center;
  542. li {
  543. margin: 5px;
  544. background-color: $huimv_blue;
  545. width: 30px;
  546. height: 30px;
  547. border-radius: 100%;
  548. color: #ffffff;
  549. padding: 4px;
  550. &::before{
  551. top: 4px;
  552. left: 4px;
  553. position: relative;
  554. }
  555. }
  556. }