sample.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. // 샘플 화면의 scss
  2. @charset "UTF-8";
  3. .sample-layout{
  4. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  5. margin: 0;
  6. padding: 0;
  7. border: 0;
  8. font-size: 100%;
  9. color:#1A1A1A;
  10. vertical-align: baseline;
  11. }
  12. *{
  13. box-sizing:border-box !important;
  14. &::-webkit-scrollbar {
  15. height:3px;
  16. width:3px;
  17. }
  18. &::-webkit-scrollbar-button:start:decrement,
  19. &::-webkit-scrollbar-button:end:increment {
  20. display:none;
  21. }
  22. &::-webkit-scrollbar-track {
  23. background-color:transparent;
  24. width:3px;
  25. height:3px;
  26. }
  27. &::-webkit-scrollbar-thumb {
  28. width:3px;
  29. border-radius:3px;
  30. background-color:transparent;
  31. }
  32. }
  33. body{
  34. &::-webkit-scrollbar-thumb {
  35. width:3px;
  36. border-radius:3px;
  37. background-color:#3570FF;
  38. }
  39. }
  40. /* HTML5 display-role reset for older browsers */
  41. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
  42. body {line-height: 2;}
  43. ol, ul {list-style: none;}
  44. blockquote, q {quotes: none;}
  45. blockquote:before, blockquote:after, q:before, q:after {content: '';content: none;}
  46. table {border-collapse: collapse;border-spacing: 0;}
  47. input:focus {outline: none;}
  48. a {color: inherit;text-decoration: none;}
  49. html{overflow:auto !important;}
  50. button{outline:0; cursor:pointer;}
  51. .mb--0{margin-bottom:0px!important;}
  52. .mb--5{margin-bottom:5px!important;}
  53. .mb--10{margin-bottom:10px!important;}
  54. .mb--15{margin-bottom:15px!important;}
  55. .mb--20{margin-bottom: 20px!important;}
  56. .mb--30{margin-bottom: 30px!important;}
  57. .ml--0{margin-left: 0px!important;}
  58. .ml--3{margin-left: 3px!important;}
  59. .ml--5{margin-left: 5px!important;}
  60. .ml--10{margin-left: 10px!important;}
  61. .ml--15{margin-left: 15px!important;}
  62. .ml--20{margin-left: 20px!important;}
  63. .ml--25{margin-left: 25px!important;}
  64. .ml--30{margin-left: 30px!important;}
  65. .ml--35{margin-left: 35px!important;}
  66. .mr--0{margin-right: 0px!important;}
  67. .mr--3{margin-right: 3px!important;}
  68. .mr--10{margin-right: 10px!important;}
  69. .mr--15{margin-right: 15px!important;}
  70. .mr--20{margin-right:20px!important;}
  71. .mr--25{margin-right:25px!important;}
  72. .mt--0{margin-top:0px!important;}
  73. .mt--10{margin-top:10px!important;}
  74. .mt--15{margin-top:15px!important;}
  75. .mt--20{margin-top:20px!important;}
  76. .mt--25{margin-top:25px!important;}
  77. .mt--30{margin-top:30px!important;}
  78. .mt--35{margin-top:35px!important;}
  79. .mt--40{margin-top:40px!important;}
  80. .mt--45{margin-top:45px!important;}
  81. .mt--50{margin-top:50px!important;}
  82. .mt--60{margin-top:60px!important;}
  83. .pt--0{padding-top:0px!important;}
  84. .text-left{text-align:left !important;}
  85. .text-center{text-align:center !important;}
  86. .text-right{text-align:right !important;}
  87. @mixin bor($w, $c, $r){
  88. border:$w solid $c;
  89. border-radius:$r;
  90. }
  91. @mixin borBg($border, $bg){
  92. border-color:$border;
  93. background-color:$bg;
  94. }
  95. @mixin wh(
  96. $w:null,
  97. $minw:null,
  98. $maxw:null,
  99. $h:null,
  100. $minh:null,
  101. $maxh:null,
  102. ){
  103. width:$w;
  104. min-width:$minw;
  105. max-width:$maxw;
  106. height:$h;
  107. min-height:$minh;
  108. max-height:$maxh;
  109. }
  110. @mixin pm(
  111. $p:null,
  112. $pt:null,
  113. $pr:null,
  114. $pb:null,
  115. $pl:null,
  116. $m:null,
  117. $mt:null,
  118. $mr:null,
  119. $mb:null,
  120. $ml:null,
  121. ) {
  122. padding:$p;
  123. padding-top:$pt;
  124. padding-right:$pr;
  125. padding-bottom:$pb;
  126. padding-left:$pl;
  127. margin:$m;
  128. margin-top:$mt;
  129. margin-right:$mr;
  130. margin-bottom:$mb;
  131. margin-left:$ml;
  132. }
  133. @mixin flex(
  134. $dis:flex,
  135. $align:null,
  136. $justify:null,
  137. $dir:null,
  138. $wrap:null,
  139. ){
  140. display:$dis;
  141. align-items:$align;
  142. justify-content:$justify;
  143. flex-direction:$dir;
  144. flex-wrap:$wrap;
  145. }
  146. @mixin position(
  147. $p:absolute,
  148. $t:null,
  149. $r:null,
  150. $b:null,
  151. $l:null,
  152. ) {
  153. position:$p;
  154. top:$t;
  155. bottom:$b;
  156. left:$l;
  157. right:$r;
  158. }
  159. @mixin font(
  160. $s:null,
  161. $w:null,
  162. $c:null,
  163. $a:null,
  164. ) {
  165. font-size:$s;
  166. font-weight:$w;
  167. color:$c;
  168. text-align:$a;
  169. }
  170. // 샘플 메인
  171. .sample--main--wrap{
  172. h1{
  173. text-align: center;
  174. color: black;
  175. font-size: 30px;
  176. }
  177. .section--wrap{
  178. display: flex;
  179. margin-top: 10px;
  180. .left--section{
  181. background: #eee;
  182. padding: 10px;
  183. border: 1px solid #eee;
  184. width: 50%;
  185. margin-right: 10px;
  186. }
  187. .right--section{
  188. background: #eee;
  189. padding: 10px;
  190. border: 1px solid #eee;
  191. width: 50%;
  192. margin-left: 10px;
  193. .result--msg{
  194. border: 1px solid;
  195. height: 200px;
  196. font-size: 20px;
  197. font-weight: 600;
  198. }
  199. }
  200. }
  201. .div--wrap{
  202. border: 1px solid;
  203. border-radius: 15px;
  204. background: #eee;
  205. margin: 20px;
  206. width: 300px;
  207. padding: 10px;
  208. h2{
  209. font-size: 20px;
  210. text-align: center;
  211. }
  212. .btn--wrap{
  213. margin-top: 10px;
  214. text-align: center;
  215. .v-btn{
  216. &.actv{
  217. background-color: #3468E2;
  218. .v-btn__content{
  219. color: #eee;
  220. }
  221. }
  222. }
  223. }
  224. }
  225. .arrow--wrap{
  226. margin: -12px;
  227. display: flex;
  228. align-items: center;
  229. justify-items: center;
  230. opacity: 0;
  231. transition: opacity 0.5s ease, transform 0.5s ease;
  232. &.actv{
  233. opacity: 1; /* 초기에는 투명하게 설정 */
  234. transform: translateY(0);
  235. transition: opacity 0.5s ease, transform 0.5s ease;
  236. }
  237. }
  238. }
  239. .component--item{
  240. width: 300px;
  241. height: 300px;
  242. border: 1px solid;
  243. }
  244. // 게시판 메인
  245. .board_list_wrapper {
  246. width: 100%;
  247. height: 100%;
  248. padding: 50px;
  249. .search_wrap {
  250. display: flex;
  251. .custom_select {
  252. max-width: 150px;
  253. }
  254. .custom_input {
  255. max-width: 300px;
  256. }
  257. }
  258. .btn-wrapper {
  259. display: flex;
  260. justify-content: space-between;
  261. }
  262. .v-table{
  263. .v-table__wrapper{
  264. table{
  265. thead{
  266. background-color: rgba(230, 230, 230, 0.5);
  267. th{
  268. height:44px;
  269. padding:9px 5px !important;
  270. border:0;
  271. vertical-align:middle;
  272. word-break:keep-all;
  273. @include font($s:14px !important, $w:500, $c:#777 !important, $a:center !important);
  274. background:#f7f7fa !important;
  275. }
  276. }
  277. tbody{
  278. tr{
  279. td{
  280. height:44px;
  281. padding:9px 5px;
  282. border-bottom:1px solid #E3E6ED;
  283. vertical-align:middle;
  284. word-break:keep-all;
  285. @include font($s:14px, $w:500, $c:#333, $a:center !important);
  286. background:#fff;
  287. cursor:pointer;
  288. &.text-left{
  289. text-align:left !important;
  290. }
  291. span{
  292. @include font($w:500, $c:#333);
  293. &.color-red{
  294. color:#E60000;
  295. }
  296. &.color-green{
  297. color:#4AAC44;
  298. }
  299. &.color-orange{
  300. color:#FF7732;
  301. }
  302. &.line1{
  303. display:block;
  304. overflow:hidden;
  305. max-width:285px;
  306. text-overflow:ellipsis;
  307. white-space:nowrap;
  308. }
  309. &.text-left{
  310. display:block;
  311. text-align:left;
  312. }
  313. }
  314. }
  315. }
  316. }
  317. }
  318. }
  319. }
  320. }
  321. // 게시판 타이틀
  322. .menu-title-wrap{
  323. @include flex($align:center);
  324. margin-bottom:24px;
  325. h2{
  326. line-height:20px;
  327. @include font($s:18px, $w:800, $c:#001A58);
  328. }
  329. .arrow{
  330. @include wh($w:30px, $h:30px);
  331. margin:0 11px;
  332. }
  333. .menu-depth2{
  334. line-height:20px;
  335. @include font($s:18px, $w:600, $c:#1A1A1A);
  336. }
  337. .setting-util{
  338. display:flex;
  339. margin-left:auto;
  340. .btn-style{
  341. width:120px;
  342. margin:0 0 0 5px;
  343. }
  344. }
  345. }
  346. .view-area{
  347. padding:40px 24px;
  348. @include bor(1px, #E6EBF1, 16px);
  349. background:#FFF;
  350. }
  351. .form-style{
  352. border-top:1px solid #E3E6ED;
  353. table{
  354. width:100%;
  355. th{
  356. padding:12px 5px;
  357. border-bottom:1px solid #E3E6ED;
  358. vertical-align:middle;
  359. @include font($s:14px, $w:500, $c:#333, $a:center);
  360. background:#f7f8fa;
  361. .star{
  362. display:inline-block;
  363. padding-left:3px;
  364. //color:#F43232;
  365. color:#3570FF;
  366. }
  367. }
  368. td{
  369. height:48px;
  370. padding:6px 0 6px 24px;
  371. border-bottom:1px solid #E3E6ED;
  372. vertical-align:middle;
  373. @include font($s:14px, $w:500, $c:#333, $a:left);
  374. .view-cont{
  375. word-break: break-all;
  376. min-height:459px;
  377. padding:12px 0;
  378. @include font($c:#333, $a:left);
  379. }
  380. .file-form-list{
  381. @include flex($wrap:wrap);
  382. margin-top:8px;
  383. font-size:0;
  384. &:empty{
  385. margin:0;
  386. }
  387. .btn-file-download{
  388. display:inline-block;
  389. @include wh($w:auto, $h:36px);
  390. @include pm($p:0 10px, $m:0 8px 0 0);
  391. line-height:32px;
  392. @include bor(1px, #EDF1FF, 6px);
  393. vertical-align:middle;
  394. @include font($s:14px, $w:400, $c:#000);
  395. background:#F7F9FF;
  396. &:last-of-type{
  397. margin-right:0;
  398. }
  399. .ico{
  400. display:inline-block;
  401. @include wh($w:10px, $h:13px);
  402. margin-right:7px;
  403. vertical-align:middle;
  404. // background:url("~/assets/img/sample/ico_file_download.png") no-repeat center;
  405. }
  406. button{
  407. @include wh($w:20px, $h:20px);
  408. margin-left:5px;
  409. border-radius:100%;
  410. vertical-align:middle;
  411. // background:#3468E2 url(~/assets/img/sample/ico_close.png) no-repeat center / 14px;
  412. }
  413. }
  414. }
  415. .custom-input.v-text-field{
  416. min-height:36px;
  417. .v-input__control{
  418. .v-input__slot{
  419. height:36px;
  420. .v-text-field__slot{
  421. height:34px;
  422. input{
  423. height:34px;
  424. }
  425. }
  426. }
  427. }
  428. }
  429. .custom-select.v-input{
  430. min-height:36px;
  431. .v-input__control{
  432. .v-input__slot{
  433. height:34px;
  434. }
  435. .v-select__slot{
  436. .v-select__selection{
  437. height:34px;
  438. }
  439. }
  440. }
  441. }
  442. .btn-style{
  443. height:36px;
  444. }
  445. }
  446. }
  447. }
  448. .btn-wrap{
  449. @include flex($align:center, $justify:center);
  450. margin-top:26px;
  451. @include font($s:0, $a:center);
  452. &.text-right{
  453. justify-content:flex-end;
  454. .btn-style{
  455. &:first-of-type{
  456. margin-left:0;
  457. }
  458. }
  459. }
  460. .left{
  461. margin-right:auto;
  462. .btn-style{
  463. &:first-of-type{
  464. margin-left:0;
  465. }
  466. &:last-of-type{
  467. margin-right:0;
  468. }
  469. }
  470. }
  471. .right{
  472. margin-left:auto;
  473. .btn-style{
  474. &:first-of-type{
  475. margin-left:0;
  476. }
  477. &:last-of-type{
  478. margin-right:0;
  479. }
  480. }
  481. }
  482. }
  483. .btn-style{
  484. @include flex($dis:inline-flex, $align:center, $justify:center);
  485. @include wh($w:152px, $h:44px);
  486. margin:0 5px;
  487. letter-spacing:-0.35px;
  488. border-radius:6px;
  489. @include font($s:14px, $w:500);
  490. &.btn-blue{
  491. color:#fff;
  492. background:#3468E2;
  493. }
  494. &.btn-blue2{
  495. @include wh($w:auto, $h:40px);
  496. padding:0 34px;
  497. color:#fff;
  498. background:#3468E2;
  499. }
  500. &.btn-white{
  501. border:1px solid #e6ebf1;
  502. color:#000;
  503. background:#fff;
  504. }
  505. &.btn-white2{
  506. @include wh($w:auto, $h:40px);
  507. padding:0 34px;
  508. line-height:38px;
  509. border:1.3px solid #D7DBE3;
  510. color:#333;
  511. background:#fff;
  512. }
  513. &.btn-black{
  514. color:#fff;
  515. background:#363636;
  516. }
  517. &.full{
  518. width:100%;
  519. }
  520. &.mini{
  521. @include wh($w:80px, $h:30px);
  522. border-radius:4px;
  523. font-size:12px;
  524. }
  525. &.mini2{
  526. height:40px;
  527. }
  528. &.w80{
  529. width:80px;
  530. padding:0;
  531. }
  532. &.btn-comment{
  533. width:auto;
  534. padding:0 23px;
  535. span{
  536. padding-left:5px;
  537. letter-spacing:-0.4px;
  538. @include font($s:16px, $w:700, $c:#3570FF);
  539. }
  540. }
  541. }
  542. .custom-input{
  543. .v-input__control{
  544. }
  545. &.v-input--error{
  546. .v-input__details{
  547. .v-messages{
  548. .v-messages__message{
  549. color: red !important;
  550. }
  551. }
  552. }
  553. }
  554. }
  555. .custom-textarea{
  556. .v-input__control{
  557. }
  558. &.v-input--error{
  559. .v-input__details{
  560. .v-messages{
  561. .v-messages__message{
  562. color: red !important;
  563. }
  564. }
  565. }
  566. }
  567. }
  568. .flex--wrap{
  569. display:flex;
  570. align-items: center;
  571. .title--wrap{
  572. width: 100%;
  573. position: relative;
  574. .close--btn{
  575. position: absolute;
  576. right: 3px;
  577. top: 3px;
  578. }
  579. }
  580. }
  581. }