diff options
Merge pull request #18 from picturepan2/master
merge master to gh-pages
30 files changed, 765 insertions, 746 deletions
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | bower.json | 2 | ||||
| -rw-r--r-- | dist/spectre.css | 806 | ||||
| -rw-r--r-- | dist/spectre.min.css | 2 | ||||
| -rw-r--r-- | gulpfile.js | 28 | ||||
| -rw-r--r-- | index.html | 33 | ||||
| -rw-r--r-- | package.json | 12 | ||||
| -rw-r--r-- | src/animations.less | 2 | ||||
| -rw-r--r-- | src/autocomplete.less | 40 | ||||
| -rw-r--r-- | src/avatars.less | 40 | ||||
| -rw-r--r-- | src/badges.less | 20 | ||||
| -rw-r--r-- | src/base.less | 21 | ||||
| -rw-r--r-- | src/buttons.less | 76 | ||||
| -rw-r--r-- | src/cards.less | 20 | ||||
| -rw-r--r-- | src/chips.less | 42 | ||||
| -rw-r--r-- | src/fileicons.less | 88 | ||||
| -rw-r--r-- | src/forms.less | 3 | ||||
| -rw-r--r-- | src/labels.less | 14 | ||||
| -rw-r--r-- | src/layout.less | 10 | ||||
| -rw-r--r-- | src/media.less | 18 | ||||
| -rw-r--r-- | src/menus.less | 38 | ||||
| -rw-r--r-- | src/modals.less | 42 | ||||
| -rw-r--r-- | src/navigation.less | 15 | ||||
| -rw-r--r-- | src/normalize.less | 41 | ||||
| -rw-r--r-- | src/tables.less | 8 | ||||
| -rw-r--r-- | src/toasts.less | 12 | ||||
| -rw-r--r-- | src/tooltips.less | 30 | ||||
| -rw-r--r-- | src/typography.less | 8 | ||||
| -rw-r--r-- | src/utilities.less | 30 | ||||
| -rw-r--r-- | src/variables.less | 8 |
@@ -45,7 +45,7 @@ And include it in your website or Web app <head> part. - [tooltips](http://picturepan2.github.io/spectre/#tooltips) - simple tooltip built entirely in CSS - [labels](http://picturepan2.github.io/spectre/#labels) - formatted text tags for highlighted, informative information - [badges](http://picturepan2.github.io/spectre/#badges) - unread number indicators -- [toasts](http://picturepan2.github.io/spectre/#toasts) +- [toasts](http://picturepan2.github.io/spectre/#toasts) - showing alerts or notifications - [menus](http://picturepan2.github.io/spectre/#menus) - list of links or buttons for actions and navigation - [navigation](http://picturepan2.github.io/spectre/#navigation) - breadcrumb, tabs and pagination - [modals](http://picturepan2.github.io/spectre/#modals) - flexible dialog prompts @@ -1,6 +1,6 @@ { "name": "spectre.css", - "version": "0.1.10", + "version": "0.1.11", "description": "Spectre.css: a lightweight, responsive and modern CSS framework.", "homepage": "http://picturepan2.github.io/spectre", "repository": "picturepan2/spectre", diff --git a/dist/spectre.css b/dist/spectre.css index 629ac76..1d1a94d 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -6,10 +6,10 @@ html { font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; - /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ + -ms-text-size-adjust: 100%; + /* 2 */ } /** * Remove the margin in all browsers (opinionated). @@ -93,9 +93,9 @@ a:hover { */ abbr[title] { border-bottom: none; - /* 1 */ - text-decoration: underline; /* 2 */ + text-decoration: underline; + /* 1 */ text-decoration: underline dotted; /* 2 */ } @@ -125,7 +125,7 @@ dfn { */ h1 { font-size: 2em; - margin: 0.67em 0; + margin: .67em 0; } /** * Add the correct background and color in IE 9-. @@ -152,10 +152,10 @@ sup { vertical-align: baseline; } sub { - bottom: -0.25em; + bottom: -.25em; } sup { - top: -0.5em; + top: -.5em; } /* Embedded content ========================================================================== */ @@ -300,7 +300,7 @@ input:-moz-focusring { fieldset { border: 1px solid #c0c0c0; margin: 0 2px; - padding: 0.35em 0.625em 0.75em; + padding: .35em .625em .75em; } /** * 1. Correct the text wrapping in Edge and IE. @@ -360,22 +360,21 @@ textarea { [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } -* { - box-sizing: border-box; -} -*:before, -*:after { - box-sizing: border-box; +*, +*::before, +*::after { + box-sizing: inherit; } html { + box-sizing: border-box; font-size: 10px; -webkit-tap-highlight-color: transparent; } body { + background-color: #fff; color: #333; font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic", sans-serif; font-size: 1.4rem; - background-color: #fff; } a { color: #5764c6; @@ -387,16 +386,16 @@ a:focus { } [disabled], .disabled { - opacity: .5; cursor: default; + opacity: .5; pointer-events: none; } .btn .icon, .toast .icon, .menu .icon { - margin-right: .2rem; font-size: 1.3333em; - line-height: 0.8em; + line-height: .8em; + margin-right: .2rem; vertical-align: -20%; } h1, @@ -405,11 +404,11 @@ h3, h4, h5, h6 { + color: inherit; font-weight: 300; line-height: 1.1; - margin-top: 2.5rem; margin-bottom: 1.5rem; - color: inherit; + margin-top: 2.5rem; } h1 { font-size: 5rem; @@ -434,20 +433,20 @@ p { margin: 0 0 1rem; } blockquote { - padding: 1rem 2rem; border-left: .2rem solid #ddd; margin-left: 0; + padding: 1rem 2rem; } blockquote p:last-child { margin-bottom: 0; } -blockquote .blockquote-source { +blockquote cite { color: #b3b3b3; } ul, ol { - padding: 0; margin: 2rem 0 2rem 2rem; + padding: 0; } ul ul, ol ul, @@ -475,57 +474,57 @@ ol ol { font-size: 120%; } .highlight { - padding: .2rem; - line-height: 1.6rem; - border-radius: .2rem; background-color: #ffe5a3; + border-radius: .2rem; + line-height: 1.6rem; + padding: .2rem; } pre { - margin-top: 1em; - margin-bottom: 1em; - padding: 1.5rem; - border-left: 0.2rem solid #5764c6; - line-height: 1.8rem; background-color: #f9f9f9; + border-left: .2rem solid #5764c6; + line-height: 1.8rem; + margin-bottom: 1em; + margin-top: 1em; overflow: auto; + padding: 1.5rem; } code { - padding: .2rem .4rem; - margin: -0.2rem 0.1em 0 0.1em; - border-radius: .2rem; background-color: #efefef; + border-radius: .2rem; font-size: .9em; line-height: 1em; + margin: -.2rem .1em 0 .1em; + padding: .2rem .4rem; vertical-align: baseline; white-space: nowrap; } pre code { - margin-top: 0; - margin-bottom: 0; - border-left: 0; background-color: transparent; + border-left: 0; line-height: 1.8rem; + margin-bottom: 0; + margin-top: 0; } .container { - width: 100%; - overflow-x: hidden; margin-left: auto; margin-right: auto; + overflow-x: hidden; padding-left: 1rem; padding-right: 1rem; + width: 100%; } @media screen and (min-width: 981px) { .grid-960 { - width: 96rem; margin-left: auto; margin-right: auto; + width: 96rem; } } @media screen and (min-width: 481px) { .grid-480 { - width: 48rem; margin-left: auto; margin-right: auto; + width: 48rem; } } .columns { @@ -534,7 +533,6 @@ pre code { margin-right: -1rem; } .column { - -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -552,17 +550,15 @@ pre code { .column.col-3, .column.col-2, .column.col-1 { - -webkit-box-flex: 0; -webkit-flex: none; -ms-flex: none; flex: none; } @media screen and (min-width: 841px) { .columns { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; + display: -webkit-flex; } .col-12 { width: 100%; @@ -603,10 +599,9 @@ pre code { } @media screen and (min-width: 481px) and (max-width: 840px) { .columns { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; + display: -webkit-flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -655,41 +650,41 @@ pre code { } .img-responsive { display: block; - max-width: 100%; height: auto; + max-width: 100%; } .video-responsive { - position: relative; height: 0; - padding-top: 3rem; + overflow: hidden; padding-bottom: 56.25%; /* 16:9 */ - overflow: hidden; + padding-top: 3rem; + position: relative; } .video-responsive iframe, .video-responsive object, .video-responsive embed { + height: 100%; + left: 0; position: absolute; top: 0; - left: 0; width: 100%; - height: 100%; } .video-responsive video { - width: 100%; - max-width: 100%; height: auto; + max-width: 100%; + width: 100%; } .table { - width: 100%; border-collapse: collapse; border-spacing: 0; + width: 100%; } .table th, .table td { - text-align: left; + border-bottom: .1rem solid #efefef; padding: 1.5rem 1rem; - border-bottom: 0.1rem solid #efefef; + text-align: left; } .table th { border-color: #c9c9c9; @@ -698,55 +693,55 @@ pre code { background-color: #f4f4f4; } .btn { - display: inline-block; - height: 3.2rem; - padding: .7rem 1.5rem; - border: 0.1rem solid #5764c6; + -webkit-appearance: none; background-color: transparent; + border: .1rem solid #5764c6; border-radius: .3rem; color: #5764c6; + cursor: pointer; + display: inline-block; font-size: 1.4rem; + height: 3.2rem; line-height: 1.6rem; + outline: 0; + padding: .7rem 1.5rem; text-align: center; text-decoration: none; - vertical-align: middle; - white-space: nowrap; - cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - -webkit-appearance: none; - outline: 0; + vertical-align: middle; + white-space: nowrap; } .btn:hover, .btn:focus { - color: #fff; - border-color: #4452c0; background-color: #5764c6; + border-color: #4452c0; + color: #fff; } .btn:active, .btn.active { - color: #fff; - border-color: #3b49af; background-color: #4452c0; + border-color: #3b49af; + color: #fff; } .btn.btn-primary { - color: #fff; - border-color: #4452c0; background-color: #5764c6; + border-color: #4452c0; + color: #fff; } .btn.btn-primary:hover, .btn.btn-primary:focus { - color: #fff; - border-color: #3b49af; background-color: #4452c0; + border-color: #3b49af; + color: #fff; } .btn.btn-primary:active, .btn.btn-primary.active { - color: #fff; - border-color: #35419c; background-color: #3b49af; + border-color: #35419c; + color: #fff; } .btn.btn-primary.loading::after { border-color: #fff; @@ -754,9 +749,9 @@ pre code { border-top-color: transparent; } .btn.btn-link { - color: #5764c6; - border-color: transparent; background-color: transparent; + border-color: transparent; + color: #5764c6; } .btn.btn-link:hover, .btn.btn-link:focus { @@ -767,98 +762,95 @@ pre code { color: #283176; } .btn.btn-sm { - height: 2.4rem; border-radius: .2rem; font-size: 1.2rem; + height: 2.4rem; line-height: 1.4rem; padding: .4rem 1rem; } .btn.btn-lg { - height: 4.2rem; border-radius: .4rem; font-size: 1.8rem; + height: 4.2rem; line-height: 2rem; padding: 1rem 1.8rem; } .btn.btn-block { - width: 100%; display: block; + width: 100%; } .btn.btn-clear { - width: 1.4rem; - height: 1.4rem; - padding: 0; - margin: 0.1rem -0.2rem 0.1rem 0.2rem; + background-color: transparent; border: 0; border-radius: .7rem; - vertical-align: top; - position: relative; - background-color: transparent; + height: 1.4rem; + margin: .1rem -.2rem .1rem .2rem; opacity: .35; + padding: 0; + position: relative; + vertical-align: top; + width: 1.4rem; } .btn.btn-clear:hover { opacity: .75; } .btn.btn-clear::before, .btn.btn-clear::after { + background-color: #333; content: ""; display: block; + left: 50%; position: absolute; top: 50%; - left: 50%; - background-color: #333; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .btn.btn-clear::before { - width: 1rem; height: .2rem; - margin-left: -0.5rem; - margin-top: -0.1rem; + margin-left: -.5rem; + margin-top: -.1rem; + width: 1rem; } .btn.btn-clear::after { - width: .2rem; height: 1rem; - margin-left: -0.1rem; - margin-top: -0.5rem; + margin-left: -.1rem; + margin-top: -.5rem; + width: .2rem; } .btn-group { - display: -webkit-inline-box; - display: -webkit-inline-flex; + display: inline-flex; display: -ms-inline-flexbox; - display: inline-flex; + display: -webkit-inline-flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .btn-group .btn { - -webkit-box-flex: 1; -webkit-flex: 1 0 auto; -ms-flex: 1 0 auto; flex: 1 0 auto; } .btn-group .btn:first-child:not(:last-child) { - border-top-right-radius: 0; border-bottom-right-radius: 0; + border-top-right-radius: 0; } .btn-group .btn:not(:first-child):not(:last-child) { - margin-left: -0.1rem; border-radius: 0; + margin-left: -.1rem; } .btn-group .btn:last-child:not(:first-child) { - margin-left: -0.1rem; - border-top-left-radius: 0; border-bottom-left-radius: 0; + border-top-left-radius: 0; + margin-left: -.1rem; } .btn-group .btn:hover, .btn-group .btn:focus { z-index: 99; } .btn-group.btn-group-block { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; + display: -webkit-flex; } .form-group:not(:last-child) { margin-bottom: 1rem; @@ -868,10 +860,9 @@ pre code { padding: 1rem; } .form-horizontal .form-group { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; + display: -webkit-flex; } .form-horizontal .form-label { padding: .8rem .4rem; @@ -898,21 +889,21 @@ pre code { } } .form-input { - position: relative; - display: block; - width: 100%; - max-width: 100%; - height: 3.2rem; + -webkit-appearance: none; background-color: #fff; background-image: none; - border: 0.1rem solid #c5c5c5; + border: .1rem solid #c5c5c5; border-radius: .3rem; color: #333; + display: block; font-size: 1.4rem; + height: 3.2rem; line-height: 1.6rem; - padding: .5rem .8rem; - -webkit-appearance: none; + max-width: 100%; outline: 0; + padding: .5rem .8rem; + position: relative; + width: 100%; } .form-input:focus { border-color: #5764c6; @@ -921,20 +912,20 @@ pre code { background-color: #eeeff2; } .form-input.input-sm { - height: 2.4rem; border-radius: .2rem; font-size: 1.2rem; + height: 2.4rem; padding: .4rem .6rem; } .form-input.input-lg { - height: 4.2rem; border-radius: .4rem; font-size: 1.6rem; + height: 4.2rem; padding: 1rem 1.2rem; } .form-input.input-inline { - width: auto; display: inline-block; + width: auto; } textarea.form-input { height: auto; @@ -950,8 +941,8 @@ textarea.form-input { } .form-label { display: block; - margin-bottom: .5rem; line-height: 1.6rem; + margin-bottom: .5rem; } .form-select { -webkit-appearance: none; @@ -959,25 +950,25 @@ textarea.form-input { appearance: none; } .form-select:not([multiple]) { - height: 3.2rem; - font-size: 1.4rem; - vertical-align: middle; - padding: .5rem 2.4rem .5rem .8rem; - border: 0.1rem solid #c5c5c5; + background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center / .8rem 1rem; + border: .1rem solid #c5c5c5; border-radius: .3rem; + font-size: 1.4rem; + height: 3.2rem; outline: 0; - background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right 0.75rem center / 0.8rem 1rem; + padding: .5rem 2.4rem .5rem .8rem; + vertical-align: middle; } .form-select:focus { border-color: #5764c6; } -.form-select select::-ms-expand { +.form-select::-ms-expand { display: none; } .form-select.select-sm { - height: 2.4rem; border-radius: .2rem; font-size: 1.2rem; + height: 2.4rem; padding: .4rem .6rem; } .form-checkbox input, @@ -987,26 +978,26 @@ textarea.form-input { } .form-checkbox, .form-radio { - line-height: 1.8rem; - padding: .3rem 2rem; cursor: pointer; display: inline-block; + line-height: 1.8rem; + padding: .3rem 2rem; position: relative; } .form-checkbox .form-icon, .form-radio .form-icon { - font-size: 1.4rem; - line-height: 2.4rem; - vertical-align: top; - border: 0.1rem solid #c5c5c5; + border: .1rem solid #c5c5c5; display: inline-block; - width: 1.4rem; + font-size: 1.4rem; height: 1.4rem; + left: 0; + line-height: 2.4rem; + outline: none; padding: 0; position: absolute; top: .5rem; - left: 0; - outline: none; + vertical-align: top; + width: 1.4rem; } .form-checkbox:hover .form-icon, .form-radio:hover .form-icon { @@ -1021,69 +1012,68 @@ textarea.form-input { border-radius: .2rem; } .form-checkbox input:checked + .form-icon::after { - width: .6rem; - height: 1rem; + border: .2rem solid #fff; + border-left-width: 0; + border-top-width: 0; content: ""; + height: 1rem; + left: 50%; + margin-left: -.3rem; + margin-top: -.6rem; position: absolute; top: 50%; - left: 50%; - margin-top: -0.6rem; - margin-left: -0.3rem; - border: .2rem solid #fff; - border-top-width: 0; - border-left-width: 0; -webkit-transform: rotate(45deg); transform: rotate(45deg); + width: .6rem; } .form-radio .form-icon { border-radius: .7rem; } .form-radio input:checked + .form-icon::after { - width: .4rem; - height: .4rem; + background-color: #fff; + border-radius: .2rem; content: ""; + height: .4rem; + left: 50%; + margin-left: -.2rem; + margin-top: -.2rem; position: absolute; top: 50%; - left: 50%; - margin-top: -0.2rem; - margin-left: -0.2rem; - border-radius: .2rem; - background-color: #fff; + width: .4rem; } .form-switch { - line-height: 1.8rem; - padding: .3rem 2rem .3rem 3.6rem; cursor: pointer; display: inline-block; + line-height: 1.8rem; + padding: .3rem 2rem .3rem 3.6rem; position: relative; } .form-switch .form-icon { - line-height: 2.4rem; - vertical-align: top; - border: 0.1rem solid #c5c5c5; background-color: #c5c5c5; + border: .1rem solid #c5c5c5; + border-radius: .9rem; display: inline-block; - width: 3rem; height: 1.8rem; + left: 0; + line-height: 2.4rem; + outline: none; padding: 0; - border-radius: .9rem; position: absolute; top: .3rem; - left: 0; - outline: none; + vertical-align: top; + width: 3rem; } .form-switch .form-icon::after { + background-color: #fff; + border-radius: .8rem; content: ""; display: block; - width: 1.6rem; height: 1.6rem; - border-radius: .8rem; + left: 0; position: absolute; top: 0; - left: 0; - background-color: #fff; - -webkit-transition: left .15s ease; transition: left .15s ease; + width: 1.6rem; } .form-switch input:checked + .form-icon { background-color: #5764c6; @@ -1093,21 +1083,19 @@ textarea.form-input { left: 1.2rem; } .input-group { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; + display: -webkit-flex; } .input-group .input-group-addon { + background-color: #efefef; + border: .1rem solid #c5c5c5; + border-radius: .3rem; line-height: 1.6rem; padding: .7rem .8rem; - border: 0.1rem solid #c5c5c5; - border-radius: .3rem; - background-color: #efefef; } .input-group .input-group-addon, .input-group .input-group-btn { - -webkit-box-flex: 1; -webkit-flex: 1 0 auto; -ms-flex: 1 0 auto; flex: 1 0 auto; @@ -1115,21 +1103,21 @@ textarea.form-input { .input-group .form-input:first-child:not(:last-child), .input-group .input-group-addon:first-child:not(:last-child), .input-group .input-group-btn:first-child:not(:last-child) { - border-top-right-radius: 0; border-bottom-right-radius: 0; + border-top-right-radius: 0; } .input-group .form-input:not(:first-child):not(:last-child), .input-group .input-group-addon:not(:first-child):not(:last-child), .input-group .input-group-btn:not(:first-child):not(:last-child) { - margin-left: -0.1rem; border-radius: 0; + margin-left: -.1rem; } .input-group .form-input:last-child:not(:first-child), .input-group .input-group-addon:last-child:not(:first-child), .input-group .input-group-btn:last-child:not(:first-child) { - margin-left: -0.1rem; - border-top-left-radius: 0; border-bottom-left-radius: 0; + border-top-left-radius: 0; + margin-left: -.1rem; } .input-group .form-input:focus, .input-group .input-group-addon:focus, @@ -1137,57 +1125,57 @@ textarea.form-input { z-index: 99; } .avatar { + border-radius: 50%; display: inline-block; - width: 3.2rem; - height: 3.2rem; font-size: 1.4rem; font-weight: 300; + height: 3.2rem; line-height: 1; margin: 0; - border-radius: 50%; - vertical-align: middle; position: relative; + vertical-align: middle; + width: 3.2rem; } .avatar.avatar-xs { - width: 1.6rem; - height: 1.6rem; font-size: .8rem; + height: 1.6rem; + width: 1.6rem; } .avatar.avatar-sm { - width: 2.4rem; - height: 2.4rem; font-size: 1rem; + height: 2.4rem; + width: 2.4rem; } .avatar.avatar-lg { - width: 4.8rem; - height: 4.8rem; font-size: 2rem; + height: 4.8rem; + width: 4.8rem; } .avatar.avatar-xl { - width: 6.4rem; - height: 6.4rem; font-size: 2.6rem; + height: 6.4rem; + width: 6.4rem; } .avatar img { - width: 100%; - height: 100%; border-radius: 50%; + height: 100%; + width: 100%; } .avatar .avatar-icon { - width: 50%; + background-color: #fff; + bottom: -.2em; height: 50%; padding: 5%; position: absolute; - right: -0.2em; - bottom: -0.2em; - background-color: #fff; + right: -.2em; + width: 50%; } .avatar[data-initial]::after { + color: #fff; content: attr(data-initial); + left: 50%; position: absolute; top: 50%; - left: 50%; - color: #fff; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } @@ -1235,46 +1223,46 @@ textarea.form-input { position: relative; } .form-autocomplete .form-autocomplete-input { - display: block; - width: 100%; - max-width: 100%; - min-height: 3.2rem; background-color: #fff; - padding: .3rem .5rem 0 .5rem; - border: 0.1rem solid #c5c5c5; + border: .1rem solid #c5c5c5; border-radius: .3rem; color: #333; + display: block; font-size: 1.4rem; line-height: 1.6rem; + max-width: 100%; + min-height: 3.2rem; outline: 0; + padding: .3rem .5rem 0 .5rem; + width: 100%; } .form-autocomplete .form-autocomplete-input .chip-sm { margin-bottom: .3rem; } .form-autocomplete .form-autocomplete-input .form-input { - display: inline-block; - border-color: transparent; background-color: #fff; - width: auto; + border-color: transparent; + display: inline-block; height: 2.4rem; - padding: .3rem; margin-bottom: .3rem; + padding: .3rem; vertical-align: top; + width: auto; } .form-autocomplete .form-autocomplete-list { - position: absolute; - top: 100%; - left: 0; - z-index: 1988; + background-color: #fff; + border: .1rem solid #d2d2d2; + border-radius: .3rem; + box-shadow: 0 .1rem .2rem rgba(0, 0, 0, .15); display: block; - width: 100%; height: auto; - padding: .5rem; + left: 0; margin: .3rem 0 0 0; - border: 0.1rem solid #d2d2d2; - border-radius: .3rem; - background-color: #fff; - box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15); + padding: .5rem; + position: absolute; + top: 100%; + width: 100%; + z-index: 1988; } .form-autocomplete .form-autocomplete-list .chip { background-color: transparent; @@ -1287,31 +1275,31 @@ textarea.form-input { position: relative; } .badge::after { - content: attr(data-badge); + background-color: #5764c6; + border: .1rem solid #fff; + border-radius: 1rem; color: #fff; + content: attr(data-badge); + display: inline-block; font-size: 1.2rem; - text-align: center; + height: 2rem; line-height: 1.4rem; - background-color: #5764c6; - display: inline-block; min-width: 2rem; - height: 2rem; padding: .2rem .5rem; - border: .1rem solid #fff; - border-radius: 1rem; + text-align: center; + -webkit-transform: translate(-.2rem, -.8rem); + transform: translate(-.2rem, -.8rem); white-space: nowrap; - -webkit-transform: translate(-0.2rem, -0.8rem); - transform: translate(-0.2rem, -0.8rem); } .card { + background-color: #fff; + border-radius: .3rem; + box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3); display: block; - text-align: left; margin: 0; padding: 0; - border-radius: .3rem; - background-color: #fff; + text-align: left; z-index: 999; - box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3); } .card .card-header, .card .card-image, @@ -1337,93 +1325,86 @@ textarea.form-input { border-top-right-radius: .3rem; } .card .card-title { - margin-top: 0; - margin-bottom: .5rem; font-size: 1.6em; line-height: 1; + margin-bottom: .5rem; + margin-top: 0; } .card .card-meta { - margin-top: 0; - margin-bottom: 0; - font-size: 1em; color: #b3b3b3; + font-size: 1em; + margin-bottom: 0; + margin-top: 0; } .chip { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: .3rem .8rem; - border: .1rem solid transparent; - border-radius: .3rem; - margin: 0; - list-style: none; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -webkit-align-content: space-around; - -ms-flex-line-pack: distribute; align-content: space-around; + -webkit-align-items: center; + align-items: center; + border: .1rem solid transparent; + border-radius: .3rem; color: #666; + display: flex; + display: -ms-flexbox; + display: -webkit-flex; + -ms-flex-align: center; + -ms-flex-line-pack: distribute; + list-style: none; + margin: 0; + padding: .3rem .8rem; } .chip .chip-icon { - -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; } .chip .chip-content { - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; - padding: 0 1rem; - white-space: nowrap; overflow: hidden; + padding: 0 1rem; text-overflow: ellipsis; + white-space: nowrap; } .chip .chip-action { - -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; } .chip .chip-action .btn { - padding: .7rem .5rem; border-color: transparent; color: #c5c5c5; + padding: .7rem .5rem; } .chip .chip-action .btn:hover, .chip .chip-action .btn:focus { - color: #5764c6; - border-color: transparent; background-color: transparent; + border-color: transparent; + color: #5764c6; } .chip .chip-action .btn:active, .chip .chip-action .btn.active { - color: #4452c0; - border-color: transparent; background-color: transparent; + border-color: transparent; + color: #4452c0; } .chip-sm { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; -webkit-align-items: center; - -ms-flex-align: center; align-items: center; - vertical-align: middle; - max-width: 100%; - height: 2.4rem; - padding: .3rem .6rem; - border-radius: .3rem; - font-size: 1.2rem; background-color: #eff1fa; + border-radius: .3rem; color: #666; + display: -ms-inline-flexbox; + display: inline-flex; + display: -webkit-inline-flex; + -ms-flex-align: center; + font-size: 1.2rem; + height: 2.4rem; + max-width: 100%; + padding: .3rem .6rem; text-decoration: none; + vertical-align: middle; } .chip-sm:hover, .chip-sm:focus { @@ -1443,70 +1424,70 @@ textarea.form-input { } .chip-sm .chip-name { margin-left: .4rem; - white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; } .chip-sm .avatar { - width: 1.6rem; - height: 1.6rem; font-size: .8rem; + height: 1.6rem; + width: 1.6rem; } .label { + background-color: #efefef; + border-radius: .2rem; + color: #666; display: inline-block; - padding: .2rem .4rem; font-size: .9em; line-height: 1em; - color: #666666; - background-color: #efefef; + margin: -.2rem .1em 0 .1em; + padding: .2rem .4rem; text-align: center; - white-space: nowrap; vertical-align: baseline; - margin: -0.2rem 0.1em 0 0.1em; - border-radius: .2rem; + white-space: nowrap; } .label.label-primary { - color: #fff; background-color: #5764c6; border-color: #4f5dc3; + color: #fff; } .label.label-success { - color: #fff; background-color: #32b643; border-color: #30ae40; + color: #fff; } .label.label-info { - color: #fff; background-color: #0193eb; border-color: #018de1; + color: #fff; } .label.label-warning { - color: #fff; background-color: #ffb700; border-color: #f5b000; + color: #fff; } .label.label-danger { - color: #fff; background-color: #e85600; border-color: #de5200; + color: #fff; } .menu { + background-color: #fff; + border-radius: .3rem; + box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3); display: block; - text-align: left; margin: 0; padding: .5rem; - border-radius: .3rem; - background-color: #fff; + text-align: left; z-index: 999; - box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3); } .menu .menu-item { - display: block; - padding: .2rem 1rem; - margin-top: .1rem; border-radius: .3rem; color: #333; + display: block; line-height: 2.4rem; + margin-top: .1rem; + padding: .2rem 1rem; text-decoration: none; -webkit-user-select: none; -moz-user-select: none; @@ -1514,11 +1495,11 @@ textarea.form-input { user-select: none; } .menu .menu-item a { - display: block; - margin: -0.2rem -1rem; - padding: .2rem 1rem; border-radius: .3rem; color: inherit; + display: block; + margin: -.2rem -1rem; + padding: .2rem 1rem; text-decoration: none; } .menu .menu-item a:hover, @@ -1527,103 +1508,100 @@ textarea.form-input { } .menu .menu-item a:active, .menu .menu-item a.active { - color: #4452c0; background-color: #eff1fa; + color: #4452c0; } .menu .menu-header { + color: #ccc; display: block; - padding: .2rem 1rem; - margin-top: 0; font-size: 1.2rem; line-height: 1.8rem; - color: #cccccc; + margin-top: 0; + padding: .2rem 1rem; } .menu .menu-header .menu-header-text { + background-color: #fff; display: inline-block; + margin-left: -.6rem; padding: 0 .6rem; - margin-left: -0.6rem; - background-color: #fff; position: relative; z-index: 99; } -.menu .menu-header:after { +.menu .menu-header::after { + border-bottom: .1rem solid #efefef; content: ""; display: block; - width: 100%; height: .1rem; -webkit-transform: translateY(-1rem); transform: translateY(-1rem); - border-bottom: 0.1rem solid #efefef; + width: 100%; } .menu .divider { + border-bottom: .1rem solid #efefef; display: block; - border-bottom: 0.1rem solid #efefef; margin: .5rem; } .modal { - display: none; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - -webkit-box-align: center; -webkit-align-items: center; - -ms-flex-align: center; - -ms-grid-row-align: center; align-items: center; - -webkit-box-pack: center; + bottom: 0; + display: none; + -ms-flex-align: center; + -ms-flex-pack: center; + -ms-grid-row-align: center; -webkit-justify-content: center; - -ms-flex-pack: center; justify-content: center; - overflow: hidden; + left: 0; opacity: 0; + overflow: hidden; + position: fixed; + right: 0; + top: 0; } .modal.active { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; - z-index: 1988; + display: -webkit-flex; opacity: 1; + z-index: 1988; } .modal.active .modal-overlay { + background-color: rgba(0, 0, 0, .75); + bottom: 0; display: block; + left: 0; position: absolute; - top: 0; right: 0; - bottom: 0; - left: 0; - background-color: rgba(0, 0, 0, 0.75); + top: 0; } .modal.active .modal-container { - -webkit-animation: slide-down 0.216s; - animation: slide-down 0.216s; + -webkit-animation: slide-down .216s; + animation: slide-down .216s; } .modal-container { + -webkit-animation: slide-up .216s; + animation: slide-up .216s; + background-color: #fff; + border-radius: .3rem; + box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3); display: block; - text-align: left; margin: 0 auto; padding: 0; - border-radius: .3rem; - background-color: #fff; + text-align: left; z-index: 1988; - -webkit-animation: slide-up 0.216s; - animation: slide-up 0.216s; - box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3); } .modal-container .modal-header { padding: 1.5rem; } .modal-container .modal-header .modal-title { - margin: 0; font-size: 1.5rem; + margin: 0; } .modal-container .modal-body { - position: relative; - padding: 1.5rem; max-height: 50vh; overflow-y: auto; + padding: 1.5rem; + position: relative; } .modal-container .modal-footer { padding: 1.5rem; @@ -1657,27 +1635,27 @@ textarea.form-input { } .breadcrumb .breadcrumb-item:last-child, .breadcrumb .breadcrumb-item:last-child a { - color: #666666; + color: #666; pointer-events: none; } .breadcrumb .breadcrumb-item:not(:last-child)::after { + color: #c5c5c5; content: "/"; padding: 0 .4rem; - color: #c5c5c5; } .tab { + border-bottom: .1rem solid #c5c5c5; display: block; - border-bottom: 0.1rem solid #c5c5c5; } .tab .tab-item { display: inline-block; - margin-bottom: -0.1rem; + margin-bottom: -.1rem; } .tab .tab-item a { - display: block; - padding: .5rem 1.5rem; border-bottom: .2rem solid transparent; color: #333; + display: block; + padding: .5rem 1.5rem; text-decoration: none; } .tab .tab-item a:hover, @@ -1690,13 +1668,11 @@ textarea.form-input { color: #3b49af; } .tab.tab-block { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; + display: -webkit-flex; } .tab.tab-block .tab-item { - -webkit-box-flex: 1; -webkit-flex: 1 0 auto; -ms-flex: 1 0 auto; flex: 1 0 auto; @@ -1714,10 +1690,10 @@ textarea.form-input { padding: .6rem .5rem; } .pagination .page-item a { + border-radius: .3rem; display: inline-block; - padding: .6rem 1.2rem; margin: 0 .1rem; - border-radius: .3rem; + padding: .6rem 1.2rem; text-decoration: none; } .pagination .page-item a:hover, @@ -1725,42 +1701,42 @@ textarea.form-input { background-color: #eff1fa; } .pagination .page-item.active a { - color: #fff; background-color: #5764c6; + color: #fff; } .toast { + background-color: #efefef; + border: .1rem solid #eaeaea; + border-radius: .3rem; + color: #666; display: block; - width: 100%; padding: 1.4rem; - color: #666; - border: 0.1rem solid #eaeaea; - border-radius: .3rem; - background-color: #efefef; + width: 100%; } .toast.toast-primary { - color: #fff; background-color: #5764c6; border-color: #4f5dc3; + color: #fff; } .toast.toast-success { - color: #fff; background-color: #32b643; border-color: #30ae40; + color: #fff; } .toast.toast-info { - color: #fff; background-color: #0193eb; border-color: #018de1; + color: #fff; } .toast.toast-warning { - color: #fff; background-color: #ffb700; border-color: #f5b000; + color: #fff; } .toast.toast-danger { - color: #fff; background-color: #e85600; border-color: #de5200; + color: #fff; } .toast:first-child:not(:last-child) { border-bottom-left-radius: 0; @@ -1768,44 +1744,43 @@ textarea.form-input { } .toast:not(:first-child):not(:last-child) { border-radius: 0; - margin-top: -0.1rem; + margin-top: -.1rem; } .toast:last-child:not(:first-child) { border-top-left-radius: 0; border-top-right-radius: 0; - margin-top: -0.1rem; + margin-top: -.1rem; } .tooltip { position: relative; } .tooltip::after { - content: attr(data-tooltip); - display: block; - max-width: 32rem; - padding: .6rem 1rem; + background-color: rgba(51, 51, 51, .9); border-radius: .3rem; - background-color: rgba(51, 51, 51, 0.9); - opacity: 0; + bottom: 100%; color: #fff; + content: attr(data-tooltip); + display: block; font-size: 1.2rem; + left: 50%; line-height: 1.6rem; - text-overflow: ellipsis; + max-width: 32rem; + opacity: 0; + overflow: hidden; + padding: .6rem 1rem; + pointer-events: none; position: absolute; - bottom: 100%; - left: 50%; + text-overflow: ellipsis; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); - overflow: hidden; - z-index: 99; - pointer-events: none; - -webkit-transition: all .216s ease; transition: all .216s ease; + z-index: 99; } .tooltip:hover::after, .tooltip:focus::after { opacity: 1; - -webkit-transform: translate(-50%, -0.5rem); - transform: translate(-50%, -0.5rem); + -webkit-transform: translate(-50%, -.5rem); + transform: translate(-50%, -.5rem); } .tooltip.tooltip-right::after { bottom: 50%; @@ -1815,38 +1790,38 @@ textarea.form-input { } .tooltip.tooltip-right:hover::after, .tooltip.tooltip-right:focus::after { - -webkit-transform: translate(0.5rem, 50%); - transform: translate(0.5rem, 50%); + -webkit-transform: translate(.5rem, 50%); + transform: translate(.5rem, 50%); } .tooltip.tooltip-bottom::after { - top: 100%; bottom: auto; + top: 100%; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); } .tooltip.tooltip-bottom:hover::after, .tooltip.tooltip-bottom:focus::after { - -webkit-transform: translate(-50%, 0.5rem); - transform: translate(-50%, 0.5rem); + -webkit-transform: translate(-50%, .5rem); + transform: translate(-50%, .5rem); } .tooltip.tooltip-left::after { - right: 100%; bottom: 50%; left: auto; + right: 100%; -webkit-transform: translate(0, 50%); transform: translate(0, 50%); } .tooltip.tooltip-left:hover::after, .tooltip.tooltip-left:focus::after { - -webkit-transform: translate(-0.5rem, 50%); - transform: translate(-0.5rem, 50%); + -webkit-transform: translate(-.5rem, 50%); + transform: translate(-.5rem, 50%); } .clearfix::after, .container::after, .columns::after { + clear: both; content: ""; display: table; - clear: both; } .float-left { float: left !important; @@ -1927,16 +1902,14 @@ textarea.form-input { display: inline-block; } .flex { - display: -webkit-box; - display: -webkit-flex; + display: flex; display: -ms-flexbox; - display: flex; + display: -webkit-flex; } .inline-flex { - display: -webkit-inline-box; - display: -webkit-inline-flex; + display: inline-flex; display: -ms-inline-flexbox; - display: inline-flex; + display: -webkit-inline-flex; } .hide { display: none !important; @@ -1948,11 +1921,11 @@ textarea.form-input { visibility: hidden; } .text-hide { - font: 0/0 a; - color: transparent; - text-shadow: none; background-color: transparent; border: 0; + color: transparent; + font: 0/0 a; + text-shadow: none; } .text-left { text-align: left; @@ -1985,31 +1958,30 @@ textarea.form-input { font-style: italic; } .text-ellipsis { - white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; } .text-clip { - white-space: nowrap; overflow: hidden; text-overflow: clip; + white-space: nowrap; } .text-break { - word-break: break-word; - word-wrap: break-word; -webkit-hyphens: auto; - -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; + word-break: break-word; + word-wrap: break-word; } .hand { cursor: pointer; } .shadow { - box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3); + box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3); } .light-shadow { - box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15); + box-shadow: 0 .1rem .2rem rgba(0, 0, 0, .15); } .rounded { border-radius: .3rem; @@ -2018,25 +1990,25 @@ textarea.form-input { border-radius: 50%; } .loading { + color: transparent !important; min-height: 1.6rem; - position: relative; pointer-events: none; - color: transparent !important; + position: relative; } .loading::after { - border: 0.2rem solid #5764c6; + -webkit-animation: loading 500ms infinite linear; + animation: loading 500ms infinite linear; + border: .2rem solid #5764c6; + border-radius: .8rem; border-right-color: transparent; border-top-color: transparent; - border-radius: .8rem; content: ""; - position: absolute; + display: block; + height: 1.6rem; left: 50%; + margin-left: -.8rem; + margin-top: -.8rem; + position: absolute; top: 50%; - margin-left: -0.8rem; - margin-top: -0.8rem; - display: block; width: 1.6rem; - height: 1.6rem; - -webkit-animation: loading 500ms infinite linear; - animation: loading 500ms infinite linear; } diff --git a/dist/spectre.min.css b/dist/spectre.min.css index ffda51a..32973fe 100644 --- a/dist/spectre.min.css +++ b/dist/spectre.min.css @@ -1 +1 @@ -/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}template,[hidden]{display:none}a{background-color:transparent}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit}optgroup{font-weight:bold}button,input,select{overflow:visible}button,input,select,textarea{margin:0}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{cursor:pointer}[disabled]{cursor:default}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button:-moz-focusring,input:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}*{box-sizing:border-box}*:before,*:after{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{color:#333;font-family:"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Hiragino Kaku Gothic Pro",Meiryo,"Malgun Gothic",sans-serif;font-size:1.4rem;background-color:#fff}a{color:#5764c6;text-decoration:underline}a:hover,a:focus{color:#283176}[disabled],.disabled{opacity:.5;cursor:default;pointer-events:none}.btn .icon,.toast .icon,.menu .icon{margin-right:.2rem;font-size:1.3333em;line-height:.8em;vertical-align:-20%}h1,h2,h3,h4,h5,h6{font-weight:300;line-height:1.1;margin-top:2.5rem;margin-bottom:1.5rem;color:inherit}h1{font-size:5rem}h2{font-size:4rem}h3{font-size:3rem}h4{font-size:2.4rem}h5{font-size:2rem}h6{font-size:1.6rem}p{line-height:1.428571429;margin:0 0 1rem}blockquote{padding:1rem 2rem;border-left:.2rem solid #ddd;margin-left:0}blockquote p:last-child{margin-bottom:0}blockquote .blockquote-source{color:#b3b3b3}ul,ol{padding:0;margin:2rem 0 2rem 2rem}ul ul,ol ul,ul ol,ol ol{margin:1.5rem 0 1.5rem 2rem}ul li,ol li{margin-top:1rem}ul{list-style:disc inside}ul ul{list-style-type:circle}ol{list-style:decimal inside}ol ol{list-style-type:lower-alpha}.lead{font-size:120%}.highlight{padding:.2rem;line-height:1.6rem;border-radius:.2rem;background-color:#ffe5a3}pre{margin-top:1em;margin-bottom:1em;padding:1.5rem;border-left:.2rem solid #5764c6;line-height:1.8rem;background-color:#f9f9f9;overflow:auto}code{padding:.2rem .4rem;margin:-0.2rem .1em 0 .1em;border-radius:.2rem;background-color:#efefef;font-size:.9em;line-height:1em;vertical-align:baseline;white-space:nowrap}pre code{margin-top:0;margin-bottom:0;border-left:0;background-color:transparent;line-height:1.8rem}.container{width:100%;overflow-x:hidden;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}@media screen and (min-width:981px){.grid-960{width:96rem;margin-left:auto;margin-right:auto}}@media screen and (min-width:481px){.grid-480{width:48rem;margin-left:auto;margin-right:auto}}.columns{display:block;margin-left:-1rem;margin-right:-1rem}.column{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:1rem}.column.col-12,.column.col-11,.column.col-10,.column.col-9,.column.col-8,.column.col-7,.column.col-6,.column.col-5,.column.col-4,.column.col-3,.column.col-2,.column.col-1{-webkit-box-flex:0;-webkit-flex:none;-ms-flex:none;flex:none}@media screen and (min-width:841px){.columns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.col-12{width:100%}.col-11{width:91.66666667%}.col-10{width:83.33333333%}.col-9{width:75%}.col-8{width:66.66666667%}.col-7{width:58.33333333%}.col-6{width:50%}.col-5{width:41.66666667%}.col-4{width:33.33333333%}.col-3{width:25%}.col-2{width:16.66666667%}.col-1{width:8.33333333%}}@media screen and (min-width:481px) and (max-width:840px){.columns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.col-12{width:100%}.col-11,.col-10,.col-9,.col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2,.col-1{width:50%}}@media screen and (max-width:480px){.hide-xs{display:none !important}}@media screen and (max-width:600px){.hide-sm{display:none !important}}@media screen and (max-width:840px){.hide-md{display:none !important}}@media screen and (max-width:960px){.hide-lg{display:none !important}}@media screen and (max-width:1280px){.hide-xl{display:none !important}}.img-responsive{display:block;max-width:100%;height:auto}.video-responsive{position:relative;height:0;padding-top:3rem;padding-bottom:56.25%;overflow:hidden}.video-responsive iframe,.video-responsive object,.video-responsive embed{position:absolute;top:0;left:0;width:100%;height:100%}.video-responsive video{width:100%;max-width:100%;height:auto}.table{width:100%;border-collapse:collapse;border-spacing:0}.table th,.table td{text-align:left;padding:1.5rem 1rem;border-bottom:.1rem solid #efefef}.table th{border-color:#c9c9c9}.table .selected{background-color:#f4f4f4}.btn{display:inline-block;height:3.2rem;padding:.7rem 1.5rem;border:.1rem solid #5764c6;background-color:transparent;border-radius:.3rem;color:#5764c6;font-size:1.4rem;line-height:1.6rem;text-align:center;text-decoration:none;vertical-align:middle;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;outline:0}.btn:hover,.btn:focus{color:#fff;border-color:#4452c0;background-color:#5764c6}.btn:active,.btn.active{color:#fff;border-color:#3b49af;background-color:#4452c0}.btn.btn-primary{color:#fff;border-color:#4452c0;background-color:#5764c6}.btn.btn-primary:hover,.btn.btn-primary:focus{color:#fff;border-color:#3b49af;background-color:#4452c0}.btn.btn-primary:active,.btn.btn-primary.active{color:#fff;border-color:#35419c;background-color:#3b49af}.btn.btn-primary.loading::after{border-color:#fff;border-right-color:transparent;border-top-color:transparent}.btn.btn-link{color:#5764c6;border-color:transparent;background-color:transparent}.btn.btn-link:hover,.btn.btn-link:focus{color:#35419c}.btn.btn-link:active,.btn.btn-link.active{color:#283176}.btn.btn-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;line-height:1.4rem;padding:.4rem 1rem}.btn.btn-lg{height:4.2rem;border-radius:.4rem;font-size:1.8rem;line-height:2rem;padding:1rem 1.8rem}.btn.btn-block{width:100%;display:block}.btn.btn-clear{width:1.4rem;height:1.4rem;padding:0;margin:.1rem -0.2rem .1rem .2rem;border:0;border-radius:.7rem;vertical-align:top;position:relative;background-color:transparent;opacity:.35}.btn.btn-clear:hover{opacity:.75}.btn.btn-clear::before,.btn.btn-clear::after{content:"";display:block;position:absolute;top:50%;left:50%;background-color:#333;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.btn.btn-clear::before{width:1rem;height:.2rem;margin-left:-0.5rem;margin-top:-0.1rem}.btn.btn-clear::after{width:.2rem;height:1rem;margin-left:-0.1rem;margin-top:-0.5rem}.btn-group{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.btn-group .btn{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.btn-group .btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group .btn:not(:first-child):not(:last-child){margin-left:-0.1rem;border-radius:0}.btn-group .btn:last-child:not(:first-child){margin-left:-0.1rem;border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .btn:hover,.btn-group .btn:focus{z-index:99}.btn-group.btn-group-block{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.form-group:not(:last-child){margin-bottom:1rem}@media screen and (min-width:841px){.form-horizontal{padding:1rem}.form-horizontal .form-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.form-horizontal .form-label{padding:.8rem .4rem}.form-horizontal .form-checkbox,.form-horizontal .form-radio{margin:.5rem 0}}@media screen and (max-width:840px){.form-horizontal .col-12,.form-horizontal .col-11,.form-horizontal .col-10,.form-horizontal .col-9,.form-horizontal .col-8,.form-horizontal .col-7,.form-horizontal .col-6,.form-horizontal .col-5,.form-horizontal .col-4,.form-horizontal .col-3,.form-horizontal .col-2,.form-horizontal .col-1{width:100%}}.form-input{position:relative;display:block;width:100%;max-width:100%;height:3.2rem;background-color:#fff;background-image:none;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;font-size:1.4rem;line-height:1.6rem;padding:.5rem .8rem;-webkit-appearance:none;outline:0}.form-input:focus{border-color:#5764c6}.form-input[disabled]{background-color:#eeeff2}.form-input.input-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;padding:.4rem .6rem}.form-input.input-lg{height:4.2rem;border-radius:.4rem;font-size:1.6rem;padding:1rem 1.2rem}.form-input.input-inline{width:auto;display:inline-block}textarea.form-input{height:auto;line-height:2rem}.has-success .form-input,.form-input.is-success{border-color:#32b643}.has-danger .form-input,.form-input.is-danger{border-color:#e85600}.form-label{display:block;margin-bottom:.5rem;line-height:1.6rem}.form-select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-select:not([multiple]){height:3.2rem;font-size:1.4rem;vertical-align:middle;padding:.5rem 2.4rem .5rem .8rem;border:.1rem solid #c5c5c5;border-radius:.3rem;outline:0;background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center / .8rem 1rem}.form-select:focus{border-color:#5764c6}.form-select select::-ms-expand{display:none}.form-select.select-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;padding:.4rem .6rem}.form-checkbox input,.form-radio input,.form-switch input{display:none}.form-checkbox,.form-radio{line-height:1.8rem;padding:.3rem 2rem;cursor:pointer;display:inline-block;position:relative}.form-checkbox .form-icon,.form-radio .form-icon{font-size:1.4rem;line-height:2.4rem;vertical-align:top;border:.1rem solid #c5c5c5;display:inline-block;width:1.4rem;height:1.4rem;padding:0;position:absolute;top:.5rem;left:0;outline:0}.form-checkbox:hover .form-icon,.form-radio:hover .form-icon{border-color:#9f9f9f}.form-checkbox input:checked+.form-icon,.form-radio input:checked+.form-icon{background-color:#5764c6;border-color:#5764c6}.form-checkbox .form-icon{border-radius:.2rem}.form-checkbox input:checked+.form-icon::after{width:.6rem;height:1rem;content:"";position:absolute;top:50%;left:50%;margin-top:-0.6rem;margin-left:-0.3rem;border:.2rem solid #fff;border-top-width:0;border-left-width:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.form-radio .form-icon{border-radius:.7rem}.form-radio input:checked+.form-icon::after{width:.4rem;height:.4rem;content:"";position:absolute;top:50%;left:50%;margin-top:-0.2rem;margin-left:-0.2rem;border-radius:.2rem;background-color:#fff}.form-switch{line-height:1.8rem;padding:.3rem 2rem .3rem 3.6rem;cursor:pointer;display:inline-block;position:relative}.form-switch .form-icon{line-height:2.4rem;vertical-align:top;border:.1rem solid #c5c5c5;background-color:#c5c5c5;display:inline-block;width:3rem;height:1.8rem;padding:0;border-radius:.9rem;position:absolute;top:.3rem;left:0;outline:0}.form-switch .form-icon::after{content:"";display:block;width:1.6rem;height:1.6rem;border-radius:.8rem;position:absolute;top:0;left:0;background-color:#fff;-webkit-transition:left .15s ease;transition:left .15s ease}.form-switch input:checked+.form-icon{background-color:#5764c6;border-color:#5764c6}.form-switch input:checked+.form-icon::after{left:1.2rem}.input-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.input-group .input-group-addon{line-height:1.6rem;padding:.7rem .8rem;border:.1rem solid #c5c5c5;border-radius:.3rem;background-color:#efefef}.input-group .input-group-addon,.input-group .input-group-btn{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.input-group .form-input:first-child:not(:last-child),.input-group .input-group-addon:first-child:not(:last-child),.input-group .input-group-btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group .form-input:not(:first-child):not(:last-child),.input-group .input-group-addon:not(:first-child):not(:last-child),.input-group .input-group-btn:not(:first-child):not(:last-child){margin-left:-0.1rem;border-radius:0}.input-group .form-input:last-child:not(:first-child),.input-group .input-group-addon:last-child:not(:first-child),.input-group .input-group-btn:last-child:not(:first-child){margin-left:-0.1rem;border-top-left-radius:0;border-bottom-left-radius:0}.input-group .form-input:focus,.input-group .input-group-addon:focus,.input-group .input-group-btn:focus{z-index:99}.avatar{display:inline-block;width:3.2rem;height:3.2rem;font-size:1.4rem;font-weight:300;line-height:1;margin:0;border-radius:50%;vertical-align:middle;position:relative}.avatar.avatar-xs{width:1.6rem;height:1.6rem;font-size:.8rem}.avatar.avatar-sm{width:2.4rem;height:2.4rem;font-size:1rem}.avatar.avatar-lg{width:4.8rem;height:4.8rem;font-size:2rem}.avatar.avatar-xl{width:6.4rem;height:6.4rem;font-size:2.6rem}.avatar img{width:100%;height:100%;border-radius:50%}.avatar .avatar-icon{width:50%;height:50%;padding:5%;position:absolute;right:-0.2em;bottom:-0.2em;background-color:#fff}.avatar[data-initial]::after{content:attr(data-initial);position:absolute;top:50%;left:50%;color:#fff;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@-webkit-keyframes loading{0{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{0{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes slide-down{0{margin-top:-3rem;opacity:0}100%{margin-top:0;opacity:1}}@keyframes slide-down{0{margin-top:-3rem;opacity:0}100%{margin-top:0;opacity:1}}.form-autocomplete{position:relative}.form-autocomplete .form-autocomplete-input{display:block;width:100%;max-width:100%;min-height:3.2rem;background-color:#fff;padding:.3rem .5rem 0 .5rem;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;font-size:1.4rem;line-height:1.6rem;outline:0}.form-autocomplete .form-autocomplete-input .chip-sm{margin-bottom:.3rem}.form-autocomplete .form-autocomplete-input .form-input{display:inline-block;border-color:transparent;background-color:#fff;width:auto;height:2.4rem;padding:.3rem;margin-bottom:.3rem;vertical-align:top}.form-autocomplete .form-autocomplete-list{position:absolute;top:100%;left:0;z-index:1988;display:block;width:100%;height:auto;padding:.5rem;margin:.3rem 0 0 0;border:.1rem solid #d2d2d2;border-radius:.3rem;background-color:#fff;box-shadow:0 .1rem .2rem rgba(0,0,0,0.15)}.form-autocomplete .form-autocomplete-list .chip{background-color:transparent}.form-autocomplete .form-autocomplete-list .chip:hover,.form-autocomplete .form-autocomplete-list .chip.selected{background-color:#eff1fa}.badge{position:relative}.badge::after{content:attr(data-badge);color:#fff;font-size:1.2rem;text-align:center;line-height:1.4rem;background-color:#5764c6;display:inline-block;min-width:2rem;height:2rem;padding:.2rem .5rem;border:.1rem solid #fff;border-radius:1rem;white-space:nowrap;-webkit-transform:translate(-0.2rem,-0.8rem);transform:translate(-0.2rem,-0.8rem)}.card{display:block;text-align:left;margin:0;padding:0;border-radius:.3rem;background-color:#fff;z-index:999;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.card .card-header,.card .card-image,.card .card-body,.card .card-footer{padding:1.5rem 1.5rem 0 1.5rem}.card .card-header:last-child,.card .card-image:last-child,.card .card-body:last-child,.card .card-footer:last-child{padding-bottom:1.5rem}.card .card-image{padding-left:0;padding-right:0}.card .card-image:first-child{padding-top:0}.card .card-image:first-child img{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.card .card-title{margin-top:0;margin-bottom:.5rem;font-size:1.6em;line-height:1}.card .card-meta{margin-top:0;margin-bottom:0;font-size:1em;color:#b3b3b3}.chip{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:.3rem .8rem;border:.1rem solid transparent;border-radius:.3rem;margin:0;list-style:none;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-align-content:space-around;-ms-flex-line-pack:distribute;align-content:space-around;color:#666}.chip .chip-icon{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.chip .chip-content{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chip .chip-action{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.chip .chip-action .btn{padding:.7rem .5rem;border-color:transparent;color:#c5c5c5}.chip .chip-action .btn:hover,.chip .chip-action .btn:focus{color:#5764c6;border-color:transparent;background-color:transparent}.chip .chip-action .btn:active,.chip .chip-action .btn.active{color:#4452c0;border-color:transparent;background-color:transparent}.chip-sm{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;vertical-align:middle;max-width:100%;height:2.4rem;padding:.3rem .6rem;border-radius:.3rem;font-size:1.2rem;background-color:#eff1fa;color:#666;text-decoration:none}.chip-sm:hover,.chip-sm:focus{background-color:#e8eaf7}.chip-sm .btn::before,.chip-sm .btn::after{background-color:#3b49af}.chip-sm.selected{background-color:#5764c6;color:#fff}.chip-sm.selected .btn::before,.chip-sm.selected .btn::after{background-color:#eff1fa}.chip-sm .chip-name{margin-left:.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chip-sm .avatar{width:1.6rem;height:1.6rem;font-size:.8rem}.label{display:inline-block;padding:.2rem .4rem;font-size:.9em;line-height:1em;color:#666;background-color:#efefef;text-align:center;white-space:nowrap;vertical-align:baseline;margin:-0.2rem .1em 0 .1em;border-radius:.2rem}.label.label-primary{color:#fff;background-color:#5764c6;border-color:#4f5dc3}.label.label-success{color:#fff;background-color:#32b643;border-color:#30ae40}.label.label-info{color:#fff;background-color:#0193eb;border-color:#018de1}.label.label-warning{color:#fff;background-color:#ffb700;border-color:#f5b000}.label.label-danger{color:#fff;background-color:#e85600;border-color:#de5200}.menu{display:block;text-align:left;margin:0;padding:.5rem;border-radius:.3rem;background-color:#fff;z-index:999;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.menu .menu-item{display:block;padding:.2rem 1rem;margin-top:.1rem;border-radius:.3rem;color:#333;line-height:2.4rem;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu .menu-item a{display:block;margin:-0.2rem -1rem;padding:.2rem 1rem;border-radius:.3rem;color:inherit;text-decoration:none}.menu .menu-item a:hover,.menu .menu-item a:focus{color:#5764c6}.menu .menu-item a:active,.menu .menu-item a.active{color:#4452c0;background-color:#eff1fa}.menu .menu-header{display:block;padding:.2rem 1rem;margin-top:0;font-size:1.2rem;line-height:1.8rem;color:#ccc}.menu .menu-header .menu-header-text{display:inline-block;padding:0 .6rem;margin-left:-0.6rem;background-color:#fff;position:relative;z-index:99}.menu .menu-header:after{content:"";display:block;width:100%;height:.1rem;-webkit-transform:translateY(-1rem);transform:translateY(-1rem);border-bottom:.1rem solid #efefef}.menu .divider{display:block;border-bottom:.1rem solid #efefef;margin:.5rem}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;opacity:0}.modal.active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;z-index:1988;opacity:1}.modal.active .modal-overlay{display:block;position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.75)}.modal.active .modal-container{-webkit-animation:slide-down .216s;animation:slide-down .216s}.modal-container{display:block;text-align:left;margin:0 auto;padding:0;border-radius:.3rem;background-color:#fff;z-index:1988;-webkit-animation:slide-up .216s;animation:slide-up .216s;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.modal-container .modal-header{padding:1.5rem}.modal-container .modal-header .modal-title{margin:0;font-size:1.5rem}.modal-container .modal-body{position:relative;padding:1.5rem;max-height:50vh;overflow-y:auto}.modal-container .modal-footer{padding:1.5rem;text-align:right}@media screen and (min-width:640px){.modal-container{width:64rem}}@media screen and (min-width:320px){.modal-sm .modal-container{width:32rem}}.breadcrumb,.tab,.pagination{list-style:none;margin:.5rem 0}.breadcrumb{padding:1.2rem}.breadcrumb .breadcrumb-item{display:inline-block;margin:0}.breadcrumb .breadcrumb-item a{text-decoration:none}.breadcrumb .breadcrumb-item:last-child,.breadcrumb .breadcrumb-item:last-child a{color:#666;pointer-events:none}.breadcrumb .breadcrumb-item:not(:last-child)::after{content:"/";padding:0 .4rem;color:#c5c5c5}.tab{display:block;border-bottom:.1rem solid #c5c5c5}.tab .tab-item{display:inline-block;margin-bottom:-0.1rem}.tab .tab-item a{display:block;padding:.5rem 1.5rem;border-bottom:.2rem solid transparent;color:#333;text-decoration:none}.tab .tab-item a:hover,.tab .tab-item a:focus{border-bottom-color:#5764c6;color:#5764c6}.tab .tab-item.active a{border-bottom-color:#3b49af;color:#3b49af}.tab.tab-block{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tab.tab-block .tab-item{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;text-align:center}.pagination{display:inline-block;padding:1.2rem}.pagination .page-item{display:inline-block}.pagination .page-item span{display:inline-block;padding:.6rem .5rem}.pagination .page-item a{display:inline-block;padding:.6rem 1.2rem;margin:0 .1rem;border-radius:.3rem;text-decoration:none}.pagination .page-item a:hover,.pagination .page-item a:focus{background-color:#eff1fa}.pagination .page-item.active a{color:#fff;background-color:#5764c6}.toast{display:block;width:100%;padding:1.4rem;color:#666;border:.1rem solid #eaeaea;border-radius:.3rem;background-color:#efefef}.toast.toast-primary{color:#fff;background-color:#5764c6;border-color:#4f5dc3}.toast.toast-success{color:#fff;background-color:#32b643;border-color:#30ae40}.toast.toast-info{color:#fff;background-color:#0193eb;border-color:#018de1}.toast.toast-warning{color:#fff;background-color:#ffb700;border-color:#f5b000}.toast.toast-danger{color:#fff;background-color:#e85600;border-color:#de5200}.toast:first-child:not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0}.toast:not(:first-child):not(:last-child){border-radius:0;margin-top:-0.1rem}.toast:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;margin-top:-0.1rem}.tooltip{position:relative}.tooltip::after{content:attr(data-tooltip);display:block;max-width:32rem;padding:.6rem 1rem;border-radius:.3rem;background-color:rgba(51,51,51,0.9);opacity:0;color:#fff;font-size:1.2rem;line-height:1.6rem;text-overflow:ellipsis;position:absolute;bottom:100%;left:50%;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);overflow:hidden;z-index:99;pointer-events:none;-webkit-transition:all .216s ease;transition:all .216s ease}.tooltip:hover::after,.tooltip:focus::after{opacity:1;-webkit-transform:translate(-50%,-0.5rem);transform:translate(-50%,-0.5rem)}.tooltip.tooltip-right::after{bottom:50%;left:100%;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-right:hover::after,.tooltip.tooltip-right:focus::after{-webkit-transform:translate(0.5rem,50%);transform:translate(0.5rem,50%)}.tooltip.tooltip-bottom::after{top:100%;bottom:auto;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}.tooltip.tooltip-bottom:hover::after,.tooltip.tooltip-bottom:focus::after{-webkit-transform:translate(-50%,0.5rem);transform:translate(-50%,0.5rem)}.tooltip.tooltip-left::after{right:100%;bottom:50%;left:auto;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-left:hover::after,.tooltip.tooltip-left:focus::after{-webkit-transform:translate(-0.5rem,50%);transform:translate(-0.5rem,50%)}.clearfix::after,.container::after,.columns::after{content:"";display:table;clear:both}.float-left{float:left !important}.float-right{float:right !important}.rel{position:relative}.abs{position:absolute}.fixed{position:fixed}.centered{display:block;float:none;margin-left:auto;margin-right:auto}.mt-10{margin-top:1rem}.mr-10{margin-right:1rem}.mb-10{margin-bottom:1rem}.ml-10{margin-left:1rem}.mt-5{margin-top:.5rem}.mr-5{margin-right:.5rem}.mb-5{margin-bottom:.5rem}.ml-5{margin-left:.5rem}.pt-10{padding-top:1rem}.pr-10{padding-right:1rem}.pb-10{padding-bottom:1rem}.pl-10{padding-left:1rem}.pt-5{padding-top:.5rem}.pr-5{padding-right:.5rem}.pb-5{padding-bottom:.5rem}.pl-5{padding-left:.5rem}.block{display:block}.inline{display:inline}.inline-block{display:inline-block}.flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.hide{display:none !important}.visible{visibility:visible}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-normal{font-weight:normal}.text-bold{font-weight:bold}.text-italic{font-style:italic}.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-clip{white-space:nowrap;overflow:hidden;text-overflow:clip}.text-break{word-break:break-word;word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.hand{cursor:pointer}.shadow{box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.light-shadow{box-shadow:0 .1rem .2rem rgba(0,0,0,0.15)}.rounded{border-radius:.3rem}.circle{border-radius:50%}.loading{min-height:1.6rem;position:relative;pointer-events:none;color:transparent !important}.loading::after{border:.2rem solid #5764c6;border-right-color:transparent;border-top-color:transparent;border-radius:.8rem;content:"";position:absolute;left:50%;top:50%;margin-left:-0.8rem;margin-top:-0.8rem;display:block;width:1.6rem;height:1.6rem;-webkit-animation:loading 500ms infinite linear;animation:loading 500ms infinite linear}
\ No newline at end of file +/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */a,abbr[title]{text-decoration:underline}progress,sub,sup{vertical-align:baseline}button,hr,input,select{overflow:visible}html,legend{box-sizing:border-box}pre,textarea{overflow:auto}blockquote p:last-child,pre code{margin-bottom:0}.btn,.menu .menu-item{-webkit-user-select:none}.btn-group .btn:focus,.btn-group .btn:hover,.input-group .form-input:focus,.input-group .input-group-addon:focus,.input-group .input-group-btn:focus{z-index:99}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent;color:#5764c6}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline dotted}.breadcrumb .breadcrumb-item a,.btn,.chip-sm,.menu .menu-item,.menu .menu-item a,.tab .tab-item a{text-decoration:none}b,strong{font-weight:bolder}dfn{font-style:italic}h1{margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button:-moz-focusring,input:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}.highlight,code{border-radius:.2rem}legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}*,::after,::before{box-sizing:inherit}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{margin:0;background-color:#fff;color:#333;font-family:"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Hiragino Kaku Gothic Pro",Meiryo,"Malgun Gothic",sans-serif;font-size:1.4rem}a:focus,a:hover{color:#283176}.disabled,[disabled]{cursor:default;opacity:.5;pointer-events:none}.btn,.form-switch,.hand{cursor:pointer}.btn .icon,.menu .icon,.toast .icon{font-size:1.3333em;line-height:.8em;margin-right:.2rem;vertical-align:-20%}h1,h2,h3,h4,h5,h6{color:inherit;font-weight:300;line-height:1.1;margin-bottom:1.5rem;margin-top:2.5rem}h1{font-size:5rem}h2{font-size:4rem}h3{font-size:3rem}h4{font-size:2.4rem}h5{font-size:2rem}h6{font-size:1.6rem}p{line-height:1.428571429;margin:0 0 1rem}blockquote{border-left:.2rem solid #ddd;margin-left:0;padding:1rem 2rem}blockquote cite{color:#b3b3b3}ol,ul{margin:2rem 0 2rem 2rem;padding:0}ol ol,ol ul,ul ol,ul ul{margin:1.5rem 0 1.5rem 2rem}ol li,ul li{margin-top:1rem}ul{list-style:disc inside}ul ul{list-style-type:circle}ol{list-style:decimal inside}ol ol{list-style-type:lower-alpha}.lead{font-size:120%}.highlight{background-color:#ffe5a3;line-height:1.6rem;padding:.2rem}pre,pre code{line-height:1.8rem}pre{background-color:#f9f9f9;border-left:.2rem solid #5764c6;margin-bottom:1em;margin-top:1em;padding:1.5rem}code{background-color:#efefef;font-size:.9em;line-height:1em;margin:-.2rem .1em 0;padding:.2rem .4rem;vertical-align:baseline;white-space:nowrap}.centered,.container{margin-left:auto;margin-right:auto}pre code{background-color:transparent;border-left:0;margin-top:0}.btn,.form-input{font-size:1.4rem;line-height:1.6rem;-webkit-appearance:none;outline:0}.container{overflow-x:hidden;padding-left:1rem;padding-right:1rem;width:100%}@media screen and (min-width:981px){.grid-960{margin-left:auto;margin-right:auto;width:96rem}}@media screen and (min-width:481px){.grid-480{margin-left:auto;margin-right:auto;width:48rem}}.columns{display:block;margin-left:-1rem;margin-right:-1rem}.column{-webkit-flex:1;-ms-flex:1;flex:1;padding:1rem}.column.col-1,.column.col-10,.column.col-11,.column.col-12,.column.col-2,.column.col-3,.column.col-4,.column.col-5,.column.col-6,.column.col-7,.column.col-8,.column.col-9{-webkit-flex:none;-ms-flex:none;flex:none}@media screen and (min-width:841px){.columns{display:flex;display:-ms-flexbox;display:-webkit-flex}.col-12{width:100%}.col-11{width:91.66666667%}.col-10{width:83.33333333%}.col-9{width:75%}.col-8{width:66.66666667%}.col-7{width:58.33333333%}.col-6{width:50%}.col-5{width:41.66666667%}.col-4{width:33.33333333%}.col-3{width:25%}.col-2{width:16.66666667%}.col-1{width:8.33333333%}}@media screen and (min-width:481px) and (max-width:840px){.columns{display:flex;display:-ms-flexbox;display:-webkit-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.col-12{width:100%}.col-1,.col-10,.col-11,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9{width:50%}}@media screen and (max-width:480px){.hide-xs{display:none!important}}@media screen and (max-width:600px){.hide-sm{display:none!important}}@media screen and (max-width:840px){.hide-md{display:none!important}}@media screen and (max-width:960px){.hide-lg{display:none!important}}@media screen and (max-width:1280px){.hide-xl{display:none!important}}.img-responsive{display:block;height:auto;max-width:100%}.video-responsive{height:0;overflow:hidden;padding-bottom:56.25%;padding-top:3rem;position:relative}.video-responsive embed,.video-responsive iframe,.video-responsive object{height:100%;left:0;position:absolute;top:0;width:100%}.video-responsive video{height:auto;max-width:100%;width:100%}.table{border-collapse:collapse;border-spacing:0;width:100%}.table td,.table th{border-bottom:.1rem solid #efefef;padding:1.5rem 1rem;text-align:left}.badge::after,.btn{text-align:center;white-space:nowrap}.table th{border-color:#c9c9c9}.table .selected{background-color:#f4f4f4}.btn{background-color:transparent;border:.1rem solid #5764c6;border-radius:.3rem;color:#5764c6;display:inline-block;height:3.2rem;padding:.7rem 1.5rem;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.btn:focus,.btn:hover{background-color:#5764c6;border-color:#4452c0;color:#fff}.btn.active,.btn:active{background-color:#4452c0;border-color:#3b49af;color:#fff}.btn.btn-primary{background-color:#5764c6;border-color:#4452c0;color:#fff}.btn.btn-primary:focus,.btn.btn-primary:hover{background-color:#4452c0;border-color:#3b49af;color:#fff}.btn.btn-primary.active,.btn.btn-primary:active{background-color:#3b49af;border-color:#35419c;color:#fff}.btn.btn-clear,.btn.btn-link{background-color:transparent}.btn.btn-primary.loading::after{border-color:transparent transparent #fff #fff}.btn.btn-link{border-color:transparent;color:#5764c6}.btn.btn-link:focus,.btn.btn-link:hover{color:#35419c}.btn.btn-link.active,.btn.btn-link:active{color:#283176}.btn.btn-sm{border-radius:.2rem;font-size:1.2rem;height:2.4rem;line-height:1.4rem;padding:.4rem 1rem}.btn.btn-lg{border-radius:.4rem;font-size:1.8rem;height:4.2rem;line-height:2rem;padding:1rem 1.8rem}.btn.btn-block{display:block;width:100%}.btn.btn-clear{border:0;border-radius:.7rem;height:1.4rem;margin:.1rem -.2rem .1rem .2rem;opacity:.35;padding:0;position:relative;vertical-align:top;width:1.4rem}.btn.btn-clear:hover{opacity:.75}.btn.btn-clear::after,.btn.btn-clear::before{background-color:#333;content:"";display:block;left:50%;position:absolute;top:50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.btn.btn-clear::before{height:.2rem;margin-left:-.5rem;margin-top:-.1rem;width:1rem}.btn.btn-clear::after{height:1rem;margin-left:-.1rem;margin-top:-.5rem;width:.2rem}.btn-group{display:inline-flex;display:-ms-inline-flexbox;display:-webkit-inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.btn-group .btn{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.btn-group .btn:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group .btn:not(:first-child):not(:last-child){border-radius:0;margin-left:-.1rem}.btn-group .btn:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-.1rem}.btn-group.btn-group-block{display:flex;display:-ms-flexbox;display:-webkit-flex}.form-group:not(:last-child){margin-bottom:1rem}@media screen and (min-width:841px){.form-horizontal{padding:1rem}.form-horizontal .form-group{display:flex;display:-ms-flexbox;display:-webkit-flex}.form-horizontal .form-label{padding:.8rem .4rem}.form-horizontal .form-checkbox,.form-horizontal .form-radio{margin:.5rem 0}}@media screen and (max-width:840px){.form-horizontal .col-1,.form-horizontal .col-10,.form-horizontal .col-11,.form-horizontal .col-12,.form-horizontal .col-2,.form-horizontal .col-3,.form-horizontal .col-4,.form-horizontal .col-5,.form-horizontal .col-6,.form-horizontal .col-7,.form-horizontal .col-8,.form-horizontal .col-9{width:100%}}.form-input{background-color:#fff;background-image:none;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;display:block;height:3.2rem;max-width:100%;padding:.5rem .8rem;position:relative;width:100%}.form-input:focus{border-color:#5764c6}.form-input[disabled]{background-color:#eeeff2}.form-input.input-sm{border-radius:.2rem;font-size:1.2rem;height:2.4rem;padding:.4rem .6rem}.form-input.input-lg{border-radius:.4rem;font-size:1.6rem;height:4.2rem;padding:1rem 1.2rem}.form-input.input-inline{display:inline-block;width:auto}textarea.form-input{height:auto;line-height:2rem}.form-input.is-success,.has-success .form-input{border-color:#32b643}.form-input.is-danger,.has-danger .form-input{border-color:#e85600}.form-label{display:block;line-height:1.6rem;margin-bottom:.5rem}.form-select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-select:not([multiple]){background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) right .75rem center/.8rem 1rem no-repeat #fff;border:.1rem solid #c5c5c5;border-radius:.3rem;font-size:1.4rem;height:3.2rem;outline:0;padding:.5rem 2.4rem .5rem .8rem;vertical-align:middle}.form-select:focus{border-color:#5764c6}.form-select::-ms-expand{display:none}.form-select.select-sm{border-radius:.2rem;font-size:1.2rem;height:2.4rem;padding:.4rem .6rem}.form-checkbox input,.form-radio input,.form-switch input{display:none}.form-checkbox,.form-radio{cursor:pointer;display:inline-block;line-height:1.8rem;padding:.3rem 2rem;position:relative}.form-checkbox .form-icon,.form-radio .form-icon{border:.1rem solid #c5c5c5;display:inline-block;font-size:1.4rem;height:1.4rem;left:0;line-height:2.4rem;outline:0;padding:0;position:absolute;top:.5rem;vertical-align:top;width:1.4rem}.form-checkbox:hover .form-icon,.form-radio:hover .form-icon{border-color:#9f9f9f}.form-checkbox input:checked+.form-icon,.form-radio input:checked+.form-icon{background-color:#5764c6;border-color:#5764c6}.form-checkbox .form-icon{border-radius:.2rem}.form-checkbox input:checked+.form-icon::after{border:.2rem solid #fff;border-left-width:0;border-top-width:0;content:"";height:1rem;left:50%;margin-left:-.3rem;margin-top:-.6rem;position:absolute;top:50%;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:.6rem}.form-radio .form-icon{border-radius:.7rem}.form-radio input:checked+.form-icon::after{background-color:#fff;border-radius:.2rem;content:"";height:.4rem;left:50%;margin-left:-.2rem;margin-top:-.2rem;position:absolute;top:50%;width:.4rem}.form-switch{display:inline-block;line-height:1.8rem;padding:.3rem 2rem .3rem 3.6rem;position:relative}.form-switch .form-icon{background-color:#c5c5c5;border:.1rem solid #c5c5c5;border-radius:.9rem;display:inline-block;height:1.8rem;left:0;line-height:2.4rem;outline:0;padding:0;position:absolute;top:.3rem;vertical-align:top;width:3rem}.avatar,.chip-sm{vertical-align:middle}.form-switch .form-icon::after{background-color:#fff;border-radius:.8rem;content:"";display:block;height:1.6rem;left:0;position:absolute;top:0;transition:left .15s ease;width:1.6rem}.form-switch input:checked+.form-icon{background-color:#5764c6;border-color:#5764c6}.form-switch input:checked+.form-icon::after{left:1.2rem}.input-group{display:flex;display:-ms-flexbox;display:-webkit-flex}.input-group .input-group-addon{background-color:#efefef;border:.1rem solid #c5c5c5;border-radius:.3rem;line-height:1.6rem;padding:.7rem .8rem}.input-group .input-group-addon,.input-group .input-group-btn{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.chip,.chip-sm{-webkit-align-items:center}.input-group .form-input:first-child:not(:last-child),.input-group .input-group-addon:first-child:not(:last-child),.input-group .input-group-btn:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.input-group .form-input:not(:first-child):not(:last-child),.input-group .input-group-addon:not(:first-child):not(:last-child),.input-group .input-group-btn:not(:first-child):not(:last-child){border-radius:0;margin-left:-.1rem}.input-group .form-input:last-child:not(:first-child),.input-group .input-group-addon:last-child:not(:first-child),.input-group .input-group-btn:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-.1rem}.avatar{border-radius:50%;display:inline-block;font-size:1.4rem;font-weight:300;height:3.2rem;line-height:1;margin:0;position:relative;width:3.2rem}.avatar.avatar-xs{font-size:.8rem;height:1.6rem;width:1.6rem}.avatar.avatar-sm{font-size:1rem;height:2.4rem;width:2.4rem}.avatar.avatar-lg{font-size:2rem;height:4.8rem;width:4.8rem}.avatar.avatar-xl{font-size:2.6rem;height:6.4rem;width:6.4rem}.avatar img{border-radius:50%;height:100%;width:100%}.avatar .avatar-icon{background-color:#fff;bottom:-.2em;height:50%;padding:5%;position:absolute;right:-.2em;width:50%}.avatar[data-initial]::after{color:#fff;content:attr(data-initial);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@-webkit-keyframes loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes slide-down{0%{margin-top:-3rem;opacity:0}100%{margin-top:0;opacity:1}}@keyframes slide-down{0%{margin-top:-3rem;opacity:0}100%{margin-top:0;opacity:1}}.form-autocomplete{position:relative}.form-autocomplete .form-autocomplete-input{background-color:#fff;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;display:block;font-size:1.4rem;line-height:1.6rem;max-width:100%;min-height:3.2rem;outline:0;padding:.3rem .5rem 0;width:100%}.form-autocomplete .form-autocomplete-input .chip-sm{margin-bottom:.3rem}.form-autocomplete .form-autocomplete-input .form-input{background-color:#fff;border-color:transparent;display:inline-block;height:2.4rem;margin-bottom:.3rem;padding:.3rem;vertical-align:top;width:auto}.form-autocomplete .form-autocomplete-list{background-color:#fff;border:.1rem solid #d2d2d2;border-radius:.3rem;box-shadow:0 .1rem .2rem rgba(0,0,0,.15);display:block;height:auto;left:0;margin:.3rem 0 0;padding:.5rem;position:absolute;top:100%;width:100%;z-index:1988}.form-autocomplete .form-autocomplete-list .chip{background-color:transparent}.form-autocomplete .form-autocomplete-list .chip.selected,.form-autocomplete .form-autocomplete-list .chip:hover{background-color:#eff1fa}.badge{position:relative}.badge::after{background-color:#5764c6;border:.1rem solid #fff;border-radius:1rem;color:#fff;content:attr(data-badge);display:inline-block;font-size:1.2rem;height:2rem;line-height:1.4rem;min-width:2rem;padding:.2rem .5rem;-webkit-transform:translate(-.2rem,-.8rem);transform:translate(-.2rem,-.8rem)}.card,.menu{display:block;z-index:999;box-shadow:0 .1rem .4rem rgba(0,0,0,.3)}.card{background-color:#fff;border-radius:.3rem;margin:0;padding:0;text-align:left}.card .card-body,.card .card-footer,.card .card-header,.card .card-image{padding:1.5rem 1.5rem 0}.card .card-body:last-child,.card .card-footer:last-child,.card .card-header:last-child,.card .card-image:last-child{padding-bottom:1.5rem}.card .card-image{padding-left:0;padding-right:0}.card .card-image:first-child{padding-top:0}.card .card-image:first-child img{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.card .card-title{font-size:1.6em;line-height:1;margin-bottom:.5rem;margin-top:0}.card .card-meta{color:#b3b3b3;font-size:1em;margin-bottom:0;margin-top:0}.chip{-webkit-align-content:space-around;align-content:space-around;align-items:center;border:.1rem solid transparent;border-radius:.3rem;color:#666;display:flex;display:-ms-flexbox;display:-webkit-flex;-ms-flex-align:center;-ms-flex-line-pack:distribute;list-style:none;margin:0;padding:.3rem .8rem}.chip .chip-icon{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.chip .chip-content{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;padding:0 1rem;text-overflow:ellipsis;white-space:nowrap}.chip .chip-action{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.chip .chip-action .btn{border-color:transparent;color:#c5c5c5;padding:.7rem .5rem}.chip .chip-action .btn:focus,.chip .chip-action .btn:hover{background-color:transparent;border-color:transparent;color:#5764c6}.chip .chip-action .btn.active,.chip .chip-action .btn:active{background-color:transparent;border-color:transparent;color:#4452c0}.chip-sm{align-items:center;background-color:#eff1fa;border-radius:.3rem;color:#666;display:-ms-inline-flexbox;display:inline-flex;display:-webkit-inline-flex;-ms-flex-align:center;font-size:1.2rem;height:2.4rem;max-width:100%;padding:.3rem .6rem}.chip-sm:focus,.chip-sm:hover{background-color:#e8eaf7}.chip-sm .btn::after,.chip-sm .btn::before{background-color:#3b49af}.chip-sm.selected{background-color:#5764c6;color:#fff}.chip-sm.selected .btn::after,.chip-sm.selected .btn::before{background-color:#eff1fa}.label,.toast{background-color:#efefef}.chip-sm .chip-name{margin-left:.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip-sm .avatar{font-size:.8rem;height:1.6rem;width:1.6rem}.label{border-radius:.2rem;color:#666;display:inline-block;font-size:.9em;line-height:1em;margin:-.2rem .1em 0;padding:.2rem .4rem;text-align:center;vertical-align:baseline;white-space:nowrap}.menu,.menu .menu-item,.menu .menu-item a,.modal-container,.tooltip::after{border-radius:.3rem}.menu,.text-left{text-align:left}.label.label-primary{background-color:#5764c6;border-color:#4f5dc3;color:#fff}.label.label-success{background-color:#32b643;border-color:#30ae40;color:#fff}.label.label-info{background-color:#0193eb;border-color:#018de1;color:#fff}.label.label-warning{background-color:#ffb700;border-color:#f5b000;color:#fff}.label.label-danger{background-color:#e85600;border-color:#de5200;color:#fff}.menu{background-color:#fff;margin:0;padding:.5rem}.menu .menu-header,.menu .menu-item,.menu .menu-item a{display:block;padding:.2rem 1rem}.menu .menu-item{color:#333;line-height:2.4rem;margin-top:.1rem;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu .menu-item a{color:inherit;margin:-.2rem -1rem}.menu .menu-item a:focus,.menu .menu-item a:hover{color:#5764c6}.menu .menu-item a.active,.menu .menu-item a:active{background-color:#eff1fa;color:#4452c0}.menu .menu-header{color:#ccc;font-size:1.2rem;line-height:1.8rem;margin-top:0}.menu .menu-header .menu-header-text{background-color:#fff;display:inline-block;margin-left:-.6rem;padding:0 .6rem;position:relative;z-index:99}.menu .divider,.menu .menu-header::after{border-bottom:.1rem solid #efefef;display:block}.menu .menu-header::after{content:"";height:.1rem;-webkit-transform:translateY(-1rem);transform:translateY(-1rem);width:100%}.menu .divider{margin:.5rem}.modal{-webkit-align-items:center;align-items:center;bottom:0;display:none;-ms-flex-align:center;-ms-flex-pack:center;-ms-grid-row-align:center;-webkit-justify-content:center;justify-content:center;left:0;opacity:0;overflow:hidden;position:fixed;right:0;top:0}.modal.active{display:flex;display:-ms-flexbox;display:-webkit-flex;opacity:1;z-index:1988}.modal.active .modal-overlay{background-color:rgba(0,0,0,.75);bottom:0;display:block;left:0;position:absolute;right:0;top:0}.modal.active .modal-container{-webkit-animation:slide-down .216s;animation:slide-down .216s}.modal-container{-webkit-animation:slide-up .216s;animation:slide-up .216s;background-color:#fff;box-shadow:0 .1rem .4rem rgba(0,0,0,.3);display:block;margin:0 auto;padding:0;text-align:left;z-index:1988}.modal-container .modal-header{padding:1.5rem}.modal-container .modal-header .modal-title{font-size:1.5rem;margin:0}.modal-container .modal-body{max-height:50vh;overflow-y:auto;padding:1.5rem;position:relative}.modal-container .modal-footer{padding:1.5rem;text-align:right}@media screen and (min-width:640px){.modal-container{width:64rem}}@media screen and (min-width:320px){.modal-sm .modal-container{width:32rem}}.breadcrumb,.pagination,.tab{list-style:none;margin:.5rem 0}.breadcrumb{padding:1.2rem}.breadcrumb .breadcrumb-item{display:inline-block;margin:0}.breadcrumb .breadcrumb-item:last-child,.breadcrumb .breadcrumb-item:last-child a{color:#666;pointer-events:none}.breadcrumb .breadcrumb-item:not(:last-child)::after{color:#c5c5c5;content:"/";padding:0 .4rem}.tab{border-bottom:.1rem solid #c5c5c5;display:block}.tab .tab-item{display:inline-block;margin-bottom:-.1rem}.tab .tab-item a{border-bottom:.2rem solid transparent;color:#333;display:block;padding:.5rem 1.5rem}.tab .tab-item a:focus,.tab .tab-item a:hover{border-bottom-color:#5764c6;color:#5764c6}.tab .tab-item.active a{border-bottom-color:#3b49af;color:#3b49af}.tab.tab-block{display:flex;display:-ms-flexbox;display:-webkit-flex}.pagination,.pagination .page-item,.pagination .page-item a{display:inline-block}.tab.tab-block .tab-item{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;text-align:center}.pagination{padding:1.2rem}.pagination .page-item span{display:inline-block;padding:.6rem .5rem}.pagination .page-item a{border-radius:.3rem;margin:0 .1rem;padding:.6rem 1.2rem;text-decoration:none}.pagination .page-item a:focus,.pagination .page-item a:hover{background-color:#eff1fa}.pagination .page-item.active a{background-color:#5764c6;color:#fff}.toast{border:.1rem solid #eaeaea;border-radius:.3rem;color:#666;display:block;padding:1.4rem;width:100%}.toast.toast-primary{background-color:#5764c6;border-color:#4f5dc3;color:#fff}.toast.toast-success{background-color:#32b643;border-color:#30ae40;color:#fff}.toast.toast-info{background-color:#0193eb;border-color:#018de1;color:#fff}.toast.toast-warning{background-color:#ffb700;border-color:#f5b000;color:#fff}.toast.toast-danger{background-color:#e85600;border-color:#de5200;color:#fff}.toast:first-child:not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0}.toast:not(:first-child):not(:last-child){border-radius:0;margin-top:-.1rem}.toast:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;margin-top:-.1rem}.tooltip{position:relative}.tooltip::after{background-color:rgba(51,51,51,.9);bottom:100%;color:#fff;content:attr(data-tooltip);display:block;font-size:1.2rem;left:50%;line-height:1.6rem;max-width:32rem;opacity:0;overflow:hidden;padding:.6rem 1rem;pointer-events:none;position:absolute;text-overflow:ellipsis;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);transition:all .216s ease;z-index:99}.tooltip:focus::after,.tooltip:hover::after{opacity:1;-webkit-transform:translate(-50%,-.5rem);transform:translate(-50%,-.5rem)}.tooltip.tooltip-right::after{bottom:50%;left:100%;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-right:focus::after,.tooltip.tooltip-right:hover::after{-webkit-transform:translate(.5rem,50%);transform:translate(.5rem,50%)}.tooltip.tooltip-bottom::after{bottom:auto;top:100%;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}.tooltip.tooltip-bottom:focus::after,.tooltip.tooltip-bottom:hover::after{-webkit-transform:translate(-50%,.5rem);transform:translate(-50%,.5rem)}.tooltip.tooltip-left::after{bottom:50%;left:auto;right:100%;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-left:focus::after,.tooltip.tooltip-left:hover::after{-webkit-transform:translate(-.5rem,50%);transform:translate(-.5rem,50%)}.clearfix::after,.columns::after,.container::after{clear:both;content:"";display:table}.block,.centered{display:block}.float-left{float:left!important}.float-right{float:right!important}.rel{position:relative}.abs{position:absolute}.fixed{position:fixed}.centered{float:none}.mt-10{margin-top:1rem}.mr-10{margin-right:1rem}.mb-10{margin-bottom:1rem}.ml-10{margin-left:1rem}.mt-5{margin-top:.5rem}.mr-5{margin-right:.5rem}.mb-5{margin-bottom:.5rem}.ml-5{margin-left:.5rem}.pt-10{padding-top:1rem}.pr-10{padding-right:1rem}.pb-10{padding-bottom:1rem}.pl-10{padding-left:1rem}.pt-5{padding-top:.5rem}.pr-5{padding-right:.5rem}.pb-5{padding-bottom:.5rem}.pl-5{padding-left:.5rem}.inline{display:inline}.inline-block{display:inline-block}.flex{display:flex;display:-ms-flexbox;display:-webkit-flex}.inline-flex{display:inline-flex;display:-ms-inline-flexbox;display:-webkit-inline-flex}.hide{display:none!important}.visible{visibility:visible}.invisible{visibility:hidden}.text-hide{background-color:transparent;border:0;color:transparent;font:0/0 a;text-shadow:none}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-normal{font-weight:400}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-clip{overflow:hidden;text-overflow:clip;white-space:nowrap}.text-break{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-break:break-word;word-wrap:break-word}.shadow{box-shadow:0 .1rem .4rem rgba(0,0,0,.3)}.light-shadow{box-shadow:0 .1rem .2rem rgba(0,0,0,.15)}.rounded{border-radius:.3rem}.circle{border-radius:50%}.loading{color:transparent!important;min-height:1.6rem;pointer-events:none;position:relative}.loading::after{-webkit-animation:loading .5s infinite linear;animation:loading .5s infinite linear;border:.2rem solid #5764c6;border-radius:.8rem;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1.6rem;left:50%;margin-left:-.8rem;margin-top:-.8rem;position:absolute;top:50%;width:1.6rem}
\ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..b1f4d4f --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,28 @@ +var gulp = require('gulp'); +var less = require('gulp-less'); +var cleancss = require('gulp-clean-css'); +var csscomb = require('gulp-csscomb'); +var rename = require('gulp-rename'); +var LessPluginAutoPrefix = require('less-plugin-autoprefix'); + +var autoprefix= new LessPluginAutoPrefix({ browsers: ["last 2 versions"] }); + +gulp.task('watch', function() { + gulp.watch('./**/*.less', ['build']); +}); + +gulp.task('build', function() { + gulp.src('./*.less') + .pipe(less({ + plugins: [autoprefix] + })) + .pipe(csscomb()) + .pipe(gulp.dest('./dist')) + .pipe(cleancss()) + .pipe(rename({ + suffix: '.min' + })) + .pipe(gulp.dest('./dist')) +}); + +gulp.task('default', ['build']);
\ No newline at end of file @@ -184,14 +184,14 @@ <header class="text-center"><h5>blockquote</h5></header> <blockquote> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> - <span class="blockquote-source">- Source</span> + <cite>- Source</cite> </blockquote> <!-- blockquote example --> <pre class="code lang-html"> <<span class="tag">blockquote</span>> <<span class="tag">p</span>>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<<span class="tag">/p</span>> - <<span class="tag">span</span> <span class="atn">class</span>=<span class="atv">"blockquote-source"</span>>- Source<<span class="tag">/span</span>> + <<span class="tag">cite</span>>- Source<<span class="tag">/cite</span>> <<span class="tag">/blockquote</span>> </pre> @@ -300,22 +300,31 @@ </div> </div> <div class="columns"> - <div class="column col-2"> - <div class="bg-grey">col-2</div> + <div class="column col-12"> + <div class="bg-grey">col-12 (100%)</div> </div> - <div class="column col-4"> - <div class="bg-grey">col-4</div> + </div> + <div class="columns"> + <div class="column col-9"> + <div class="bg-grey">col-9 (75%)</div> </div> - <div class="column col-4"> - <div class="bg-grey">col-4</div> + </div> + <div class="columns"> + <div class="column col-6"> + <div class="bg-grey">col-6 (50%)</div> </div> - <div class="column col-2"> - <div class="bg-grey">col-2</div> + </div> + <div class="columns"> + <div class="column col-3"> + <div class="bg-grey">col-3 (25%)</div> </div> </div> <section class="notes"> <p>Add the class <code class="label">columns</code> to a container. And add any element you want with classname <code class="label">column</code> inside the container. These columns will take up the space equally. You can specific the width of each column by adding class <code class="label">col-[1-12]</code>.</p> </section> + <section class="notes"> + <p>When the width of browser viewport is less than 840px and more than 480px, the col-[1-11] will be 50% width to the parent elements.</p> + </section> <!-- layout example --> <pre class="code lang-html"> @@ -2054,7 +2063,7 @@ <span class="com"><!-- Capitalized text --></span> <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"text-capitalize"</span>><<span class="tag">/div</span>> -<span class="com"><!-- Noral weight text --></span> +<span class="com"><!-- Normal weight text --></span> <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"text-normal"</span>><<span class="tag">/div</span>> <span class="com"><!-- Bold text --></span> <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"text-bold"</span>><<span class="tag">/div</span>> @@ -2098,7 +2107,7 @@ <!-- loading example --> <pre class="code lang-html"> <span class="com"><!-- loading element --></span> -<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">""</span>><<span class="tag">/div</span>> +<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"loading"</span>><<span class="tag">/div</span>> </pre> </section> diff --git a/package.json b/package.json index a842b4c..17c1cee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "spectre.css", - "version": "0.1.10", + "version": "0.1.11", "homepage": "http://picturepan2.github.io/spectre", "author": "Yan Zhu <picturepan2@hotmail.com>", "description": "Spectre.css: a lightweight, responsive and modern CSS framework.", @@ -24,7 +24,11 @@ "url": "https://github.com/picturepan2/spectre/issues" }, "devDependencies": { - "less": "^2.6.1", - "less-plugin-autoprefix": "^1.4.2" + "gulp": "^3.9.1", + "gulp-clean-css": "^2.0.6", + "gulp-csscomb": "^3.0.7", + "gulp-less": "^3.0.5", + "gulp-rename": "^1.2.2", + "less-plugin-autoprefix": "^1.5.1" } -}
\ No newline at end of file +} diff --git a/src/animations.less b/src/animations.less index a54d61c..fa7b72a 100644 --- a/src/animations.less +++ b/src/animations.less @@ -16,4 +16,4 @@ margin-top: 0; opacity: 1; } -}
\ No newline at end of file +} diff --git a/src/autocomplete.less b/src/autocomplete.less index 1a27c57..7cff686 100644 --- a/src/autocomplete.less +++ b/src/autocomplete.less @@ -3,49 +3,49 @@ position: relative; .form-autocomplete-input { - display: block; - width: 100%; - max-width: 100%; - min-height: 3.2rem; background-color: #fff; - padding: .3rem .5rem 0 .5rem; border: .1rem solid @control-color; border-radius: .3rem; color: @body-font-color; + display: block; font-size: 1.4rem; line-height: 1.6rem; + max-width: 100%; + min-height: 3.2rem; outline: 0; + padding: .3rem .5rem 0 .5rem; + width: 100%; .chip-sm { margin-bottom: .3rem; } .form-input { - display: inline-block; - border-color: transparent; background-color: #fff; - width: auto; + border-color: transparent; + display: inline-block; height: 2.4rem; - padding: .3rem; margin-bottom: .3rem; + padding: .3rem; vertical-align: top; + width: auto; } } .form-autocomplete-list { - position: absolute; - top: 100%; - left: 0; - z-index: 1988; - display: block; - width: 100%; - height: auto; - padding: .5rem; - margin: .3rem 0 0 0; + background-color: #fff; border: .1rem solid lighten(@control-color, 5%); border-radius: .3rem; - background-color: #fff; + display: block; + height: auto; + left: 0; .light-shadow; + margin: .3rem 0 0 0; + padding: .5rem; + position: absolute; + top: 100%; + width: 100%; + z-index: 1988; .chip { background-color: transparent; @@ -56,4 +56,4 @@ } } } -}
\ No newline at end of file +} diff --git a/src/avatars.less b/src/avatars.less index 159cbbd..3679372 100644 --- a/src/avatars.less +++ b/src/avatars.less @@ -1,59 +1,59 @@ // Avatars .avatar { + border-radius: 50%; display: inline-block; - width: 3.2rem; - height: 3.2rem; font-size: 1.4rem; font-weight: 300; + height: 3.2rem; line-height: 1; margin: 0; - border-radius: 50%; - vertical-align: middle; position: relative; + vertical-align: middle; + width: 3.2rem; &.avatar-xs { - width: 1.6rem; - height: 1.6rem; font-size: .8rem; + height: 1.6rem; + width: 1.6rem; } &.avatar-sm { - width: 2.4rem; - height: 2.4rem; font-size: 1rem; + height: 2.4rem; + width: 2.4rem; } &.avatar-lg { - width: 4.8rem; - height: 4.8rem; font-size: 2rem; + height: 4.8rem; + width: 4.8rem; } &.avatar-xl { - width: 6.4rem; - height: 6.4rem; font-size: 2.6rem; + height: 6.4rem; + width: 6.4rem; } img { - width: 100%; - height: 100%; border-radius: 50%; + height: 100%; + width: 100%; } .avatar-icon { - width: 50%; + background-color: #fff; + bottom: -.2em; height: 50%; padding: 5%; position: absolute; right: -.2em; - bottom: -.2em; - background-color: #fff; + width: 50%; } &[data-initial]::after { + color: #fff; content: attr(data-initial); + left: 50%; position: absolute; top: 50%; - left: 50%; - color: #fff; transform: translate(-50%, -50%); } -}
\ No newline at end of file +} diff --git a/src/badges.less b/src/badges.less index cd4a70d..c18757b 100644 --- a/src/badges.less +++ b/src/badges.less @@ -1,21 +1,21 @@ // Badges .badge { position: relative; - + &::after { - content: attr(data-badge); + background-color: @core-color; + border: .1rem solid #fff; + border-radius: 1rem; color: #fff; + content: attr(data-badge); + display: inline-block; font-size: 1.2rem; - text-align: center; + height: 2rem; line-height: 1.4rem; - background-color: @core-color; - display: inline-block; min-width: 2rem; - height: 2rem; padding: .2rem .5rem; - border: .1rem solid #fff; - border-radius: 1rem; - white-space: nowrap; + text-align: center; transform: translate(-.2rem, -.8rem); + white-space: nowrap; } -}
\ No newline at end of file +} diff --git a/src/base.less b/src/base.less index 01d06bb..284e9b5 100644 --- a/src/base.less +++ b/src/base.less @@ -1,20 +1,19 @@ // Base -* { - box-sizing: border-box; -} -*:before, -*:after { - box-sizing: border-box; +*, +*::before, +*::after { + box-sizing: inherit; } html { + box-sizing: border-box; font-size: 10px; -webkit-tap-highlight-color: transparent; } body { + background-color: @body-bg; color: @body-font-color; font-family: @body-font-family; font-size: @body-font-size; - background-color: @body-bg; } a { color: @core-link-color; @@ -28,8 +27,8 @@ a { // Disabled state &[disabled], .disabled { - opacity: .5; cursor: default; + opacity: .5; pointer-events: none; } @@ -38,9 +37,9 @@ a { .toast, .menu { .icon { - margin-right: .2rem; font-size: 1.3333em; - line-height: 0.8em; + line-height: .8em; + margin-right: .2rem; vertical-align: -20%; } -}
\ No newline at end of file +} diff --git a/src/buttons.less b/src/buttons.less index 41edb47..96cd96b 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -1,53 +1,53 @@ // Buttons .btn { - display: inline-block; - height: 3.2rem; - padding: .7rem 1.5rem; - border: .1rem solid @core-color; + -webkit-appearance: none; background-color: transparent; + border: .1rem solid @core-color; border-radius: .3rem; color: @core-link-color; + cursor: pointer; + display: inline-block; font-size: 1.4rem; + height: 3.2rem; line-height: 1.6rem; + outline: 0; + padding: .7rem 1.5rem; text-align: center; text-decoration: none; + user-select: none; vertical-align: middle; white-space: nowrap; - cursor: pointer; - user-select: none; - -webkit-appearance: none; - outline: 0; &:hover, &:focus { - color: #fff; - border-color: darken(@core-color, 5%); background-color: @core-color; + border-color: darken(@core-color, 5%); + color: #fff; } &:active, &.active { - color: #fff; - border-color: darken(@core-color, 10%); background-color: darken(@core-color, 5%); + border-color: darken(@core-color, 10%); + color: #fff; } // Button Primary &.btn-primary { - color: #fff; - border-color: darken(@core-color, 5%); background-color: @core-color; + border-color: darken(@core-color, 5%); + color: #fff; &:hover, &:focus { - color: #fff; - border-color: darken(@core-color, 10%); background-color: darken(@core-color, 5%); + border-color: darken(@core-color, 10%); + color: #fff; } &:active, &.active { - color: #fff; - border-color: darken(@core-color, 15%); background-color: darken(@core-color, 10%); + border-color: darken(@core-color, 15%); + color: #fff; } &.loading { @@ -61,9 +61,9 @@ // Button Link &.btn-link { - color: @core-link-color; - border-color: transparent; background-color: transparent; + border-color: transparent; + color: @core-link-color; &:hover, &:focus { @@ -77,40 +77,40 @@ // Button Small &.btn-sm { - height: 2.4rem; border-radius: .2rem; font-size: 1.2rem; + height: 2.4rem; line-height: 1.4rem; padding: .4rem 1rem; } // Button Large &.btn-lg { - height: 4.2rem; border-radius: .4rem; font-size: 1.8rem; + height: 4.2rem; line-height: 2rem; padding: 1rem 1.8rem; } // Button Block &.btn-block { - width: 100%; display: block; + width: 100%; } // Button Clear &.btn-clear { - width: 1.4rem; - height: 1.4rem; - padding: 0; - margin: .1rem -.2rem .1rem .2rem; + background-color: transparent; border: 0; border-radius: .7rem; - vertical-align: top; - position: relative; - background-color: transparent; + height: 1.4rem; + margin: .1rem -.2rem .1rem .2rem; opacity: .35; + padding: 0; + position: relative; + vertical-align: top; + width: 1.4rem; &:hover { opacity: .75; @@ -118,26 +118,26 @@ &::before, &::after { + background-color: #333; content: ""; display: block; + left: 50%; position: absolute; top: 50%; - left: 50%; - background-color: #333; transform: rotate(-45deg); } &::before { - width: 1rem; height: .2rem; margin-left: -.5rem; margin-top: -.1rem; + width: 1rem; } &::after { - width: .2rem; height: 1rem; margin-left: -.1rem; margin-top: -.5rem; + width: .2rem; } } } @@ -151,17 +151,17 @@ flex: 1 0 auto; &:first-child:not(:last-child) { - border-top-right-radius: 0; border-bottom-right-radius: 0; + border-top-right-radius: 0; } &:not(:first-child):not(:last-child) { - margin-left: -.1rem; border-radius: 0; + margin-left: -.1rem; } &:last-child:not(:first-child) { - margin-left: -.1rem; - border-top-left-radius: 0; border-bottom-left-radius: 0; + border-top-left-radius: 0; + margin-left: -.1rem; } &:hover, &:focus { diff --git a/src/cards.less b/src/cards.less index 3338fd6..4a46dfd 100644 --- a/src/cards.less +++ b/src/cards.less @@ -1,13 +1,13 @@ // Cards .card { + background-color: #fff; + border-radius: .3rem; display: block; - text-align: left; margin: 0; padding: 0; - border-radius: .3rem; - background-color: #fff; - z-index: 999; .shadow; + text-align: left; + z-index: 999; .card-header, .card-image, @@ -33,15 +33,15 @@ } } .card-title { - margin-top: 0; - margin-bottom: .5rem; font-size: 1.6em; line-height: 1; + margin-bottom: .5rem; + margin-top: 0; } .card-meta { - margin-top: 0; - margin-bottom: 0; - font-size: 1em; color: lighten(@body-font-color, 50%); + font-size: 1em; + margin-bottom: 0; + margin-top: 0; } -}
\ No newline at end of file +} diff --git a/src/chips.less b/src/chips.less index 4ea0016..a6f05f8 100644 --- a/src/chips.less +++ b/src/chips.less @@ -1,14 +1,14 @@ // Chips .chip { - display: flex; - padding: .3rem .8rem; + align-content: space-around; + align-items: center; border: .1rem solid transparent; border-radius: .3rem; - margin: 0; - list-style: none; - align-items: center; - align-content: space-around; color: #666; + display: flex; + list-style: none; + margin: 0; + padding: .3rem .8rem; .chip-icon { flex: 0 0 auto; @@ -22,21 +22,21 @@ flex: 0 0 auto; .btn { - padding: .7rem .5rem; border-color: transparent; color: @control-color; + padding: .7rem .5rem; &:hover, &:focus { - color: @core-color; - border-color: transparent; background-color: transparent; + border-color: transparent; + color: @core-color; } &:active, &.active { - color: darken(@core-color, 5%); - border-color: transparent; background-color: transparent; + border-color: transparent; + color: darken(@core-color, 5%); } } } @@ -44,17 +44,17 @@ // Small chips .chip-sm { - display: inline-flex; align-items: center; - vertical-align: middle; - max-width: 100%; - height: 2.4rem; - padding: .3rem .6rem; - border-radius: .3rem; - font-size: 1.2rem; background-color: lighten(@core-color, 40%); + border-radius: .3rem; color: #666; + display: inline-flex; + font-size: 1.2rem; + height: 2.4rem; + max-width: 100%; + padding: .3rem .6rem; text-decoration: none; + vertical-align: middle; &:hover, &:focus { @@ -86,8 +86,8 @@ } .avatar { - width: 1.6rem; - height: 1.6rem; font-size: .8rem; + height: 1.6rem; + width: 1.6rem; } -}
\ No newline at end of file +} diff --git a/src/fileicons.less b/src/fileicons.less index 585cbaa..534ed0c 100644 --- a/src/fileicons.less +++ b/src/fileicons.less @@ -1,113 +1,113 @@ // File icons .file-icon { - display: inline-block; - width: 2.4rem; - height: 3.2rem; background-color: transparent; - position: relative; - border-width: 0 0 2.2rem 1.4rem; - border-style: solid; border-color: @control-color; border-radius: .2rem; + border-style: solid; + border-width: 0 0 2.2rem 1.4rem; + display: inline-block; + height: 3.2rem; + position: relative; text-align: left; + width: 2.4rem; zoom: 1; &::before, &::after { - position: absolute; - top: 0; - right: 0; - content: ''; - width: 1rem; - height: 1rem; + background-color: transparent; border: .5rem solid @control-color; border-right-color: transparent; border-top-color: transparent; - background-color: transparent; + content: ""; + height: 1rem; + position: absolute; + right: 0; + top: 0; + width: 1rem; z-index: 2; } &::after { - content: attr(data-type); - border-color: rgba(255, 255, 255, .5); border-bottom-left-radius: .2rem; + border-color: rgba(255, 255, 255, .5); color: #fff; + content: attr(data-type); font-size: 1rem; - text-indent: -1.6rem; line-height: 3.6rem; + text-indent: -1.6rem; z-index: 3; } &.file-icon-xs { - width: 1.2rem; - height: 1.6rem; border-width: 0 0 1.2rem .8rem; + height: 1.6rem; + width: 1.2rem; &::before, &::after { - width: .4rem; - height: .4rem; border-width: .2rem; + height: .4rem; + width: .4rem; } &::after { - text-indent: -.8rem; - line-height: 1.6rem; - font-size: .8rem; border-radius: .1rem; - content: '--'; + content: "--"; + font-size: .8rem; + line-height: 1.6rem; + text-indent: -.8rem; } } &.file-icon-sm { - width: 1.8rem; - height: 2.4rem; border-width: 0 0 1.6rem 1rem; + height: 2.4rem; + width: 1.8rem; &::before, &::after { - width: .8rem; - height: .8rem; border-width: .4rem; + height: .8rem; + width: .8rem; } &::after { - text-indent: -1.2rem; - line-height: 2.6rem; font-size: .8rem; + line-height: 2.6rem; + text-indent: -1.2rem; } } &.file-icon-lg { - width: 3.6rem; - height: 4.8rem; border-width: 0 0 3.4rem 2.2rem; + height: 4.8rem; + width: 3.6rem; &::before, &::after { - width: 1.4rem; - height: 1.4rem; border-width: .7rem; + height: 1.4rem; + width: 1.4rem; } &::after { - text-indent: -2.6rem; - line-height: 6.2rem; font-size: 1.2rem; + line-height: 6.2rem; + text-indent: -2.6rem; } } &.file-icon-xl { - width: 4.8rem; - height: 6.4rem; - border-width: 0 0 4.6rem 3rem; border-radius: .3rem; + border-width: 0 0 4.6rem 3rem; + height: 6.4rem; + width: 4.8rem; &::before, &::after { - width: 1.8rem; - height: 1.8rem; border-width: .9rem; + height: 1.8rem; + width: 1.8rem; } &::after { - text-indent: -3.4rem; - line-height: 8.8rem; font-size: 1.4rem; + line-height: 8.8rem; + text-indent: -3.4rem; } } } -// TODO: File types
\ No newline at end of file +// TODO: File types diff --git a/src/forms.less b/src/forms.less index a9f9703..6dbe030 100644 --- a/src/forms.less +++ b/src/forms.less @@ -123,7 +123,7 @@ &:focus { border-color: @core-color; } - select::-ms-expand { + &::-ms-expand { display: none; } @@ -300,4 +300,3 @@ } } } - diff --git a/src/labels.less b/src/labels.less index f08f5bc..29b3b81 100644 --- a/src/labels.less +++ b/src/labels.less @@ -1,16 +1,16 @@ // Labels .label { + background-color: @core-border-color; + border-radius: .2rem; + color: lighten(@body-font-color, 20%); display: inline-block; - padding: .2rem .4rem; font-size: .9em; line-height: 1em; - color: lighten(@body-font-color, 20%); - background-color: @core-border-color; + margin: -.2rem .1em 0 .1em; + padding: .2rem .4rem; text-align: center; - white-space: nowrap; vertical-align: baseline; - margin: -.2rem .1em 0 .1em; - border-radius: .2rem; + white-space: nowrap; &.label-primary { .toast-variant(@core-color); @@ -27,4 +27,4 @@ &.label-danger { .toast-variant(@control-color-danger); } -}
\ No newline at end of file +} diff --git a/src/layout.less b/src/layout.less index 3425d0c..1a4ed06 100644 --- a/src/layout.less +++ b/src/layout.less @@ -1,25 +1,25 @@ // Layout .container { - width: 100%; - overflow-x: hidden; margin-left: auto; margin-right: auto; + overflow-x: hidden; padding-left: 1rem; padding-right: 1rem; + width: 100%; &:extend(.clearfix all); } @media screen and (min-width: 981px) { .grid-960 { - width: 96rem; margin-left: auto; margin-right: auto; + width: 96rem; } } @media screen and (min-width: 481px) { .grid-480 { - width: 48rem; margin-left: auto; margin-right: auto; + width: 48rem; } } @@ -138,4 +138,4 @@ .hide-xl { display: none !important; } -}
\ No newline at end of file +} diff --git a/src/media.less b/src/media.less index a3e055e..f27c068 100644 --- a/src/media.less +++ b/src/media.less @@ -1,28 +1,28 @@ // Media .img-responsive { display: block; - max-width: 100%; height: auto; + max-width: 100%; } .video-responsive { - position: relative; height: 0; - padding-top: 3rem; - padding-bottom: 56.25%; /* 16:9 */ overflow: hidden; + padding-bottom: 56.25%; /* 16:9 */ + padding-top: 3rem; + position: relative; iframe, object, embed { + height: 100%; + left: 0; position: absolute; top: 0; - left: 0; width: 100%; - height: 100%; } video { - width: 100%; - max-width: 100%; height: auto; + max-width: 100%; + width: 100%; } -}
\ No newline at end of file +} diff --git a/src/menus.less b/src/menus.less index 649cd53..17060cf 100644 --- a/src/menus.less +++ b/src/menus.less @@ -1,30 +1,30 @@ // Menus .menu { + background-color: #fff; + border-radius: .3rem; display: block; - text-align: left; margin: 0; padding: .5rem; - border-radius: .3rem; - background-color: #fff; - z-index: 999; .shadow; + text-align: left; + z-index: 999; .menu-item { - display: block; - padding: .2rem 1rem; - margin-top: .1rem; border-radius: .3rem; color: @body-font-color; + display: block; line-height: 2.4rem; + margin-top: .1rem; + padding: .2rem 1rem; text-decoration: none; user-select: none; a { + border-radius: .3rem; + color: inherit; display: block; margin: -.2rem -1rem; padding: .2rem 1rem; - border-radius: .3rem; - color: inherit; text-decoration: none; &:hover, @@ -33,42 +33,42 @@ } &:active, &.active { - color: darken(@core-link-color, 5%); background-color: lighten(@core-color, 40%); + color: darken(@core-link-color, 5%); } } } .menu-header { + color: lighten(@body-font-color, 60%); display: block; - padding: .2rem 1rem; - margin-top: 0; font-size: 1.2rem; line-height: 1.8rem; - color: lighten(@body-font-color, 60%); + margin-top: 0; + padding: .2rem 1rem; .menu-header-text { + background-color: #fff; display: inline-block; - padding: 0 .6rem; margin-left: -.6rem; - background-color: #fff; + padding: 0 .6rem; position: relative; z-index: 99; } - &:after { + &::after { + border-bottom: .1rem solid @core-border-color; content: ""; display: block; - width: 100%; height: .1rem; transform: translateY(-1rem); - border-bottom: .1rem solid @core-border-color; + width: 100%; } } .divider { - display: block; border-bottom: .1rem solid @core-border-color; + display: block; margin: .5rem; } } diff --git a/src/modals.less b/src/modals.less index bdfe8b8..f2d36b7 100644 --- a/src/modals.less +++ b/src/modals.less @@ -1,29 +1,29 @@ // Modals .modal { - display: none; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; align-items: center; + bottom: 0; + display: none; justify-content: center; - overflow: hidden; + left: 0; opacity: 0; + overflow: hidden; + position: fixed; + right: 0; + top: 0; &.active { display: flex; - z-index: 1988; opacity: 1; + z-index: 1988; .modal-overlay { + background-color: rgba(0, 0, 0, .75); + bottom: 0; display: block; + left: 0; position: absolute; - top: 0; right: 0; - bottom: 0; - left: 0; - background-color: rgba(0, 0, 0, .75); + top: 0; } .modal-container { animation: slide-down .216s; @@ -31,29 +31,29 @@ } } .modal-container { + animation: slide-up .216s; + background-color: #fff; + border-radius: .3rem; display: block; - text-align: left; margin: 0 auto; padding: 0; - border-radius: .3rem; - background-color: #fff; - z-index: 1988; - animation: slide-up .216s; .shadow; + text-align: left; + z-index: 1988; .modal-header { padding: 1.5rem; .modal-title { - margin: 0; font-size: 1.5rem; + margin: 0; } } .modal-body { - position: relative; - padding: 1.5rem; max-height: 50vh; overflow-y: auto; + padding: 1.5rem; + position: relative; } .modal-footer { padding: 1.5rem; @@ -71,4 +71,4 @@ width: 32rem; } } -}
\ No newline at end of file +} diff --git a/src/navigation.less b/src/navigation.less index b7f42f7..5f51b0e 100644 --- a/src/navigation.less +++ b/src/navigation.less @@ -27,27 +27,27 @@ &:not(:last-child) { &::after { + color: @control-color; content: "/"; padding: 0 .4rem; - color: @control-color; } } } } // Tabs .tab { - display: block; border-bottom: .1rem solid @control-color; + display: block; .tab-item { display: inline-block; margin-bottom: -.1rem; a { - display: block; - padding: .5rem 1.5rem; border-bottom: .2rem solid transparent; color: @body-font-color; + display: block; + padding: .5rem 1.5rem; text-decoration: none; &:hover, @@ -87,10 +87,10 @@ padding: .6rem .5rem; } a { + border-radius: .3rem; display: inline-block; - padding: .6rem 1.2rem; margin: 0 .1rem; - border-radius: .3rem; + padding: .6rem 1.2rem; text-decoration: none; &:hover, @@ -101,10 +101,9 @@ &.active { a { - color: #fff; background-color: @core-color; + color: #fff; } } } } - diff --git a/src/normalize.less b/src/normalize.less index e376c84..f48215b 100644 --- a/src/normalize.less +++ b/src/normalize.less @@ -7,8 +7,8 @@ html { font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ + -ms-text-size-adjust: 100%; /* 2 */ } /** @@ -30,16 +30,19 @@ body { article, aside, -details, /* 1 */ +details, +/* 1 */ figcaption, figure, footer, header, -main, /* 2 */ +main, +/* 2 */ menu, nav, section, -summary { /* 1 */ +summary { + /* 1 */ display: block; } @@ -76,7 +79,8 @@ progress { * 1. Add the correct display in IE. */ -template, /* 1 */ +template, +/* 1 */ [hidden] { display: none; } @@ -112,8 +116,8 @@ a:hover { abbr[title] { border-bottom: none; /* 1 */ - text-decoration: underline; /* 2 */ text-decoration: underline dotted; /* 2 */ + text-decoration: underline; /* 2 */ } /** @@ -149,7 +153,7 @@ dfn { h1 { font-size: 2em; - margin: 0.67em 0; + margin: .67em 0; } /** @@ -183,11 +187,11 @@ sup { } sub { - bottom: -0.25em; + bottom: -.25em; } sup { - top: -0.5em; + top: -.5em; } /* Embedded content @@ -273,8 +277,10 @@ optgroup { */ button, -input, /* 1 */ -select { /* 2 */ +input, +/* 1 */ +select { + /* 2 */ overflow: visible; } @@ -286,7 +292,8 @@ select { /* 2 */ button, input, select, -textarea { /* 1 */ +textarea { + /* 1 */ margin: 0; } @@ -296,7 +303,8 @@ textarea { /* 1 */ */ button, -select { /* 1 */ +select { + /* 1 */ text-transform: none; } @@ -326,7 +334,8 @@ button, */ button, -html [type="button"], /* 1 */ +html [type="button"], +/* 1 */ [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ @@ -358,7 +367,7 @@ input:-moz-focusring { fieldset { border: 1px solid #c0c0c0; margin: 0 2px; - padding: 0.35em 0.625em 0.75em; + padding: .35em .625em .75em; } /** @@ -421,4 +430,4 @@ textarea { [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; -}
\ No newline at end of file +} diff --git a/src/tables.less b/src/tables.less index 85306ee..d071b0d 100644 --- a/src/tables.less +++ b/src/tables.less @@ -1,14 +1,14 @@ // Tables .table { - width: 100%; border-collapse: collapse; border-spacing: 0; + width: 100%; th, td { - text-align: left; - padding: 1.5rem 1rem; border-bottom: .1rem solid @core-border-color; + padding: 1.5rem 1rem; + text-align: left; } th { border-color: darken(@core-border-color, 15%); @@ -16,4 +16,4 @@ .selected { background-color: lighten(@core-border-color, 2%); } -}
\ No newline at end of file +} diff --git a/src/toasts.less b/src/toasts.less index fe6081a..a495e89 100644 --- a/src/toasts.less +++ b/src/toasts.less @@ -1,12 +1,12 @@ // Toasts .toast { - display: block; - width: 100%; - padding: 1.4rem; - color: #666; + background-color: @core-border-color; border: .1rem solid darken(@core-border-color, 2%); border-radius: .3rem; - background-color: @core-border-color; + color: #666; + display: block; + padding: 1.4rem; + width: 100%; &.toast-primary { .toast-variant(@core-color); @@ -37,4 +37,4 @@ border-top-right-radius: 0; margin-top: -.1rem; } -}
\ No newline at end of file +} diff --git a/src/tooltips.less b/src/tooltips.less index ab3e754..6659604 100644 --- a/src/tooltips.less +++ b/src/tooltips.less @@ -3,25 +3,25 @@ position: relative; &::after { - content: attr(data-tooltip); - display: block; - max-width: 32rem; - padding: .6rem 1rem; - border-radius: .3rem; background-color: fade(#333, 90%); - opacity: 0; + border-radius: .3rem; + bottom: 100%; color: #fff; + content: attr(data-tooltip); + display: block; font-size: 1.2rem; - line-height: 1.6rem; - text-overflow: ellipsis; - position: absolute; - bottom: 100%; left: 50%; - transform: translate(-50%, 0); + line-height: 1.6rem; + max-width: 32rem; + opacity: 0; overflow: hidden; - z-index: 99; + padding: .6rem 1rem; pointer-events: none; + position: absolute; + text-overflow: ellipsis; + transform: translate(-50%, 0); transition: all .216s ease; + z-index: 99; } &:hover, &:focus { @@ -46,8 +46,8 @@ } &.tooltip-bottom { &::after { - top: 100%; bottom: auto; + top: 100%; transform: translate(-50%, 0); } &:hover, @@ -59,9 +59,9 @@ } &.tooltip-left { &::after { - right: 100%; bottom: 50%; left: auto; + right: 100%; transform: translate(0, 50%); } &:hover, @@ -71,4 +71,4 @@ } } } -}
\ No newline at end of file +} diff --git a/src/typography.less b/src/typography.less index d6e7714..f3c0fc3 100644 --- a/src/typography.less +++ b/src/typography.less @@ -5,11 +5,11 @@ h3, h4, h5, h6 { + color: inherit; font-weight: 300; line-height: 1.1; - margin-top: 2.5rem; margin-bottom: 1.5rem; - color: inherit; + margin-top: 2.5rem; } h1 { font-size: 5rem; @@ -34,15 +34,15 @@ p { margin: 0 0 1rem; } blockquote { - padding: 1rem 2rem; border-left: .2rem solid #ddd; + padding: 1rem 2rem; margin-left: 0; p:last-child { margin-bottom: 0; } - .blockquote-source { + cite { color: lighten(@body-font-color, 50%); } } diff --git a/src/utilities.less b/src/utilities.less index c47f5a0..9cea197 100644 --- a/src/utilities.less +++ b/src/utilities.less @@ -101,11 +101,11 @@ visibility: hidden; } .text-hide { - font: 0/0 a; - color: transparent; - text-shadow: none; background-color: transparent; border: 0; + color: transparent; + font: 0/0 a; + text-shadow: none; } // Text .text-left { @@ -142,19 +142,19 @@ } .text-ellipsis { - white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; } .text-clip { - white-space: nowrap; overflow: hidden; text-overflow: clip; + white-space: nowrap; } .text-break { + hyphens: auto; word-break: break-word; word-wrap: break-word; - hyphens: auto; } .hand { cursor: pointer; @@ -178,25 +178,25 @@ // Loading .loading { + color: transparent !important; min-height: 1.6rem; - position: relative; pointer-events: none; - color: transparent !important; + position: relative; &::after { + animation: loading 500ms infinite linear; border: .2rem solid @core-color; + border-radius: .8rem; border-right-color: transparent; border-top-color: transparent; - border-radius: .8rem; content: ""; - position: absolute; + display: block; + height: 1.6rem; left: 50%; - top: 50%; margin-left: -.8rem; margin-top: -.8rem; - display: block; + position: absolute; + top: 50%; width: 1.6rem; - height: 1.6rem; - animation: loading 500ms infinite linear; } -}
\ No newline at end of file +} diff --git a/src/variables.less b/src/variables.less index d875d93..198ab0e 100644 --- a/src/variables.less +++ b/src/variables.less @@ -20,18 +20,18 @@ // Mixins .clearfix() { &::after { + clear: both; content: ""; display: table; - clear: both; } } .toast-variant(@color) { - color: #fff; background-color: @color; border-color: darken(@color, 2%); + color: #fff; } .label-variant(@color) { - color: #fff; background-color: @color; -}
\ No newline at end of file + color: #fff; +} |