notice.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. .menu {
  2. max-width: 1200px;
  3. width: 100%;
  4. margin: 1.5rem auto 0 auto;
  5. display: flex;
  6. -webkit-box-pack: center;
  7. justify-content: center;
  8. }
  9. .menu > div {
  10. width: 100px;
  11. word-break: keep-all;
  12. text-align: center;
  13. line-height: 1.1;
  14. font-weight: bold;
  15. font-size: 18px;
  16. }
  17. .menu > div:not(:first-child) {
  18. margin-left: 30px;
  19. }
  20. .menu > div.active {
  21. color: rgb(51, 102, 171);
  22. }
  23. .menu > div:hover{
  24. color: rgb(51, 102, 171);
  25. cursor: pointer;
  26. }
  27. .mobile-menu {
  28. display: none;
  29. padding: 0.6rem 1rem;
  30. border-top: 1px solid rgb(230, 230, 230);
  31. justify-content: space-around;
  32. width: 100%;
  33. height: 80px;
  34. }
  35. .mobile-menu > div > div {
  36. filter: grayscale(1);
  37. background-size: 35px 35px;
  38. width: 100%;
  39. height: 35px;
  40. background-position: center;
  41. background-repeat: no-repeat;
  42. }
  43. .mobile-menu > div {
  44. font-weight: bold;
  45. padding-top : 5px;
  46. font-size: 11px;
  47. }
  48. .mobile-menu > div.active > div {
  49. filter: grayscale(0);
  50. }
  51. .mobile-menu > div.active {
  52. color: rgb(51, 102, 171);
  53. }
  54. .mobile-menu > div:nth-child(1) > div {
  55. background-image: url("/images/icon/menu_icon5-2.png");
  56. }
  57. .mobile-menu > div:nth-child(2) > div {
  58. background-image: url("/images/icon/way.png");
  59. }
  60. .noticeWrap {
  61. width: 100%;
  62. /*height: calc(100% - 199.8px);*/
  63. height: calc(100% - 218px);
  64. display: flex;
  65. justify-content: center;
  66. overflow: auto;
  67. margin-bottom: 10px;
  68. }
  69. .noticeWrap .admin-header {
  70. width: 200px;
  71. height: 50px;
  72. margin: 24px auto;
  73. color: white;
  74. text-align: center;
  75. font: bold 18px / 40px NanumGothic;
  76. background: url('/images/background/bg_title.png') 0px 0px / contain no-repeat transparent;
  77. }
  78. .noticeWrap .container {
  79. max-width: 1200px;
  80. width: 95%;
  81. position: relative;
  82. display: flex;
  83. flex-direction: column;
  84. /*min-height: 748px;*/
  85. }
  86. .noticeWrap .header {
  87. padding: 2rem 0;
  88. margin-bottom: 0;
  89. color: rgb(51, 102, 171);
  90. text-align: center;
  91. border-bottom: 1px solid rgb(33, 84, 153);
  92. font-size: 2rem;
  93. }
  94. .noticeWrap .content {
  95. margin: 24px 0px;
  96. padding: 30px 60px;
  97. transition: all 0.3s ease 0s;
  98. box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
  99. height: calc(100% - 101px);
  100. }
  101. .noticeWrap .admin-content {
  102. width: 100%;
  103. height: calc(100% - 150px);
  104. min-height: 500px;
  105. padding: 30px 60px;
  106. transition: all 0.3s ease 0s;
  107. background-color: rgb(255, 255, 255);
  108. box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
  109. }
  110. .noticeWrap .admin-content .list a{
  111. list-style: none;
  112. display: flex;
  113. -webkit-box-pack: justify;
  114. justify-content: space-between;
  115. padding: 0.5rem;
  116. border-bottom: 2px solid lightgrey;
  117. gap: 15px;
  118. }
  119. .noticeWrap .admin-content .list {
  120. padding: 0;
  121. margin: 0;
  122. height: calc(100% - 126px);
  123. overflow: auto;
  124. }
  125. .noticeWrap .admin-content .list a:hover {
  126. cursor: pointer;
  127. background-color: #eeeeee;
  128. }
  129. #post {
  130. outline: none;
  131. border: none;
  132. text-align: center;
  133. width: 170px;
  134. }
  135. #post.modify {
  136. cursor: pointer;
  137. }
  138. .post-box {
  139. height: 40px;
  140. padding: 8px 16px;
  141. border: 1px solid rgb(204, 234, 234);
  142. box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
  143. background: 0px 0px no-repeat rgb(255, 255, 255);
  144. display: flex;
  145. margin-top: 10px;
  146. /*margin-bottom: 10px;*/
  147. gap: 10px;
  148. }
  149. .post-box > div:nth-child(1) {
  150. margin-right: 20px;
  151. }
  152. .noticeWrap .content.admin-view:hover {
  153. box-shadow: rgba(0, 0, 0, 0.19) 0px 6px 12px;
  154. }
  155. .noticeWrap .content.admin-view .button-box {
  156. padding: 16px 0px;
  157. display: flex;
  158. -webkit-box-pack: justify;
  159. justify-content: space-between;
  160. }
  161. .noticeWrap .content.admin-view {
  162. width: 100%;
  163. /*height: calc(100% - 128px);*/
  164. min-height: 500px;
  165. padding: 20px 60px;
  166. transition: all 0.3s ease 0s;
  167. background-color: rgb(255, 255, 255);
  168. box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
  169. margin: 0;
  170. /*overflow: auto;*/
  171. }
  172. .noticeWrap .admin-content .title {
  173. padding: 16px 0px;
  174. display: flex;
  175. justify-content: right;
  176. border-bottom: 1px solid rgb(33, 84, 153);
  177. }
  178. .noticeWrap .admin-content .title a {
  179. background: rgb(51, 102, 171);
  180. box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
  181. border: none;
  182. padding: 4px 16px;
  183. color: rgb(255, 255, 255);
  184. }
  185. .noticeWrap .admin-content .title a:hover {
  186. filter: brightness(1.1);
  187. }
  188. .noticeWrap .content.list {
  189. margin: 0px;
  190. padding: 0px;
  191. transition: none;
  192. box-shadow: none;
  193. }
  194. .noticeWrap .pagination {
  195. width: 100%;
  196. height: 50px;
  197. padding: 16px;
  198. display: flex;
  199. align-items: center;
  200. }
  201. .noticeWrap .pagination .previous {
  202. -webkit-box-flex: 5;
  203. flex-grow: 5;
  204. text-align: left;
  205. }
  206. .noticeWrap .pagination .pages > a:not(:first-child) {
  207. margin-left: 10px;
  208. }
  209. .noticeWrap .pagination .next {
  210. -webkit-box-flex: 5;
  211. flex-grow: 5;
  212. text-align: right;
  213. }
  214. .noticeWrap .pagination img.active {
  215. cursor: pointer;
  216. }
  217. .noticeWrap .pagination .pages a.active{
  218. color: rgb(51, 102, 171);
  219. font-weight: bold;
  220. border-bottom: 1px solid rgb(51, 102, 171);
  221. }
  222. .noticeWrap .pagination .pages a:hover {
  223. cursor: pointer;
  224. color: rgb(51, 102, 171);
  225. font-weight: bold;
  226. border-bottom: 1px solid rgb(51, 102, 171);
  227. }
  228. .noticeWrap .pagination img {
  229. width: 20px;
  230. height: 20px;
  231. }
  232. .noticeWrap .content a{
  233. display: flex;
  234. -webkit-box-pack: justify;
  235. justify-content: space-between;
  236. padding: 0.9rem 10px;
  237. border-bottom: 2px solid lightgrey;
  238. gap: 15px;
  239. }
  240. .noticeWrap .content a:hover {
  241. color: rgb(51, 102, 171);
  242. cursor: pointer;
  243. font-weight: bold;
  244. }
  245. .bl-button {
  246. background: rgb(51, 102, 171);
  247. box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
  248. border: none;
  249. margin: 0px 10px 0px 0px;
  250. padding: 4px 16px;
  251. color: rgb(255, 255, 255);
  252. cursor: pointer;
  253. }
  254. .wt-button.off,
  255. .bl-button.off {
  256. display: none;
  257. }
  258. .bl-button:hover,
  259. .wt-button:hover{
  260. filter: brightness(1.1);
  261. }
  262. .noticeWrap .content a > div:nth-child(1) {
  263. overflow: hidden;
  264. text-overflow: ellipsis;
  265. white-space: nowrap;
  266. width: calc(100% - 160px);
  267. }
  268. .wt-button{
  269. background: rgb(204, 234, 234);
  270. box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
  271. border: none;
  272. padding: 4px 16px;
  273. color: rgb(0, 0, 0);
  274. cursor: pointer;
  275. }
  276. .noticeWrap .content .view-box > div{
  277. display: flex;
  278. flex-direction: column;
  279. margin: 16px 0px;
  280. }
  281. .noticeWrap .content .view-box .b_content a{
  282. border-bottom: none;
  283. display: inline;
  284. padding : 0;
  285. }
  286. .noticeWrap .content .view-box .b_content {
  287. resize: none;
  288. padding: 8px 16px;
  289. border: 1px solid rgb(204, 234, 234);
  290. box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
  291. background: 0px 0px no-repeat rgb(255, 255, 255);
  292. /*font-size: 16px;*/
  293. font-size: inherit;
  294. line-height: inherit;
  295. outline: none!important;
  296. min-height: 350px;
  297. overflow: auto;
  298. max-width: 1080px;
  299. max-height: 419px;
  300. }
  301. .noticeWrap .content .view-box .title {
  302. height: 40px;
  303. padding: 8px 16px;
  304. border: 1px solid rgb(204, 234, 234);
  305. box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
  306. background: 0px 0px no-repeat rgb(255, 255, 255);
  307. font-size: 16px;
  308. outline: none!important;
  309. margin-bottom: 10px;
  310. }
  311. .noticeWrap .content .view-box .b_content.modify,
  312. .noticeWrap .content .view-box .title.modify {
  313. background: rgba(204, 234, 234, 0.3);
  314. }
  315. .noticeWrap .content .view-box .attach-box.admin .attach{
  316. width: 100%;
  317. }
  318. .noticeWrap .content .view-box .attach-box.admin .attach.modify {
  319. width: calc(100% - 120px);
  320. }
  321. .noticeWrap .content .view-box .attach-box.admin .attach-btn {
  322. line-height: 30px;
  323. }
  324. #attach-file {
  325. display: none;
  326. }
  327. .attach-delete {
  328. background-image: url("/images/icon/minus.png");
  329. background-size: 15px 15px;
  330. width: 15px;
  331. height: 15px;
  332. background-repeat: no-repeat;
  333. background-position: center;
  334. padding: 10px 15px;
  335. cursor: pointer;
  336. }
  337. .attach-delete:hover{
  338. filter: brightness(1.1);
  339. }
  340. .noticeWrap .content .view-box .attach-box .attach{
  341. height: 40px;
  342. padding: 8px 16px;
  343. border: 1px solid rgb(204, 234, 234);
  344. box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
  345. background: 0px 0px no-repeat rgb(255, 255, 255);
  346. display: flex;
  347. width: calc(100% - 80px);
  348. }
  349. .noticeWrap .content .view-box .attach-box .attach .attach-file{
  350. overflow: hidden;
  351. text-overflow: ellipsis;
  352. white-space: nowrap;
  353. }
  354. .noticeWrap .content .view-box .list-btn {
  355. background: rgb(51, 102, 171);
  356. box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
  357. border: none;
  358. padding: 12px;
  359. color: rgb(255, 255, 255);
  360. }
  361. .noticeWrap .content .view-box .list-btn:hover {
  362. cursor: pointer;
  363. filter: brightness(1.1);
  364. }
  365. .noticeWrap .content .view-box .attach-box{
  366. -webkit-box-pack: justify;
  367. justify-content: space-between;
  368. gap: 5px;
  369. display: flex;
  370. margin-top: 10px;
  371. }
  372. .noticeWrap .content .view-box {
  373. display: flex;
  374. flex-direction: column;
  375. margin: 16px 0px;
  376. }
  377. .noticeWrap .content.admin-view .view-box {
  378. margin: 0px;
  379. }
  380. .item-right {
  381. width: 160px;
  382. display: flex;
  383. -webkit-box-pack: justify;
  384. justify-content: space-between;
  385. }
  386. .item-right.popup {
  387. width: 100px;
  388. }
  389. .attach-file:hover {
  390. color: rgb(51, 102, 171);
  391. cursor: pointer;
  392. font-weight: bold;
  393. }
  394. .attach-file:before {
  395. content: "";
  396. background-image: url("/images/icon/clip-board.png");
  397. display: inline-block;
  398. background-size: 15px 15px;
  399. width: 15px;
  400. height: 15px;
  401. margin-right: 5px;
  402. background-repeat: no-repeat;
  403. background-position: center;
  404. }
  405. @media (max-width: 920px) {
  406. /*.noticeWrap {*/
  407. /* height: calc(100% - 200.19px);*/
  408. /*}*/
  409. }
  410. @media (max-height: 765px) {
  411. /*.noticeWrap {*/
  412. /* height: calc(100% - 200.19px);*/
  413. /*}*/
  414. }
  415. @media (max-width: 720px) {
  416. /*.noticeWrap {*/
  417. /* height: calc(100% - 205.19px);*/
  418. /*}*/
  419. .noticeWrap .content a > div:nth-child(1) {
  420. width: calc(100% - 72px);
  421. font-size: 14px;
  422. }
  423. .item-right{
  424. width : 70px;
  425. font-size: 12px;
  426. }
  427. .item-right > div:nth-child(2) {
  428. display: none;
  429. }
  430. .noticeWrap .header{
  431. font-size: 1.5rem;
  432. }
  433. }
  434. @media (max-width: 547px) {
  435. /*.noticeWrap {*/
  436. /* height: calc(100% - 216.19px);*/
  437. /*}*/
  438. }
  439. @media (max-width: 420px) {
  440. .mobile-menu {
  441. display: flex;
  442. }
  443. .menu {
  444. display: none;
  445. }
  446. .noticeWrap {
  447. /*height: calc(100% - 149.19px);*/
  448. padding: 5px 0 78px 0;
  449. height: auto;
  450. }
  451. .noticeWrap .header {
  452. font-size: 1.2rem;
  453. padding: 1rem 0;
  454. }
  455. .noticeWrap .container {
  456. min-height: 0;
  457. }
  458. .noticeWrap .container.view {
  459. min-height: 450px;
  460. }
  461. .noticeWrap h2 {
  462. font-size: 14px;
  463. }
  464. .noticeWrap .content a {
  465. padding: 10px;
  466. font-size: 13px;
  467. }
  468. /*textarea {*/
  469. /* row*/
  470. /*}*/
  471. .noticeWrap .content.view {
  472. padding: 0px 20px;
  473. }
  474. }