notice.css 10 KB

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