UNPKG

triplexlab

Version:

프론트엔드 개발자가 프로젝트할때 흔하고 많이 하는 작업들을 나만의 플러그인으로 만들었습니다.\ ES6의 class기반으로 만들었고, 공부하는 차원으로 만들었습니다.🧑🏻‍💻🧑🏻‍💻

332 lines (282 loc) 7.72 kB
@charset "UTF-8"; @font-face { font-family: 'tomorrow'; src: url("/dist/assets/fonts/tomorrow.eot"); src: url("/dist/assets/fonts/tomorrow.eot#iefix") format("embedded-opentype"), url("/dist/assets/fonts/tomorrow.ttf") format("truetype"), url("/dist/assets/fonts/tomorrow.woff") format("woff"), url("/dist/assets/fonts/tomorrow.svg#tomorrow") format("svg"); font-weight: normal; font-style: normal; font-display: block; } i { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'tomorrow' !important; speak: never; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .ic-bell:before { content: '\e900'; } .ic-bookmark:before { content: '\e901'; } .ic-bookmark-filled:before { content: '\e902'; } .ic-caret:before { content: '\e903'; } .ic-cart:before { content: '\e904'; } .ic-check:before { content: '\e905'; } .ic-chevron:before { content: '\e906'; } .ic-close:before { content: '\e907'; } .ic-community:before { content: '\e908'; } .ic-expert:before { content: '\e909'; } .ic-lock:before { content: '\e90a'; } .ic-menu:before { content: '\e90b'; } .ic-new:before { content: '\e90c'; } .ic-search:before { content: '\e90d'; } .ic-star:before { content: '\e90e'; } .ic-store:before { content: '\e90f'; } /* =========== // CSS RESET =========== */ html, body { height: 100%; } body { -webkit-text-size-adjust: none; } body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, textarea, p, blockquote, th, td, input, select, textarea, button { margin: 0; padding: 0; box-sizing: border-box; } body, input, select, textarea, button, table { font-family: "Noto Sans KR", sans-serif, "맑은 고딕", "Malgun Gothic", "Apple SD Gothic Neo", "돋움", dotum, sans-serif; font-size: 16px; color: #3F4150; font-weight: 400; word-break: keep-all; word-wrap: break-word; letter-spacing: -0.01em; } h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; } iframe, fieldset { border: 0; } img { border: 0; vertical-align: middle; } article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } dl, ul, ol, menu, li { list-style: none; } em, address { font-style: normal; } a { color: inherit; text-decoration: none; } a:hover, a:active, a:focus { text-decoration: none; } input, select, textarea, button { border: 0; vertical-align: middle; background: transparent; } input:focus, select:focus, textarea:focus, button:focus { outline: none; box-shadow: none; } button { cursor: pointer; width: auto; overflow: visible; color: inherit; font-size: inherit; vertical-align: middle; background: transparent; border: 0; } button[disabled="disabled"] { cursor: default; } sup { line-height: 1; font-size: 0.4em; } table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; empty-cells: show; } caption, legend { visibility: hidden; font-size: 0; width: 0; height: 0; line-height: 0; } input[type='text']::-ms-clear, input[type='password']::-ms-reveal { display: none; } input[disabled="disabled"], input[readonly="readonly"], select[disabled="disabled"], input.disabled, input.readonly { background-color: #f5f5f5; cursor: default; border-color: #ddd; } select { vertical-align: middle; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0; } select::-ms-expand { display: none; } ::-webkit-input-placeholder { color: #888 !important; font-weight: normal; } ::-moz-placeholder { color: #888 !important; font-weight: normal; } :-ms-input-placeholder { color: #888 !important; font-weight: normal !important; } :-moz-placeholder { color: #888 !important; font-weight: normal; } select.placeholder { color: #888 !important; font-weight: normal; } th, td { text-indent: 0; } /* =========== CSS RESET // =========== */ p { font-size: 14px; line-height: 24px; letter-spacing: -0.01em; color: #8C8D96; } .modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); } /* $flex-map 변수에 있는 Property를 가져오는 함수 @param {object} flex 종류들의 Property Name @return {object} flex 종류들의 Property Value */ /* flexbox관한 mixin, display, align-items, justify-content를 3가지를 반환한다. @param {object} justify-content, align-items들의 Property Value */ /* flexbox관한 mixin, display, align-items, justify-content를 3가지를 반환한다. @param {object} justify-content, align-items들의 Property Value */ /* flexbox관한 mixin, display, flex-direction, align-items, justify-content를 4가지를 반환한다. @param {object} justify-content, align-items들의 Property Value */ .list { display: flex; align-items: center; justify-content: center; } /* * Mobile(<768px) ------------------- * fixture sm * # of columns 4 * gutter 20px * margin 5px * container-size 100% - (5px * 2) * * TABLET(>768px) ------------------- * fixture md * # of columns 12 * gutter 20px * margin 30px * container-size 100% - (30px * 2) * max-container-size 960px * * DESKTOP(>1200px) ------------------- * fixture lg * # of columns 12 * gutter 20px * unit 75px * margin auto * container-size 1140px * max-container-size 1140px */ .container { width: 100%; padding: 0 5px; margin: 0 auto; } .container .row { display: flex; flex-wrap: wrap; } .container [class^='col-'] { padding: 0 10px; } .container .col-sm-1 { width: 25%; } .container .col-sm-2 { width: 50%; } .container .col-sm-3 { width: 75%; } .container .col-sm-4 { width: 100%; } @media screen and (min-width: 768px) { .container { max-width: 1020px; padding: 0 30px; } .container .col-md-1 { width: 8.33333%; } .container .col-md-2 { width: 16.66667%; } .container .col-md-3 { width: 25%; } .container .col-md-4 { width: 33.33333%; } .container .col-md-5 { width: 41.66667%; } .container .col-md-6 { width: 50%; } .container .col-md-7 { width: 58.33333%; } .container .col-md-8 { width: 66.66667%; } .container .col-md-9 { width: 75%; } .container .col-md-10 { width: 83.33333%; } .container .col-md-11 { width: 91.66667%; } .container .col-md-12 { width: 100%; } } @media screen and (min-width: 1200px) { .container { max-width: 1140px; padding: 0; } .container .col-lg-1 { width: 95px; } .container .col-lg-2 { width: 190px; } .container .col-lg-3 { width: 285px; } .container .col-lg-4 { width: 380px; } .container .col-lg-5 { width: 475px; } .container .col-lg-6 { width: 570px; } .container .col-lg-7 { width: 665px; } .container .col-lg-8 { width: 760px; } .container .col-lg-9 { width: 855px; } .container .col-lg-10 { width: 950px; } .container .col-lg-11 { width: 1045px; } .container .col-lg-12 { width: 1140px; } }