Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Zhu <picturepan2@hotmail.com>2016-04-12 13:43:34 +0300
committerYan Zhu <picturepan2@hotmail.com>2016-04-12 13:43:34 +0300
commit86d875e3819ac8883f34a7c29021770939431e53 (patch)
tree013b4f46118a9343e5f23e59664e129c41772bb5
parent56272cc1179a53639e6480b10ef8cc9be6af43bb (diff)
add animations code
-rw-r--r--README.md2
-rw-r--r--bower.json2
-rw-r--r--dist/spectre.css197
-rw-r--r--dist/spectre.min.css2
-rw-r--r--index.html2
-rw-r--r--package.json2
-rw-r--r--spectre.less5
-rw-r--r--src/animations.less19
-rw-r--r--src/navigation.less4
-rw-r--r--src/utilities.less20
10 files changed, 67 insertions, 188 deletions
diff --git a/README.md b/README.md
index 33022ea..35581ef 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ Spectre has 3 major parts:
- [badges](http://picturepan2.github.io/spectre/#badges)
- [toasts](http://picturepan2.github.io/spectre/#toasts)
- [menus](http://picturepan2.github.io/spectre/#menus)
-- [navigation](http://picturepan2.github.io/spectre/#navigation) - breadcrumb and tabs
+- [navigation](http://picturepan2.github.io/spectre/#navigation) - breadcrumb, tabs and pagination
- [modals](http://picturepan2.github.io/spectre/#modals) - flexible dialog prompts
- [cards](http://picturepan2.github.io/spectre/#cards) - flexible content containers
diff --git a/bower.json b/bower.json
index 982457e..2e3efca 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "spectre.css",
- "version": "0.1.5",
+ "version": "0.1.6",
"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 890253c..9943eed 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -1164,6 +1164,46 @@ textarea.form-input {
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
+@-webkit-keyframes loading {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+}
+@keyframes loading {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 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;
+ }
+}
.badge {
position: relative;
margin-right: 2.4rem;
@@ -1260,110 +1300,6 @@ textarea.form-input {
height: 1.6rem;
font-size: .8rem;
}
-.file-icon {
- display: inline-block;
- width: 2.4rem;
- height: 3.2rem;
- background-color: transparent;
- position: relative;
- border-width: 0 0 2.2rem 1.4rem;
- border-style: solid;
- border-color: #c5c5c5;
- border-radius: .2rem;
- text-align: left;
- zoom: 1;
-}
-.file-icon::before,
-.file-icon::after {
- position: absolute;
- top: 0;
- right: 0;
- content: '';
- width: 1rem;
- height: 1rem;
- border: 0.5rem solid #c5c5c5;
- border-right-color: transparent;
- border-top-color: transparent;
- background-color: transparent;
- z-index: 2;
-}
-.file-icon::after {
- content: attr(data-type);
- border-color: rgba(255, 255, 255, 0.5);
- border-bottom-left-radius: .2rem;
- color: #fff;
- font-size: 1rem;
- text-indent: -1.6rem;
- line-height: 3.6rem;
- z-index: 3;
-}
-.file-icon.file-icon-xs {
- width: 1.2rem;
- height: 1.6rem;
- border-width: 0 0 1.2rem .8rem;
-}
-.file-icon.file-icon-xs::before,
-.file-icon.file-icon-xs::after {
- width: .4rem;
- height: .4rem;
- border-width: .2rem;
-}
-.file-icon.file-icon-xs::after {
- text-indent: -0.8rem;
- line-height: 1.6rem;
- font-size: .8rem;
- border-radius: .1rem;
- content: '--';
-}
-.file-icon.file-icon-sm {
- width: 1.8rem;
- height: 2.4rem;
- border-width: 0 0 1.6rem 1rem;
-}
-.file-icon.file-icon-sm::before,
-.file-icon.file-icon-sm::after {
- width: .8rem;
- height: .8rem;
- border-width: .4rem;
-}
-.file-icon.file-icon-sm::after {
- text-indent: -1.2rem;
- line-height: 2.6rem;
- font-size: .8rem;
-}
-.file-icon.file-icon-lg {
- width: 3.6rem;
- height: 4.8rem;
- border-width: 0 0 3.4rem 2.2rem;
-}
-.file-icon.file-icon-lg::before,
-.file-icon.file-icon-lg::after {
- width: 1.4rem;
- height: 1.4rem;
- border-width: .7rem;
-}
-.file-icon.file-icon-lg::after {
- text-indent: -2.6rem;
- line-height: 6.2rem;
- font-size: 1.2rem;
-}
-.file-icon.file-icon-xl {
- width: 4.8rem;
- height: 6.4rem;
- border-width: 0 0 4.6rem 3rem;
- border-radius: .3rem;
-}
-.file-icon.file-icon-xl::before,
-.file-icon.file-icon-xl::after {
- width: 1.8rem;
- height: 1.8rem;
- border-width: .9rem;
-}
-.file-icon.file-icon-xl::after {
- text-indent: -3.4rem;
- line-height: 8.8rem;
- font-size: 1.4rem;
-}
.label {
display: inline-block;
padding: .2rem .4rem;
@@ -1582,26 +1518,13 @@ textarea.form-input {
display: block;
border-bottom: 0.1rem solid #c5c5c5;
}
-.tab::after {
- content: "";
- display: table;
- clear: both;
-}
-.tab::after {
- content: "";
- display: table;
- clear: both;
-}
.tab .tab-item {
display: inline-block;
margin-bottom: -0.1rem;
- margin-right: .2rem;
- padding: .5rem 1.5rem;
}
.tab .tab-item a {
display: block;
padding: .5rem 1.5rem;
- margin: -0.5rem -1.5rem;
border-bottom: .2rem solid transparent;
color: #333;
text-decoration: none;
@@ -1963,43 +1886,3 @@ textarea.form-input {
-webkit-animation: loading 500ms infinite linear;
animation: loading 500ms infinite linear;
}
-@-webkit-keyframes loading {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-@keyframes loading {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 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;
- }
-}
diff --git a/dist/spectre.min.css b/dist/spectre.min.css
index 30f61d1..c689aec 100644
--- a/dist/spectre.min.css
+++ b/dist/spectre.min.css
@@ -1 +1 @@
-/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}template,[hidden]{display:none}a{background-color:transparent}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit}optgroup{font-weight:bold}button,input,select{overflow:visible}button,input,select,textarea{margin:0}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{cursor:pointer}[disabled]{cursor:default}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button:-moz-focusring,input:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}*{box-sizing:border-box}*:before,*:after{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{color:#333;font-family:"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",WenQuanYi Micro Hei,sans-serif;font-size:1.4rem;background-color:#fff}a{color:#5764c6;text-decoration:underline}a:hover,a:focus{color:#283176}[disabled],.disabled{opacity:.5;cursor:default;pointer-events:none}.btn .icon,.toast .icon,.menu .icon{margin-right:.2rem;font-size:1.3333em;line-height:.8em;vertical-align:-20%}h1,h2,h3,h4,h5,h6{font-weight:300;line-height:1.1;margin-top:2.5rem;margin-bottom:1.5rem;color:inherit}h1{font-size:5rem}h2{font-size:4rem}h3{font-size:3rem}h4{font-size:2.4rem}h5{font-size:2rem}h6{font-size:1.6rem}p{line-height:1.428571429;margin:0 0 1rem}p.lead{font-size:120%}blockquote{padding:1rem 2rem;border-left:.2rem solid #ddd;margin-left:0}blockquote p:last-child{margin-bottom:0}blockquote small{color:#b3b3b3}ul,ol{padding:0;margin:2rem 0 2rem 2rem}ul ul,ol ul,ul ol,ol ol{margin:1.5rem 0 1.5rem 2rem}ul li,ol li{margin-top:1rem}ul{list-style:disc inside}ul ul{list-style-type:circle}ol{list-style:decimal inside}ol ol{list-style-type:lower-alpha}.highlight{padding:.2rem;line-height:1.6rem;border-radius:.2rem;background-color:#fff5b7}pre{margin-top:1em;margin-bottom:1em;padding:1.5rem;border-left:.2rem solid #5764c6;line-height:1.8rem;background-color:#f9f9f9;overflow:auto}code{padding:.2rem .4rem;margin:-0.2rem .1em 0 .1em;border-radius:.2rem;background-color:#efefef;font-size:.9em;line-height:1em;vertical-align:baseline;white-space:nowrap}pre code{margin-top:0;margin-bottom:0;border-left:0;background-color:transparent;line-height:1.8rem}.container{width:100%;overflow-x:hidden;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}@media screen and (min-width:981px){.grid-960{width:96rem;margin-left:auto;margin-right:auto}}@media screen and (min-width:481px){.grid-480{width:48rem;margin-left:auto;margin-right:auto}}.columns{display:block;margin-left:-1rem;margin-right:-1rem}.column{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:1rem}.column.col-12,.column.col-11,.column.col-10,.column.col-9,.column.col-8,.column.col-7,.column.col-6,.column.col-5,.column.col-4,.column.col-3,.column.col-2,.column.col-1{-webkit-box-flex:0;-webkit-flex:none;-ms-flex:none;flex:none}@media screen and (min-width:841px){.columns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.col-12{width:100%}.col-11{width:91.66666667%}.col-10{width:83.33333333%}.col-9{width:75%}.col-8{width:66.66666667%}.col-7{width:58.33333333%}.col-6{width:50%}.col-5{width:41.66666667%}.col-4{width:33.33333333%}.col-3{width:25%}.col-2{width:16.66666667%}.col-1{width:8.33333333%}}@media screen and (min-width:481px) and (max-width:840px){.columns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.col-12{width:100%}.col-11,.col-10,.col-9,.col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2,.col-1{width:50%}}@media screen and (max-width:480px){.hide-xs{display:none !important}}@media screen and (max-width:600px){.hide-sm{display:none !important}}@media screen and (max-width:840px){.hide-md{display:none !important}}@media screen and (max-width:960px){.hide-lg{display:none !important}}@media screen and (max-width:1280px){.hide-xl{display:none !important}}.img-responsive{display:block;max-width:100%;height:auto}.table{width:100%;border-collapse:collapse;border-spacing:0}.table th,.table td{text-align:left;padding:1.5rem 1rem;border-bottom:.1rem solid #efefef}.table th{border-color:#c9c9c9}.table tr.selected{background-color:#f4f4f4}.btn{display:inline-block;height:3.2rem;padding:.7rem 1.5rem;border:.1rem solid #5764c6;background-color:transparent;border-radius:.3rem;color:#5764c6;font-size:1.4rem;line-height:1.6rem;text-align:center;text-decoration:none;vertical-align:middle;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;outline:0}.btn:hover,.btn:focus{color:#fff;border-color:#4452c0;background-color:#5764c6}.btn:active,.btn.active{color:#fff;border-color:#3b49af;background-color:#4452c0}.btn.btn-primary{color:#fff;border-color:#4452c0;background-color:#5764c6}.btn.btn-primary:hover,.btn.btn-primary:focus{color:#fff;border-color:#3b49af;background-color:#4452c0}.btn.btn-primary:active,.btn.btn-primary.active{color:#fff;border-color:#35419c;background-color:#3b49af}.btn.btn-primary.loading::after{border-color:#fff;border-right-color:transparent;border-top-color:transparent}.btn.btn-link{color:#5764c6;border-color:transparent;background-color:transparent}.btn.btn-link:hover,.btn.btn-link:focus{color:#35419c}.btn.btn-link:active,.btn.btn-link.active{color:#283176}.btn.btn-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;line-height:1.4rem;padding:.4rem 1rem}.btn.btn-lg{height:4.2rem;border-radius:.4rem;font-size:1.8rem;line-height:2rem;padding:1rem 1.8rem}.btn.btn-block{width:100%;display:block}.btn.btn-clear{width:1.4rem;height:1.4rem;padding:0;margin:.1rem -0.2rem .1rem .2rem;border:0;border-radius:.7rem;vertical-align:top;background-color:transparent;opacity:.35;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.btn.btn-clear:hover{opacity:.75}.btn.btn-clear::before,.btn.btn-clear::after{content:"";display:block;position:absolute;top:50%;left:50%;background-color:#333}.btn.btn-clear::before{width:1rem;height:.2rem;margin-left:-0.5rem;margin-top:-0.1rem}.btn.btn-clear::after{width:.2rem;height:1rem;margin-left:-0.1rem;margin-top:-0.5rem}.btn-group{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.btn-group .btn{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.btn-group .btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group .btn:not(:first-child):not(:last-child){margin-left:-0.1rem;border-radius:0}.btn-group .btn:last-child:not(:first-child){margin-left:-0.1rem;border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .btn:hover,.btn-group .btn:focus{z-index:99}.btn-group.btn-group-block{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.form-group:not(:last-child){margin-bottom:1rem}@media screen and (min-width:841px){.form-horizontal{padding:1rem}.form-horizontal .form-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.form-horizontal .form-label{padding:.8rem .4rem}.form-horizontal .form-checkbox,.form-horizontal .form-radio{margin:.5rem 0}}@media screen and (max-width:840px){.form-horizontal .col-12,.form-horizontal .col-11,.form-horizontal .col-10,.form-horizontal .col-9,.form-horizontal .col-8,.form-horizontal .col-7,.form-horizontal .col-6,.form-horizontal .col-5,.form-horizontal .col-4,.form-horizontal .col-3,.form-horizontal .col-2,.form-horizontal .col-1{width:100%}}.form-input{position:relative;display:block;width:100%;max-width:100%;height:3.2rem;background-color:#fff;background-image:none;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;font-size:1.4rem;line-height:1.6rem;padding:.7rem .8rem;-webkit-appearance:none;outline:0}.form-input:focus{border-color:#5764c6}.form-input[disabled]{opacity:.75;background-color:#eeeff2;pointer-events:none}.form-input.input-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;line-height:1.4rem;padding:.4rem .6rem}.form-input.input-lg{height:4.2rem;border-radius:.4rem;font-size:1.6rem;line-height:2rem;padding:1rem 1.2rem}.form-input.input-inline{width:auto;display:inline-block}textarea.form-input{height:auto}.has-success .form-input,.form-input.is-success{border-color:#32b643}.has-danger .form-input,.form-input.is-danger{border-color:#e85600}.form-label{display:block;margin-bottom:.5rem;line-height:1.6rem}.form-select:not([multiple]){height:3.2rem;background-color:#fff;font-size:1.4rem;line-height:1.6rem;padding:.7rem .8rem;border:.1rem solid #c5c5c5;border-radius:.3rem;outline:0}.form-select:focus{border-color:#5764c6}.form-select.select-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;line-height:1.4rem;padding:.4rem .6rem}.form-checkbox,.form-radio{line-height:1.8rem;padding:.3rem 1.8rem;cursor:pointer;display:inline-block;position:relative}.form-checkbox input,.form-radio input{font-size:1.4rem;line-height:2.4rem;vertical-align:top;border:.1rem solid #c5c5c5;display:inline-block;width:1.4rem;height:1.4rem;padding:0;position:absolute;top:.5rem;left:0;cursor:pointer;outline:0;-webkit-appearance:none}.form-checkbox input:hover,.form-radio input:hover{border-color:#9f9f9f}.form-checkbox input:checked,.form-radio input:checked{background-color:#5764c6;border-color:#5764c6}.form-checkbox input{border-radius:.2rem}.form-checkbox input:checked::after{width:.6rem;height:1rem;content:"";position:absolute;top:50%;left:50%;margin-top:-0.6rem;margin-left:-0.3rem;border:.2rem solid #fff;border-top-width:0;border-left-width:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.form-radio input{border-radius:.7rem}.form-radio input:checked::after{width:.4rem;height:.4rem;content:"";position:absolute;top:50%;left:50%;margin-top:-0.2rem;margin-left:-0.2rem;border-radius:.2rem;background-color:#fff}.form-switch{line-height:1.8rem;padding:.3rem 1.8rem .3rem 3.4rem;cursor:pointer;display:inline-block;position:relative}.form-switch input{line-height:2.4rem;vertical-align:top;border:.1rem solid #c5c5c5;background-color:#c5c5c5;display:inline-block;width:3rem;height:1.8rem;padding:0;border-radius:.9rem;position:absolute;top:.3rem;left:0;cursor:pointer;outline:0;-webkit-appearance:none}.form-switch input::after{content:"";display:block;width:1.6rem;height:1.6rem;border-radius:.8rem;position:absolute;top:0;left:0;background-color:#fff;-webkit-transition:left .15s ease;transition:left .15s ease}.form-switch input:checked{background-color:#5764c6;border-color:#5764c6}.form-switch input:checked::after{left:1.2rem;background-color:#fff}.input-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.input-group .input-group-addon{line-height:1.6rem;padding:.7rem .8rem;border:.1rem solid #c5c5c5;border-radius:.3rem;background-color:#efefef}.input-group .input-group-addon,.input-group .input-group-btn{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.input-group .form-input:first-child:not(:last-child),.input-group .input-group-addon:first-child:not(:last-child),.input-group .input-group-btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group .form-input:not(:first-child):not(:last-child),.input-group .input-group-addon:not(:first-child):not(:last-child),.input-group .input-group-btn:not(:first-child):not(:last-child){margin-left:-0.1rem;border-radius:0}.input-group .form-input:last-child:not(:first-child),.input-group .input-group-addon:last-child:not(:first-child),.input-group .input-group-btn:last-child:not(:first-child){margin-left:-0.1rem;border-top-left-radius:0;border-bottom-left-radius:0}.input-group .form-input:focus,.input-group .input-group-addon:focus,.input-group .input-group-btn:focus{z-index:99}.avatar{display:inline-block;width:3.2rem;height:3.2rem;font-size:1.4rem;font-weight:300;line-height:1;margin:0;border-radius:50%;vertical-align:middle;position:relative}.avatar.avatar-xs{width:1.6rem;height:1.6rem;font-size:.8rem}.avatar.avatar-sm{width:2.4rem;height:2.4rem;font-size:1rem}.avatar.avatar-lg{width:4.8rem;height:4.8rem;font-size:2rem}.avatar.avatar-xl{width:6.4rem;height:6.4rem;font-size:2.6rem}.avatar img{width:100%;height:100%;border-radius:50%}.avatar .avatar-icon{width:50%;height:50%;padding:5%;position:absolute;right:-0.2em;bottom:-0.2em;background-color:#fff}.avatar[data-initial]::after{content:attr(data-initial);position:absolute;top:50%;left:50%;color:#fff;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.badge{position:relative;margin-right:2.4rem}.badge::after{content:attr(data-badge);color:#fff;font-size:1.2rem;text-align:center;line-height:1.4rem;background-color:#5764c6;display:block;width:2rem;height:2rem;padding:.3rem .1rem;border-radius:50%;position:absolute;top:-1rem;right:-2.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card{display:block;text-align:left;margin:0;padding:0;border-radius:.3rem;background-color:#fff;z-index:999;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.card .card-header,.card .card-image,.card .card-body,.card .card-footer{padding:1.5rem 1.5rem 0 1.5rem}.card .card-header:last-child,.card .card-image:last-child,.card .card-body:last-child,.card .card-footer:last-child{padding-bottom:1.5rem}.card .card-image{padding-left:0;padding-right:0}.card .card-image:first-child{padding-top:0}.card .card-image:first-child img{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.card .card-title{margin-top:0;margin-bottom:.5rem;font-size:1.6em;line-height:1}.card .card-meta{margin-top:0;margin-bottom:0;font-size:1em;color:#b3b3b3}.chip{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;padding:.3rem .6rem;border-radius:.3rem;font-size:1.2rem;vertical-align:middle;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#efefef;border:.1rem solid #e2e2e2}.chip:hover,.chip:focus{background-color:#eaeaea}.chip .chip-name{margin-left:.4rem}.chip .avatar{width:1.6rem;height:1.6rem;font-size:.8rem}.file-icon{display:inline-block;width:2.4rem;height:3.2rem;background-color:transparent;position:relative;border-width:0 0 2.2rem 1.4rem;border-style:solid;border-color:#c5c5c5;border-radius:.2rem;text-align:left;zoom:1}.file-icon::before,.file-icon::after{position:absolute;top:0;right:0;content:'';width:1rem;height:1rem;border:.5rem solid #c5c5c5;border-right-color:transparent;border-top-color:transparent;background-color:transparent;z-index:2}.file-icon::after{content:attr(data-type);border-color:rgba(255,255,255,0.5);border-bottom-left-radius:.2rem;color:#fff;font-size:1rem;text-indent:-1.6rem;line-height:3.6rem;z-index:3}.file-icon.file-icon-xs{width:1.2rem;height:1.6rem;border-width:0 0 1.2rem .8rem}.file-icon.file-icon-xs::before,.file-icon.file-icon-xs::after{width:.4rem;height:.4rem;border-width:.2rem}.file-icon.file-icon-xs::after{text-indent:-0.8rem;line-height:1.6rem;font-size:.8rem;border-radius:.1rem;content:'--'}.file-icon.file-icon-sm{width:1.8rem;height:2.4rem;border-width:0 0 1.6rem 1rem}.file-icon.file-icon-sm::before,.file-icon.file-icon-sm::after{width:.8rem;height:.8rem;border-width:.4rem}.file-icon.file-icon-sm::after{text-indent:-1.2rem;line-height:2.6rem;font-size:.8rem}.file-icon.file-icon-lg{width:3.6rem;height:4.8rem;border-width:0 0 3.4rem 2.2rem}.file-icon.file-icon-lg::before,.file-icon.file-icon-lg::after{width:1.4rem;height:1.4rem;border-width:.7rem}.file-icon.file-icon-lg::after{text-indent:-2.6rem;line-height:6.2rem;font-size:1.2rem}.file-icon.file-icon-xl{width:4.8rem;height:6.4rem;border-width:0 0 4.6rem 3rem;border-radius:.3rem}.file-icon.file-icon-xl::before,.file-icon.file-icon-xl::after{width:1.8rem;height:1.8rem;border-width:.9rem}.file-icon.file-icon-xl::after{text-indent:-3.4rem;line-height:8.8rem;font-size:1.4rem}.label{display:inline-block;padding:.2rem .4rem;font-size:.9em;line-height:1em;color:#666;background-color:#efefef;text-align:center;white-space:nowrap;vertical-align:baseline;margin:-0.2rem .1em 0 .1em;border-radius:.2rem}.label.label-primary{color:#fff;background-color:#5764c6;border-color:#4f5dc3}.label.label-success{color:#fff;background-color:#32b643;border-color:#30ae40}.label.label-info{color:#fff;background-color:#0193eb;border-color:#018de1}.label.label-warning{color:#fff;background-color:#ffb700;border-color:#f5b000}.label.label-danger{color:#fff;background-color:#e85600;border-color:#de5200}.menu{display:block;text-align:left;margin:0;padding:1rem;border-radius:.3rem;background-color:#fff;z-index:999;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.menu .menu-item{display:block;padding:.2rem 1rem;margin-top:0;border-radius:.3rem;color:#333;line-height:2.4rem;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu .menu-item a{display:block;margin:-0.2rem -1rem;padding:.2rem 1rem;border-radius:.3rem;color:inherit;text-decoration:none}.menu .menu-item a:hover,.menu .menu-item a:focus{color:#5764c6;background-color:#fff}.menu .menu-item a:active,.menu .menu-item a.active{color:#35419c;background-color:#eff1fa}.menu .menu-header{display:block;padding:.2rem 1rem;margin-top:0;font-size:1.2rem;line-height:1.8rem;color:#ccc}.menu .menu-header .menu-header-text{display:inline-block;padding:0 .6rem;margin-left:-0.6rem;background-color:#fff;position:relative;z-index:99}.menu .menu-header:after{content:"";display:block;width:100%;height:.1rem;-webkit-transform:translateY(-1rem);transform:translateY(-1rem);border-bottom:.1rem solid #efefef}.menu .divider{display:block;border-bottom:.1rem solid #efefef;margin:.5rem}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;opacity:0}.modal.active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;z-index:1988;opacity:1}.modal.active .modal-overlay{display:block;position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.75)}.modal.active .modal-container{-webkit-animation:slide-down .216s;animation:slide-down .216s}.modal-container{display:block;text-align:left;margin:0 auto;padding:0;border-radius:.3rem;background-color:#fff;z-index:1988;-webkit-animation:slide-up .216s;animation:slide-up .216s;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.modal-container .modal-header{padding:1.5rem}.modal-container .modal-header .modal-title{margin:0;font-size:1.5rem}.modal-container .modal-body{position:relative;padding:1.5rem;max-height:50vh;overflow-y:auto}.modal-container .modal-footer{padding:1.5rem;text-align:right}@media screen and (min-width:640px){.modal-container{width:64rem}}@media screen and (min-width:320px){.modal-sm .modal-container{width:32rem}}.breadcrumb,.tab,.pagination{list-style:none;margin:.5rem 0}.breadcrumb{padding:1.2rem}.breadcrumb .breadcrumb-item{display:inline-block;margin:0}.breadcrumb .breadcrumb-item a{text-decoration:none}.breadcrumb .breadcrumb-item:last-child,.breadcrumb .breadcrumb-item:last-child a{color:#666;pointer-events:none}.breadcrumb .breadcrumb-item:not(:last-child)::after{content:"/";padding:0 .4rem;color:#c5c5c5}.tab{display:block;border-bottom:.1rem solid #c5c5c5}.tab::after{content:"";display:table;clear:both}.tab::after{content:"";display:table;clear:both}.tab .tab-item{display:inline-block;margin-bottom:-0.1rem;margin-right:.2rem;padding:.5rem 1.5rem}.tab .tab-item a{display:block;padding:.5rem 1.5rem;margin:-0.5rem -1.5rem;border-bottom:.2rem solid transparent;color:#333;text-decoration:none}.tab .tab-item a:hover,.tab .tab-item a:focus{border-bottom-color:#5764c6;color:#5764c6}.tab .tab-item.active a{border-bottom-color:#3b49af;color:#3b49af}.tab.tab-block{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tab.tab-block .tab-item{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;text-align:center}.pagination{display:inline-block;padding:1.2rem}.pagination .page-item{display:inline-block}.pagination .page-item span{display:inline-block;padding:.6rem .5rem}.pagination .page-item a{display:inline-block;padding:.6rem 1.2rem;margin:0 .1rem;border-radius:.3rem;text-decoration:none}.pagination .page-item a:hover,.pagination .page-item a:focus{background-color:#eff1fa}.pagination .page-item.active a{color:#fff;background-color:#5764c6}.toast{display:block;width:100%;padding:1.4rem;color:#666;border:.1rem solid #eaeaea;border-radius:.3rem;background-color:#efefef}.toast.toast-primary{color:#fff;background-color:#5764c6;border-color:#4f5dc3}.toast.toast-success{color:#fff;background-color:#32b643;border-color:#30ae40}.toast.toast-info{color:#fff;background-color:#0193eb;border-color:#018de1}.toast.toast-warning{color:#fff;background-color:#ffb700;border-color:#f5b000}.toast.toast-danger{color:#fff;background-color:#e85600;border-color:#de5200}.toast:first-child:not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0}.toast:not(:first-child):not(:last-child){border-radius:0;margin-top:-0.1rem}.toast:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;margin-top:-0.1rem}.tooltip{position:relative}.tooltip::after{content:attr(data-tooltip);display:block;max-width:32rem;padding:.6rem 1rem;border-radius:.3rem;background-color:rgba(51,51,51,0.9);opacity:0;color:#fff;font-size:1.2rem;line-height:1.6rem;text-overflow:ellipsis;position:absolute;bottom:100%;left:50%;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);overflow:hidden;z-index:99;pointer-events:none;-webkit-transition:all .216s ease;transition:all .216s ease}.tooltip:hover::after,.tooltip:focus::after{opacity:1;-webkit-transform:translate(-50%,-0.5rem);transform:translate(-50%,-0.5rem)}.tooltip.tooltip-right::after{bottom:50%;left:100%;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-right:hover::after,.tooltip.tooltip-right:focus::after{-webkit-transform:translate(0.5rem,50%);transform:translate(0.5rem,50%)}.tooltip.tooltip-bottom::after{top:100%;bottom:auto;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}.tooltip.tooltip-bottom:hover::after,.tooltip.tooltip-bottom:focus::after{-webkit-transform:translate(-50%,0.5rem);transform:translate(-50%,0.5rem)}.tooltip.tooltip-left::after{right:100%;bottom:50%;left:auto;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-left:hover::after,.tooltip.tooltip-left:focus::after{-webkit-transform:translate(-0.5rem,50%);transform:translate(-0.5rem,50%)}.clearfix::after,.container::after,.columns::after{content:"";display:table;clear:both}.float-left{float:left !important}.float-right{float:right !important}.rel{position:relative}.abs{position:absolute}.fixed{position:fixed}.centered{display:block;float:none;margin-left:auto;margin-right:auto}.mt-10{margin-top:1rem}.mr-10{margin-right:1rem}.mb-10{margin-bottom:1rem}.ml-10{margin-left:1rem}.mt-5{margin-top:.5rem}.mr-5{margin-right:.5rem}.mb-5{margin-bottom:.5rem}.ml-5{margin-left:.5rem}.pt-10{padding-top:1rem}.pr-10{padding-right:1rem}.pb-10{padding-bottom:1rem}.pl-10{padding-left:1rem}.pt-5{padding-top:.5rem}.pr-5{padding-right:.5rem}.pb-5{padding-bottom:.5rem}.pl-5{padding-left:.5rem}.block{display:block}.inline{display:inline}.inline-block{display:inline-block}.flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.hide{display:none !important}.visible{visibility:visible}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-normal{font-weight:normal}.text-bold{font-weight:bold}.text-italic{font-style:italic}.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-clip{white-space:nowrap;overflow:hidden;text-overflow:clip}.text-break{word-break:break-word;word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.shadow{box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.light-shadow{box-shadow:0 .1rem .2rem rgba(0,0,0,0.15)}.rounded{border-radius:.3rem}.circle{border-radius:50%}.loading{min-height:1.6rem;position:relative;pointer-events:none;color:transparent !important}.loading::after{border:.2rem solid #5764c6;border-right-color:transparent;border-top-color:transparent;border-radius:.8rem;content:"";position:absolute;left:50%;top:50%;margin-left:-0.8rem;margin-top:-0.8rem;display:block;width:1.6rem;height:1.6rem;-webkit-animation:loading 500ms infinite linear;animation:loading 500ms infinite linear}@-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}} \ No newline at end of file
+/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}template,[hidden]{display:none}a{background-color:transparent}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit}optgroup{font-weight:bold}button,input,select{overflow:visible}button,input,select,textarea{margin:0}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{cursor:pointer}[disabled]{cursor:default}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button:-moz-focusring,input:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}*{box-sizing:border-box}*:before,*:after{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{color:#333;font-family:"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",WenQuanYi Micro Hei,sans-serif;font-size:1.4rem;background-color:#fff}a{color:#5764c6;text-decoration:underline}a:hover,a:focus{color:#283176}[disabled],.disabled{opacity:.5;cursor:default;pointer-events:none}.btn .icon,.toast .icon,.menu .icon{margin-right:.2rem;font-size:1.3333em;line-height:.8em;vertical-align:-20%}h1,h2,h3,h4,h5,h6{font-weight:300;line-height:1.1;margin-top:2.5rem;margin-bottom:1.5rem;color:inherit}h1{font-size:5rem}h2{font-size:4rem}h3{font-size:3rem}h4{font-size:2.4rem}h5{font-size:2rem}h6{font-size:1.6rem}p{line-height:1.428571429;margin:0 0 1rem}p.lead{font-size:120%}blockquote{padding:1rem 2rem;border-left:.2rem solid #ddd;margin-left:0}blockquote p:last-child{margin-bottom:0}blockquote small{color:#b3b3b3}ul,ol{padding:0;margin:2rem 0 2rem 2rem}ul ul,ol ul,ul ol,ol ol{margin:1.5rem 0 1.5rem 2rem}ul li,ol li{margin-top:1rem}ul{list-style:disc inside}ul ul{list-style-type:circle}ol{list-style:decimal inside}ol ol{list-style-type:lower-alpha}.highlight{padding:.2rem;line-height:1.6rem;border-radius:.2rem;background-color:#fff5b7}pre{margin-top:1em;margin-bottom:1em;padding:1.5rem;border-left:.2rem solid #5764c6;line-height:1.8rem;background-color:#f9f9f9;overflow:auto}code{padding:.2rem .4rem;margin:-0.2rem .1em 0 .1em;border-radius:.2rem;background-color:#efefef;font-size:.9em;line-height:1em;vertical-align:baseline;white-space:nowrap}pre code{margin-top:0;margin-bottom:0;border-left:0;background-color:transparent;line-height:1.8rem}.container{width:100%;overflow-x:hidden;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}@media screen and (min-width:981px){.grid-960{width:96rem;margin-left:auto;margin-right:auto}}@media screen and (min-width:481px){.grid-480{width:48rem;margin-left:auto;margin-right:auto}}.columns{display:block;margin-left:-1rem;margin-right:-1rem}.column{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:1rem}.column.col-12,.column.col-11,.column.col-10,.column.col-9,.column.col-8,.column.col-7,.column.col-6,.column.col-5,.column.col-4,.column.col-3,.column.col-2,.column.col-1{-webkit-box-flex:0;-webkit-flex:none;-ms-flex:none;flex:none}@media screen and (min-width:841px){.columns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.col-12{width:100%}.col-11{width:91.66666667%}.col-10{width:83.33333333%}.col-9{width:75%}.col-8{width:66.66666667%}.col-7{width:58.33333333%}.col-6{width:50%}.col-5{width:41.66666667%}.col-4{width:33.33333333%}.col-3{width:25%}.col-2{width:16.66666667%}.col-1{width:8.33333333%}}@media screen and (min-width:481px) and (max-width:840px){.columns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.col-12{width:100%}.col-11,.col-10,.col-9,.col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2,.col-1{width:50%}}@media screen and (max-width:480px){.hide-xs{display:none !important}}@media screen and (max-width:600px){.hide-sm{display:none !important}}@media screen and (max-width:840px){.hide-md{display:none !important}}@media screen and (max-width:960px){.hide-lg{display:none !important}}@media screen and (max-width:1280px){.hide-xl{display:none !important}}.img-responsive{display:block;max-width:100%;height:auto}.table{width:100%;border-collapse:collapse;border-spacing:0}.table th,.table td{text-align:left;padding:1.5rem 1rem;border-bottom:.1rem solid #efefef}.table th{border-color:#c9c9c9}.table tr.selected{background-color:#f4f4f4}.btn{display:inline-block;height:3.2rem;padding:.7rem 1.5rem;border:.1rem solid #5764c6;background-color:transparent;border-radius:.3rem;color:#5764c6;font-size:1.4rem;line-height:1.6rem;text-align:center;text-decoration:none;vertical-align:middle;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;outline:0}.btn:hover,.btn:focus{color:#fff;border-color:#4452c0;background-color:#5764c6}.btn:active,.btn.active{color:#fff;border-color:#3b49af;background-color:#4452c0}.btn.btn-primary{color:#fff;border-color:#4452c0;background-color:#5764c6}.btn.btn-primary:hover,.btn.btn-primary:focus{color:#fff;border-color:#3b49af;background-color:#4452c0}.btn.btn-primary:active,.btn.btn-primary.active{color:#fff;border-color:#35419c;background-color:#3b49af}.btn.btn-primary.loading::after{border-color:#fff;border-right-color:transparent;border-top-color:transparent}.btn.btn-link{color:#5764c6;border-color:transparent;background-color:transparent}.btn.btn-link:hover,.btn.btn-link:focus{color:#35419c}.btn.btn-link:active,.btn.btn-link.active{color:#283176}.btn.btn-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;line-height:1.4rem;padding:.4rem 1rem}.btn.btn-lg{height:4.2rem;border-radius:.4rem;font-size:1.8rem;line-height:2rem;padding:1rem 1.8rem}.btn.btn-block{width:100%;display:block}.btn.btn-clear{width:1.4rem;height:1.4rem;padding:0;margin:.1rem -0.2rem .1rem .2rem;border:0;border-radius:.7rem;vertical-align:top;background-color:transparent;opacity:.35;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.btn.btn-clear:hover{opacity:.75}.btn.btn-clear::before,.btn.btn-clear::after{content:"";display:block;position:absolute;top:50%;left:50%;background-color:#333}.btn.btn-clear::before{width:1rem;height:.2rem;margin-left:-0.5rem;margin-top:-0.1rem}.btn.btn-clear::after{width:.2rem;height:1rem;margin-left:-0.1rem;margin-top:-0.5rem}.btn-group{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.btn-group .btn{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.btn-group .btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group .btn:not(:first-child):not(:last-child){margin-left:-0.1rem;border-radius:0}.btn-group .btn:last-child:not(:first-child){margin-left:-0.1rem;border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .btn:hover,.btn-group .btn:focus{z-index:99}.btn-group.btn-group-block{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.form-group:not(:last-child){margin-bottom:1rem}@media screen and (min-width:841px){.form-horizontal{padding:1rem}.form-horizontal .form-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.form-horizontal .form-label{padding:.8rem .4rem}.form-horizontal .form-checkbox,.form-horizontal .form-radio{margin:.5rem 0}}@media screen and (max-width:840px){.form-horizontal .col-12,.form-horizontal .col-11,.form-horizontal .col-10,.form-horizontal .col-9,.form-horizontal .col-8,.form-horizontal .col-7,.form-horizontal .col-6,.form-horizontal .col-5,.form-horizontal .col-4,.form-horizontal .col-3,.form-horizontal .col-2,.form-horizontal .col-1{width:100%}}.form-input{position:relative;display:block;width:100%;max-width:100%;height:3.2rem;background-color:#fff;background-image:none;border:.1rem solid #c5c5c5;border-radius:.3rem;color:#333;font-size:1.4rem;line-height:1.6rem;padding:.7rem .8rem;-webkit-appearance:none;outline:0}.form-input:focus{border-color:#5764c6}.form-input[disabled]{opacity:.75;background-color:#eeeff2;pointer-events:none}.form-input.input-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;line-height:1.4rem;padding:.4rem .6rem}.form-input.input-lg{height:4.2rem;border-radius:.4rem;font-size:1.6rem;line-height:2rem;padding:1rem 1.2rem}.form-input.input-inline{width:auto;display:inline-block}textarea.form-input{height:auto}.has-success .form-input,.form-input.is-success{border-color:#32b643}.has-danger .form-input,.form-input.is-danger{border-color:#e85600}.form-label{display:block;margin-bottom:.5rem;line-height:1.6rem}.form-select:not([multiple]){height:3.2rem;background-color:#fff;font-size:1.4rem;line-height:1.6rem;padding:.7rem .8rem;border:.1rem solid #c5c5c5;border-radius:.3rem;outline:0}.form-select:focus{border-color:#5764c6}.form-select.select-sm{height:2.4rem;border-radius:.2rem;font-size:1.2rem;line-height:1.4rem;padding:.4rem .6rem}.form-checkbox,.form-radio{line-height:1.8rem;padding:.3rem 1.8rem;cursor:pointer;display:inline-block;position:relative}.form-checkbox input,.form-radio input{font-size:1.4rem;line-height:2.4rem;vertical-align:top;border:.1rem solid #c5c5c5;display:inline-block;width:1.4rem;height:1.4rem;padding:0;position:absolute;top:.5rem;left:0;cursor:pointer;outline:0;-webkit-appearance:none}.form-checkbox input:hover,.form-radio input:hover{border-color:#9f9f9f}.form-checkbox input:checked,.form-radio input:checked{background-color:#5764c6;border-color:#5764c6}.form-checkbox input{border-radius:.2rem}.form-checkbox input:checked::after{width:.6rem;height:1rem;content:"";position:absolute;top:50%;left:50%;margin-top:-0.6rem;margin-left:-0.3rem;border:.2rem solid #fff;border-top-width:0;border-left-width:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.form-radio input{border-radius:.7rem}.form-radio input:checked::after{width:.4rem;height:.4rem;content:"";position:absolute;top:50%;left:50%;margin-top:-0.2rem;margin-left:-0.2rem;border-radius:.2rem;background-color:#fff}.form-switch{line-height:1.8rem;padding:.3rem 1.8rem .3rem 3.4rem;cursor:pointer;display:inline-block;position:relative}.form-switch input{line-height:2.4rem;vertical-align:top;border:.1rem solid #c5c5c5;background-color:#c5c5c5;display:inline-block;width:3rem;height:1.8rem;padding:0;border-radius:.9rem;position:absolute;top:.3rem;left:0;cursor:pointer;outline:0;-webkit-appearance:none}.form-switch input::after{content:"";display:block;width:1.6rem;height:1.6rem;border-radius:.8rem;position:absolute;top:0;left:0;background-color:#fff;-webkit-transition:left .15s ease;transition:left .15s ease}.form-switch input:checked{background-color:#5764c6;border-color:#5764c6}.form-switch input:checked::after{left:1.2rem;background-color:#fff}.input-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.input-group .input-group-addon{line-height:1.6rem;padding:.7rem .8rem;border:.1rem solid #c5c5c5;border-radius:.3rem;background-color:#efefef}.input-group .input-group-addon,.input-group .input-group-btn{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.input-group .form-input:first-child:not(:last-child),.input-group .input-group-addon:first-child:not(:last-child),.input-group .input-group-btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group .form-input:not(:first-child):not(:last-child),.input-group .input-group-addon:not(:first-child):not(:last-child),.input-group .input-group-btn:not(:first-child):not(:last-child){margin-left:-0.1rem;border-radius:0}.input-group .form-input:last-child:not(:first-child),.input-group .input-group-addon:last-child:not(:first-child),.input-group .input-group-btn:last-child:not(:first-child){margin-left:-0.1rem;border-top-left-radius:0;border-bottom-left-radius:0}.input-group .form-input:focus,.input-group .input-group-addon:focus,.input-group .input-group-btn:focus{z-index:99}.avatar{display:inline-block;width:3.2rem;height:3.2rem;font-size:1.4rem;font-weight:300;line-height:1;margin:0;border-radius:50%;vertical-align:middle;position:relative}.avatar.avatar-xs{width:1.6rem;height:1.6rem;font-size:.8rem}.avatar.avatar-sm{width:2.4rem;height:2.4rem;font-size:1rem}.avatar.avatar-lg{width:4.8rem;height:4.8rem;font-size:2rem}.avatar.avatar-xl{width:6.4rem;height:6.4rem;font-size:2.6rem}.avatar img{width:100%;height:100%;border-radius:50%}.avatar .avatar-icon{width:50%;height:50%;padding:5%;position:absolute;right:-0.2em;bottom:-0.2em;background-color:#fff}.avatar[data-initial]::after{content:attr(data-initial);position:absolute;top:50%;left:50%;color:#fff;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@-webkit-keyframes loading{0{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{0{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes slide-down{0{margin-top:-3rem;opacity:0}100%{margin-top:0;opacity:1}}@keyframes slide-down{0{margin-top:-3rem;opacity:0}100%{margin-top:0;opacity:1}}.badge{position:relative;margin-right:2.4rem}.badge::after{content:attr(data-badge);color:#fff;font-size:1.2rem;text-align:center;line-height:1.4rem;background-color:#5764c6;display:block;width:2rem;height:2rem;padding:.3rem .1rem;border-radius:50%;position:absolute;top:-1rem;right:-2.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card{display:block;text-align:left;margin:0;padding:0;border-radius:.3rem;background-color:#fff;z-index:999;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.card .card-header,.card .card-image,.card .card-body,.card .card-footer{padding:1.5rem 1.5rem 0 1.5rem}.card .card-header:last-child,.card .card-image:last-child,.card .card-body:last-child,.card .card-footer:last-child{padding-bottom:1.5rem}.card .card-image{padding-left:0;padding-right:0}.card .card-image:first-child{padding-top:0}.card .card-image:first-child img{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.card .card-title{margin-top:0;margin-bottom:.5rem;font-size:1.6em;line-height:1}.card .card-meta{margin-top:0;margin-bottom:0;font-size:1em;color:#b3b3b3}.chip{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;padding:.3rem .6rem;border-radius:.3rem;font-size:1.2rem;vertical-align:middle;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:#efefef;border:.1rem solid #e2e2e2}.chip:hover,.chip:focus{background-color:#eaeaea}.chip .chip-name{margin-left:.4rem}.chip .avatar{width:1.6rem;height:1.6rem;font-size:.8rem}.label{display:inline-block;padding:.2rem .4rem;font-size:.9em;line-height:1em;color:#666;background-color:#efefef;text-align:center;white-space:nowrap;vertical-align:baseline;margin:-0.2rem .1em 0 .1em;border-radius:.2rem}.label.label-primary{color:#fff;background-color:#5764c6;border-color:#4f5dc3}.label.label-success{color:#fff;background-color:#32b643;border-color:#30ae40}.label.label-info{color:#fff;background-color:#0193eb;border-color:#018de1}.label.label-warning{color:#fff;background-color:#ffb700;border-color:#f5b000}.label.label-danger{color:#fff;background-color:#e85600;border-color:#de5200}.menu{display:block;text-align:left;margin:0;padding:1rem;border-radius:.3rem;background-color:#fff;z-index:999;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.menu .menu-item{display:block;padding:.2rem 1rem;margin-top:0;border-radius:.3rem;color:#333;line-height:2.4rem;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu .menu-item a{display:block;margin:-0.2rem -1rem;padding:.2rem 1rem;border-radius:.3rem;color:inherit;text-decoration:none}.menu .menu-item a:hover,.menu .menu-item a:focus{color:#5764c6;background-color:#fff}.menu .menu-item a:active,.menu .menu-item a.active{color:#35419c;background-color:#eff1fa}.menu .menu-header{display:block;padding:.2rem 1rem;margin-top:0;font-size:1.2rem;line-height:1.8rem;color:#ccc}.menu .menu-header .menu-header-text{display:inline-block;padding:0 .6rem;margin-left:-0.6rem;background-color:#fff;position:relative;z-index:99}.menu .menu-header:after{content:"";display:block;width:100%;height:.1rem;-webkit-transform:translateY(-1rem);transform:translateY(-1rem);border-bottom:.1rem solid #efefef}.menu .divider{display:block;border-bottom:.1rem solid #efefef;margin:.5rem}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;opacity:0}.modal.active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;z-index:1988;opacity:1}.modal.active .modal-overlay{display:block;position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.75)}.modal.active .modal-container{-webkit-animation:slide-down .216s;animation:slide-down .216s}.modal-container{display:block;text-align:left;margin:0 auto;padding:0;border-radius:.3rem;background-color:#fff;z-index:1988;-webkit-animation:slide-up .216s;animation:slide-up .216s;box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.modal-container .modal-header{padding:1.5rem}.modal-container .modal-header .modal-title{margin:0;font-size:1.5rem}.modal-container .modal-body{position:relative;padding:1.5rem;max-height:50vh;overflow-y:auto}.modal-container .modal-footer{padding:1.5rem;text-align:right}@media screen and (min-width:640px){.modal-container{width:64rem}}@media screen and (min-width:320px){.modal-sm .modal-container{width:32rem}}.breadcrumb,.tab,.pagination{list-style:none;margin:.5rem 0}.breadcrumb{padding:1.2rem}.breadcrumb .breadcrumb-item{display:inline-block;margin:0}.breadcrumb .breadcrumb-item a{text-decoration:none}.breadcrumb .breadcrumb-item:last-child,.breadcrumb .breadcrumb-item:last-child a{color:#666;pointer-events:none}.breadcrumb .breadcrumb-item:not(:last-child)::after{content:"/";padding:0 .4rem;color:#c5c5c5}.tab{display:block;border-bottom:.1rem solid #c5c5c5}.tab .tab-item{display:inline-block;margin-bottom:-0.1rem}.tab .tab-item a{display:block;padding:.5rem 1.5rem;border-bottom:.2rem solid transparent;color:#333;text-decoration:none}.tab .tab-item a:hover,.tab .tab-item a:focus{border-bottom-color:#5764c6;color:#5764c6}.tab .tab-item.active a{border-bottom-color:#3b49af;color:#3b49af}.tab.tab-block{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.tab.tab-block .tab-item{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;text-align:center}.pagination{display:inline-block;padding:1.2rem}.pagination .page-item{display:inline-block}.pagination .page-item span{display:inline-block;padding:.6rem .5rem}.pagination .page-item a{display:inline-block;padding:.6rem 1.2rem;margin:0 .1rem;border-radius:.3rem;text-decoration:none}.pagination .page-item a:hover,.pagination .page-item a:focus{background-color:#eff1fa}.pagination .page-item.active a{color:#fff;background-color:#5764c6}.toast{display:block;width:100%;padding:1.4rem;color:#666;border:.1rem solid #eaeaea;border-radius:.3rem;background-color:#efefef}.toast.toast-primary{color:#fff;background-color:#5764c6;border-color:#4f5dc3}.toast.toast-success{color:#fff;background-color:#32b643;border-color:#30ae40}.toast.toast-info{color:#fff;background-color:#0193eb;border-color:#018de1}.toast.toast-warning{color:#fff;background-color:#ffb700;border-color:#f5b000}.toast.toast-danger{color:#fff;background-color:#e85600;border-color:#de5200}.toast:first-child:not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0}.toast:not(:first-child):not(:last-child){border-radius:0;margin-top:-0.1rem}.toast:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;margin-top:-0.1rem}.tooltip{position:relative}.tooltip::after{content:attr(data-tooltip);display:block;max-width:32rem;padding:.6rem 1rem;border-radius:.3rem;background-color:rgba(51,51,51,0.9);opacity:0;color:#fff;font-size:1.2rem;line-height:1.6rem;text-overflow:ellipsis;position:absolute;bottom:100%;left:50%;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);overflow:hidden;z-index:99;pointer-events:none;-webkit-transition:all .216s ease;transition:all .216s ease}.tooltip:hover::after,.tooltip:focus::after{opacity:1;-webkit-transform:translate(-50%,-0.5rem);transform:translate(-50%,-0.5rem)}.tooltip.tooltip-right::after{bottom:50%;left:100%;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-right:hover::after,.tooltip.tooltip-right:focus::after{-webkit-transform:translate(0.5rem,50%);transform:translate(0.5rem,50%)}.tooltip.tooltip-bottom::after{top:100%;bottom:auto;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}.tooltip.tooltip-bottom:hover::after,.tooltip.tooltip-bottom:focus::after{-webkit-transform:translate(-50%,0.5rem);transform:translate(-50%,0.5rem)}.tooltip.tooltip-left::after{right:100%;bottom:50%;left:auto;-webkit-transform:translate(0,50%);transform:translate(0,50%)}.tooltip.tooltip-left:hover::after,.tooltip.tooltip-left:focus::after{-webkit-transform:translate(-0.5rem,50%);transform:translate(-0.5rem,50%)}.clearfix::after,.container::after,.columns::after{content:"";display:table;clear:both}.float-left{float:left !important}.float-right{float:right !important}.rel{position:relative}.abs{position:absolute}.fixed{position:fixed}.centered{display:block;float:none;margin-left:auto;margin-right:auto}.mt-10{margin-top:1rem}.mr-10{margin-right:1rem}.mb-10{margin-bottom:1rem}.ml-10{margin-left:1rem}.mt-5{margin-top:.5rem}.mr-5{margin-right:.5rem}.mb-5{margin-bottom:.5rem}.ml-5{margin-left:.5rem}.pt-10{padding-top:1rem}.pr-10{padding-right:1rem}.pb-10{padding-bottom:1rem}.pl-10{padding-left:1rem}.pt-5{padding-top:.5rem}.pr-5{padding-right:.5rem}.pb-5{padding-bottom:.5rem}.pl-5{padding-left:.5rem}.block{display:block}.inline{display:inline}.inline-block{display:inline-block}.flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.hide{display:none !important}.visible{visibility:visible}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-normal{font-weight:normal}.text-bold{font-weight:bold}.text-italic{font-style:italic}.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-clip{white-space:nowrap;overflow:hidden;text-overflow:clip}.text-break{word-break:break-word;word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.shadow{box-shadow:0 .1rem .4rem rgba(0,0,0,0.3)}.light-shadow{box-shadow:0 .1rem .2rem rgba(0,0,0,0.15)}.rounded{border-radius:.3rem}.circle{border-radius:50%}.loading{min-height:1.6rem;position:relative;pointer-events:none;color:transparent !important}.loading::after{border:.2rem solid #5764c6;border-right-color:transparent;border-top-color:transparent;border-radius:.8rem;content:"";position:absolute;left:50%;top:50%;margin-left:-0.8rem;margin-top:-0.8rem;display:block;width:1.6rem;height:1.6rem;-webkit-animation:loading 500ms infinite linear;animation:loading 500ms infinite linear} \ No newline at end of file
diff --git a/index.html b/index.html
index 8dad2ce..5ce55e0 100644
--- a/index.html
+++ b/index.html
@@ -1899,7 +1899,7 @@
<footer class="bg-grey">
<section id="copyright" class="grid-footer grid-960">
<p>
- <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.5
+ <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.6
</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 1c171ad..dcae68b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "spectre.css",
- "version": "0.1.5",
+ "version": "0.1.6",
"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 5e39ee8..b2b1a8a 100644
--- a/spectre.less
+++ b/spectre.less
@@ -18,17 +18,18 @@
// Components
@import 'src/avatars.less';
+@import 'src/animations.less';
@import 'src/badges.less';
@import 'src/cards.less';
@import 'src/chips.less';
-@import 'src/fileicons.less';
+// TODO: File icons
+// @import 'src/fileicons.less';
@import 'src/labels.less';
@import 'src/menus.less';
@import 'src/modals.less';
@import 'src/navigation.less';
@import 'src/toasts.less';
@import 'src/tooltips.less';
-// TODO: Animations
// Utility classes
@import 'src/utilities.less'; \ No newline at end of file
diff --git a/src/animations.less b/src/animations.less
new file mode 100644
index 0000000..a54d61c
--- /dev/null
+++ b/src/animations.less
@@ -0,0 +1,19 @@
+// Animations
+@keyframes loading {
+ 0% {
+ transform: rotate(0deg);
+ }
+ 100% {
+ transform: rotate(360deg);
+ }
+}
+@keyframes slide-down {
+ 0% {
+ margin-top: -3rem;
+ opacity: 0;
+ }
+ 100% {
+ margin-top: 0;
+ opacity: 1;
+ }
+} \ No newline at end of file
diff --git a/src/navigation.less b/src/navigation.less
index 80cba1a..b7f42f7 100644
--- a/src/navigation.less
+++ b/src/navigation.less
@@ -38,18 +38,14 @@
.tab {
display: block;
border-bottom: .1rem solid @control-color;
- .clearfix();
.tab-item {
display: inline-block;
margin-bottom: -.1rem;
- margin-right: .2rem;
- padding: .5rem 1.5rem;
a {
display: block;
padding: .5rem 1.5rem;
- margin: -.5rem -1.5rem;
border-bottom: .2rem solid transparent;
color: @body-font-color;
text-decoration: none;
diff --git a/src/utilities.less b/src/utilities.less
index 9dcd35e..25c8bc1 100644
--- a/src/utilities.less
+++ b/src/utilities.less
@@ -196,24 +196,4 @@
height: 1.6rem;
animation: loading 500ms infinite linear;
}
-}
-
-// Animations
-@keyframes loading {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
-}
-@keyframes slide-down {
- 0% {
- margin-top: -3rem;
- opacity: 0;
- }
- 100% {
- margin-top: 0;
- opacity: 1;
- }
} \ No newline at end of file