UNPKG

mikit-framework

Version:

A web framework for professional developers and designers alike.

3,092 lines (2,427 loc) 49.6 kB
/* Mikit. CSS & JS Framework Version 1.0 http://mikit.missra.com/ Copyright (c) 2017, Mikit. License: MIT */ /* ======================================================================== UI CSS: Typography ========================================================================== */ html { box-sizing: border-box; } html, body { font-size: 16px; line-height: 24px; } body { font-family: "Segoe UI",Segoe,Tahoma,Arial,Verdana,sans-serif; color: #353535; background-color: transparent; } *, *:before, *:after { box-sizing: inherit; } * { margin: 0; padding: 0; outline: 0; -webkit-overflow-scrolling: touch; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block } img, video, audio { max-width: 100%; } img, video { height: auto; } svg { max-height: 100%; } iframe { border: none; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline } audio:not([controls]) { display: none; height: 0 } a { color: #3794de; background-color: transparent } a:hover { color: #e91e63; } h1.mi-title, h1, h2, h3, h4, h5, h6 { font-family: "Segoe UI",Segoe,Tahoma,Arial,Verdana,sans-serif; font-weight: bold; color: #0d0d0d; text-rendering: optimizeLegibility; margin-bottom: 16px; } h1.mi-title { font-size: 56px; font-size: 3.5rem; line-height: 84px; line-height: 5.25rem; } h1, .mi-h1 { font-size: 48px; font-size: 3rem; line-height: 68px; line-height: 4.25rem; } h2, .mi-h2 { font-size: 36px; font-size: 2.25rem; line-height: 54px; line-height: 3.375rem; } h3, .mi-h3 { font-size: 24px; font-size: 1.5rem; line-height: 36px; line-height: 2.25rem; } h4, .mi-h4 { font-size: 20px; font-size: 1.25rem; line-height: 30px; line-height: 1.875rem; } h5, .mi-h5 { font-size: 18px; font-size: 1.125rem; line-height: 28px; line-height: 1.75rem; } h6, .mi-h6 { font-size: 16px; font-size: 1rem; line-height: 24px; line-height: 1.5rem; } /* List */ ul, ul ul, ul ol, ol, ol ul, ol ol { margin: 0 0 0 24px; } ol ol li { list-style-type: lower-alpha; } ol ol ol li { list-style-type: lower-roman; } ul.mi-list-unstyled { margin-left: 0; } ul.mi-list-unstyled, ul.mi-list-unstyled ul { list-style: none; } nav ul, nav ol { margin: 0; list-style: none; } nav ul ul, nav ul ol, nav ol ul, nav ol ol { margin-left: 24px; } dl dt { font-weight: bold; } dd { margin-left: 24px; } p, blockquote, hr, pre, ol, ul, dl, table, fieldset, figure, address, form { margin-bottom: 16px; } hr { box-sizing: content-box; border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); margin-top: -1px; } blockquote { padding-left: 1rem; border-left: 4px solid rgba(0, 0, 0, 0.1); font-style: italic; color: rgba(49, 52, 57, 0.65); } blockquote:before { content: none; } blockquote p { margin-bottom: .5rem; } time, cite, small, figcaption { font-size: 87.5%; } cite { opacity: .6; } abbr[title], dfn[title] { border-bottom: 1px dotted rgba(0, 0, 0, 0.5); cursor: help; } var { font-size: 16px; opacity: .6; font-style: normal; } mark, code, samp, kbd { position: relative; top: -1px; padding: 4px 4px 2px 4px; display: inline-block; line-height: 1; color: rgba(49, 52, 57, 0.85); } code { background: #e0e1e1; } mark { background: #f7ba45; } samp { color: #fff; background: #1c86f2; } kbd { border: 1px solid rgba(0, 0, 0, 0.1); } sub, sup { font-size: x-small; line-height: 0; margin-left: 1rem/4; position: relative; } sup { top: 0; } sub { bottom: 1px; } pre, code, samp, var, kbd { font-family: Consolas, Monaco, "Courier New", monospace; } pre, code, samp, var, kbd, mark { font-size: 87.5%; } pre, pre code { display: block; color: rgba(49, 52, 57, 0.85); background: #f8f8f8; overflow: hidden; white-space: pre-wrap; } pre { padding: 1rem; } figcaption { opacity: .6; } figure figcaption { position: relative; top: -1rem/2; } figure pre { background: none; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 4px; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0 } input { line-height: normal } button { overflow: visible } button, select { text-transform: none } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer } button[disabled], html input[disabled] { cursor: default } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0 } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0 } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto } input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none } fieldset { border: 1px solid silver; } /* Alignment */ .mi-align-left { text-align: left; } .mi-align-center { text-align: center; } .mi-align-right { text-align: right; } /* Text style */ .mi-font-upper { text-transform: uppercase; } .mi-font-lower { text-transform: lowercase; } .mi-font-italic { font-style: italic !important; } .mi-font-strong { font-weight: bold !important; } .mi-font-muted { opacity: .55; } .mi-font-muted:hover { opacity: 1; } .mi-text-smaller { font-size: 12px; line-height: 20px; } .mi-text-small { font-size: 14px; line-height: 20px; } .mi-text-big { font-size: 18px; line-height: 28px; } .mi-text-large { font-size: 20px; line-height: 32px; } /* Text Columns */ @media (min-width: 768px) and (max-width: 1024px) { .mi-columns-2, .mi-columns-3, .mi-columns-4 { column-gap: 24px; } .mi-columns-2 { column-count: 2; } .mi-columns-3 { column-count: 3; } .mi-columns-4 { column-count: 4; } } /* ======================================================================== UI CSS: Colors ========================================================================== */ /* Text Colors */ .mi-color-black { color: #0a0a0a; } .mi-color-inverted { color: #fff; } .mi-color-error { color: #f03c69; } .mi-color-success { color: #35beb1; } .mi-color-warning { color: #f7ba45; } .mi-color-focus { color: #1c86f2; } .mi-color-aluminum { color: #f8f8f8; } .mi-color-silver { color: #e0e1e1; } .mi-color-lightgray { color: #d4d4d4; } .mi-color-gray { color: #bdbdbd; } .mi-color-midgray { color: #676b72; } .mi-color-darkgray { color: #313439; } /* Background Colors */ .mi-bg-black { background-color: #010101; } .mi-bg-inverted { background-color: #fff; } .mi-bg-error { background-color: #f03c69; } .mi-bg-success { background-color: #35beb1; } .mi-bg-warning { background-color: #f7ba45; } .mi-bg-focus { background-color: #1c86f2; } .mi-bg-aluminum { background-color: #f8f8f8; } .mi-bg-silver { background-color: #e0e1e1; } .mi-bg-lightgray { background-color: #d4d4d4; } .mi-bg-gray { background-color: #bdbdbd; } .mi-bg-midgray { background-color: #676b72; } .mi-bg-darkgray { background-color: #313439; } .mi-bg-highlight { background-color: #edf2ff; } /* ======================================================================== UI CSS : Grid ========================================================================== */ .mi-row { display: flex; flex-direction: row; flex-wrap: wrap; } @media (max-width: 768px) { .mi-row { flex-direction: column; flex-wrap: nowrap; } } .mi-row.mi-gutters, .mi-row.mi-gutters>.mi-row { margin-left: -2%; } @media (max-width: 768px) { .mi-row.mi-gutters, .mi-row.mi-gutters>.mi-row { margin-left: 0; } } .mi-row.mi-gutters>.mi-col, .mi-row.mi-gutters>.mi-row>.mi-col { margin-left: 2%; } @media (max-width: 768px) { .mi-row.mi-gutters>.mi-col, .mi-row.mi-gutters>.mi-row>.mi-col { margin-left: 0; } } .mi-row.mi-around { justify-content: space-around; } .mi-row.mi-between { justify-content: space-between; } .mi-row.mi-auto .mi-col { flex-grow: 1; } .mi-col-1 { width: 8.33333%; } .mi-offset-1 { margin-left: 8.33333%; } .mi-col-2 { width: 16.66667%; } .mi-offset-2 { margin-left: 16.66667%; } .mi-col-3 { width: 25%; } .mi-offset-3 { margin-left: 25%; } .mi-col-4 { width: 33.33333%; } .mi-offset-4 { margin-left: 33.33333%; } .mi-col-5 { width: 41.66667%; } .mi-offset-5 { margin-left: 41.66667%; } .mi-col-6 { width: 50%; } .mi-offset-6 { margin-left: 50%; } .mi-col-7 { width: 58.33333%; } .mi-offset-7 { margin-left: 58.33333%; } .mi-col-8 { width: 66.66667%; } .mi-offset-8 { margin-left: 66.66667%; } .mi-col-9 { width: 75%; } .mi-offset-9 { margin-left: 75%; } .mi-col-10 { width: 83.33333%; } .mi-offset-10 { margin-left: 83.33333%; } .mi-col-11 { width: 91.66667%; } .mi-offset-11 { margin-left: 91.66667%; } .mi-col-12 { width: 100%; } .mi-offset-12 { margin-left: 100%; } .mi-gutters>.mi-col-1 { width: calc(8.33333% - 2%); } .mi-gutters>.mi-offset-1 { margin-left: calc(8.33333% + 2%) !important; } .mi-gutters>.mi-col-2 { width: calc(16.66667% - 2%); } .mi-gutters>.mi-offset-2 { margin-left: calc(16.66667% + 2%) !important; } .mi-gutters>.mi-col-3 { width: calc(25% - 2%); } .mi-gutters>.mi-offset-3 { margin-left: calc(25% + 2%) !important; } .mi-gutters>.mi-col-4 { width: calc(33.33333% - 2%); } .mi-gutters>.mi-offset-4 { margin-left: calc(33.33333% + 2%) !important; } .mi-gutters>.mi-col-5 { width: calc(41.66667% - 2%); } .mi-gutters>.mi-offset-5 { margin-left: calc(41.66667% + 2%) !important; } .mi-gutters>.mi-col-6 { width: calc(50% - 2%); } .mi-gutters>.mi-offset-6 { margin-left: calc(50% + 2%) !important; } .mi-gutters>.mi-col-7 { width: calc(58.33333% - 2%); } .mi-gutters>.mi-offset-7 { margin-left: calc(58.33333% + 2%) !important; } .mi-gutters>.mi-col-8 { width: calc(66.66667% - 2%); } .mi-gutters>.mi-offset-8 { margin-left: calc(66.66667% + 2%) !important; } .mi-gutters>.mi-col-9 { width: calc(75% - 2%); } .mi-gutters>.mi-offset-9 { margin-left: calc(75% + 2%) !important; } .mi-gutters>.mi-col-10 { width: calc(83.33333% - 2%); } .mi-gutters>.mi-offset-10 { margin-left: calc(83.33333% + 2%) !important; } .mi-gutters>.mi-col-11 { width: calc(91.66667% - 2%); } .mi-gutters>.mi-offset-11 { margin-left: calc(91.66667% + 2%) !important; } .mi-gutters>.mi-col-12 { width: calc(100% - 2%); } .mi-gutters>.mi-offset-12 { margin-left: calc(100% + 2%) !important; } @media (max-width: 768px) { [ class^='mi-offset-'], [class*=' mi-offset-'] { margin-left: 0; } } .mi-first-item { order: -1; } .mi-last-item { order: 1; } @media (max-width: 768px) { .mi-row .mi-col { margin-left: 0; width: 100%; } .mi-row.mi-gutters .mi-col { margin-bottom: 16px; } .first-sm { order: -1; } .last-sm { order: 1; } } /* ======================================================================== UI CSS: Table ========================================================================== */ table { border-collapse: collapse; border-spacing: 0; max-width: 100%; width: 100%; empty-cells: show; font-size: 15px; line-height: 24px; } table caption { text-align: left; font-size: 14px; font-weight: 500; color: #676b72; } th { text-align: left; font-weight: 700; vertical-align: bottom; } td { vertical-align: top; } th, td { padding: 1rem 1rem; border-bottom: 1px solid rgba(0, 0, 0, 0.05); } th:first-child, td:first-child { padding-left: 0; } th:last-child, td:last-child { padding-right: 0; } tfoot th, tfoot td { color: rgba(49, 52, 57, 0.5); } table.mi-table-bordered td, table.mi-table-bordered th { border: 1px solid rgba(0, 0, 0, 0.05); } table.mi-table-striped tr:nth-child(odd) td { background: #f8f8f8; } table.mi-table-bordered td:first-child, table.mi-table-bordered th:first-child, table.mi-table-striped td:first-child, table.mi-table-striped th:first-child { padding-left: 1rem; } table.mi-table-bordered td:last-child, table.mi-table-bordered th:last-child, table.mi-table-striped td:last-child, table.mi-table-striped th:last-child { padding-right: 1rem; } table.mi-table-unstyled td, table.mi-table-unstyled th { border: none; padding: 0; } /* ======================================================================== UI CSS: Form ========================================================================== */ form, .mi-form, .mi-form-item { margin-bottom: 2rem; } .mi-form>.mi-form-item:last-child { margin-bottom: 0; } .mi-form .mi-row:last-child .mi-form-item { margin-bottom: 0; } .mi-form.mi-form-inline input, .mi-form.mi-form-inline textarea, .mi-form.mi-form-inline select { display: inline-block; width: auto; } fieldset { font-family: inherit; border: 1px solid rgba(0, 0, 0, 0.1); padding: 2rem; margin-bottom: 2rem; margin-top: 2rem; } legend { font-weight: bold; font-size: 12px; text-transform: uppercase; padding: 0 1rem; margin-left: -1rem; top: 2px; position: relative; line-height: 0; } input, textarea, select { width: 100%; font-family: inherit; font-size: 15px; height: 40px; outline: none; vertical-align: middle; background-color: #fff; border: 1px solid #d4d4d4; border-radius: 3px; box-shadow: none; padding: 0 12px; } input.mi-form-small, textarea.mi-form-small, select.mi-form-small { height: 36px; font-size: 13px; padding: 0 12px; border-radius: 3px; } input.mi-form-big, textarea.mi-form-big, select.mi-form-big { height: 48px; font-size: 17px; padding: 0 12px; border-radius: 3px; } input:focus, textarea:focus, select:focus { outline: none; background-color: #fff; border-color: #1c86f2; box-shadow: 0 0 1px #1c86f2 inset; } input.mi-form-error, textarea.mi-form-error, select.mi-form-error { background-color: rgba(240, 60, 105, 0.1); border: 1px solid #f583a0; } input.mi-form-error:focus, textarea.mi-form-error:focus, select.mi-form-error:focus { border-color: #f03c69; box-shadow: 0 0 1px #f03c69 inset; } input.mi-form-success, textarea.mi-form-success, select.mi-form-success { background-color: rgba(53, 190, 177, 0.1); border: 1px solid #6ad5cb; } input.mi-form-success:focus, textarea.mi-form-success:focus, select.mi-form-success:focus { border-color: #35beb1; box-shadow: 0 0 1px #35beb1 inset; } input:disabled, input.mi-form-disabled, textarea:disabled, textarea.mi-form-disabled, select:disabled, select.mi-form-disabled { resize: none; opacity: 0.6; cursor: default; font-style: italic; color: rgba(0, 0, 0, 0.5); } select { -webkit-appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="9" height="12" viewBox="0 0 9 12"><path fill="#5e6c75" d="M0.722,4.823L-0.01,4.1,4.134-.01,4.866,0.716Zm7.555,0L9.01,4.1,4.866-.01l-0.732.726ZM0.722,7.177L-0.01,7.9,4.134,12.01l0.732-.726Zm7.555,0L9.01,7.9,4.866,12.01l-0.732-.726Z"/></svg>'); background-repeat: no-repeat; background-position: right 0.625rem center; padding-right: 1.875rem; } select[multiple] { background-image: none; height: auto; padding: .5rem .75rem; } textarea { height: auto; padding: 8px 12px; line-height: 24px; vertical-align: top; } input[type="file"] { width: auto; border: none; padding: 0; height: auto; background: none; box-shadow: none; display: inline-block; } input[type="search"], input.mi-form-search { background-repeat: no-repeat; background-position: 8px 53%; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="#000" fill-opacity="0.4" d="M14.891,14.39l-0.5.5a0.355,0.355,0,0,1-.5,0L9.526,10.529a5.3,5.3,0,1,1,2.106-4.212,5.268,5.268,0,0,1-1.1,3.21l4.362,4.362A0.354,0.354,0,0,1,14.891,14.39ZM6.316,2.418a3.9,3.9,0,1,0,3.9,3.9A3.9,3.9,0,0,0,6.316,2.418Z"/></svg>'); padding-left: 32px; } input[type="radio"], input[type="checkbox"] { display: inline-block; width: auto; height: auto; padding: 0; } label { display: block; color: #313439; } label .mi-form-req { font-weight: bold; color: #f03c69; } label .mi-form-desc, label .mi-form-success, label .mi-form-error { font-size: 12px; line-height: 20px; margin-left: 4px; } .mi-form-desc { color: rgba(49, 52, 57, 0.5); font-size: 12px; line-height: 20px; } .mi-form-append, .mi-form-prepend { display: flex; } .mi-form-append input, .mi-form-prepend input { flex: 1; } .mi-form-append .mi-button, .mi-form-append span, .mi-form-prepend .mi-button, .mi-form-prepend span { flex-shrink: 0; } .mi-form-append span, .mi-form-prepend span { display: flex; flex-direction: column; justify-content: center; font-weight: normal; border: 1px solid #d4d4d4; background-color: #f8f8f8; padding: 0 .875rem; color: rgba(0, 0, 0, 0.5); font-size: 12px; white-space: nowrap; } .mi-form-prepend input { border-radius: 0 3px 3px 0; } .mi-form-prepend .mi-button { margin-right: -1px; border-radius: 3px 0 0 3px !important; } .mi-form-prepend span { border-right: none; border-radius: 3px 0 0 3px; } .mi-form-append input { border-radius: 3px 0 0 3px; } .mi-form-append .mi-button { margin-left: -1px; border-radius: 0 3px 3px 0 !important; } .mi-form-append span { border-left: none; border-radius: 0 3px 3px 0; } /* ======================================================================== UI CSS: Button ========================================================================== */ button, .mi-button { display: inline-block; line-height: 20px; min-height: 40px; padding: 8px 20px; font-size: 15px; color: #fff; background-color: #1c86f2; border-radius: 3px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1px solid transparent; vertical-align: middle; -webkit-appearance: none; } button [class^="mi-icon-"], .mi-button [class^="mi-icon-"] { position: relative; top: 1px; margin: 0 2px; } input[type="submit"] { width: auto; } button:hover, .mi-button:hover { outline: none; text-decoration: none; color: #fff; background-color: #4ca0f5; } .mi-button:disabled, .mi-button.mi-button-disabled { cursor: default; font-style: normal; color: rgba(255, 255, 255, 0.7); background-color: rgba(28, 134, 242, 0.7); } .mi-button.mi-button-small { font-size: 13px; min-height: 36px; padding: 6px 20px; border-radius: 3px; } .mi-button.mi-button-big { font-size: 17px; min-height: 48px; padding: 13px 24px; border-radius: 3px; } .mi-button.mi-button-large { font-size: 19px; min-height: 56px; padding: 20px 36px; border-radius: 3px; } .mi-button.mi-button-outline { background: none; border-width: 1px; border-color: #1c86f2; color: #1c86f2; } .mi-button.mi-button-outline:hover { background: none; color: rgba(28, 134, 242, 0.6); border-color: rgba(28, 134, 242, 0.5); } .mi-button.mi-button-outline:disabled, .mi-button.mi-button-outline.mi-button-disabled { background: none; color: rgba(28, 134, 242, 0.7); border-color: rgba(28, 134, 242, 0.5); } .mi-button.mi-button-inverted { color: #000; background-color: #fff; } .mi-button.mi-button-inverted:hover { color: #000; background-color: white; } .mi-button.mi-button-inverted:disabled, .mi-button.mi-button-inverted.mi-button-disabled { color: rgba(0, 0, 0, 0.7); background-color: rgba(255, 255, 255, 0.7); } .mi-button.mi-button-inverted.mi-button-outline { background: none; color: #fff; border-color: #fff; } .mi-button.mi-button-inverted.mi-button-outline:hover { color: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.5); } .mi-button.mi-button-inverted.mi-button-outline:disabled, .mi-button.mi-button-inverted.mi-button-outline.mi-button-disabled { background: none; color: rgba(255, 255, 255, 0.7); border-color: rgba(255, 255, 255, 0.5); } .mi-button.mi-button-inverted:hover { opacity: .7; } .mi-button.mi-button-round { border-radius: 56px; } .mi-button.mi-button-raised { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } .mi-button.mi-button-upper { text-transform: uppercase; letter-spacing: .04em; font-size: 13px; } .mi-button.mi-button-upper.mi-button-small { font-size: 11px; } .mi-button.mi-button-upper.mi-button-big { font-size: 13px; } .mi-button.mi-button-upper.mi-button-large { font-size: 15px; } .mi-button.mi-button-secondary { color: #fff; background-color: #313439; } .mi-button.mi-button-secondary:hover { color: #fff; background-color: #606670; } .mi-button.mi-button-secondary:disabled, .mi-button.mi-button-secondary.mi-button-disabled { color: rgba(255, 255, 255, 0.7); background-color: rgba(49, 52, 57, 0.7); } .mi-button.mi-button-secondary.mi-button-outline { background: none; color: #313439; border-color: #313439; } .mi-button.mi-button-secondary.mi-button-outline:hover { color: rgba(49, 52, 57, 0.6); border-color: rgba(49, 52, 57, 0.5); } .mi-button.mi-button-secondary.mi-button-outline:disabled, .mi-button.mi-button-secondary.mi-button-outline.mi-button-disabled { background: none; color: rgba(49, 52, 57, 0.7); border-color: rgba(49, 52, 57, 0.5); } /* ======================================================================== UI CSS: Badge ========================================================================== */ .mi-badge { display: inline-block; font-size: 13px; background: #e0e1e1; line-height: 18px; padding: 0 10px; font-weight: 500; color: #313439; border: 1px solid transparent; vertical-align: middle; text-decoration: none; border-radius: 4px; } .mi-badge a, .mi-badge a:hover { color: inherit; text-decoration: none; } .mi-badge.mi-badge-big { font-size: 14px; line-height: 24px; padding: 0 12px; } .mi-badge.mi-badge-upper { text-transform: uppercase; font-size: 11px; } .mi-badge.mi-badge-outline { background: none; border-color: #bdbdbd; } .mi-badge.mi-badge-success { background: #35beb1; color: #fff; } .mi-badge.mi-badge-success.mi-badge-outline { background: none; border-color: #35beb1; color: #35beb1; } .mi-badge.mi-badge-error { background: #f03c69; color: #fff; } .mi-badge.mi-badge-error.mi-badge-outline { background: none; border-color: #f03c69; color: #f03c69; } .mi-badge.mi-badge-warning { background: #f7ba45; color: #0a0a0a; } .mi-badge.mi-badge-warning.mi-badge-outline { background: none; border-color: #f7ba45; color: #f7ba45; } .mi-badge.mi-badge-focus { background: #1c86f2; color: #fff; } .mi-badge.mi-badge-focus.mi-badge-outline { background: none; border-color: #1c86f2; color: #1c86f2; } .mi-badge.mi-badge-black { background: #0a0a0a; color: #fff; } .mi-badge.mi-badge-black.mi-badge-outline { background: none; border-color: #0a0a0a; color: #0a0a0a; } .mi-badge.mi-badge-inverted { background: #fff; color: #0a0a0a; } .mi-badge.mi-badge-inverted.mi-badge-outline { background: none; border-color: #fff; color: #fff; } /* ======================================================================== UI CSS: Breadcrumb ========================================================================== */ .mi-breadcrumb { font-size: 14px; margin-bottom: 24px; } .mi-breadcrumb ul { display: flex; align-items: center; } .mi-breadcrumb.mi-breadcrumb-center ul { justify-content: center; } .mi-breadcrumb span, .mi-breadcrumb a { font-style: normal; padding: 0 10px; display: inline-block; white-space: nowrap; } .mi-breadcrumb li:after { display: inline-block; content: '/'; color: rgba(0, 0, 0, 0.3); } .mi-breadcrumb li:last-child:after { display: none; } .mi-breadcrumb li:first-child span, .mi-breadcrumb li:first-child a { padding-left: 0; } .mi-breadcrumb li.mi-active a { color: #313439; text-decoration: none; cursor: text; } /* ======================================================================== UI CSS: Pagination ========================================================================== */ .mi-pagination { margin: 24px 0; font-size: 14px; } .mi-pagination ul { display: flex; margin: 0; } .mi-pagination.mi-pagination-align-center ul { justify-content: center; } .mi-pagination span, .mi-pagination a { border-radius: 3px; display: inline-block; padding: 8px 12px; line-height: 1; white-space: nowrap; border: 1px solid transparent; } .mi-pagination a { text-decoration: none; color: #313439; } .mi-pagination a:hover { color: rgba(0, 0, 0, 0.5); border-color: #e0e1e1; } .mi-pagination span, .mi-pagination li.mi-active a { color: rgba(0, 0, 0, 0.5); border-color: #e0e1e1; cursor: text; } .mi-pager span { line-height: 24px; } .mi-pager span, .mi-pager a { padding-left: 16px; padding-right: 16px; border-radius: 64px; border-color: rgba(0, 0, 0, 0.1); } .mi-pager li { flex-basis: 50%; } .mi-pager li.mi-pager-next { text-align: right; } .mi-pager.mi-pager-align-center ul { justify-content: center; } .mi-pager.mi-pager-align-center li { flex-basis: auto; margin-left: 4px; margin-right: 4px; } .mi-pager.mi-pager-flat span, .mi-pager.mi-pager-flat a { border: none; display: block; padding: 0; } .mi-pager.mi-pager-flat a { font-weight: bold; } .mi-pager.mi-pager-flat a:hover { background: none; text-decoration: underline; } @media (max-width: 768px) { .mi-pager.mi-pager-flat ul { flex-direction: column; } .mi-pager.mi-pager-flat li { flex-basis: 100%; margin-bottom: 8px; text-align: left; } } /* ======================================================================== UI CSS: Icon ========================================================================== */ @font-face {font-family: "Mikit"; src: url('font/iconfont.eot'); /* IE9*/ src: url('font/iconfont.eot') format('embedded-opentype'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome, firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ url('font/iconfont.svg') format('svg'); /* iOS 4.1- */ } [class^=mi-icon-], [class*=" mi-icon-"] { text-transform: none; font-weight: 400; font-style: normal; font-variant: normal; font-size: 20px; font-family: Mikit!important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale } .mi-icon-arrows-down:before { content: "\e601"; } .mi-icon-answer:before { content: "\e602"; } .mi-icon-arrows-right:before { content: "\e603"; } .mi-icon-arrows-up:before { content: "\e604"; } .mi-icon-arrows-left:before { content: "\e605"; } .mi-icon-ask:before { content: "\e606"; } .mi-icon-bell:before { content: "\e607"; } .mi-icon-building:before { content: "\e608"; } .mi-icon-book:before { content: "\e609"; } .mi-icon-choose:before { content: "\e60a"; } .mi-icon-calendar:before { content: "\e60b"; } .mi-icon-camera:before { content: "\e60c"; } .mi-icon-broadcast:before { content: "\e60d"; } .mi-icon-choose-circle:before { content: "\e60e"; } .mi-icon-car:before { content: "\e60f"; } .mi-icon-choose-none:before { content: "\e610"; } .mi-icon-comment:before { content: "\e611"; } .mi-icon-close:before { content: "\e612"; } .mi-icon-community_me:before { content: "\e613"; } .mi-icon-close-circle:before { content: "\e614"; } .mi-icon-course:before { content: "\e615"; } .mi-icon-client:before { content: "\e616"; } .mi-icon-delete:before { content: "\e617"; } .mi-icon-email:before { content: "\e618"; } .mi-icon-edit:before { content: "\e619"; } .mi-icon-download:before { content: "\e61a"; } .mi-icon-dashboard:before { content: "\e61b"; } .mi-icon-eye-close:before { content: "\e61c"; } .mi-icon-gift:before { content: "\e61d"; } .mi-icon-fav:before { content: "\e61e"; } .mi-icon-git:before { content: "\e61f"; } .mi-icon-expand:before { content: "\e620"; } .mi-icon-good:before { content: "\e621"; } .mi-icon-github:before { content: "\e622"; } .mi-icon-help:before { content: "\e623"; } .mi-icon-home:before { content: "\e624"; } .mi-icon-image:before { content: "\e625"; } .mi-icon-invitation:before { content: "\e626"; } .mi-icon-info:before { content: "\e627"; } .mi-icon-list:before { content: "\e628"; } .mi-icon-id-card:before { content: "\e629"; } .mi-icon-link:before { content: "\e62a"; } .mi-icon-love:before { content: "\e62b"; } .mi-icon-location:before { content: "\e62c"; } .mi-icon-live:before { content: "\e62d"; } .mi-icon-member:before { content: "\e62e"; } .mi-icon-menu:before { content: "\e62f"; } .mi-icon-lock:before { content: "\e630"; } .mi-icon-money:before { content: "\e631"; } .mi-icon-more-circle:before { content: "\e632"; } .mi-icon-more-point:before { content: "\e633"; } .mi-icon-play:before { content: "\e634"; } .mi-icon-phone:before { content: "\e635"; } .mi-icon-plan:before { content: "\e636"; } .mi-icon-plus:before { content: "\e637"; } .mi-icon-open-eye:before { content: "\e638"; } .mi-icon-play-circle:before { content: "\e639"; } .mi-icon-record:before { content: "\e63a"; } .mi-icon-reduce:before { content: "\e63b"; } .mi-icon-refresh:before { content: "\e63c"; } .mi-icon-receipt:before { content: "\e63d"; } .mi-icon-reduce-circle:before { content: "\e63e"; } .mi-icon-safe:before { content: "\e63f"; } .mi-icon-scan:before { content: "\e640"; } .mi-icon-search:before { content: "\e641"; } .mi-icon-service:before { content: "\e642"; } .mi-icon-share:before { content: "\e643"; } .mi-icon-setting:before { content: "\e644"; } .mi-icon-shopping:before { content: "\e645"; } .mi-icon-signin:before { content: "\e646"; } .mi-icon-social:before { content: "\e647"; } .mi-icon-study:before { content: "\e648"; } .mi-icon-shrink:before { content: "\e649"; } .mi-icon-suspend:before { content: "\e64a"; } .mi-icon-task:before { content: "\e64b"; } .mi-icon-team:before { content: "\e64c"; } .mi-icon-ticket:before { content: "\e64d"; } .mi-icon-user:before { content: "\e64e"; } .mi-icon-umbrella:before { content: "\e64f"; } .mi-icon-wallet:before { content: "\e650"; } .mi-icon-time:before { content: "\e651"; } .mi-icon-wifi:before { content: "\e652"; } .mi-icon-tips:before { content: "\e653"; } .mi-icon-add-circle:before { content: "\e654"; } .mi-icon-wechat:before { content: "\e655"; } .mi-icon-add-friend:before { content: "\e656"; } .mi-icon-tools:before { content: "\e657"; } .mi-icon-shutdown:before { content: "\e658"; } .mi-icon-video-circle:before { content: "\e659"; } .mi-icon-audio-circle:before { content: "\e65a"; } .mi-icon-send:before { content: "\e65b"; } .mi-icon-component:before { content: "\e65c"; } .mi-icon-code:before { content: "\e65d"; } .mi-icon-property:before { content: "\e65e"; } .mi-icon-font-color:before { content: "\e65f"; } .mi-icon-font-size:before { content: "\e660"; } .mi-icon-sign:before { content: "\e661"; } .mi-icon-dictionary:before { content: "\e662"; } .mi-icon-typography:before { content: "\e663"; } /* ======================================================================== UI CSS: Sizing ========================================================================== */ .mi-w5 { width: 5%; } .mi-w10 { width: 10%; } .mi-w15 { width: 15%; } .mi-w20 { width: 20%; } .mi-w25 { width: 25%; } .mi-w30 { width: 30%; } .mi-w35 { width: 35%; } .mi-w40 { width: 40%; } .mi-w45 { width: 45%; } .mi-w50 { width: 50%; } .mi-w55 { width: 55%; } .mi-w60 { width: 60%; } .mi-w65 { width: 65%; } .mi-w70 { width: 70%; } .mi-w75 { width: 75%; } .mi-w80 { width: 80%; } .mi-w85 { width: 85%; } .mi-w90 { width: 90%; } .mi-w95 { width: 95%; } .mi-w100 { width: 100%; } .mi-w-auto { width: auto; } .mi-w-small { width: 480px; } .mi-w-medium { width: 600px; } .mi-w-big { width: 740px; } .mi-w-large { width: 840px; } @media (max-width: 768px) { .mi-w-auto-sm { width: auto; } .mi-w100-sm, .mi-w-small, .mi-w-medium, .mi-w-big, .mi-w-large { width: 100%; } } .mi-max-w5 { max-width: 5%; } .mi-max-w10 { max-width: 10%; } .mi-max-w15 { max-width: 15%; } .mi-max-w20 { max-width: 20%; } .mi-max-w25 { max-width: 25%; } .mi-max-w30 { max-width: 30%; } .mi-max-w35 { max-width: 35%; } .mi-max-w40 { max-width: 40%; } .mi-max-w45 { max-width: 45%; } .mi-max-w50 { max-width: 50%; } .mi-max-w55 { max-width: 55%; } .mi-max-w60 { max-width: 60%; } .mi-max-w65 { max-width: 65%; } .mi-max-w70 { max-width: 70%; } .mi-max-w75 { max-width: 75%; } .mi-max-w80 { max-width: 80%; } .mi-max-w85 { max-width: 85%; } .mi-max-w90 { max-width: 90%; } .mi-max-w95 { max-width: 95%; } .mi-max-w100 { max-width: 100%; } .mi-max-w-small { max-width: 480px; } .mi-max-w-medium { max-width: 600px; } .mi-max-w-big { max-width: 740px; } .mi-max-w-large { max-width: 840px; } @media (max-width: 768px) { .mi-max-w-auto-sm, .mi-max-w-small, .mi-max-w-medium, .mi-max-w-big, .mi-max-w-large { max-width: auto; } } .mi-min-w5 { min-width: 5%; } .mi-min-w10 { min-width: 10%; } .mi-min-w15 { min-width: 15%; } .mi-min-w20 { min-width: 20%; } .mi-min-w25 { min-width: 25%; } .mi-min-w30 { min-width: 30%; } .mi-min-w35 { min-width: 35%; } .mi-min-w40 { min-width: 40%; } .mi-min-w45 { min-width: 45%; } .mi-min-w50 { min-width: 50%; } .mi-min-w55 { min-width: 55%; } .mi-min-w60 { min-width: 60%; } .mi-min-w65 { min-width: 65%; } .mi-min-w70 { min-width: 70%; } .mi-min-w75 { min-width: 75%; } .mi-min-w80 { min-width: 80%; } .mi-min-w85 { min-width: 85%; } .mi-min-w90 { min-width: 90%; } .mi-min-w95 { min-width: 95%; } .mi-min-w100 { min-width: 100%; } /* Height */ .mi-h25 { height: 25%; } .mi-h50 { height: 50%; } .mi-h100 { height: 100%; } /* ======================================================================== UI CSS: Print ========================================================================== */ @media print { * { background: transparent !important; color: black !important; box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } p, h2, h3 { orphans: 3; widows: 3; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } h2, h3, h4 { page-break-after: avoid; } @page { margin: 0.5cm; } } /* ======================================================================== UI CSS: Animation ========================================================================== */ @keyframes slideUp { to { height: 0; padding-top: 0; padding-bottom: 0; } } @keyframes slideDown { from { height: 0; padding-top: 0; padding-bottom: 0; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } @keyframes flipIn { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } } @keyframes flipOut { from { opacity: 1; transform: scaleY(1); } to { opacity: 0; transform: scaleY(0); } } @keyframes zoomIn { from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } } @keyframes zoomOut { from { opacity: 1; } 50% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } to { opacity: 0; } } @keyframes slideInRight { from { transform: translate3d(100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } } @keyframes slideInLeft { from { transform: translate3d(-100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } } @keyframes slideInDown { from { transform: translate3d(0, -100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } } @keyframes slideOutLeft { from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(-100%, 0, 0); } } @keyframes slideOutRight { from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(100%, 0, 0); } } @keyframes slideOutUp { from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(0, -100%, 0); } } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { from { transform: scale3d(1, 1, 1); } 50% { transform: scale3d(1.03, 1.03, 1.03); } to { transform: scale3d(1, 1, 1); } } @keyframes shake { 15% { transform: translateX(0.5rem); } 30% { transform: translateX(-0.4rem); } 45% { transform: translateX(0.3rem); } 60% { transform: translateX(-0.2rem); } 75% { transform: translateX(0.1rem); } 90% { transform: translateX(0); } 90% { transform: translateX(0); } } .fadeIn { animation: fadeIn 250ms; } .fadeOut { animation: fadeOut 250ms; } .zoomIn { animation: zoomIn 200ms; } .zoomOut { animation: zoomOut 500ms; } .slideInRight { animation: slideInRight 500ms; } .slideInLeft { animation: slideInLeft 500ms; } .slideInDown { animation: slideInDown 500ms; } .slideOutLeft { animation: slideOutLeft 500ms; } .slideOutRight { animation: slideOutRight 500ms; } .slideOutUp { animation: slideOutUp 500ms; } .slideUp { overflow: hidden; animation: slideUp 200ms ease-in-out; } .slideDown { overflow: hidden; animation: slideDown 80ms ease-in-out; } .flipIn { animation: flipIn 250ms cubic-bezier(0.5, -0.5, 0.5, 1.5); } .flipOut { animation: flipOut 500ms cubic-bezier(0.5, -0.5, 0.5, 1.5); } .rotate { animation: rotate 500ms; } .pulse { animation: pulse 250ms 2; } .shake { animation: shake 500ms; } /* ======================================================================== UI CSS: Positioning ========================================================================== */ .mi-gutters .mi-column.mi-push-left, .mi-push-left { margin-right: auto; } .mi-gutters .mi-column.mi-push-right, .mi-push-right { margin-left: auto; } .mi-gutters .mi-column.mi-push-center, .mi-push-center { margin-left: auto; margin-right: auto; } .mi-gutters .mi-column.mi-push-middle, .mi-push-middle { margin-top: auto; margin-bottom: auto; } .mi-push-bottom { margin-top: auto; } @media (max-width: 768px) { .mi-gutters .mi-column.mi-push-left-sm, .mi-push-left-sm { margin-left: 0; } .mi-gutters .mi-column.mi-push-center-sm, .mi-push-center-sm { margin-left: auto; margin-right: auto; } .mi-push-top-sm { margin-top: 0; } } .mi-flex-align-middle { align-items: center; } .mi-flex-align-right { justify-content: flex-end; } .mi-flex-align-center { justify-content: center; } @media (max-width: 768px) { .mi-align-flex-left-sm { justify-content: flex-start; } } .mi-float-right { float: right; } .mi-float-left { float: left; } @media (max-width: 768px) { .mi-float-right { float: none; } .mi-float-left { float: none; } } .mi-fixed { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; } /* ======================================================================== UI CSS: Utils ========================================================================== */ .mi-display-block { display: block; } .mi-display-inline-block { display: inline-block; } .mi-display-inline { display: inline; } .mi-invisible { visibility: hidden; } .mi-visible { visibility: visible; } .mi-hide { display: none !important; } @media (max-width: 768px) { .mi-hide-sm { display: none !important; } } @media (min-width: 768px) { .mi-hid-dm, .mi-show-sm { display: none !important; } } @media print { .mi-hide-print { display: none !important; } .mi-show-print { display: block !important; } } .mi-no-scroll { overflow: hidden; position: fixed; top: 0; left: 0; width: 100%; height: 100% !important; } .mi-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; } .mi-caret.mi-up, .mi-caret.mi-down, .mi-caret.mi-left, .mi-caret.mi-right { font-family: 'Mikit' !important; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .mi-caret.mi-up:before { content: "\e604"; } .mi-caret.mi-down:before { content: "\e601"; } .mi-caret.mi-left:before { content: "\e605"; } .mi-caret.mi-right:before { content: "\e603"; } .mi-close { display: inline-block; min-height: 20px; min-width: 20px; line-height: 20px; vertical-align: middle; text-align: center; font-size: 20px; opacity: .6; } .mi-close:hover { opacity: 1; } .mi-close.mi-close-small { font-size: 8px; } .mi-close.mi-close-big { font-size: 18px; } .mi-close.mi-close-white { color: #fff; } .mi-overlay { position: fixed; z-index: 200; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); } .mi-overlay>.mi-close { position: fixed; top: 1rem; right: 1rem; } .mi-group:after { content: ''; display: table; clear: both; } /* ======================================================================== Component UI CSS: Dropdown ========================================================================== */ .mi-dropdown { position: absolute; z-index: 100; top: 0; right: 0; width: 300px; color: #000; font-size: 15px; background: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); border-radius: 3px; /*max-height: 300px;*/ margin: 0; padding: 0; overflow: hidden; } .mi-dropdown.mi-dropdown-mobile { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; max-height: none; border: none; } .mi-dropdown ul { list-style: none; margin: 0; } .mi-dropdown ul li { border-bottom: 1px solid rgba(0, 0, 0, 0.07); } .mi-dropdown ul li:last-child { border-bottom: none; } .mi-dropdown ul a { display: block; padding: 12px; text-decoration: none; color: #000; } .mi-dropdown ul a:hover { background: rgba(0, 0, 0, 0.05); } .mi-dropdown .mi-close { margin: 20px auto; } .mi-dropdown.mi-open { /*overflow: auto;*/ } /* ======================================================================== Component UI CSS: Message ========================================================================== */ .mi-message { font-family: Consolas, Monaco, "Courier New", monospace; font-size: 14px; line-height: 20px; background: #e0e1e1; color: #313439; padding: 1rem; padding-right: 2.5em; padding-bottom: .75rem; margin-bottom: 24px; position: relative; } .mi-message a { color: inherit; } .mi-message h2, .mi-message h3, .mi-message h4, .mi-message h5, .mi-message h6 { margin-bottom: 0; } .mi-message .mi-close { position: absolute; right: 1rem; top: 1rem; cursor: pointer; } .mi-message.mi-message-error { background: #f03c69; color: #fff; } .mi-message.mi-message-success { background: #35beb1; color: #fff; } .mi-message.mi-message-warning { background: #f7ba45; } .mi-message.mi-message-focus { background: #1c86f2; color: #fff; } .mi-message.mi-message-black { background: #0a0a0a; color: #fff; } .mi-message.mi-message-inverted { background: #fff; } .mi-modal-box { position: fixed; top: 0; left: 0; bottom: 0; right: 0; overflow-x: hidden; overflow-y: auto; z-index: 200; } /* ======================================================================== Component UI CSS: Modal ========================================================================== */ .mi-modal { position: relative; margin: auto; margin-top: 16px; padding: 0; background: #fff; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15); border-radius: 8px; color: #000; } @media (max-width: 768px) { .mi-modal input, .mi-modal textarea { font-size: 16px; } } .mi-modal .mi-close { position: absolute; top: 18px; right: 16px; cursor: pointer; opacity: .3; } .mi-modal .mi-close:hover { opacity: 1; } .mi-modal-header { padding: 24px 32px; font-size: 18px; font-weight: bold; border-bottom: 1px solid rgba(0, 0, 0, 0.05); } .mi-modal-header:empty { display: none; } .mi-modal-body { padding: 36px 56px; } @media (max-width: 768px) { .mi-modal-header, .mi-modal-body { padding: 24px; } } /* ======================================================================== Component UI CSS: Offcanvas ========================================================================== */ .mi-offcanvas { background: #fff; position: fixed; padding: 24px; height: 100%; top: 0; left: 0; z-index: 300; overflow-y: scroll; } .mi-offcanvas .mi-close { position: absolute; top: 8px; right: 8px; text-decoration: none; } .mi-offcanvas-left { border-right: 1px solid rgba(0, 0, 0, 0.1); } .mi-offcanvas-right { left: auto; right: 0; border-left: 1px solid rgba(0, 0, 0, 0.1); } .mi-offcanvas-push-body { position: relative; } /* ======================================================================== Component UI CSS: Tab ========================================================================== */ .mi-tab { margin-bottom: 24px; font-size: 14px; } .mi-tab li em, .mi-tab li.mi-active a { color: #313439; border: 1px solid rgba(0, 0, 0, 0.1); cursor: default; text-decoration: none; background: none; } .mi-tab em, .mi-tab a { position: relative; top: 1px; font-style: normal; display: block; padding: .5rem 1rem; margin: 0 2px; border: 1px solid transparent; color: rgba(0, 0, 0, 0.5); text-decoration: none; } .mi-tab a:hover { -moz-transition: all linear 0.2s; transition: all linear 0.2s; color: #313439; /*text-decoration: underline;*/ /*background-color: #F0F0F0;*/ border: 1px solid rgba(0,0,0,.09); border-bottom: 1px solid #fff; } @media (min-width: 768px) { .mi-tab ul { display: flex; margin-top: -1px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .mi-tab li em, .mi-tab li.mi-active a { border-bottom: 1px solid #fff; } }