main.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  1. /* 메인화면 */
  2. .mainWrap {
  3. overflow: auto;
  4. width: 100%;
  5. /*height: calc(100% - 208px);*/
  6. display: flex;
  7. -webkit-box-pack: center;
  8. justify-content: center;
  9. /*background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url(/images/background/main_bg.gif);*/
  10. /*background-image: url(/images/background/main_bg.gif);*/
  11. background-size: cover;
  12. /*background-image: url("/images/background/bg_main3.jpg");*/
  13. background-image: url("/images/background/background_3.jpg");
  14. /*z-index: 1;*/
  15. }
  16. /*.mainWrap::after {*/
  17. /* content: "";*/
  18. /* width: 100%;*/
  19. /* position: absolute;*/
  20. /* background-image: url(/images/background/bg_main2.jpg);*/
  21. /* background-size: cover;*/
  22. /* top: 0;*/
  23. /* left: 0;*/
  24. /* z-index: -1;*/
  25. /* opacity: 0.7;*/
  26. /* min-height: 1015px;*/
  27. /*}*/
  28. .mainWrap .first-bg {
  29. background-image: url(/images/background/bg_cctv.png);
  30. background-color: rgb(33, 84, 153);
  31. background-size: cover;
  32. background-position-y: 100%;
  33. position: relative;
  34. cursor: pointer;
  35. width: 200px;
  36. height: 200px;
  37. }
  38. .mainWrap .first-bg:hover {
  39. background-color: rgb(102, 186, 204);
  40. color: black;
  41. }
  42. .mainWrap .first-bg > div {
  43. font-size: 25px;
  44. color: rgb(255, 255, 255);
  45. position: absolute;
  46. top: 40px;
  47. width: 100%;
  48. -webkit-box-pack: center;
  49. justify-content: center;
  50. font-weight: bold;
  51. display: flex;
  52. -webkit-box-align: center;
  53. align-items: center;
  54. }
  55. .mainWrap .other-bg.stat-bg {
  56. background-image: url('/images/background/bg_statistics.png');
  57. background-color: rgb(153, 221, 234);
  58. }
  59. .mainWrap .road-bg {
  60. background-image: url('/images/background/bg_control.png');
  61. }
  62. .mainWrap .other-bg.bus-bg {
  63. background-image: url('/images/background/bg_bus.png');
  64. background-color: rgb(153, 221, 234);
  65. }
  66. .mainWrap .parking-bg {
  67. background-image: url("/images/background/bg_parking4.png");
  68. }
  69. .mainWrap .bus-bg > div {
  70. font-size: 25px;
  71. position: absolute;
  72. top: 40px;
  73. width: 100%;
  74. -webkit-box-pack: center;
  75. justify-content: center;
  76. font-weight: bold;
  77. display: flex;
  78. -webkit-box-align: center;
  79. align-items: center;
  80. }
  81. .mainWrap .bus-bg > div img {
  82. width: 20px;
  83. height: 20px;
  84. margin-left: 0;
  85. }
  86. .mainWrap .other-bg {
  87. background-color: rgb(204, 234, 234);
  88. background-size: cover;
  89. background-position-y: 100%;
  90. position: relative;
  91. cursor: pointer;
  92. width: 200px;
  93. height: 200px;
  94. color: rgb(51, 51, 51);
  95. }
  96. .mainWrap .other-bg:hover {
  97. background-color: rgb(33, 84, 153);
  98. color: rgb(255, 255, 255);
  99. }
  100. .mainWrap .other-bg > div {
  101. font-size: 25px;
  102. position: absolute;
  103. top: 40px;
  104. width: 100%;
  105. -webkit-box-pack: center;
  106. justify-content: center;
  107. font-weight: bold;
  108. display: flex;
  109. -webkit-box-align: center;
  110. align-items: center;
  111. }
  112. .mainWrap .main-menu > .top > div {
  113. width: calc(20%);
  114. margin-bottom: 10px;
  115. height: 400px;
  116. background-position: center center;
  117. background-repeat: no-repeat;
  118. }
  119. .mainWrap .main-menu > .top > div:not(:last-child) {
  120. margin-right: 10px;
  121. }
  122. body {
  123. width: 100%;
  124. height: 100%;
  125. }
  126. .mainWrap .main {
  127. max-width: 1200px;
  128. width: 95%;
  129. position: relative;
  130. display: flex;
  131. flex-direction: column;
  132. padding: 50px 0px;
  133. -webkit-box-pack: center;
  134. justify-content: center;
  135. min-height: 529px;
  136. /*opacity: 0.9;*/
  137. }
  138. .mainWrap .main-menu {
  139. max-width: 1200px;
  140. width: 100%;
  141. position: relative;
  142. /*padding: 50px 0px;*/
  143. }
  144. .mainWrap .top, .mid {
  145. display: flex;
  146. }
  147. .mainWrap .bottom img {
  148. width: 30px;
  149. height: 30px;
  150. margin-right: 1rem;
  151. }
  152. /*.mainWrap .bottom > div:first-child {*/
  153. /* width: 100%;*/
  154. /* height: 40px;*/
  155. /*}*/
  156. /*.mainWrap .bottom > div:nth-child(2) {*/
  157. /* width: 100%;*/
  158. /* height: 300px;*/
  159. /*}*/
  160. /*.mainWrap .bottom > div:nth-child(2) > div {*/
  161. /* width: 50%;*/
  162. /* height: 100%;*/
  163. /*}*/
  164. .mainWrap .bottom {
  165. margin-top: 10px;
  166. margin-bottom: 10px;
  167. font-size: 16px;
  168. font-weight: bold;
  169. /*padding: 20px;*/
  170. /*background-color: white;*/
  171. display: flex;
  172. align-items: center;
  173. justify-content: center;
  174. /*flex-direction: column;*/
  175. width: 100%;
  176. height: 350px;
  177. background-size: 100% 350px;
  178. /*background : white;*/
  179. /*background-image: url("/images/background/bg_main3.jpg");*/
  180. }
  181. .mainWrap .bottom > div {
  182. width: calc(50% - 5px);
  183. /*width: 100%;*/
  184. height: 100%;
  185. /*padding: 1.5rem;*/
  186. /*box-shadow: 2px 2px 2px 2px #eeeeee;*/
  187. }
  188. .mainWrap .bottom > div:first-child {
  189. margin-right: 5px;
  190. }
  191. .mainWrap .bottom > div:nth-child(2) {
  192. margin-left: 5px;
  193. background-color: #cceaea;
  194. padding: 1.5rem;
  195. }
  196. .mainWrap .bottom .first-box {
  197. text-align: right;
  198. color: black;
  199. }
  200. .mainWrap .bottom .first-box h1,
  201. .mainWrap .bottom .first-box div {
  202. margin-top: 20px;
  203. }
  204. /*.mainWrap .bottom > div:not(:last-child) {*/
  205. /* margin-right: 10px;*/
  206. /*}*/
  207. .mainWrap .bottom > div:nth-child(2) {
  208. display: flex;
  209. flex-direction: column;
  210. /*align-items: center;*/
  211. align-items: flex-start;
  212. }
  213. .mainWrap .bottom > div:nth-child(2) > div:first-child{
  214. width: 100%;
  215. height: 30px;
  216. margin-bottom: 10px;
  217. border-radius: 5%;
  218. }
  219. .mainWrap .bottom .video-box {
  220. width: 100%;
  221. height: calc(100% - 40px);
  222. display: flex;
  223. align-items: center;
  224. justify-content: center;
  225. }
  226. .mainWrap .bottom video {
  227. width: 85%;
  228. height: calc(100% - 40px);
  229. margin: auto;
  230. /*height: 100%;*/
  231. border-radius: 15px;
  232. background-color: black;
  233. }
  234. .mainWrap .mid > div {
  235. /*width: calc(33.3333%);*/
  236. width: 50%;
  237. height: 220px;
  238. }
  239. .mainWrap .mid > div:not(:last-child) {
  240. margin-right: 10px;
  241. }
  242. .mainWrap .center {
  243. background-image: url(/images/background/bg_center.jpg);
  244. background-size: 100% 100%;
  245. /*background-position-y: 100%;*/
  246. position: relative;
  247. cursor: pointer;
  248. width: 100%;
  249. height: 100%;
  250. }
  251. .mainWrap .center > div {
  252. font-size: 25px;
  253. color: rgb(255, 255, 255);
  254. position: absolute;
  255. top: 75%;
  256. width: 100%;
  257. -webkit-box-pack: center;
  258. justify-content: center;
  259. font-weight: bold;
  260. display: flex;
  261. -webkit-box-align: center;
  262. align-items: center;
  263. }
  264. .mainWrap .incd {
  265. padding: 1.5rem;
  266. background-color: rgb(255, 255, 255);
  267. /*box-shadow: 2px 2px 2px 2px #eeeeee;*/
  268. }
  269. .mainWrap .incd > div:first-child {
  270. margin-bottom: 2rem;
  271. }
  272. .mainWrap .incd > div img {
  273. width: 30px;
  274. height: 30px;
  275. margin-right: 1rem;
  276. }
  277. /*.mainWrap .incd > div span {*/
  278. /* display: inline-block;*/
  279. /* line-height: 30px;*/
  280. /* color: rgb(51, 51, 51);*/
  281. /* font-weight: bold;*/
  282. /*}*/
  283. .mainWrap .incd > div a {
  284. float: right;
  285. font-size: 30px;
  286. line-height: 30px;
  287. }
  288. .mainWrap .incd-content {
  289. color: rgb(51, 51, 51);
  290. }
  291. .mainWrap .incd-content > div {
  292. font-size: 14px;
  293. overflow: hidden;
  294. text-overflow: ellipsis;
  295. white-space: nowrap;
  296. display: flex;
  297. -webkit-box-pack: justify;
  298. justify-content: space-between;
  299. margin-bottom: 1.25rem;
  300. }
  301. .mainWrap .incd-content > div > div {
  302. font-size: 14px;
  303. overflow: hidden;
  304. text-overflow: ellipsis;
  305. white-space: nowrap;
  306. }
  307. .mainWrap .notice {
  308. padding: 1.5rem;
  309. background-color: rgb(204, 234, 234);
  310. }
  311. .mainWrap .notice > div:first-child {
  312. margin-bottom: 2rem;
  313. }
  314. .mainWrap .notice > div:first-child img {
  315. width: 30px;
  316. height: 30px;
  317. margin-right: 1rem;
  318. }
  319. .mainWrap .incd > div:first-child span,
  320. .mainWrap .notice > div:first-child span {
  321. display: inline-block;
  322. line-height: 30px;
  323. color: rgb(51, 51, 51);
  324. font-weight: bold;
  325. }
  326. .mainWrap .notice > div:first-child a {
  327. float: right;
  328. font-size: 30px;
  329. line-height: 30px;
  330. }
  331. .mainWrap .notice > .content {
  332. color: rgb(51, 51, 51);
  333. }
  334. .mainWrap .notice > .content > div {
  335. font-size: 14px;
  336. overflow: hidden;
  337. text-overflow: ellipsis;
  338. white-space: nowrap;
  339. display: flex;
  340. -webkit-box-pack: justify;
  341. justify-content: space-between;
  342. margin-bottom: 1.25rem;
  343. /*padding-bottom: 10px;*/
  344. /*position: relative;*/
  345. }
  346. /*.mainWrap .notice > .content > div::after{*/
  347. /* background: none repeat scroll 0 0 transparent;*/
  348. /* bottom: 0;*/
  349. /* content: "";*/
  350. /* display: block;*/
  351. /* height: 1px;*/
  352. /* left: 50%;*/
  353. /* position: absolute;*/
  354. /* background: black;*/
  355. /* transition: width 0.3s ease 0s, left 0.3s ease 0s;*/
  356. /* width: 0;*/
  357. /*}*/
  358. /*.mainWrap .notice > .content > div:hover:after {*/
  359. /* width: 100%;*/
  360. /* left: 0;*/
  361. /*}*/
  362. .mainWrap .notice > .content > div > div {
  363. font-size: 14px;
  364. overflow: hidden;
  365. text-overflow: ellipsis;
  366. white-space: nowrap;
  367. }
  368. .mainWrap .incd > div > img,
  369. .mainWrap .notice > div > img {
  370. display: none;
  371. }
  372. .mainWrap .incd > .incd-content > div > div:hover,
  373. .mainWrap .notice > .content > div > div:hover {
  374. cursor: pointer;
  375. }
  376. .mainWrap .incd > .incd-content > div > span,
  377. .mainWrap .notice > .content > div > span {
  378. font-size: 13px;
  379. color: rgb(51, 51, 51);
  380. font-weight: bold;
  381. display: none;
  382. }
  383. .mainWrap .mid a:hover {
  384. color: #0d6efd;
  385. }
  386. .popup_content {
  387. width: auto;
  388. height: auto;
  389. position: absolute;
  390. background-color: white;
  391. border: 1px solid #7c7b7b;
  392. box-shadow: 0 0 5px #000;
  393. }
  394. .popup_content > div:nth-child(1) {
  395. cursor: pointer;
  396. }
  397. .popup_content > .close-box{
  398. background-color: black;
  399. color: white;
  400. display: flex;
  401. justify-content: flex-end;
  402. align-items: center;
  403. height: 40px;
  404. gap: 5px;
  405. padding-right: 10px;
  406. }
  407. .popup_content > .close-box > input,
  408. .popup_content > .close-box > label,
  409. .popup_content > .close-box > div {
  410. cursor: pointer;
  411. }
  412. .popup_content > .close-box > div {
  413. margin-left: 5px;
  414. }
  415. .popup_content {
  416. max-width: 320px;
  417. }
  418. .popup_content img {
  419. max-width: 320px;
  420. }
  421. @media (max-width: 450px) {
  422. .mainWrap .top {
  423. display: none;
  424. }
  425. .mainWrap {
  426. /*padding: 0;*/
  427. /*height: calc(100% - 149.19px);*/
  428. padding-bottom: 78px;
  429. }
  430. .mainWrap .main {
  431. width: 100%;
  432. /*height: 100%;*/
  433. padding: 0;
  434. justify-content: unset;
  435. }
  436. .mainWrap .bottom {
  437. margin-top: 0;
  438. margin-bottom: 0;
  439. }
  440. .mainWrap .mid {
  441. flex-direction: column;
  442. height: 400px;
  443. }
  444. .mainWrap .bottom {
  445. flex-direction: column;
  446. height: 450px;
  447. }
  448. .mainWrap .bottom .first-box {
  449. padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  450. height: 135px;
  451. }
  452. /*.mainWrap .bottom > div:nth-child(2) > div:first-child{*/
  453. /* width: 100%;*/
  454. /* height: 200px;*/
  455. /* margin-right: 0;*/
  456. /*}*/
  457. .mainWrap .bottom > div:nth-child(2) {
  458. height: 250px;
  459. /*padding: 0 1rem 1rem 1rem;*/
  460. padding : 1rem;
  461. margin-left: 0;
  462. }
  463. .mainWrap .bottom video {
  464. width: 100%;
  465. height: calc(100% - 30px);
  466. }
  467. .mainWrap .bottom > div,
  468. .mainWrap .mid > div {
  469. width: 100%;
  470. /*height: calc(100% / 3);*/
  471. height: 200px;
  472. }
  473. .mainWrap .bottom > div:first-child {
  474. /*margin-bottom: 0.7rem;*/
  475. margin-right: 0;
  476. }
  477. .mainWrap .notice > div:first-child img,
  478. .mainWrap .incd > div:first-child img {
  479. display: inline;
  480. width: 23px;
  481. height: 23px;
  482. }
  483. .mainWrap .main-menu {
  484. padding: 0;
  485. /*height: 100%;*/
  486. }
  487. .mainWrap .notice,
  488. .mainWrap .incd {
  489. padding: 1rem 1.5rem;
  490. }
  491. .mainWrap .incd > .incd-content > div > span,
  492. .mainWrap .notice > .content > div > span {
  493. display: inline;
  494. }
  495. .mainWrap .center > div {
  496. font-size: 20px;
  497. }
  498. }
  499. @media (min-width: 420px) {
  500. /* 메인화면 */
  501. .mainWrap .center > div,
  502. .mainWrap .other-bg > div,
  503. .mainWrap .first-bg > div {
  504. font-size: 15px;
  505. }
  506. .mainWrap .bus-direction {
  507. display: none;
  508. }
  509. /*.popup_content {*/
  510. /* max-width: 320px;*/
  511. /*}*/
  512. /*.popup_content img {*/
  513. /* max-width: 320px;*/
  514. /*}*/
  515. }
  516. @media (min-width: 765px) {
  517. /* 메인화면 */
  518. .mainWrap .center > div,
  519. .mainWrap .other-bg > div,
  520. .mainWrap .first-bg > div {
  521. font-size: 16px;
  522. }
  523. .mainWrap .bus-direction {
  524. display: block;
  525. }
  526. .mainWrap .incd > div > img,
  527. .mainWrap .notice > div > img {
  528. display: inline;
  529. }
  530. .popup_content {
  531. max-width: 600px;
  532. }
  533. .popup_content img {
  534. max-width: 600px;
  535. }
  536. }
  537. @media (min-width: 920px) {
  538. /* 메인화면 */
  539. .mainWrap .center > div,
  540. .mainWrap .other-bg > div,
  541. .mainWrap .first-bg > div {
  542. font-size: 20px;
  543. }
  544. .mainWrap .incd > .incd-content > div > span,
  545. .mainWrap .notice > .content > div > span {
  546. display: inline;
  547. }
  548. .popup_content {
  549. max-width: 800px;
  550. }
  551. .popup_content img {
  552. max-width: 800px;
  553. }
  554. .mainWrap {
  555. min-height: 758px;
  556. }
  557. .mainWrap .bus-bg > div img {
  558. margin-left: 0.5rem;
  559. }
  560. }
  561. @media (max-height: 900px) {
  562. /* 메인화면 */
  563. /*.mainWrap .main-menu > .top > div {*/
  564. /* height: 200px;*/
  565. /*}*/
  566. }