diff options
author | Yan Zhu <picturepan2@hotmail.com> | 2016-05-05 12:35:26 +0300 |
---|---|---|
committer | Yan Zhu <picturepan2@hotmail.com> | 2016-05-05 12:35:26 +0300 |
commit | fa396105151fc622503a23d61e5a9f1225d52405 (patch) | |
tree | 85a029b6fe82f8817372249c5655fc2b2aee4aa7 | |
parent | e0b8c0453aa5f5ac70558ae6ccf626c6182052f6 (diff) | |
parent | 2861b7bfdbf2c39b8ad404afbcbf2f3db59818df (diff) |
Merge pull request #36 from picturepan2/feature/more-layoutv0.1.19
Feature/more layout
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | bower.json | 2 | ||||
-rw-r--r-- | dist/spectre.css | 638 | ||||
-rw-r--r-- | dist/spectre.min.css | 2 | ||||
-rw-r--r-- | index.html | 539 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | spectre.less | 6 | ||||
-rw-r--r-- | src/avatars.less | 2 | ||||
-rw-r--r-- | src/badges.less | 2 | ||||
-rw-r--r-- | src/base.less | 4 | ||||
-rw-r--r-- | src/buttons.less | 12 | ||||
-rw-r--r-- | src/chips.less | 2 | ||||
-rw-r--r-- | src/empty.less | 18 | ||||
-rw-r--r-- | src/fileicons.less | 2 | ||||
-rw-r--r-- | src/forms.less | 9 | ||||
-rw-r--r-- | src/layout.less | 21 | ||||
-rw-r--r-- | src/navbar.less | 13 | ||||
-rw-r--r-- | src/navigation.less | 2 | ||||
-rw-r--r-- | src/tooltips.less | 2 | ||||
-rw-r--r-- | src/variables.less | 12 |
20 files changed, 770 insertions, 527 deletions
@@ -35,12 +35,17 @@ You can compiling your custom version of Spectre.css. Read [the documentation](h #### Elements - [typography](http://picturepan2.github.io/spectre/#typography) - headings, paragraphs, blockquote, lists and code elements, optimized for asian fonts -- [layout](http://picturepan2.github.io/spectre/#layout) - flexbox based responsive layout system - [tables](http://picturepan2.github.io/spectre/#tables) - organize and display data - [buttons](http://picturepan2.github.io/spectre/#buttons) - button styles in different types and sizes, and even button groups - [forms](http://picturepan2.github.io/spectre/#forms) - input, radio, checkbox, switch and other form elements - [media](http://picturepan2.github.io/spectre/#media) - responsive image and video class +#### Layout +- [flexbox-grid](http://picturepan2.github.io/spectre/#grid) - flexbox based responsive grid system +- [responsive](http://picturepan2.github.io/spectre/#responsive) - responsive grid and utilities +- [navbar](http://picturepan2.github.io/spectre/#navbar) - header layout of apps and websites +- [empty states](http://picturepan2.github.io/spectre/#empty) - empty states/blank slates for first time use, empty data and error screens + #### Components - [avatars](http://picturepan2.github.io/spectre/#avatars) - user profile pictures or name initials rendered avatar @@ -1,6 +1,6 @@ { "name": "spectre.css", - "version": "0.1.18", + "version": "0.1.19", "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 89ae1d7..fdb7b99 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -368,7 +368,7 @@ textarea { html { box-sizing: border-box; font-size: 10px; - line-height: 1.428571429; + line-height: 1.42857143; -webkit-tap-highlight-color: transparent; } body { @@ -513,306 +513,6 @@ pre code { margin-bottom: 0; margin-top: 0; } -.container { - 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 { - 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: flex; - display: -ms-flexbox; - display: -webkit-flex; - margin-left: -1rem; - margin-right: -1rem; -} -.column { - -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-flex: none; - -ms-flex: none; - flex: none; -} -.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) { - .col-xs-12, - .col-xs-11, - .col-xs-10, - .col-xs-9, - .col-xs-8, - .col-xs-7, - .col-xs-6, - .col-xs-5, - .col-xs-4, - .col-xs-3, - .col-xs-2, - .col-xs-1 { - -webkit-flex: none; - -ms-flex: none; - flex: none; - } - .col-xs-12 { - width: 100%; - } - .col-xs-11 { - width: 91.66666667%; - } - .col-xs-10 { - width: 83.33333333%; - } - .col-xs-9 { - width: 75%; - } - .col-xs-8 { - width: 66.66666667%; - } - .col-xs-7 { - width: 58.33333333%; - } - .col-xs-6 { - width: 50%; - } - .col-xs-5 { - width: 41.66666667%; - } - .col-xs-4 { - width: 33.33333333%; - } - .col-xs-3 { - width: 25%; - } - .col-xs-2 { - width: 16.66666667%; - } - .col-xs-1 { - width: 8.33333333%; - } -} -@media screen and (min-width: 601px) { - .col-sm-12, - .col-sm-11, - .col-sm-10, - .col-sm-9, - .col-sm-8, - .col-sm-7, - .col-sm-6, - .col-sm-5, - .col-sm-4, - .col-sm-3, - .col-sm-2, - .col-sm-1 { - -webkit-flex: none; - -ms-flex: none; - flex: none; - } - .col-sm-12 { - width: 100%; - } - .col-sm-11 { - width: 91.66666667%; - } - .col-sm-10 { - width: 83.33333333%; - } - .col-sm-9 { - width: 75%; - } - .col-sm-8 { - width: 66.66666667%; - } - .col-sm-7 { - width: 58.33333333%; - } - .col-sm-6 { - width: 50%; - } - .col-sm-5 { - width: 41.66666667%; - } - .col-sm-4 { - width: 33.33333333%; - } - .col-sm-3 { - width: 25%; - } - .col-sm-2 { - width: 16.66666667%; - } - .col-sm-1 { - width: 8.33333333%; - } -} -@media screen and (min-width: 841px) { - .col-md-12, - .col-md-11, - .col-md-10, - .col-md-9, - .col-md-8, - .col-md-7, - .col-md-6, - .col-md-5, - .col-md-4, - .col-md-3, - .col-md-2, - .col-md-1 { - -webkit-flex: none; - -ms-flex: none; - flex: none; - } - .col-md-12 { - width: 100%; - } - .col-md-11 { - width: 91.66666667%; - } - .col-md-10 { - width: 83.33333333%; - } - .col-md-9 { - width: 75%; - } - .col-md-8 { - width: 66.66666667%; - } - .col-md-7 { - width: 58.33333333%; - } - .col-md-6 { - width: 50%; - } - .col-md-5 { - width: 41.66666667%; - } - .col-md-4 { - width: 33.33333333%; - } - .col-md-3 { - width: 25%; - } - .col-md-2 { - width: 16.66666667%; - } - .col-md-1 { - width: 8.33333333%; - } -} -@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 { - margin-bottom: 0; - padding: .8rem .4rem; - } - .form-horizontal .form-checkbox, - .form-horizontal .form-radio { - margin: .5rem 0; - } -} -@media screen and (max-width: 480px) { - .columns { - display: block; - } - .columns .column { - width: 100%; - } -} -@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; @@ -1212,7 +912,7 @@ textarea.form-input { display: -webkit-flex; } .input-group .input-group-addon { - background: #efefef; + background: #f9f9f9; border: .1rem solid #c5c5c5; border-radius: .3rem; line-height: 1.6rem; @@ -1248,6 +948,340 @@ textarea.form-input { .input-group .input-group-btn:focus { z-index: 99; } +.form-inline { + display: inline-block; + vertical-align: middle; + width: auto; +} +.container { + margin-left: auto; + margin-right: auto; + overflow-x: hidden; + padding-left: 1rem; + padding-right: 1rem; + width: 100%; +} +@media screen and (min-width: 980px) { + .grid-960 { + width: 98rem; + } +} +@media screen and (min-width: 500px) { + .grid-480 { + width: 50rem; + } +} +.columns { + display: flex; + display: -ms-flexbox; + display: -webkit-flex; + margin-left: -1rem; + margin-right: -1rem; +} +.column { + -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-flex: none; + -ms-flex: none; + flex: none; +} +.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) { + .col-xs-12, + .col-xs-11, + .col-xs-10, + .col-xs-9, + .col-xs-8, + .col-xs-7, + .col-xs-6, + .col-xs-5, + .col-xs-4, + .col-xs-3, + .col-xs-2, + .col-xs-1 { + -webkit-flex: none; + -ms-flex: none; + flex: none; + } + .col-xs-12 { + width: 100%; + } + .col-xs-11 { + width: 91.66666667%; + } + .col-xs-10 { + width: 83.33333333%; + } + .col-xs-9 { + width: 75%; + } + .col-xs-8 { + width: 66.66666667%; + } + .col-xs-7 { + width: 58.33333333%; + } + .col-xs-6 { + width: 50%; + } + .col-xs-5 { + width: 41.66666667%; + } + .col-xs-4 { + width: 33.33333333%; + } + .col-xs-3 { + width: 25%; + } + .col-xs-2 { + width: 16.66666667%; + } + .col-xs-1 { + width: 8.33333333%; + } +} +@media screen and (min-width: 601px) { + .col-sm-12, + .col-sm-11, + .col-sm-10, + .col-sm-9, + .col-sm-8, + .col-sm-7, + .col-sm-6, + .col-sm-5, + .col-sm-4, + .col-sm-3, + .col-sm-2, + .col-sm-1 { + -webkit-flex: none; + -ms-flex: none; + flex: none; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666667%; + } + .col-sm-10 { + width: 83.33333333%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666667%; + } + .col-sm-7 { + width: 58.33333333%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666667%; + } + .col-sm-4 { + width: 33.33333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.66666667%; + } + .col-sm-1 { + width: 8.33333333%; + } +} +@media screen and (min-width: 841px) { + .col-md-12, + .col-md-11, + .col-md-10, + .col-md-9, + .col-md-8, + .col-md-7, + .col-md-6, + .col-md-5, + .col-md-4, + .col-md-3, + .col-md-2, + .col-md-1 { + -webkit-flex: none; + -ms-flex: none; + flex: none; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666667%; + } + .col-md-10 { + width: 83.33333333%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666667%; + } + .col-md-7 { + width: 58.33333333%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666667%; + } + .col-md-4 { + width: 33.33333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.66666667%; + } + .col-md-1 { + width: 8.33333333%; + } +} +@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 { + margin-bottom: 0; + padding: .8rem .4rem; + } + .form-horizontal .form-checkbox, + .form-horizontal .form-radio { + margin: .5rem 0; + } +} +@media screen and (max-width: 480px) { + .columns { + display: block; + } + .columns .column { + width: 100%; + } +} +@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; + } +} +.navbar { + -webkit-align-items: center; + align-items: center; + display: flex; + display: -ms-flexbox; + display: -webkit-flex; + -ms-flex-align: center; + -ms-flex-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + padding: 1rem; +} +.navbar .navbar-brand { + font-size: 2rem; + text-decoration: none; + vertical-align: middle; +} +.empty { + background: #f8f8f8; + border-radius: .3rem; + padding: 2rem; + text-align: center; +} +.empty .empty-title { + font-size: 1.8rem; + margin: 1.5rem 0 .5rem 0; +} +.empty .empty-meta { + color: #888; +} +.empty .btn { + margin-top: 1.5rem; +} .avatar { border-radius: 50%; display: inline-block; diff --git a/dist/spectre.min.css b/dist/spectre.min.css index 099f028..794f426 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 */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-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}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}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;line-height:1.428571429;-webkit-tap-highlight-color:transparent}body{margin:0;background:#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%}pre,pre code{line-height:1.8rem}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{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}dl dt{font-weight:700}dl dd{margin:.5rem 0 1.5rem}.lead{font-size:120%}.highlight,code,mark{border-radius:.2rem;display:inline;font-size:1em;padding:.1em .3em;vertical-align:baseline}.highlight,mark{background:#ffe5a3}pre{background:#f9f9f9;border-left:.2rem solid #5764c6;margin-bottom:1em;margin-top:1em;padding:1.5rem}code{background:#efefef;white-space:nowrap}pre code{background:0 0;border-left:0;margin-top:0}.btn,.form-input{line-height:1.6rem;-webkit-appearance:none;outline:0}.container{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{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:flex;display:-ms-flexbox;display:-webkit-flex;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}.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){.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{-webkit-flex:none;-ms-flex:none;flex:none}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}}@media screen and (min-width:601px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{-webkit-flex:none;-ms-flex:none;flex:none}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}}@media screen and (min-width:841px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{-webkit-flex:none;-ms-flex:none;flex:none}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.form-horizontal{padding:1rem}.form-horizontal .form-group{display:flex;display:-ms-flexbox;display:-webkit-flex}.form-horizontal .form-label{margin-bottom:0;padding:.8rem .4rem}.form-horizontal .form-checkbox,.form-horizontal .form-radio{margin:.5rem 0}}@media screen and (max-width:480px){.columns{display:block}.columns .column{width:100%}.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%}.video-responsive-4-3{padding-bottom:75%}.table{border-collapse:collapse;border-spacing:0;width:100%}.table.table-striped tbody tr:nth-of-type(odd){background:#fcfcfc}.table.table-hover tbody tr:hover{background:#f4f4f4}.table.table-hover tbody tr.selected{background:#f2f2f2}.table td,.table th{border-bottom:.1rem solid #efefef;padding:1.5rem 1rem;text-align:left}.badge[data-badge]::after,.btn{text-align:center;white-space:nowrap}.table th{border-color:#c9c9c9}.btn{background:0 0;border:.1rem solid #5764c6;border-radius:.3rem;color:#5764c6;display:inline-block;font-size:1.4rem;height:3.2rem;padding:.7rem 1.5rem;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.btn:focus,.btn:hover{background:#5764c6;border-color:#4452c0;color:#fff}.btn.active,.btn:active{background:#4452c0;border-color:#3b49af;color:#fff}.btn.btn-primary{background:#5764c6;border-color:#4452c0;color:#fff}.btn.btn-primary:focus,.btn.btn-primary:hover{background:#4452c0;border-color:#3b49af;color:#fff}.btn.btn-primary.active,.btn.btn-primary:active{background:#3b49af;border-color:#35419c;color:#fff}.btn.btn-primary.loading::after{border-color:transparent transparent #fff #fff}.btn.btn-link{background:0 0;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{background:0 0;border:0;color:#666;height:2rem;margin-left:.3rem;opacity:.45;padding:0}.btn.btn-clear:hover{opacity:.85}.btn.btn-clear::before{content:"\00d7";font-size: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}.form-input{background:#fff;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;display:block;font-size:1.4rem;height:3.2rem;max-width:100%;padding:.7rem .8rem;position:relative;width:100%}.form-input:focus{border-color:#5764c6}.form-input[disabled]{background:#eeeff2}.form-input.input-sm{border-radius:.2rem;font-size:1.2rem;height:2.4rem;padding:.3rem .6rem}.form-input.input-lg{border-radius:.4rem;font-size:1.6rem;height:4.2rem;line-height: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 2rem .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;transition:all .15s ease;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:#5764c6;border-color:#5764c6}.form-checkbox .form-icon{border-radius:.2rem}.form-checkbox input:checked+.form-icon::after{background-clip:padding-box;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:#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:#c5c5c5;background-clip:padding-box;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}.form-switch .form-icon::after{background:#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:#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:#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;vertical-align:middle;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:#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:#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 .3rem 0;width:100%}.form-autocomplete .form-autocomplete-input .chip-sm{margin-bottom:.3rem}.form-autocomplete .form-autocomplete-input .form-input{background:#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:#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}.menu,.modal-container,.shadow{box-shadow:0 .1rem .4rem rgba(0,0,0,.3)}.form-autocomplete .form-autocomplete-item{border-radius:.3rem;display:block;margin-top:.1rem;padding:.2rem 1rem}.form-autocomplete .form-autocomplete-item:focus,.form-autocomplete .form-autocomplete-item:hover{background:#f7f8fc}.form-autocomplete .form-autocomplete-item.active{background:#eff1fa}.badge{position:relative}.badge[data-badge]::after{background:#5764c6;background-clip:padding-box;border:.1rem solid #fff;border-radius:1rem;color:#fff;content:attr(data-badge);display:inline-block;font-size:1.1rem;height:1.8rem;line-height:1.2rem;min-width:1.8rem;padding:.2rem .5rem;-webkit-transform:translate(-.2rem,-.8rem);transform:translate(-.2rem,-.8rem)}.card,.menu{display:block;z-index:999}.card,.menu,.text-left{text-align:left}.card{background:#fff;border:.1rem solid #efefef;border-radius:.3rem;margin:0;padding:0}.card .card-body,.card .card-footer,.card .card-header{padding:1.5rem 1.5rem 0}.card .card-body:last-child,.card .card-footer:last-child,.card .card-header:last-child{padding-bottom:1.5rem}.card .card-image{padding-top:1.5rem}.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-image:last-child img{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.card .card-title{font-size:1.4em;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;display:flex;display:-ms-flexbox;display:-webkit-flex;-ms-flex-align:center;-ms-flex-line-pack:distribute;list-style:none;margin:0;padding:.5rem 0}.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-title{font-size:1.4rem}.chip .chip-meta{color:#b3b3b3;font-size:1.2rem}.chip-sm{align-items:center;background:#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:focus,.chip-sm:hover{background:#e8eaf7}.chip-sm .btn-clear{margin-top:-.2rem}.chip-sm .btn-clear::before{color:#3b49af;font-size:1.6rem}.chip-sm.selected{background:#5764c6;color:#fff}.chip-sm.selected .btn-clear::before{color:#eff1fa}.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{background:#efefef;border-radius:.2rem;color:#666;display:inline;font-size:1em;padding:.1em .3em;vertical-align:baseline;white-space:nowrap}.menu,.menu .menu-item,.menu .menu-item a,.modal-container,.tooltip::after{border-radius:.3rem}.label.label-primary{background:#5764c6;border-color:#4f5dc3;color:#fff}.menu{background:#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;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu .menu-item a{color:inherit;margin:-.2rem -1rem;text-decoration:none}.menu .menu-item a:focus,.menu .menu-item a:hover{color:#5764c6}.menu .menu-item a.active,.menu .menu-item a:active{background:#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:#fff;display:inline-block;margin-left:-.6rem;padding:0 .6rem;position:relative;z-index:99}.menu .menu-header::after{border-bottom:.1rem solid #efefef;content:"";display:block;height:.1rem;-webkit-transform:translateY(-1rem);transform:translateY(-1rem);width:100%}.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: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:#fff;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 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{color:#c5c5c5;content:"/";padding:0 .4rem}.tab{border-bottom:.1rem solid #c5c5c5;display:flex;display:-ms-flexbox;display:-webkit-flex}.tab .tab-item{margin-bottom:-.1rem}.tab .tab-item a{border-bottom:.2rem solid transparent;color:#333;display:block;padding:.5rem 1.5rem;text-decoration:none}.pagination,.pagination .page-item,.pagination .page-item a{display:inline-block}.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 .tab-item{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;text-align:center}.tab.tab-block .tab-item .badge[data-badge]::after{position:absolute;right:1.5rem;top:.5rem;-webkit-transform:translate(50%,-.8rem);transform:translate(50%,-.8rem)}.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:#eff1fa}.pagination .page-item.active a{background:#5764c6;color:#fff}.toast{background:#efefef;border:.1rem solid #eaeaea;border-radius:.3rem;color:#666;display:block;padding:1.4rem;width:100%}.toast.toast-primary{background:#5764c6;border-color:#4f5dc3;color:#fff}.toast.toast-success{background:#32b643;border-color:#30ae40;color:#fff}.toast.toast-danger{background:#e85600;border-color:#de5200;color:#fff}.toast.toast-danger .btn-clear,.toast.toast-primary .btn-clear,.toast.toast-success .btn-clear{color:#fff}.tooltip{position:relative}.tooltip::after{background: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,.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;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}.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:0 0;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}.light-shadow{box-shadow:0 .1rem .2rem rgba(0,0,0,.15)}.rounded{border-radius:.3rem}.circle{border-radius:50%}.divider{border-bottom:.1rem solid #efefef;display:block;margin:.5rem}.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 +/*! 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-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,.navbar .navbar-brand,.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}legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}.btn,.chip .chip-content,.chip-sm .chip-name,.label,.text-clip,.text-ellipsis,code{white-space:nowrap}[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;line-height:1.42857143;-webkit-tap-highlight-color:transparent}body{margin:0;background:#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%}pre,pre code{line-height:1.8rem}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{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}dl dt{font-weight:700}dl dd{margin:.5rem 0 1.5rem}.lead{font-size:120%}.highlight,code,mark{border-radius:.2rem;display:inline;font-size:1em;padding:.1em .3em;vertical-align:baseline}.highlight,mark{background:#ffe5a3}pre{background:#f9f9f9;border-left:.2rem solid #5764c6;margin-bottom:1em;margin-top:1em;padding:1.5rem}code{background:#efefef}pre code{background:0 0;border-left:0;margin-top:0}.btn,.form-input{line-height:1.6rem;-webkit-appearance:none;outline:0}.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%}.video-responsive-4-3{padding-bottom:75%}.table{border-collapse:collapse;border-spacing:0;width:100%}.table.table-striped tbody tr:nth-of-type(odd){background:#fcfcfc}.table.table-hover tbody tr:hover{background:#f4f4f4}.table.table-hover tbody tr.selected{background:#f2f2f2}.table td,.table th{border-bottom:.1rem solid #efefef;padding:1.5rem 1rem;text-align:left}.btn,.empty{text-align:center}.table th{border-color:#c9c9c9}.btn{background:0 0;border:.1rem solid #5764c6;border-radius:.3rem;color:#5764c6;display:inline-block;font-size:1.4rem;height:3.2rem;padding:.7rem 1.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.btn:focus,.btn:hover{background:#5764c6;border-color:#4452c0;color:#fff}.btn.active,.btn:active{background:#4452c0;border-color:#3b49af;color:#fff}.btn.btn-primary{background:#5764c6;border-color:#4452c0;color:#fff}.btn.btn-primary:focus,.btn.btn-primary:hover{background:#4452c0;border-color:#3b49af;color:#fff}.btn.btn-primary.active,.btn.btn-primary:active{background:#3b49af;border-color:#35419c;color:#fff}.btn.btn-primary.loading::after{border-color:transparent transparent #fff #fff}.btn.btn-link{background:0 0;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{background:0 0;border:0;color:#666;height:2rem;margin-left:.3rem;opacity:.45;padding:0}.btn.btn-clear:hover{opacity:.85}.btn.btn-clear::before{content:"\00d7";font-size: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}.form-input{background:#fff;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;display:block;font-size:1.4rem;height:3.2rem;max-width:100%;padding:.7rem .8rem;position:relative;width:100%}.form-input:focus{border-color:#5764c6}.form-input[disabled]{background:#eeeff2}.form-input.input-sm{border-radius:.2rem;font-size:1.2rem;height:2.4rem;padding:.3rem .6rem}.form-input.input-lg{border-radius:.4rem;font-size:1.6rem;height:4.2rem;line-height: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 2rem .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;transition:all .15s ease;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:#5764c6;border-color:#5764c6}.form-checkbox .form-icon{border-radius:.2rem}.form-checkbox input:checked+.form-icon::after{background-clip:padding-box;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:#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:#c5c5c5;background-clip:padding-box;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,.form-inline,.navbar .navbar-brand{vertical-align:middle}.form-switch .form-icon::after{background:#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:#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:#f9f9f9;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}.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}.form-inline{display:inline-block;width:auto}.container{margin-left:auto;margin-right:auto;overflow-x:hidden;padding-left:1rem;padding-right:1rem;width:100%}@media screen and (min-width:980px){.grid-960{width:98rem}}@media screen and (min-width:500px){.grid-480{width:50rem}}.columns{display:flex;display:-ms-flexbox;display:-webkit-flex;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}.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){.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{-webkit-flex:none;-ms-flex:none;flex:none}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}}@media screen and (min-width:601px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{-webkit-flex:none;-ms-flex:none;flex:none}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}}@media screen and (min-width:841px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{-webkit-flex:none;-ms-flex:none;flex:none}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.form-horizontal{padding:1rem}.form-horizontal .form-group{display:flex;display:-ms-flexbox;display:-webkit-flex}.form-horizontal .form-label{margin-bottom:0;padding:.8rem .4rem}.form-horizontal .form-checkbox,.form-horizontal .form-radio{margin:.5rem 0}}@media screen and (max-width:480px){.columns{display:block}.columns .column{width:100%}.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}}.navbar{-webkit-align-items:center;align-items:center;display:flex;display:-ms-flexbox;display:-webkit-flex;-ms-flex-align:center;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:1rem}.chip,.chip-sm{-webkit-align-items:center}.navbar .navbar-brand{font-size:2rem}.empty{background:#f8f8f8;border-radius:.3rem;padding:2rem}.empty .empty-title{font-size:1.8rem;margin:1.5rem 0 .5rem}.empty .empty-meta{color:#888}.empty .btn{margin-top:1.5rem}.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:#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:#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 .3rem 0;width:100%}.form-autocomplete .form-autocomplete-input .chip-sm{margin-bottom:.3rem}.form-autocomplete .form-autocomplete-input .form-input{background:#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:#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}.menu,.modal-container,.shadow{box-shadow:0 .1rem .4rem rgba(0,0,0,.3)}.form-autocomplete .form-autocomplete-item{border-radius:.3rem;display:block;margin-top:.1rem;padding:.2rem 1rem}.form-autocomplete .form-autocomplete-item:focus,.form-autocomplete .form-autocomplete-item:hover{background:#f7f8fc}.form-autocomplete .form-autocomplete-item.active{background:#eff1fa}.badge{position:relative}.badge[data-badge]::after{background:#5764c6;background-clip:padding-box;border:.1rem solid #fff;border-radius:1rem;color:#fff;content:attr(data-badge);display:inline-block;font-size:1.1rem;height:1.8rem;line-height:1.2rem;min-width:1.8rem;padding:.2rem .5rem;text-align:center;-webkit-transform:translate(-.2rem,-.8rem);transform:translate(-.2rem,-.8rem);white-space:nowrap}.card,.menu{display:block;z-index:999}.card,.menu,.text-left{text-align:left}.card{background:#fff;border:.1rem solid #efefef;border-radius:.3rem;margin:0;padding:0}.card .card-body,.card .card-footer,.card .card-header{padding:1.5rem 1.5rem 0}.card .card-body:last-child,.card .card-footer:last-child,.card .card-header:last-child{padding-bottom:1.5rem}.card .card-image{padding-top:1.5rem}.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-image:last-child img{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.card .card-title{font-size:1.4em;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;display:flex;display:-ms-flexbox;display:-webkit-flex;-ms-flex-align:center;-ms-flex-line-pack:distribute;list-style:none;margin:0;padding:.5rem 0}.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}.chip .chip-action{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.chip .chip-title{font-size:1.4rem}.chip .chip-meta{color:#b3b3b3;font-size:1.2rem}.chip-sm{align-items:center;background:#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;vertical-align:middle}.chip-sm:focus,.chip-sm:hover{background:#e8eaf7}.chip-sm .btn-clear{margin-top:-.2rem}.chip-sm .btn-clear::before{color:#3b49af;font-size:1.6rem}.chip-sm.selected{background:#5764c6;color:#fff}.chip-sm.selected .btn-clear::before{color:#eff1fa}.chip-sm .chip-name{margin-left:.4rem;overflow:hidden;text-overflow:ellipsis}.chip-sm .avatar{font-size:.8rem;height:1.6rem;width:1.6rem}.label{background:#efefef;border-radius:.2rem;color:#666;display:inline;font-size:1em;padding:.1em .3em;vertical-align:baseline}.menu,.menu .menu-item,.menu .menu-item a,.modal-container,.tooltip::after{border-radius:.3rem}.label.label-primary{background:#5764c6;border-color:#4f5dc3;color:#fff}.menu{background:#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;-webkit-user-select:none;-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:#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:#fff;display:inline-block;margin-left:-.6rem;padding:0 .6rem;position:relative;z-index:99}.menu .menu-header::after{border-bottom:.1rem solid #efefef;content:"";display:block;height:.1rem;-webkit-transform:translateY(-1rem);transform:translateY(-1rem);width:100%}.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: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:#fff;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:flex;display:-ms-flexbox;display:-webkit-flex}.tab .tab-item{margin-bottom:-.1rem}.tab .tab-item a{border-bottom:.2rem solid transparent;color:#333;display:block;padding:.5rem 1.5rem}.pagination,.pagination .page-item,.pagination .page-item a{display:inline-block}.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 .tab-item{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;text-align:center}.tab.tab-block .tab-item .badge[data-badge]::after{position:absolute;right:1.5rem;top:.5rem;-webkit-transform:translate(50%,-.8rem);transform:translate(50%,-.8rem)}.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:#eff1fa}.pagination .page-item.active a{background:#5764c6;color:#fff}.toast{background:#efefef;border:.1rem solid #eaeaea;border-radius:.3rem;color:#666;display:block;padding:1.4rem;width:100%}.toast.toast-primary{background:#5764c6;border-color:#4f5dc3;color:#fff}.toast.toast-success{background:#32b643;border-color:#30ae40;color:#fff}.toast.toast-danger{background:#e85600;border-color:#de5200;color:#fff}.toast.toast-danger .btn-clear,.toast.toast-primary .btn-clear,.toast.toast-success .btn-clear{color:#fff}.tooltip{position:relative}.tooltip::after{background: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,.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;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}.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:0 0;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}.text-clip{overflow:hidden;text-overflow:clip}.text-break{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;word-break:break-word;word-wrap:break-word}.light-shadow{box-shadow:0 .1rem .2rem rgba(0,0,0,.15)}.rounded{border-radius:.3rem}.circle{border-radius:50%}.divider{border-bottom:.1rem solid #efefef;display:block;margin:.5rem}.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 @@ -6,13 +6,12 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="author" content="https://github.com/picturepan2/spectre" /> - <title>Spectre.css: a lightweight, responsive and modern CSS framework</title> + <title>Spectre.css - a lightweight, responsive and modern CSS framework</title> <link rel="stylesheet" href="dist/spectre.css" /> <link rel="stylesheet" href="demo/font/style.css" /> <style> header > h4, header > h5 { - padding-top: 4rem; margin-top: 4rem; margin-bottom: 2rem; } @@ -43,6 +42,9 @@ margin: 4rem 0; color: #666; } + .empty .icon { + font-size: 4rem; + } .code { color: #666; } @@ -61,8 +63,8 @@ </style> </head> <body> - <section class="container bg-grey"> - <section id="overview" class="grid-hero grid-960"> + <section class="section bg-grey"> + <section id="overview" class="grid-hero container grid-960"> <header class="text-center"><h3>Spectre.css</h3></header> <section> <p><strong>Spectre.css</strong> is a lightweight, responsive and modern CSS framework for faster and extensible development.</p> @@ -83,8 +85,8 @@ </section> </section> </section> - <section class="container"> - <section id="getting-started" class="grid-960"> + <section class="section"> + <section id="getting-started" class="container grid-960"> <header class="text-center"><h4>getting started</h4></header> <section class="notes"> <p>There are 3 ways to get started with Spectre CSS framework in your projects. You can either manually install or use NPM and Bower.</p> @@ -110,7 +112,7 @@ </section> </section> - <section id="compiling" class="grid-960"> + <section id="compiling" class="container grid-960"> <header class="text-center"><h4>compiling custom version</h4></header> <section class="notes"> <p>Spectre uses <a href="http://gulpjs.com/" target="_blank">Gulp</a> for compiling CSS. You can customize your version of Spectre.css by editing LESS files in <code>/src</code> directory or removing unneeded components from <code>spectre.less</code>.</p> @@ -125,7 +127,7 @@ </section> </section> - <section id="elements" class="grid-960"> + <section id="elements" class="container grid-960"> <section class="notes text-center"> <ul class="tab inline-flex"> <li class="tab-item active"> @@ -134,6 +136,11 @@ </a> </li> <li class="tab-item"> + <a href="#layout"> + layout + </a> + </li> + <li class="tab-item"> <a href="#components"> components </a> @@ -148,7 +155,6 @@ <section class="notes text-center"> <div class="btn-group"> <a href="#typography" class="btn btn-primary">typography</a> - <a href="#layout" class="btn btn-primary">layout</a> <a href="#tables" class="btn btn-primary">tables</a> <a href="#buttons" class="btn btn-primary">buttons</a> <a href="#forms" class="btn btn-primary">forms</a> @@ -157,7 +163,7 @@ </section> </section> - <section id="typography" class="grid-960"> + <section id="typography" class="container grid-960"> <header class="text-center"><h4>typography</h4></header> <section class="notes"> <p><strong>Typography</strong> sets default styles for headings, paragraphs, blockquote, lists and code elements. </p> @@ -273,158 +279,7 @@ </section> - <section id="layout" class="grid-960"> - <header class="text-center"><h4>flexbox layout</h4></header> - <section class="notes"> - <p><strong>Layout</strong> includes flexbox based responsive grid system with 12 columns. </p> - </section> - <div class="columns"> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - <div class="column"> - <div class="bg-grey"></div> - </div> - </div> - - <div class="columns"> - <div class="column col-12"> - <div class="bg-grey">col-12 (100%)</div> - </div> - </div> - <div class="columns"> - <div class="column col-9"> - <div class="bg-grey">col-9 (75%)</div> - </div> - </div> - <div class="columns"> - <div class="column col-6"> - <div class="bg-grey">col-6 (50%)</div> - </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>columns</code> to a container with the class <code>container</code>. And add any element you want with classname <code>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>col-[1-12]</code>.</p> - </section> - - <!-- layout example --> -<pre class="code lang-html"> -<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"container"</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"columns"</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-6"</span>>col-6<<span class="tag">/div</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-3"</span>>col-3<<span class="tag">/div</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-2"</span>>col-2<<span class="tag">/div</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-1"</span>>col-1<<span class="tag">/div</span>> - <<span class="tag">/div</span>> -<<span class="tag">/div</span>> -</pre> - - <div class="columns"> - <div class="column col-md-6"> - <div class="bg-grey">col-md-6</div> - </div> - <div class="column col-md-3"> - <div class="bg-grey">col-md-3</div> - </div> - <div class="column col-md-3"> - <div class="bg-grey">col-md-3</div> - </div> - </div> - - <div class="columns"> - <div class="column col-sm-6"> - <div class="bg-grey">col-sm-6</div> - </div> - <div class="column col-sm-3"> - <div class="bg-grey">col-sm-3</div> - </div> - <div class="column col-sm-3"> - <div class="bg-grey">col-sm-3</div> - </div> - </div> - - <div class="columns"> - <div class="column col-xs-6"> - <div class="bg-grey">col-xs-6</div> - </div> - <div class="column col-xs-3"> - <div class="bg-grey">col-xs-3</div> - </div> - <div class="column col-xs-3"> - <div class="bg-grey">col-xs-3</div> - </div> - </div> - - <section class="notes"> - <p>Spectre also provides a neat responsive layout grid system. There are <code>.col-xs-[1-12]</code>, <code>.col-sm-[1-12]</code> and <code>.col-md-[1-12]</code> available for flexible grid across mobile, tablet and desktop viewport usage.</p> - <ul> - <li>For window width less than <strong>480px</strong>, all columns will show as a single row.</li> - <li><code>col-xs-[1-12]</code> apply to window width greater than or equal to <strong>481px</strong>. </li> - <li><code>col-sm-[1-12]</code> apply to window width greater than or equal to <strong>601px</strong>. </li> - <li><code>col-md-[1-12]</code> apply to window width greater than or equal to <strong>841px</strong>. </li> - </ul> - </section> - - <!-- layout example --> -<pre class="code lang-html"> -<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"container"</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"columns"</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-xs-6"</span>>col-xs-6<<span class="tag">/div</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-xs-3"</span>>col-xs-3<<span class="tag">/div</span>> - <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-xs-3"</span>>col-xs-3<<span class="tag">/div</span>> - <<span class="tag">/div</span>> -<<span class="tag">/div</span>> -</pre> - - <section class="notes"> - <p>For hiding elements on specific viewport sizes, there are classes <code>.hide-xs</code>, <code>.hide-sm</code>, <code>.hide-md</code>, <code>.hide-lg</code> and <code>.hide-xl</code> available.</p> - <ul> - <li><code>hide-xs</code> hides elements when the viewport is smaller than or equal to <strong>480px</strong>. </li> - <li><code>hide-sm</code> hides elements when the viewport is smaller than or equal to <strong>600px</strong>. </li> - <li><code>hide-md</code> hides elements when the viewport is smaller than or equal to <strong>840px</strong>. </li> - <li><code>hide-lg</code> hides elements when the viewport is smaller than or equal to <strong>960px</strong>. </li> - <li><code>hide-xl</code> hides elements when the viewport is smaller than or equal to <strong>1280px</strong>. </li> - </ul> - </section> - - </section> - - <section id="tables" class="grid-960"> + <section id="tables" class="container grid-960"> <header class="text-center"><h4>tables</h4></header> <section class="notes"> <p><strong>Tables</strong> include default styles for tables and data sets.</p> @@ -440,7 +295,7 @@ </tr> </thead> <tbody> - <tr class="selected"> + <tr> <td>The Shawshank Redemption</td> <td>2h 22min</td> <td>Crime, Drama</td> @@ -495,7 +350,7 @@ </section> - <section id="buttons" class="grid-960"> + <section id="buttons" class="container grid-960"> <header class="text-center"><h4>buttons</h4></header> <section class="notes"> <p><strong>Buttons</strong> include simple button styles for actions in different types and sizes. </p> @@ -588,6 +443,15 @@ </div> </div> </div> + <div class="columns"> + <div class="column"> + <div class="btn-group"> + <button class="btn btn-sm">first button</button> + <button class="btn btn-sm">second button</button> + <button class="btn btn-sm">third button</button> + </div> + </div> + </div> <section class="notes"> <p>If you want to use buttons as a group, add the class <code>btn-group</code> to the container. You can add the class <code>btn-group-block</code> for a full-width button group.</p> </section> @@ -603,7 +467,7 @@ </section> - <section id="forms" class="grid-960"> + <section id="forms" class="container grid-960"> <header class="text-center"><h4>forms</h4></header> <section class="notes"> <p><strong>Forms</strong> provide the most common control styles used in forms, including label, input, textarea, select, checkbox, radio and switch. </p> @@ -876,7 +740,7 @@ </section> - <section id="media" class="grid-960"> + <section id="media" class="container grid-960"> <header class="text-center"><h4>media</h4></header> <section class="notes"> <p><strong>Media</strong> include responsive image and video class. </p> @@ -911,7 +775,298 @@ </section> - <section id="components" class="grid-960"> + <section id="layout" class="container grid-960"> + <section class="notes text-center"> + <ul class="tab inline-flex"> + <li class="tab-item"> + <a href="#elements"> + elements + </a> + </li> + <li class="tab-item active"> + <a href="#layout"> + layout + </a> + </li> + <li class="tab-item"> + <a href="#components"> + components + </a> + </li> + <li class="tab-item"> + <a href="#utilities"> + utilities + </a> + </li> + </ul> + </section> + <section class="notes text-center"> + <div class="btn-group"> + <a href="#grid" class="btn btn-primary">flexbox grid</a> + <a href="#responsive" class="btn btn-primary">responsive</a> + <a href="#navbar" class="btn btn-primary">navbar</a> + <a href="#empty" class="btn btn-primary">empty states</a> + </div> + </section> + </section> + + <section id="grid" class="container grid-960"> + <header class="text-center"><h4>flexbox grid</h4></header> + <section class="notes"> + <p><strong>Layout</strong> includes flexbox based responsive grid system with 12 columns. </p> + </section> + <div class="columns"> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + <div class="column"> + <div class="bg-grey"></div> + </div> + </div> + + <div class="columns"> + <div class="column col-12"> + <div class="bg-grey">col-12 (100%)</div> + </div> + </div> + <div class="columns"> + <div class="column col-9"> + <div class="bg-grey">col-9 (75%)</div> + </div> + </div> + <div class="columns"> + <div class="column col-6"> + <div class="bg-grey">col-6 (50%)</div> + </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>columns</code> to a container with the class <code>container</code>. And add any element you want with classname <code>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>col-[1-12]</code>.</p> + </section> + + <!-- layout example --> +<pre class="code lang-html"> +<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"container"</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"columns"</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-6"</span>>col-6<<span class="tag">/div</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-3"</span>>col-3<<span class="tag">/div</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-2"</span>>col-2<<span class="tag">/div</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-1"</span>>col-1<<span class="tag">/div</span>> + <<span class="tag">/div</span>> +<<span class="tag">/div</span>> +</pre> + + </section> + + <section id="responsive" class="container grid-960"> + <header class="text-center"><h4>responsive grid</h4></header> + <div class="columns"> + <div class="column col-md-6"> + <div class="bg-grey">col-md-6</div> + </div> + <div class="column col-md-3"> + <div class="bg-grey">col-md-3</div> + </div> + <div class="column col-md-3"> + <div class="bg-grey">col-md-3</div> + </div> + </div> + + <div class="columns"> + <div class="column col-sm-6"> + <div class="bg-grey">col-sm-6</div> + </div> + <div class="column col-sm-3"> + <div class="bg-grey">col-sm-3</div> + </div> + <div class="column col-sm-3"> + <div class="bg-grey">col-sm-3</div> + </div> + </div> + + <div class="columns"> + <div class="column col-xs-6"> + <div class="bg-grey">col-xs-6</div> + </div> + <div class="column col-xs-3"> + <div class="bg-grey">col-xs-3</div> + </div> + <div class="column col-xs-3"> + <div class="bg-grey">col-xs-3</div> + </div> + </div> + + <section class="notes"> + <p>Spectre also provides a neat responsive layout grid system. There are <code>.col-xs-[1-12]</code>, <code>.col-sm-[1-12]</code> and <code>.col-md-[1-12]</code> available for flexible grid across mobile, tablet and desktop viewport usage.</p> + <ul> + <li>For window width less than <strong>480px</strong>, all columns will show as a single row.</li> + <li><code>col-xs-[1-12]</code> apply to window width greater than or equal to <strong>481px</strong>. </li> + <li><code>col-sm-[1-12]</code> apply to window width greater than or equal to <strong>601px</strong>. </li> + <li><code>col-md-[1-12]</code> apply to window width greater than or equal to <strong>841px</strong>. </li> + </ul> + </section> + + <!-- layout example --> +<pre class="code lang-html"> +<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"container"</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"columns"</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-xs-6"</span>>col-xs-6<<span class="tag">/div</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-xs-3"</span>>col-xs-3<<span class="tag">/div</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"column col-xs-3"</span>>col-xs-3<<span class="tag">/div</span>> + <<span class="tag">/div</span>> +<<span class="tag">/div</span>> +</pre> + + <section class="notes"> + <p>For hiding elements on specific viewport sizes, there are classes <code>.hide-xs</code>, <code>.hide-sm</code>, <code>.hide-md</code>, <code>.hide-lg</code> and <code>.hide-xl</code> available.</p> + <ul> + <li><code>hide-xs</code> hides elements when the viewport is smaller than or equal to <strong>480px</strong>. </li> + <li><code>hide-sm</code> hides elements when the viewport is smaller than or equal to <strong>600px</strong>. </li> + <li><code>hide-md</code> hides elements when the viewport is smaller than or equal to <strong>840px</strong>. </li> + <li><code>hide-lg</code> hides elements when the viewport is smaller than or equal to <strong>960px</strong>. </li> + <li><code>hide-xl</code> hides elements when the viewport is smaller than or equal to <strong>1280px</strong>. </li> + </ul> + </section> + </section> + + <section id="navbar" class="container grid-960"> + <header class="text-center"><h4>navbar</h4></header> + <section class="notes"> + <p><strong>Navbar</strong> is a layout container that appear in the header of apps and websites. </p> + </section> + <div class="columns"> + <div class="column"> + <header class="navbar bg-grey"> + <section class="navbar-section"> + <a href="#navbar" class="btn btn-link btn-lg"><i class="icon icon-menu"></i></a> + <a href="#navbar" class="navbar-brand">Spectre.css</a> + </section> + <section class="navbar-section"> + <input class="form-input form-inline" type="text" placeholder="search" /> + <a href="#navbar" class="btn btn-link">documents</a> + <a href="#navbar" class="btn btn-link">login</a> + <a href="#navbar" class="btn btn-primary">signup</a> + </section> + </header> + </div> + </div> + <div class="columns"> + <div class="column"> + <header class="navbar"> + <section class="navbar-section"> + <a href="#navbar" class="btn btn-link btn-lg"><i class="icon icon-menu"></i></a> + <a href="#navbar" class="navbar-brand">Spectre.css</a> + </section> + <section class="navbar-section"> + <input class="form-input form-inline" type="text" placeholder="search" /> + <figure class="avatar ml-10 mr-10"> + <img src="demo/img/avatar-4.png" /> + </figure> + <a href="#navbar" class="btn btn-primary">share</a> + </section> + </header> + </div> + </div> + + <section class="notes"> + <p>A navbar component can include logo brand, nav links and buttons, search box or any combination of those elements. By default, there is no grey background.</p> + </section> + + <!-- navbar example --> +<pre class="code lang-html"> +<<span class="tag">header</span> <span class="atn">class</span>=<span class="atv">"navbar"</span>> + <<span class="tag">section</span> <span class="atn">class</span>=<span class="atv">"navbar-section"</span>> + <<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">"#"</span> <span class="atn">class</span>=<span class="atv">"btn btn-link btn-lg"</span>> + <<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-people"</span>><<span class="tag">/i</span>> + <<span class="tag">/a</span>> + <<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">"#"</span> <span class="atn">class</span>=<span class="atv">"navbar-brand"</span>>Spectre.css<<span class="tag">/a</span>> + <<span class="tag">/section</span>> + <<span class="tag">section</span> <span class="atn">class</span>=<span class="atv">"navbar-section"</span>> + <<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"text"</span> <span class="atn">class</span>=<span class="atv">"form-input form-inline"</span> <span class="atn">placeholder</span>=<span class="atv">"search"</span>>documents<<span class="tag">/a</span>> + <<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">"#"</span> <span class="atn">class</span>=<span class="atv">"btn btn-link"</span>>documents<<span class="tag">/a</span>> + <<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">"#"</span> <span class="atn">class</span>=<span class="atv">"btn btn-link"</span>>login<<span class="tag">/a</span>> + <<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">"#"</span> <span class="atn">class</span>=<span class="atv">"btn btn-primary"</span>>signup<<span class="tag">/a</span>> + <<span class="tag">/section</span>> +<<span class="tag">/header</span>> +</pre> + + </section> + + <section id="empty" class="container grid-960"> + <header class="text-center"><h4>empty states/blank slates</h4></header> + <section class="notes"> + <p><strong>Empty states/blank slates</strong> are commonly used as placeholders for first time use, empty data and error screens.</p> + </section> + <div class="columns"> + <div class="column col-6"> + <section class="empty"> + <i class="icon icon-markunread"></i> + <p class="empty-title">You have no new messages</p> + <p class="empty-meta">Click the button to start a conversation.</p> + <button class="btn btn-primary">Send a message</button> + </section> + </div> + <div class="column col-6"> + <section class="empty"> + <i class="icon icon-people"></i> + <p class="empty-title">You are not following anyone</p> + <button class="btn btn-primary">Discover people</button> + </section> + </div> + </div> + + <section class="notes"> + <p>An empty state component can include icons, messages(title and meta messages) and action buttons or any combination of those elements. </p> + </section> + + <!-- empty states example --> +<pre class="code lang-html"> +<<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"empty"</span>> + <<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-people"</span>><<span class="tag">/i</span>> + <<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">"empty-title"</span>>You have no new messages<<span class="tag">/p</span>> + <<span class="tag">p</span> <span class="atn">class</span>=<span class="atv">"empty-meta"</span>>Click the button to start a conversation.<<span class="tag">/p</span>> + <<span class="tag">button</span> <span class="atn">class</span>=<span class="atv">"btn btn-primary"</span>>Send a message<<span class="tag">/button</span>> +<<span class="tag">/div</span>> +</pre> + + </section> + + <section id="components" class="container grid-960"> <section class="notes text-center"> <ul class="tab inline-flex"> <li class="tab-item"> @@ -919,6 +1074,11 @@ elements </a> </li> + <li class="tab-item"> + <a href="#layout"> + layout + </a> + </li> <li class="tab-item active"> <a href="#components"> components @@ -948,7 +1108,7 @@ </section> </section> - <section id="avatars" class="grid-960"> + <section id="avatars" class="container grid-960"> <header class="text-center"><h4>avatars</h4></header> <section class="notes"> <p><strong>Avatars</strong> are user profile pictures. </p> @@ -1024,7 +1184,7 @@ </section> - <section id="chips" class="grid-960"> + <section id="chips" class="container grid-960"> <header class="text-center"><h4>chips</h4></header> <section class="notes"> <p><strong>Chips</strong> are complex entities in small blocks. </p> @@ -1094,7 +1254,7 @@ </section> - <section id="autocomplete" class="grid-960"> + <section id="autocomplete" class="container grid-960"> <header class="text-center"><h4>autocomplete</h4></header> <section class="notes"> <p><strong>Autocomplete</strong> form component provides suggestions while you type. It is often used for tags and contacts input. </p> @@ -1255,7 +1415,7 @@ </section> - <section id="tooltips" class="grid-960"> + <section id="tooltips" class="container grid-960"> <header class="text-center"><h4>tooltips</h4></header> <section class="notes"> <p><strong>Tooltips</strong> provide context information labels that appear on hover and focus.</p> @@ -1287,7 +1447,7 @@ </section> - <section id="labels" class="grid-960"> + <section id="labels" class="container grid-960"> <header class="text-center"><h4>labels</h4></header> <section class="notes"> <p><strong>Labels</strong> are formatted text tags for highlighted, informative information.</p> @@ -1310,7 +1470,7 @@ </section> - <section id="badges" class="grid-960"> + <section id="badges" class="container grid-960"> <header class="text-center"><h4>badges</h4></header> <section class="notes"> <p><strong>Badges</strong> are often used as unread number indicators.</p> @@ -1350,7 +1510,7 @@ </section> - <section id="toasts" class="grid-960"> + <section id="toasts" class="container grid-960"> <header class="text-center"><h4>toasts</h4></header> <section class="notes"> <p><strong>Toasts</strong> are used to show alert or information to users.</p> @@ -1404,7 +1564,7 @@ </section> - <section id="menus" class="grid-960"> + <section id="menus" class="container grid-960"> <header class="text-center"><h4>menus</h4></header> <section class="notes"> <p>A <strong>menu</strong> is a vertical list of links or buttons for actions and navigation.</p> @@ -1529,7 +1689,7 @@ </section> - <section id="navigation" class="grid-960"> + <section id="navigation" class="container grid-960"> <header class="text-center"><h4>navigation</h4></header> <section class="notes"> <p><strong>Navigation</strong> includes several components, including breadcrumbs and tabs.</p> @@ -1856,7 +2016,7 @@ </section> - <section id="modals" class="grid-960"> + <section id="modals" class="container grid-960"> <header class="text-center"><h4>modals</h4></header> <section class="notes"> <p><strong>Modals</strong> are flexible dialog prompts.</p> @@ -1996,7 +2156,7 @@ </section> - <section id="cards" class="grid-960"> + <section id="cards" class="container grid-960"> <header class="text-center"><h4>cards</h4></header> <section class="notes"> <p><strong>Cards</strong> are flexible content containers.</p> @@ -2080,7 +2240,7 @@ </section> - <section id="utilities" class="grid-960"> + <section id="utilities" class="container grid-960"> <section class="notes text-center"> <ul class="tab inline-flex"> <li class="tab-item"> @@ -2089,6 +2249,11 @@ </a> </li> <li class="tab-item"> + <a href="#layout"> + layout + </a> + </li> + <li class="tab-item"> <a href="#components"> components </a> @@ -2111,7 +2276,7 @@ </section> </section> - <section id="position" class="grid-960"> + <section id="position" class="container grid-960"> <section class="notes"> <p><strong>Position utilities</strong> are used for useful layout and position things, including clearfix, float, position and margin/padding utilities.</p> </section> @@ -2139,7 +2304,7 @@ </section> - <section id="display" class="grid-960"> + <section id="display" class="container grid-960"> <section class="notes"> <p><strong>Display utilities</strong> are used for display and hidden things.</p> </section> @@ -2168,7 +2333,7 @@ </section> - <section id="text" class="grid-960"> + <section id="text" class="container grid-960"> <section class="notes"> <p><strong>Text utilities</strong> are used for text alignment, styles and overflow things.</p> </section> @@ -2208,7 +2373,7 @@ </section> - <section id="shapes" class="grid-960"> + <section id="shapes" class="container grid-960"> <section class="notes"> <p><strong>Shape utilities</strong> are used for change element shapes.</p> </section> @@ -2223,7 +2388,7 @@ </section> - <section id="divider" class="grid-960"> + <section id="divider" class="container grid-960"> <section class="notes"> <p>A <strong>Divider</strong> is used for separating elements.</p> </section> @@ -2241,7 +2406,7 @@ </section> - <section id="loading" class="grid-960"> + <section id="loading" class="container grid-960"> <section class="notes"> <p><strong>Loading indicator</strong> is used for loading or updating. Also, you can add the class <code>loading</code> to buttons for loading status.</p> </section> @@ -2259,9 +2424,9 @@ </section> </section> <footer class="bg-grey"> - <section id="copyright" class="grid-footer grid-960"> + <section id="copyright" class="grid-footer container grid-960"> <p> - <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.18 + <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.19 </p> <p>Designed and built with love by <a href="https://twitter.com/picturepan2" target="_blank">Yan Zhu</a>. Licensed under the <a href="https://github.com/picturepan2/spectre/blob/master/LICENSE" target="_blank">MIT License</a>.</p> </section> diff --git a/package.json b/package.json index 2ccbd29..cf1f8ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "spectre.css", - "version": "0.1.18", + "version": "0.1.19", "homepage": "http://picturepan2.github.io/spectre", "author": "Yan Zhu <picturepan2@hotmail.com>", "description": "Spectre.css: a lightweight, responsive and modern CSS framework.", diff --git a/spectre.less b/spectre.less index 6c04f74..d7c704d 100644 --- a/spectre.less +++ b/spectre.less @@ -10,12 +10,16 @@ // Core classes @import 'src/typography.less'; -@import 'src/layout.less'; @import 'src/media.less'; @import 'src/tables.less'; @import 'src/buttons.less'; @import 'src/forms.less'; +// Layout +@import 'src/layout.less'; +@import 'src/navbar.less'; +@import 'src/empty.less'; + // Components @import 'src/avatars.less'; @import 'src/animations.less'; diff --git a/src/avatars.less b/src/avatars.less index e0f18c8..e744e1f 100644 --- a/src/avatars.less +++ b/src/avatars.less @@ -49,7 +49,7 @@ } &[data-initial]::after { - color: @core-text-color; + color: @core-light-color; content: attr(data-initial); left: 50%; position: absolute; diff --git a/src/badges.less b/src/badges.less index 0e727eb..f1e2512 100644 --- a/src/badges.less +++ b/src/badges.less @@ -7,7 +7,7 @@ background-clip: padding-box; border: .1rem solid #fff; border-radius: 1rem; - color: @core-text-color; + color: @core-light-color; content: attr(data-badge); display: inline-block; font-size: 1.1rem; diff --git a/src/base.less b/src/base.less index 256930f..78da9f9 100644 --- a/src/base.less +++ b/src/base.less @@ -6,8 +6,8 @@ } html { box-sizing: border-box; - font-size: 10px; - line-height: 1.428571429; + font-size: @html-font-size; + line-height: @html-line-height; -webkit-tap-highlight-color: transparent; } body { diff --git a/src/buttons.less b/src/buttons.less index 2070bfd..cb97f5c 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -22,37 +22,37 @@ &:focus { background: @core-color; border-color: darken(@core-color, 5%); - color: @core-text-color; + color: @core-light-color; } &:active, &.active { background: darken(@core-color, 5%); border-color: darken(@core-color, 10%); - color: @core-text-color; + color: @core-light-color; } // Button Primary &.btn-primary { background: @core-color; border-color: darken(@core-color, 5%); - color: @core-text-color; + color: @core-light-color; &:hover, &:focus { background: darken(@core-color, 5%); border-color: darken(@core-color, 10%); - color: @core-text-color; + color: @core-light-color; } &:active, &.active { background: darken(@core-color, 10%); border-color: darken(@core-color, 15%); - color: @core-text-color; + color: @core-light-color; } &.loading { &::after { - border-color: @core-text-color; + border-color: @core-light-color; border-right-color: transparent; border-top-color: transparent; } diff --git a/src/chips.less b/src/chips.less index 6a0c777..51e4f53 100644 --- a/src/chips.less +++ b/src/chips.less @@ -59,7 +59,7 @@ &.selected { background: @core-color; - color: @core-text-color; + color: @core-light-color; .btn-clear { &::before { diff --git a/src/empty.less b/src/empty.less new file mode 100644 index 0000000..b460f50 --- /dev/null +++ b/src/empty.less @@ -0,0 +1,18 @@ +// Empty states (or Blank slates) +.empty { + background: #f8f8f8; + border-radius: .3rem; + text-align: center; + padding: 2 * @layout-gutter; + + .empty-title { + font-size: 1.8rem; + margin: 1.5rem 0 .5rem 0; + } + .empty-meta { + color: @core-meta-color; + } + .btn { + margin-top: 1.5rem; + } +}
\ No newline at end of file diff --git a/src/fileicons.less b/src/fileicons.less index a6e1f89..0e2c7eb 100644 --- a/src/fileicons.less +++ b/src/fileicons.less @@ -29,7 +29,7 @@ &::after { border-bottom-left-radius: .2rem; border-color: rgba(255, 255, 255, .5); - color: @core-text-color; + color: @core-light-color; content: attr(data-type); font-size: 1rem; line-height: 3.6rem; diff --git a/src/forms.less b/src/forms.less index 5527b52..96049c9 100644 --- a/src/forms.less +++ b/src/forms.less @@ -230,13 +230,12 @@ } } } - // Form element: Input groups .input-group { display: flex; .input-group-addon { - background: @core-border-color; + background: lighten(@core-border-color, 4%); border: .1rem solid @control-color; border-radius: .3rem; line-height: 1.6rem; @@ -268,3 +267,9 @@ } } } +// Form inline +.form-inline { + display: inline-block; + vertical-align: middle; + width: auto; +} diff --git a/src/layout.less b/src/layout.less index 6a9a643..dbc48c9 100644 --- a/src/layout.less +++ b/src/layout.less @@ -8,18 +8,15 @@ width: 100%; &:extend(.clearfix all); } -@media screen and (min-width: 981px) { +// Grid sizes +@media screen and (min-width: (960px + 2 * @html-font-size * @layout-gutter)) { .grid-960 { - margin-left: auto; - margin-right: auto; - width: 96rem; + width: 96rem + 2 * @layout-gutter; } } -@media screen and (min-width: 481px) { +@media screen and (min-width: (480px + 2 * @html-font-size * @layout-gutter)) { .grid-480 { - margin-left: auto; - margin-right: auto; - width: 48rem; + width: 48rem + 2 * @layout-gutter; } } @@ -84,7 +81,7 @@ .col-1 { width: 8.33333333%; } -@media screen and (min-width: (@size-xs+1px)) { +@media screen and (min-width: (@size-xs + 1px)) { .col-xs-12, .col-xs-11, .col-xs-10, @@ -136,7 +133,7 @@ width: 8.33333333%; } } -@media screen and (min-width: (@size-sm+1px)) { +@media screen and (min-width: (@size-sm + 1px)) { .col-sm-12, .col-sm-11, .col-sm-10, @@ -188,7 +185,7 @@ width: 8.33333333%; } } -@media screen and (min-width: (@size-md+1px)) { +@media screen and (min-width: (@size-md + 1px)) { .col-md-12, .col-md-11, .col-md-10, @@ -240,7 +237,7 @@ width: 8.33333333%; } } -@media screen and (min-width: (@size-md+1px)) { +@media screen and (min-width: (@size-md + 1px)) { .form-horizontal { padding: 1rem; diff --git a/src/navbar.less b/src/navbar.less new file mode 100644 index 0000000..2fa4eac --- /dev/null +++ b/src/navbar.less @@ -0,0 +1,13 @@ +// Navbar +.navbar { + align-items: center; + display: flex; + justify-content: space-between; + padding: 1rem; + + .navbar-brand { + font-size: 2rem; + text-decoration: none; + vertical-align: middle; + } +}
\ No newline at end of file diff --git a/src/navigation.less b/src/navigation.less index 7e1967b..0fd8d0c 100644 --- a/src/navigation.less +++ b/src/navigation.less @@ -108,7 +108,7 @@ &.active { a { background: @core-color; - color: @core-text-color; + color: @core-light-color; } } } diff --git a/src/tooltips.less b/src/tooltips.less index 9e71540..33928ae 100644 --- a/src/tooltips.less +++ b/src/tooltips.less @@ -6,7 +6,7 @@ background: fade(#333, 90%); border-radius: .3rem; bottom: 100%; - color: @core-text-color; + color: @core-light-color; content: attr(data-tooltip); display: block; font-size: 1.2rem; diff --git a/src/variables.less b/src/variables.less index 0b32da0..4b3e163 100644 --- a/src/variables.less +++ b/src/variables.less @@ -1,6 +1,7 @@ // Core variables - // Global +@html-font-size: 10px; +@html-line-height: 1.428571429; @body-bg: #fff; @body-font-color: #333; @body-font-size: 1.4rem; @@ -11,7 +12,8 @@ // Colors @core-color: #5764c6; -@core-text-color: #fff; +@core-light-color: #fff; +@core-meta-color: #888; @core-link-color: #5764c6; @core-border-color: #efefef; @control-color: #c5c5c5; @@ -20,7 +22,7 @@ @control-color-warning: #ffb700; @control-color-danger: #e85600; -// Responsive Breakpoints +// Responsive breakpoints @size-xs: 480px; @size-sm: 600px; @size-md: 840px; @@ -38,7 +40,7 @@ .toast-variant(@color) { background: @color; border-color: darken(@color, 2%); - color: @core-text-color; + color: @core-light-color; } .label-base() { border-radius: .2rem; @@ -49,5 +51,5 @@ } .label-variant(@color) { background: @color; - color: @core-text-color; + color: @core-light-color; } |