Summary Files Commits Branches @commit @diff @stats
path: root / dist / spectre.css
diff options
context:
space:
mode:
Commit18d385b636db17c409fa0e36da15053e4f8354bf (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 09:18:11 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 09:18:11 +0800
Files0837aab5deec0e9a915af6fc283c4d751fc75ab3 /dist/spectre.css
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.tar
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.tar.gz
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.zip
Parent8fd6c598d692e690fee006a9ea2b57f3dcebc2e7 (diff)
Parentf3f78136d631892b9247bb345aa70a4d8812507c (diff)
Merge pull request #18 from picturepan2/master
merge master to gh-pages
1 files changed, 389 insertions, 417 deletions
-rw-r--r--dist/spectre.css806
diff --git a/dist/spectre.css b/dist/spectre.css
index 629ac76..1d1a94d 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -6,10 +6,10 @@
html {
font-family: sans-serif;
/* 1 */
- -ms-text-size-adjust: 100%;
- /* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
+ -ms-text-size-adjust: 100%;
+ /* 2 */
}
/**
* Remove the margin in all browsers (opinionated).
@@ -93,9 +93,9 @@ a:hover {
*/
abbr[title] {
border-bottom: none;
- /* 1 */
- text-decoration: underline;
/* 2 */
+ text-decoration: underline;
+ /* 1 */
text-decoration: underline dotted;
/* 2 */
}
@@ -125,7 +125,7 @@ dfn {
*/
h1 {
font-size: 2em;
- margin: 0.67em 0;
+ margin: .67em 0;
}
/**
* Add the correct background and color in IE 9-.
@@ -152,10 +152,10 @@ sup {
vertical-align: baseline;
}
sub {
- bottom: -0.25em;
+ bottom: -.25em;
}
sup {
- top: -0.5em;
+ top: -.5em;
}
/* Embedded content
========================================================================== */
@@ -300,7 +300,7 @@ input:-moz-focusring {
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
+ padding: .35em .625em .75em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
@@ -360,22 +360,21 @@ textarea {
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
-* {
- box-sizing: border-box;
-}
-*:before,
-*:after {
- box-sizing: border-box;
+*,
+*::before,
+*::after {
+ box-sizing: inherit;
}
html {
+ box-sizing: border-box;
font-size: 10px;
-webkit-tap-highlight-color: transparent;
}
body {
+ background-color: #fff;
color: #333;
font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic", sans-serif;
font-size: 1.4rem;
- background-color: #fff;
}
a {
color: #5764c6;
@@ -387,16 +386,16 @@ a:focus {
}
[disabled],
.disabled {
- opacity: .5;
cursor: default;
+ opacity: .5;
pointer-events: none;
}
.btn .icon,
.toast .icon,
.menu .icon {
- margin-right: .2rem;
font-size: 1.3333em;
- line-height: 0.8em;
+ line-height: .8em;
+ margin-right: .2rem;
vertical-align: -20%;
}
h1,
@@ -405,11 +404,11 @@ h3,
h4,
h5,
h6 {
+ color: inherit;
font-weight: 300;
line-height: 1.1;
- margin-top: 2.5rem;
margin-bottom: 1.5rem;
- color: inherit;
+ margin-top: 2.5rem;
}
h1 {
font-size: 5rem;
@@ -434,20 +433,20 @@ p {
margin: 0 0 1rem;
}
blockquote {
- padding: 1rem 2rem;
border-left: .2rem solid #ddd;
margin-left: 0;
+ padding: 1rem 2rem;
}
blockquote p:last-child {
margin-bottom: 0;
}
-blockquote .blockquote-source {
+blockquote cite {
color: #b3b3b3;
}
ul,
ol {
- padding: 0;
margin: 2rem 0 2rem 2rem;
+ padding: 0;
}
ul ul,
ol ul,
@@ -475,57 +474,57 @@ ol ol {
font-size: 120%;
}
.highlight {
- padding: .2rem;
- line-height: 1.6rem;
- border-radius: .2rem;
background-color: #ffe5a3;
+ border-radius: .2rem;
+ line-height: 1.6rem;
+ padding: .2rem;
}
pre {
- margin-top: 1em;
- margin-bottom: 1em;
- padding: 1.5rem;
- border-left: 0.2rem solid #5764c6;
- line-height: 1.8rem;
background-color: #f9f9f9;
+ border-left: .2rem solid #5764c6;
+ line-height: 1.8rem;
+ margin-bottom: 1em;
+ margin-top: 1em;
overflow: auto;
+ padding: 1.5rem;
}
code {
- padding: .2rem .4rem;
- margin: -0.2rem 0.1em 0 0.1em;
- border-radius: .2rem;
background-color: #efefef;
+ border-radius: .2rem;
font-size: .9em;
line-height: 1em;
+ margin: -.2rem .1em 0 .1em;
+ padding: .2rem .4rem;
vertical-align: baseline;
white-space: nowrap;
}
pre code {
- margin-top: 0;
- margin-bottom: 0;
- border-left: 0;
background-color: transparent;
+ border-left: 0;
line-height: 1.8rem;
+ margin-bottom: 0;
+ margin-top: 0;
}
.container {
- width: 100%;
- overflow-x: hidden;
margin-left: auto;
margin-right: auto;
+ overflow-x: hidden;
padding-left: 1rem;
padding-right: 1rem;
+ width: 100%;
}
@media screen and (min-width: 981px) {
.grid-960 {
- width: 96rem;
margin-left: auto;
margin-right: auto;
+ width: 96rem;
}
}
@media screen and (min-width: 481px) {
.grid-480 {
- width: 48rem;
margin-left: auto;
margin-right: auto;
+ width: 48rem;
}
}
.columns {
@@ -534,7 +533,6 @@ pre code {
margin-right: -1rem;
}
.column {
- -webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
@@ -552,17 +550,15 @@ pre code {
.column.col-3,
.column.col-2,
.column.col-1 {
- -webkit-box-flex: 0;
-webkit-flex: none;
-ms-flex: none;
flex: none;
}
@media screen and (min-width: 841px) {
.columns {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
+ display: -webkit-flex;
}
.col-12 {
width: 100%;
@@ -603,10 +599,9 @@ pre code {
}
@media screen and (min-width: 481px) and (max-width: 840px) {
.columns {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
+ display: -webkit-flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
@@ -655,41 +650,41 @@ pre code {
}
.img-responsive {
display: block;
- max-width: 100%;
height: auto;
+ max-width: 100%;
}
.video-responsive {
- position: relative;
height: 0;
- padding-top: 3rem;
+ overflow: hidden;
padding-bottom: 56.25%;
/* 16:9 */
- overflow: hidden;
+ padding-top: 3rem;
+ position: relative;
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
+ height: 100%;
+ left: 0;
position: absolute;
top: 0;
- left: 0;
width: 100%;
- height: 100%;
}
.video-responsive video {
- width: 100%;
- max-width: 100%;
height: auto;
+ max-width: 100%;
+ width: 100%;
}
.table {
- width: 100%;
border-collapse: collapse;
border-spacing: 0;
+ width: 100%;
}
.table th,
.table td {
- text-align: left;
+ border-bottom: .1rem solid #efefef;
padding: 1.5rem 1rem;
- border-bottom: 0.1rem solid #efefef;
+ text-align: left;
}
.table th {
border-color: #c9c9c9;
@@ -698,55 +693,55 @@ pre code {
background-color: #f4f4f4;
}
.btn {
- display: inline-block;
- height: 3.2rem;
- padding: .7rem 1.5rem;
- border: 0.1rem solid #5764c6;
+ -webkit-appearance: none;
background-color: transparent;
+ border: .1rem solid #5764c6;
border-radius: .3rem;
color: #5764c6;
+ cursor: pointer;
+ display: inline-block;
font-size: 1.4rem;
+ height: 3.2rem;
line-height: 1.6rem;
+ outline: 0;
+ padding: .7rem 1.5rem;
text-align: center;
text-decoration: none;
- vertical-align: middle;
- white-space: nowrap;
- cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
- -webkit-appearance: none;
- outline: 0;
+ vertical-align: middle;
+ white-space: nowrap;
}
.btn:hover,
.btn:focus {
- color: #fff;
- border-color: #4452c0;
background-color: #5764c6;
+ border-color: #4452c0;
+ color: #fff;
}
.btn:active,
.btn.active {
- color: #fff;
- border-color: #3b49af;
background-color: #4452c0;
+ border-color: #3b49af;
+ color: #fff;
}
.btn.btn-primary {
- color: #fff;
- border-color: #4452c0;
background-color: #5764c6;
+ border-color: #4452c0;
+ color: #fff;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
- color: #fff;
- border-color: #3b49af;
background-color: #4452c0;
+ border-color: #3b49af;
+ color: #fff;
}
.btn.btn-primary:active,
.btn.btn-primary.active {
- color: #fff;
- border-color: #35419c;
background-color: #3b49af;
+ border-color: #35419c;
+ color: #fff;
}
.btn.btn-primary.loading::after {
border-color: #fff;
@@ -754,9 +749,9 @@ pre code {
border-top-color: transparent;
}
.btn.btn-link {
- color: #5764c6;
- border-color: transparent;
background-color: transparent;
+ border-color: transparent;
+ color: #5764c6;
}
.btn.btn-link:hover,
.btn.btn-link:focus {
@@ -767,98 +762,95 @@ pre code {
color: #283176;
}
.btn.btn-sm {
- height: 2.4rem;
border-radius: .2rem;
font-size: 1.2rem;
+ height: 2.4rem;
line-height: 1.4rem;
padding: .4rem 1rem;
}
.btn.btn-lg {
- height: 4.2rem;
border-radius: .4rem;
font-size: 1.8rem;
+ height: 4.2rem;
line-height: 2rem;
padding: 1rem 1.8rem;
}
.btn.btn-block {
- width: 100%;
display: block;
+ width: 100%;
}
.btn.btn-clear {
- width: 1.4rem;
- height: 1.4rem;
- padding: 0;
- margin: 0.1rem -0.2rem 0.1rem 0.2rem;
+ background-color: transparent;
border: 0;
border-radius: .7rem;
- vertical-align: top;
- position: relative;
- background-color: transparent;
+ height: 1.4rem;
+ margin: .1rem -.2rem .1rem .2rem;
opacity: .35;
+ padding: 0;
+ position: relative;
+ vertical-align: top;
+ width: 1.4rem;
}
.btn.btn-clear:hover {
opacity: .75;
}
.btn.btn-clear::before,
.btn.btn-clear::after {
+ background-color: #333;
content: "";
display: block;
+ left: 50%;
position: absolute;
top: 50%;
- left: 50%;
- background-color: #333;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.btn.btn-clear::before {
- width: 1rem;
height: .2rem;
- margin-left: -0.5rem;
- margin-top: -0.1rem;
+ margin-left: -.5rem;
+ margin-top: -.1rem;
+ width: 1rem;
}
.btn.btn-clear::after {
- width: .2rem;
height: 1rem;
- margin-left: -0.1rem;
- margin-top: -0.5rem;
+ margin-left: -.1rem;
+ margin-top: -.5rem;
+ width: .2rem;
}
.btn-group {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
+ display: inline-flex;
display: -ms-inline-flexbox;
- display: inline-flex;
+ display: -webkit-inline-flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.btn-group .btn {
- -webkit-box-flex: 1;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
.btn-group .btn:first-child:not(:last-child) {
- border-top-right-radius: 0;
border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
}
.btn-group .btn:not(:first-child):not(:last-child) {
- margin-left: -0.1rem;
border-radius: 0;
+ margin-left: -.1rem;
}
.btn-group .btn:last-child:not(:first-child) {
- margin-left: -0.1rem;
- border-top-left-radius: 0;
border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+ margin-left: -.1rem;
}
.btn-group .btn:hover,
.btn-group .btn:focus {
z-index: 99;
}
.btn-group.btn-group-block {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
+ display: -webkit-flex;
}
.form-group:not(:last-child) {
margin-bottom: 1rem;
@@ -868,10 +860,9 @@ pre code {
padding: 1rem;
}
.form-horizontal .form-group {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
+ display: -webkit-flex;
}
.form-horizontal .form-label {
padding: .8rem .4rem;
@@ -898,21 +889,21 @@ pre code {
}
}
.form-input {
- position: relative;
- display: block;
- width: 100%;
- max-width: 100%;
- height: 3.2rem;
+ -webkit-appearance: none;
background-color: #fff;
background-image: none;
- border: 0.1rem solid #c5c5c5;
+ border: .1rem solid #c5c5c5;
border-radius: .3rem;
color: #333;
+ display: block;
font-size: 1.4rem;
+ height: 3.2rem;
line-height: 1.6rem;
- padding: .5rem .8rem;
- -webkit-appearance: none;
+ max-width: 100%;
outline: 0;
+ padding: .5rem .8rem;
+ position: relative;
+ width: 100%;
}
.form-input:focus {
border-color: #5764c6;
@@ -921,20 +912,20 @@ pre code {
background-color: #eeeff2;
}
.form-input.input-sm {
- height: 2.4rem;
border-radius: .2rem;
font-size: 1.2rem;
+ height: 2.4rem;
padding: .4rem .6rem;
}
.form-input.input-lg {
- height: 4.2rem;
border-radius: .4rem;
font-size: 1.6rem;
+ height: 4.2rem;
padding: 1rem 1.2rem;
}
.form-input.input-inline {
- width: auto;
display: inline-block;
+ width: auto;
}
textarea.form-input {
height: auto;
@@ -950,8 +941,8 @@ textarea.form-input {
}
.form-label {
display: block;
- margin-bottom: .5rem;
line-height: 1.6rem;
+ margin-bottom: .5rem;
}
.form-select {
-webkit-appearance: none;
@@ -959,25 +950,25 @@ textarea.form-input {
appearance: none;
}
.form-select:not([multiple]) {
- height: 3.2rem;
- font-size: 1.4rem;
- vertical-align: middle;
- padding: .5rem 2.4rem .5rem .8rem;
- border: 0.1rem solid #c5c5c5;
+ background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center / .8rem 1rem;
+ border: .1rem solid #c5c5c5;
border-radius: .3rem;
+ font-size: 1.4rem;
+ height: 3.2rem;
outline: 0;
- background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right 0.75rem center / 0.8rem 1rem;
+ padding: .5rem 2.4rem .5rem .8rem;
+ vertical-align: middle;
}
.form-select:focus {
border-color: #5764c6;
}
-.form-select select::-ms-expand {
+.form-select::-ms-expand {
display: none;
}
.form-select.select-sm {
- height: 2.4rem;
border-radius: .2rem;
font-size: 1.2rem;
+ height: 2.4rem;
padding: .4rem .6rem;
}
.form-checkbox input,
@@ -987,26 +978,26 @@ textarea.form-input {
}
.form-checkbox,
.form-radio {
- line-height: 1.8rem;
- padding: .3rem 2rem;
cursor: pointer;
display: inline-block;
+ line-height: 1.8rem;
+ padding: .3rem 2rem;
position: relative;
}
.form-checkbox .form-icon,
.form-radio .form-icon {
- font-size: 1.4rem;
- line-height: 2.4rem;
- vertical-align: top;
- border: 0.1rem solid #c5c5c5;
+ border: .1rem solid #c5c5c5;
display: inline-block;
- width: 1.4rem;
+ font-size: 1.4rem;
height: 1.4rem;
+ left: 0;
+ line-height: 2.4rem;
+ outline: none;
padding: 0;
position: absolute;
top: .5rem;
- left: 0;
- outline: none;
+ vertical-align: top;
+ width: 1.4rem;
}
.form-checkbox:hover .form-icon,
.form-radio:hover .form-icon {
@@ -1021,69 +1012,68 @@ textarea.form-input {
border-radius: .2rem;
}
.form-checkbox input:checked + .form-icon::after {
- width: .6rem;
- height: 1rem;
+ border: .2rem solid #fff;
+ border-left-width: 0;
+ border-top-width: 0;
content: "";
+ height: 1rem;
+ left: 50%;
+ margin-left: -.3rem;
+ margin-top: -.6rem;
position: absolute;
top: 50%;
- left: 50%;
- margin-top: -0.6rem;
- margin-left: -0.3rem;
- border: .2rem solid #fff;
- border-top-width: 0;
- border-left-width: 0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
+ width: .6rem;
}
.form-radio .form-icon {
border-radius: .7rem;
}
.form-radio input:checked + .form-icon::after {
- width: .4rem;
- height: .4rem;
+ background-color: #fff;
+ border-radius: .2rem;
content: "";
+ height: .4rem;
+ left: 50%;
+ margin-left: -.2rem;
+ margin-top: -.2rem;
position: absolute;
top: 50%;
- left: 50%;
- margin-top: -0.2rem;
- margin-left: -0.2rem;
- border-radius: .2rem;
- background-color: #fff;
+ width: .4rem;
}
.form-switch {
- line-height: 1.8rem;
- padding: .3rem 2rem .3rem 3.6rem;
cursor: pointer;
display: inline-block;
+ line-height: 1.8rem;
+ padding: .3rem 2rem .3rem 3.6rem;
position: relative;
}
.form-switch .form-icon {
- line-height: 2.4rem;
- vertical-align: top;
- border: 0.1rem solid #c5c5c5;
background-color: #c5c5c5;
+ border: .1rem solid #c5c5c5;
+ border-radius: .9rem;
display: inline-block;
- width: 3rem;
height: 1.8rem;
+ left: 0;
+ line-height: 2.4rem;
+ outline: none;
padding: 0;
- border-radius: .9rem;
position: absolute;
top: .3rem;
- left: 0;
- outline: none;
+ vertical-align: top;
+ width: 3rem;
}
.form-switch .form-icon::after {
+ background-color: #fff;
+ border-radius: .8rem;
content: "";
display: block;
- width: 1.6rem;
height: 1.6rem;
- border-radius: .8rem;
+ left: 0;
position: absolute;
top: 0;
- left: 0;
- background-color: #fff;
- -webkit-transition: left .15s ease;
transition: left .15s ease;
+ width: 1.6rem;
}
.form-switch input:checked + .form-icon {
background-color: #5764c6;
@@ -1093,21 +1083,19 @@ textarea.form-input {
left: 1.2rem;
}
.input-group {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
+ display: -webkit-flex;
}
.input-group .input-group-addon {
+ background-color: #efefef;
+ border: .1rem solid #c5c5c5;
+ border-radius: .3rem;
line-height: 1.6rem;
padding: .7rem .8rem;
- border: 0.1rem solid #c5c5c5;
- border-radius: .3rem;
- background-color: #efefef;
}
.input-group .input-group-addon,
.input-group .input-group-btn {
- -webkit-box-flex: 1;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
@@ -1115,21 +1103,21 @@ textarea.form-input {
.input-group .form-input:first-child:not(:last-child),
.input-group .input-group-addon:first-child:not(:last-child),
.input-group .input-group-btn:first-child:not(:last-child) {
- border-top-right-radius: 0;
border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
}
.input-group .form-input:not(:first-child):not(:last-child),
.input-group .input-group-addon:not(:first-child):not(:last-child),
.input-group .input-group-btn:not(:first-child):not(:last-child) {
- margin-left: -0.1rem;
border-radius: 0;
+ margin-left: -.1rem;
}
.input-group .form-input:last-child:not(:first-child),
.input-group .input-group-addon:last-child:not(:first-child),
.input-group .input-group-btn:last-child:not(:first-child) {
- margin-left: -0.1rem;
- border-top-left-radius: 0;
border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+ margin-left: -.1rem;
}
.input-group .form-input:focus,
.input-group .input-group-addon:focus,
@@ -1137,57 +1125,57 @@ textarea.form-input {
z-index: 99;
}
.avatar {
+ border-radius: 50%;
display: inline-block;
- width: 3.2rem;
- height: 3.2rem;
font-size: 1.4rem;
font-weight: 300;
+ height: 3.2rem;
line-height: 1;
margin: 0;
- border-radius: 50%;
- vertical-align: middle;
position: relative;
+ vertical-align: middle;
+ width: 3.2rem;
}
.avatar.avatar-xs {
- width: 1.6rem;
- height: 1.6rem;
font-size: .8rem;
+ height: 1.6rem;
+ width: 1.6rem;
}
.avatar.avatar-sm {
- width: 2.4rem;
- height: 2.4rem;
font-size: 1rem;
+ height: 2.4rem;
+ width: 2.4rem;
}
.avatar.avatar-lg {
- width: 4.8rem;
- height: 4.8rem;
font-size: 2rem;
+ height: 4.8rem;
+ width: 4.8rem;
}
.avatar.avatar-xl {
- width: 6.4rem;
- height: 6.4rem;
font-size: 2.6rem;
+ height: 6.4rem;
+ width: 6.4rem;
}
.avatar img {
- width: 100%;
- height: 100%;
border-radius: 50%;
+ height: 100%;
+ width: 100%;
}
.avatar .avatar-icon {
- width: 50%;
+ background-color: #fff;
+ bottom: -.2em;
height: 50%;
padding: 5%;
position: absolute;
- right: -0.2em;
- bottom: -0.2em;
- background-color: #fff;
+ right: -.2em;
+ width: 50%;
}
.avatar[data-initial]::after {
+ color: #fff;
content: attr(data-initial);
+ left: 50%;
position: absolute;
top: 50%;
- left: 50%;
- color: #fff;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
@@ -1235,46 +1223,46 @@ textarea.form-input {
position: relative;
}
.form-autocomplete .form-autocomplete-input {
- display: block;
- width: 100%;
- max-width: 100%;
- min-height: 3.2rem;
background-color: #fff;
- padding: .3rem .5rem 0 .5rem;
- border: 0.1rem solid #c5c5c5;
+ border: .1rem solid #c5c5c5;
border-radius: .3rem;
color: #333;
+ display: block;
font-size: 1.4rem;
line-height: 1.6rem;
+ max-width: 100%;
+ min-height: 3.2rem;
outline: 0;
+ padding: .3rem .5rem 0 .5rem;
+ width: 100%;
}
.form-autocomplete .form-autocomplete-input .chip-sm {
margin-bottom: .3rem;
}
.form-autocomplete .form-autocomplete-input .form-input {
- display: inline-block;
- border-color: transparent;
background-color: #fff;
- width: auto;
+ border-color: transparent;
+ display: inline-block;
height: 2.4rem;
- padding: .3rem;
margin-bottom: .3rem;
+ padding: .3rem;
vertical-align: top;
+ width: auto;
}
.form-autocomplete .form-autocomplete-list {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1988;
+ background-color: #fff;
+ border: .1rem solid #d2d2d2;
+ border-radius: .3rem;
+ box-shadow: 0 .1rem .2rem rgba(0, 0, 0, .15);
display: block;
- width: 100%;
height: auto;
- padding: .5rem;
+ left: 0;
margin: .3rem 0 0 0;
- border: 0.1rem solid #d2d2d2;
- border-radius: .3rem;
- background-color: #fff;
- box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15);
+ padding: .5rem;
+ position: absolute;
+ top: 100%;
+ width: 100%;
+ z-index: 1988;
}
.form-autocomplete .form-autocomplete-list .chip {
background-color: transparent;
@@ -1287,31 +1275,31 @@ textarea.form-input {
position: relative;
}
.badge::after {
- content: attr(data-badge);
+ background-color: #5764c6;
+ border: .1rem solid #fff;
+ border-radius: 1rem;
color: #fff;
+ content: attr(data-badge);
+ display: inline-block;
font-size: 1.2rem;
- text-align: center;
+ height: 2rem;
line-height: 1.4rem;
- background-color: #5764c6;
- display: inline-block;
min-width: 2rem;
- height: 2rem;
padding: .2rem .5rem;
- border: .1rem solid #fff;
- border-radius: 1rem;
+ text-align: center;
+ -webkit-transform: translate(-.2rem, -.8rem);
+ transform: translate(-.2rem, -.8rem);
white-space: nowrap;
- -webkit-transform: translate(-0.2rem, -0.8rem);
- transform: translate(-0.2rem, -0.8rem);
}
.card {
+ background-color: #fff;
+ border-radius: .3rem;
+ box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3);
display: block;
- text-align: left;
margin: 0;
padding: 0;
- border-radius: .3rem;
- background-color: #fff;
+ text-align: left;
z-index: 999;
- box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
}
.card .card-header,
.card .card-image,
@@ -1337,93 +1325,86 @@ textarea.form-input {
border-top-right-radius: .3rem;
}
.card .card-title {
- margin-top: 0;
- margin-bottom: .5rem;
font-size: 1.6em;
line-height: 1;
+ margin-bottom: .5rem;
+ margin-top: 0;
}
.card .card-meta {
- margin-top: 0;
- margin-bottom: 0;
- font-size: 1em;
color: #b3b3b3;
+ font-size: 1em;
+ margin-bottom: 0;
+ margin-top: 0;
}
.chip {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- padding: .3rem .8rem;
- border: .1rem solid transparent;
- border-radius: .3rem;
- margin: 0;
- list-style: none;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-webkit-align-content: space-around;
- -ms-flex-line-pack: distribute;
align-content: space-around;
+ -webkit-align-items: center;
+ align-items: center;
+ border: .1rem solid transparent;
+ border-radius: .3rem;
color: #666;
+ display: flex;
+ display: -ms-flexbox;
+ display: -webkit-flex;
+ -ms-flex-align: center;
+ -ms-flex-line-pack: distribute;
+ list-style: none;
+ margin: 0;
+ padding: .3rem .8rem;
}
.chip .chip-icon {
- -webkit-box-flex: 0;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
.chip .chip-content {
- -webkit-box-flex: 1;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
- padding: 0 1rem;
- white-space: nowrap;
overflow: hidden;
+ padding: 0 1rem;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.chip .chip-action {
- -webkit-box-flex: 0;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
.chip .chip-action .btn {
- padding: .7rem .5rem;
border-color: transparent;
color: #c5c5c5;
+ padding: .7rem .5rem;
}
.chip .chip-action .btn:hover,
.chip .chip-action .btn:focus {
- color: #5764c6;
- border-color: transparent;
background-color: transparent;
+ border-color: transparent;
+ color: #5764c6;
}
.chip .chip-action .btn:active,
.chip .chip-action .btn.active {
- color: #4452c0;
- border-color: transparent;
background-color: transparent;
+ border-color: transparent;
+ color: #4452c0;
}
.chip-sm {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- -webkit-box-align: center;
-webkit-align-items: center;
- -ms-flex-align: center;
align-items: center;
- vertical-align: middle;
- max-width: 100%;
- height: 2.4rem;
- padding: .3rem .6rem;
- border-radius: .3rem;
- font-size: 1.2rem;
background-color: #eff1fa;
+ border-radius: .3rem;
color: #666;
+ display: -ms-inline-flexbox;
+ display: inline-flex;
+ display: -webkit-inline-flex;
+ -ms-flex-align: center;
+ font-size: 1.2rem;
+ height: 2.4rem;
+ max-width: 100%;
+ padding: .3rem .6rem;
text-decoration: none;
+ vertical-align: middle;
}
.chip-sm:hover,
.chip-sm:focus {
@@ -1443,70 +1424,70 @@ textarea.form-input {
}
.chip-sm .chip-name {
margin-left: .4rem;
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.chip-sm .avatar {
- width: 1.6rem;
- height: 1.6rem;
font-size: .8rem;
+ height: 1.6rem;
+ width: 1.6rem;
}
.label {
+ background-color: #efefef;
+ border-radius: .2rem;
+ color: #666;
display: inline-block;
- padding: .2rem .4rem;
font-size: .9em;
line-height: 1em;
- color: #666666;
- background-color: #efefef;
+ margin: -.2rem .1em 0 .1em;
+ padding: .2rem .4rem;
text-align: center;
- white-space: nowrap;
vertical-align: baseline;
- margin: -0.2rem 0.1em 0 0.1em;
- border-radius: .2rem;
+ white-space: nowrap;
}
.label.label-primary {
- color: #fff;
background-color: #5764c6;
border-color: #4f5dc3;
+ color: #fff;
}
.label.label-success {
- color: #fff;
background-color: #32b643;
border-color: #30ae40;
+ color: #fff;
}
.label.label-info {
- color: #fff;
background-color: #0193eb;
border-color: #018de1;
+ color: #fff;
}
.label.label-warning {
- color: #fff;
background-color: #ffb700;
border-color: #f5b000;
+ color: #fff;
}
.label.label-danger {
- color: #fff;
background-color: #e85600;
border-color: #de5200;
+ color: #fff;
}
.menu {
+ background-color: #fff;
+ border-radius: .3rem;
+ box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3);
display: block;
- text-align: left;
margin: 0;
padding: .5rem;
- border-radius: .3rem;
- background-color: #fff;
+ text-align: left;
z-index: 999;
- box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
}
.menu .menu-item {
- display: block;
- padding: .2rem 1rem;
- margin-top: .1rem;
border-radius: .3rem;
color: #333;
+ display: block;
line-height: 2.4rem;
+ margin-top: .1rem;
+ padding: .2rem 1rem;
text-decoration: none;
-webkit-user-select: none;
-moz-user-select: none;
@@ -1514,11 +1495,11 @@ textarea.form-input {
user-select: none;
}
.menu .menu-item a {
- display: block;
- margin: -0.2rem -1rem;
- padding: .2rem 1rem;
border-radius: .3rem;
color: inherit;
+ display: block;
+ margin: -.2rem -1rem;
+ padding: .2rem 1rem;
text-decoration: none;
}
.menu .menu-item a:hover,
@@ -1527,103 +1508,100 @@ textarea.form-input {
}
.menu .menu-item a:active,
.menu .menu-item a.active {
- color: #4452c0;
background-color: #eff1fa;
+ color: #4452c0;
}
.menu .menu-header {
+ color: #ccc;
display: block;
- padding: .2rem 1rem;
- margin-top: 0;
font-size: 1.2rem;
line-height: 1.8rem;
- color: #cccccc;
+ margin-top: 0;
+ padding: .2rem 1rem;
}
.menu .menu-header .menu-header-text {
+ background-color: #fff;
display: inline-block;
+ margin-left: -.6rem;
padding: 0 .6rem;
- margin-left: -0.6rem;
- background-color: #fff;
position: relative;
z-index: 99;
}
-.menu .menu-header:after {
+.menu .menu-header::after {
+ border-bottom: .1rem solid #efefef;
content: "";
display: block;
- width: 100%;
height: .1rem;
-webkit-transform: translateY(-1rem);
transform: translateY(-1rem);
- border-bottom: 0.1rem solid #efefef;
+ width: 100%;
}
.menu .divider {
+ border-bottom: .1rem solid #efefef;
display: block;
- border-bottom: 0.1rem solid #efefef;
margin: .5rem;
}
.modal {
- display: none;
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- -webkit-box-align: center;
-webkit-align-items: center;
- -ms-flex-align: center;
- -ms-grid-row-align: center;
align-items: center;
- -webkit-box-pack: center;
+ bottom: 0;
+ display: none;
+ -ms-flex-align: center;
+ -ms-flex-pack: center;
+ -ms-grid-row-align: center;
-webkit-justify-content: center;
- -ms-flex-pack: center;
justify-content: center;
- overflow: hidden;
+ left: 0;
opacity: 0;
+ overflow: hidden;
+ position: fixed;
+ right: 0;
+ top: 0;
}
.modal.active {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
- z-index: 1988;
+ display: -webkit-flex;
opacity: 1;
+ z-index: 1988;
}
.modal.active .modal-overlay {
+ background-color: rgba(0, 0, 0, .75);
+ bottom: 0;
display: block;
+ left: 0;
position: absolute;
- top: 0;
right: 0;
- bottom: 0;
- left: 0;
- background-color: rgba(0, 0, 0, 0.75);
+ top: 0;
}
.modal.active .modal-container {
- -webkit-animation: slide-down 0.216s;
- animation: slide-down 0.216s;
+ -webkit-animation: slide-down .216s;
+ animation: slide-down .216s;
}
.modal-container {
+ -webkit-animation: slide-up .216s;
+ animation: slide-up .216s;
+ background-color: #fff;
+ border-radius: .3rem;
+ box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3);
display: block;
- text-align: left;
margin: 0 auto;
padding: 0;
- border-radius: .3rem;
- background-color: #fff;
+ text-align: left;
z-index: 1988;
- -webkit-animation: slide-up 0.216s;
- animation: slide-up 0.216s;
- box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
}
.modal-container .modal-header {
padding: 1.5rem;
}
.modal-container .modal-header .modal-title {
- margin: 0;
font-size: 1.5rem;
+ margin: 0;
}
.modal-container .modal-body {
- position: relative;
- padding: 1.5rem;
max-height: 50vh;
overflow-y: auto;
+ padding: 1.5rem;
+ position: relative;
}
.modal-container .modal-footer {
padding: 1.5rem;
@@ -1657,27 +1635,27 @@ textarea.form-input {
}
.breadcrumb .breadcrumb-item:last-child,
.breadcrumb .breadcrumb-item:last-child a {
- color: #666666;
+ color: #666;
pointer-events: none;
}
.breadcrumb .breadcrumb-item:not(:last-child)::after {
+ color: #c5c5c5;
content: "/";
padding: 0 .4rem;
- color: #c5c5c5;
}
.tab {
+ border-bottom: .1rem solid #c5c5c5;
display: block;
- border-bottom: 0.1rem solid #c5c5c5;
}
.tab .tab-item {
display: inline-block;
- margin-bottom: -0.1rem;
+ margin-bottom: -.1rem;
}
.tab .tab-item a {
- display: block;
- padding: .5rem 1.5rem;
border-bottom: .2rem solid transparent;
color: #333;
+ display: block;
+ padding: .5rem 1.5rem;
text-decoration: none;
}
.tab .tab-item a:hover,
@@ -1690,13 +1668,11 @@ textarea.form-input {
color: #3b49af;
}
.tab.tab-block {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
+ display: -webkit-flex;
}
.tab.tab-block .tab-item {
- -webkit-box-flex: 1;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
@@ -1714,10 +1690,10 @@ textarea.form-input {
padding: .6rem .5rem;
}
.pagination .page-item a {
+ border-radius: .3rem;
display: inline-block;
- padding: .6rem 1.2rem;
margin: 0 .1rem;
- border-radius: .3rem;
+ padding: .6rem 1.2rem;
text-decoration: none;
}
.pagination .page-item a:hover,
@@ -1725,42 +1701,42 @@ textarea.form-input {
background-color: #eff1fa;
}
.pagination .page-item.active a {
- color: #fff;
background-color: #5764c6;
+ color: #fff;
}
.toast {
+ background-color: #efefef;
+ border: .1rem solid #eaeaea;
+ border-radius: .3rem;
+ color: #666;
display: block;
- width: 100%;
padding: 1.4rem;
- color: #666;
- border: 0.1rem solid #eaeaea;
- border-radius: .3rem;
- background-color: #efefef;
+ width: 100%;
}
.toast.toast-primary {
- color: #fff;
background-color: #5764c6;
border-color: #4f5dc3;
+ color: #fff;
}
.toast.toast-success {
- color: #fff;
background-color: #32b643;
border-color: #30ae40;
+ color: #fff;
}
.toast.toast-info {
- color: #fff;
background-color: #0193eb;
border-color: #018de1;
+ color: #fff;
}
.toast.toast-warning {
- color: #fff;
background-color: #ffb700;
border-color: #f5b000;
+ color: #fff;
}
.toast.toast-danger {
- color: #fff;
background-color: #e85600;
border-color: #de5200;
+ color: #fff;
}
.toast:first-child:not(:last-child) {
border-bottom-left-radius: 0;
@@ -1768,44 +1744,43 @@ textarea.form-input {
}
.toast:not(:first-child):not(:last-child) {
border-radius: 0;
- margin-top: -0.1rem;
+ margin-top: -.1rem;
}
.toast:last-child:not(:first-child) {
border-top-left-radius: 0;
border-top-right-radius: 0;
- margin-top: -0.1rem;
+ margin-top: -.1rem;
}
.tooltip {
position: relative;
}
.tooltip::after {
- content: attr(data-tooltip);
- display: block;
- max-width: 32rem;
- padding: .6rem 1rem;
+ background-color: rgba(51, 51, 51, .9);
border-radius: .3rem;
- background-color: rgba(51, 51, 51, 0.9);
- opacity: 0;
+ bottom: 100%;
color: #fff;
+ content: attr(data-tooltip);
+ display: block;
font-size: 1.2rem;
+ left: 50%;
line-height: 1.6rem;
- text-overflow: ellipsis;
+ max-width: 32rem;
+ opacity: 0;
+ overflow: hidden;
+ padding: .6rem 1rem;
+ pointer-events: none;
position: absolute;
- bottom: 100%;
- left: 50%;
+ text-overflow: ellipsis;
-webkit-transform: translate(-50%, 0);
transform: translate(-50%, 0);
- overflow: hidden;
- z-index: 99;
- pointer-events: none;
- -webkit-transition: all .216s ease;
transition: all .216s ease;
+ z-index: 99;
}
.tooltip:hover::after,
.tooltip:focus::after {
opacity: 1;
- -webkit-transform: translate(-50%, -0.5rem);
- transform: translate(-50%, -0.5rem);
+ -webkit-transform: translate(-50%, -.5rem);
+ transform: translate(-50%, -.5rem);
}
.tooltip.tooltip-right::after {
bottom: 50%;
@@ -1815,38 +1790,38 @@ textarea.form-input {
}
.tooltip.tooltip-right:hover::after,
.tooltip.tooltip-right:focus::after {
- -webkit-transform: translate(0.5rem, 50%);
- transform: translate(0.5rem, 50%);
+ -webkit-transform: translate(.5rem, 50%);
+ transform: translate(.5rem, 50%);
}
.tooltip.tooltip-bottom::after {
- top: 100%;
bottom: auto;
+ top: 100%;
-webkit-transform: translate(-50%, 0);
transform: translate(-50%, 0);
}
.tooltip.tooltip-bottom:hover::after,
.tooltip.tooltip-bottom:focus::after {
- -webkit-transform: translate(-50%, 0.5rem);
- transform: translate(-50%, 0.5rem);
+ -webkit-transform: translate(-50%, .5rem);
+ transform: translate(-50%, .5rem);
}
.tooltip.tooltip-left::after {
- right: 100%;
bottom: 50%;
left: auto;
+ right: 100%;
-webkit-transform: translate(0, 50%);
transform: translate(0, 50%);
}
.tooltip.tooltip-left:hover::after,
.tooltip.tooltip-left:focus::after {
- -webkit-transform: translate(-0.5rem, 50%);
- transform: translate(-0.5rem, 50%);
+ -webkit-transform: translate(-.5rem, 50%);
+ transform: translate(-.5rem, 50%);
}
.clearfix::after,
.container::after,
.columns::after {
+ clear: both;
content: "";
display: table;
- clear: both;
}
.float-left {
float: left !important;
@@ -1927,16 +1902,14 @@ textarea.form-input {
display: inline-block;
}
.flex {
- display: -webkit-box;
- display: -webkit-flex;
+ display: flex;
display: -ms-flexbox;
- display: flex;
+ display: -webkit-flex;
}
.inline-flex {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
+ display: inline-flex;
display: -ms-inline-flexbox;
- display: inline-flex;
+ display: -webkit-inline-flex;
}
.hide {
display: none !important;
@@ -1948,11 +1921,11 @@ textarea.form-input {
visibility: hidden;
}
.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
background-color: transparent;
border: 0;
+ color: transparent;
+ font: 0/0 a;
+ text-shadow: none;
}
.text-left {
text-align: left;
@@ -1985,31 +1958,30 @@ textarea.form-input {
font-style: italic;
}
.text-ellipsis {
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.text-clip {
- white-space: nowrap;
overflow: hidden;
text-overflow: clip;
+ white-space: nowrap;
}
.text-break {
- word-break: break-word;
- word-wrap: break-word;
-webkit-hyphens: auto;
- -moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
+ word-break: break-word;
+ word-wrap: break-word;
}
.hand {
cursor: pointer;
}
.shadow {
- box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
+ box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3);
}
.light-shadow {
- box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15);
+ box-shadow: 0 .1rem .2rem rgba(0, 0, 0, .15);
}
.rounded {
border-radius: .3rem;
@@ -2018,25 +1990,25 @@ textarea.form-input {
border-radius: 50%;
}
.loading {
+ color: transparent !important;
min-height: 1.6rem;
- position: relative;
pointer-events: none;
- color: transparent !important;
+ position: relative;
}
.loading::after {
- border: 0.2rem solid #5764c6;
+ -webkit-animation: loading 500ms infinite linear;
+ animation: loading 500ms infinite linear;
+ border: .2rem solid #5764c6;
+ border-radius: .8rem;
border-right-color: transparent;
border-top-color: transparent;
- border-radius: .8rem;
content: "";
- position: absolute;
+ display: block;
+ height: 1.6rem;
left: 50%;
+ margin-left: -.8rem;
+ margin-top: -.8rem;
+ position: absolute;
top: 50%;
- margin-left: -0.8rem;
- margin-top: -0.8rem;
- display: block;
width: 1.6rem;
- height: 1.6rem;
- -webkit-animation: loading 500ms infinite linear;
- animation: loading 500ms infinite linear;
}