Summary Files Commits Branches @commit @diff @stats
path: root / dist / spectre.css
diff options
context:
space:
mode:
Commit5f0809b54067d533304ac2db9ef8b61b299b8930 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-05 15:35:12 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-05 15:35:12 +0800
Files67d839979bfa5202f13d47e327cd058765042e78 /dist/spectre.css
Spectre-Dark-Gruvbox-5f0809b54067d533304ac2db9ef8b61b299b8930.tar
Spectre-Dark-Gruvbox-5f0809b54067d533304ac2db9ef8b61b299b8930.tar.gz
Spectre-Dark-Gruvbox-5f0809b54067d533304ac2db9ef8b61b299b8930.zip
Parent3c10fb6428aa6e9cde24e78fdab322077929cd18 (diff)
Parent781ed13b83edc7af208b75815cfffb657a766cc5 (diff)
Merge branch 'master' into gh-pages
1 files changed, 705 insertions, 77 deletions
-rw-r--r--dist/spectre.css782
diff --git a/dist/spectre.css b/dist/spectre.css
index 3c1994f..da78888 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -387,9 +387,26 @@ html {
body {
color: #333;
font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", WenQuanYi Micro Hei, sans-serif;
- font-size: 14px;
+ font-size: 1.4rem;
background-color: #fff;
}
+a {
+ color: #5764c6;
+ text-decoration: underline;
+}
+a:hover,
+a:focus {
+ color: #283176;
+}
+.btn .icon,
+button .icon,
+.toast .icon,
+.menu .icon {
+ margin-right: .2rem;
+ font-size: 1.3333em;
+ line-height: 0.8em;
+ vertical-align: -20%;
+}
h1,
h2,
h3,
@@ -398,6 +415,8 @@ h5,
h6 {
font-weight: 300;
line-height: 1.1;
+ margin-top: 2.5rem;
+ margin-bottom: 1rem;
color: inherit;
}
h1 {
@@ -427,12 +446,15 @@ p.lead {
}
blockquote {
padding: 1rem 2rem;
- border-left: 2px solid #ddd;
+ border-left: .2rem solid #ddd;
margin-left: 0;
}
blockquote p:last-child {
margin-bottom: 0;
}
+blockquote small {
+ color: #b3b3b3;
+}
ul,
ol {
margin: 0 0 1rem;
@@ -459,6 +481,12 @@ ol {
ol ol {
list-style-type: lower-alpha;
}
+.highlight {
+ padding: .2rem;
+ line-height: 1.6rem;
+ border-radius: .2rem;
+ background-color: #fff5b7;
+}
.text-left {
text-align: left;
}
@@ -508,24 +536,24 @@ ol ol {
width: 100%;
margin-left: auto;
margin-right: auto;
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 1rem;
+ padding-right: 1rem;
}
@media screen and (min-width: 961px) {
.container.grid-960 {
- width: 960px;
+ width: 96rem;
}
}
.columns {
- margin-left: -10px;
- margin-right: -10px;
+ margin-left: -1rem;
+ margin-right: -1rem;
}
.column {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
- padding: 10px;
+ padding: 1rem;
}
@media screen and (min-width: 769px) {
.columns {
@@ -588,6 +616,11 @@ ol ol {
width: 8.33333333%;
}
}
+.img-responsive {
+ display: block;
+ max-width: 100%;
+ height: auto;
+}
table {
width: 100%;
}
@@ -596,13 +629,11 @@ table td {
text-align: left;
padding: 1.5rem 1rem;
border-bottom: 0.1rem solid #efefef;
- background-color: #fff;
}
table th {
- border-color: #d6d6d6;
+ border-color: #c9c9c9;
}
-table tr.selected th,
-table tr.selected td {
+table tr.selected {
background-color: #f4f4f4;
}
.btn,
@@ -610,10 +641,10 @@ button {
display: inline-block;
height: 3.2rem;
padding: .7rem 1.5rem;
- border: 0.1rem solid #5764C6;
+ border: 0.1rem solid #5764c6;
background-color: transparent;
border-radius: 3px;
- color: #5764C6;
+ color: #5764c6;
font-size: 1.4rem;
line-height: 1.6rem;
text-align: center;
@@ -633,7 +664,7 @@ button:hover,
.btn:focus,
button:focus {
color: #fff;
- background-color: #5764C6;
+ background-color: #5764c6;
}
.btn:active,
button:active,
@@ -650,7 +681,7 @@ button.loading {
}
.btn.loading::after,
button.loading::after {
- border: 2px solid #5764C6;
+ border: 2px solid #5764c6;
border-right-color: transparent;
border-top-color: transparent;
border-radius: 8px;
@@ -674,15 +705,15 @@ button[disabled] {
.btn.btn-primary,
button.btn-primary {
color: #fff;
- border-color: #5764C6;
- background-color: #5764C6;
+ border-color: #4452c0;
+ background-color: #5764c6;
}
.btn.btn-primary:hover,
button.btn-primary:hover,
.btn.btn-primary:focus,
button.btn-primary:focus {
color: #fff;
- border-color: #4452c0;
+ border-color: #3b49af;
background-color: #4452c0;
}
.btn.btn-primary:active,
@@ -701,7 +732,7 @@ button.btn-primary.loading::after {
}
.btn.btn-link,
button.btn-link {
- color: #5764C6;
+ color: #5764c6;
border-color: transparent;
background-color: transparent;
}
@@ -747,13 +778,14 @@ button.btn-clear {
border: 0;
border-radius: .7rem;
vertical-align: top;
- background-color: rgba(0, 0, 0, 0.15);
+ background-color: transparent;
+ opacity: .35;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.btn.btn-clear:hover,
button.btn-clear:hover {
- background-color: rgba(0, 0, 0, 0.35);
+ opacity: .75;
}
.btn.btn-clear::before,
button.btn-clear::before,
@@ -764,25 +796,81 @@ button.btn-clear::after {
position: absolute;
top: 50%;
left: 50%;
- background-color: #fff;
+ background-color: #333;
}
.btn.btn-clear::before,
button.btn-clear::before {
- width: .8rem;
+ width: 1rem;
height: .2rem;
- margin-left: -0.4rem;
+ margin-left: -0.5rem;
margin-top: -0.1rem;
}
.btn.btn-clear::after,
button.btn-clear::after {
width: .2rem;
- height: .8rem;
+ height: 1rem;
+ margin-left: -0.1rem;
+ margin-top: -0.5rem;
+}
+.btn-group {
+ display: inline-block;
+ vertical-align: middle;
+}
+.btn-group::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.btn-group::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.btn-group .btn {
+ float: left;
+}
+.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;
- margin-top: -0.4rem;
+ border-radius: 0;
+ z-index: 49;
+}
+.btn-group .btn:last-child:not(:first-child) {
+ margin-left: -0.1rem;
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+ z-index: 99;
}
.form-group:not(:last-child) {
margin-bottom: 1rem;
}
+.form-horizontal {
+ padding: 1rem;
+}
+.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 {
+ float: left;
+}
+.form-horizontal .form-label {
+ padding: .8rem .4rem;
+}
+.form-horizontal .form-checkbox,
+.form-horizontal .form-radio {
+ margin: .5rem 0;
+}
.form-input {
position: relative;
display: block;
@@ -792,7 +880,7 @@ button.btn-clear::after {
background-color: #fff;
background-image: none;
border: 0.1rem solid #c5c5c5;
- border-radius: 3px;
+ border-radius: .3rem;
color: #333;
font-size: 1.4rem;
line-height: 1.6rem;
@@ -801,7 +889,7 @@ button.btn-clear::after {
outline: 0;
}
.form-input:focus {
- border-color: #5764C6;
+ border-color: #5764c6;
}
.form-input[disabled] {
opacity: .75;
@@ -810,15 +898,15 @@ button.btn-clear::after {
}
.form-input.input-sm {
height: 2.4rem;
- border-radius: 2px;
+ border-radius: .2rem;
font-size: 1.2rem;
line-height: 1.4rem;
padding: .4rem .6rem;
}
.form-input.input-lg {
height: 4.2rem;
- border-radius: 4px;
- font-size: 1.8rem;
+ border-radius: .4rem;
+ font-size: 1.6rem;
line-height: 2rem;
padding: 1rem 1.2rem;
}
@@ -830,16 +918,17 @@ textarea.form-input {
height: auto;
}
.has-success .form-input,
-.form-input.input-success {
- border-color: #00c372;
+.form-input.is-success {
+ border-color: #32b643;
}
.has-danger .form-input,
-.form-input.input-danger {
- border-color: #e74c3c;
+.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;
@@ -848,15 +937,15 @@ textarea.form-input {
line-height: 1.6rem;
padding: .7rem .8rem;
border: 0.1rem solid #c5c5c5;
- border-radius: 3px;
+ border-radius: .3rem;
outline: 0;
}
.form-select:focus {
- border-color: #5764C6;
+ border-color: #5764c6;
}
.form-select.select-sm {
height: 2.4rem;
- border-radius: 2px;
+ border-radius: .2rem;
font-size: 1.2rem;
line-height: 1.4rem;
padding: .4rem .6rem;
@@ -864,18 +953,17 @@ textarea.form-input {
.form-checkbox,
.form-radio {
line-height: 1.8rem;
- padding: .3rem 1.8rem .3rem 1.8rem;
+ padding: .3rem 1.8rem;
cursor: pointer;
display: inline-block;
position: relative;
}
.form-checkbox input,
.form-radio input {
- font-size: 14px;
- line-height: 24px;
+ font-size: 1.4rem;
+ line-height: 2.4rem;
vertical-align: top;
border: 0.1rem solid #c5c5c5;
- float: left;
display: inline-block;
width: 1.4rem;
height: 1.4rem;
@@ -893,11 +981,11 @@ textarea.form-input {
}
.form-checkbox input:checked,
.form-radio input:checked {
- background-color: #5764C6;
- border-color: #5764C6;
+ background-color: #5764c6;
+ border-color: #5764c6;
}
.form-checkbox input {
- border-radius: 2px;
+ border-radius: .2rem;
}
.form-checkbox input:checked::after {
width: .6rem;
@@ -929,39 +1017,512 @@ textarea.form-input {
border-radius: .2rem;
background-color: #fff;
}
-.label {
+.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: 0.1rem solid #c5c5c5;
+ background-color: #c5c5c5;
display: inline-block;
- padding: .2rem .5rem;
+ width: 3rem;
+ height: 1.8rem;
+ padding: 0;
+ border-radius: .9rem;
+ position: absolute;
+ top: .3rem;
+ left: 0;
+ cursor: pointer;
+ outline: none;
+ -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: 1px solid #c5c5c5;
+ border-radius: .3rem;
+ background-color: #efefef;
+}
+.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;
+ z-index: 49;
+}
+.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;
+ z-index: 99;
+}
+.avatar {
+ display: inline-block;
+ width: 3.2rem;
+ height: 3.2rem;
+ font-size: 1.4rem;
+ font-weight: 300;
+ line-height: 1;
+ border-radius: 50%;
+ vertical-align: middle;
+ position: relative;
+ overflow: hidden;
+}
+.avatar::after {
+ content: attr(data-initial);
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ color: #fff;
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+}
+.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-container {
+ display: inline-block;
+ position: relative;
+}
+.avatar-container .avatar-icon {
+ width: 46%;
+ height: 46%;
+ padding: 3%;
+ background-color: #fff;
+ position: absolute;
+ right: -6%;
+ bottom: -6%;
+}
+.avatar-status::after {
+ content: '';
+ display: block;
+ width: 1rem;
+ height: 1rem;
+ border-radius: 50%;
+ background-color: #32b643;
+}
+.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;
+}
+.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: 1px solid #e2e2e2;
+}
+.chip:hover,
+.chip:focus {
+ background-color: #eaeaea;
+}
+.chip .chip-name {
+ margin-left: .4rem;
+}
+.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: .3rem .5rem;
+ font-size: 80%;
+ line-height: 1;
color: #666;
background-color: #efefef;
text-align: center;
white-space: nowrap;
vertical-align: middle;
- margin: -0.2rem 0.5rem 0 0;
- border-radius: 2px;
+ margin: -0.3rem 0.5rem 0 0.5rem;
+ border-radius: .2rem;
}
.label.label-primary {
color: #fff;
- background-color: #5764C6;
+ background-color: #5764c6;
}
.label.label-success {
color: #fff;
- background-color: #00c372;
+ background-color: #32b643;
+}
+.label.label-info {
+ color: #fff;
+ background-color: #0193eb;
}
.label.label-warning {
- color: #896902;
- background-color: #fccf42;
+ color: #fff;
+ background-color: #ffb700;
}
.label.label-danger {
color: #fff;
- background-color: #e74c3c;
+ background-color: #e85600;
}
.label.label-lg {
+ font-size: 100%;
+ line-height: 1.2;
padding: .3rem .8rem;
- font-size: 1.4rem;
- line-height: 1.6rem;
+}
+.menu {
+ display: block;
+ width: auto;
+ text-align: left;
+ margin: 0;
+ padding: 1rem;
+ border-radius: .3rem;
+ background-color: #fff;
+ 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: 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 {
+ background-color: #f4f4f4;
+}
+.menu .menu-item a:active,
+.menu .menu-item a.active {
+ background-color: #efefef;
+}
+.menu .menu-header {
+ display: block;
+ padding: .2rem 1rem;
+ margin-top: 0;
+ font-size: 1.2rem;
+ line-height: 1.8rem;
+ color: #cccccc;
+}
+.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: 0.1rem solid #efefef;
+}
+.menu .divider {
+ display: block;
+ border-bottom: 0.1rem solid #efefef;
+ margin: .5rem;
+}
+.modal {
+ width: 50vw;
+ text-align: left;
+ margin: 0;
+ padding: 0;
+ border-radius: .3rem;
+ background-color: #fff;
+ z-index: 999;
+ box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
+ display: block;
+ float: none;
+ margin-left: auto;
+ margin-right: auto;
+}
+.modal .modal-header {
+ padding: 1.5rem;
+ border-bottom: 1px solid #efefef;
+}
+.modal .modal-header .modal-title {
+ margin: 0;
+}
+.modal .modal-body {
+ position: relative;
+ padding: 1.5rem;
+ max-height: 50vh;
+ overflow-y: auto;
+}
+.modal .modal-footer {
+ padding: 1.5rem;
+ text-align: right;
+}
+.breadcrumb {
+ list-style: none;
+ margin: .5rem 0;
+ padding: 1.2rem;
+}
+.breadcrumb li {
+ display: inline-block;
+ margin: 0;
+}
+.breadcrumb li a {
+ text-decoration: none;
+}
+.breadcrumb li:last-child,
+.breadcrumb li:last-child a {
+ color: #666666;
+ pointer-events: none;
+}
+.breadcrumb li:not(:last-child)::after {
+ content: "/";
+ padding: 0 .4rem;
+ color: #c5c5c5;
+}
+.tab {
+ display: block;
+ list-style: none;
+ margin: .5rem 0;
+ border-bottom: 0.1rem solid #c5c5c5;
+}
+.tab::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.tab::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+.tab .tab-item {
+ float: left;
+ border-bottom: .1rem solid transparent;
+ margin-bottom: -0.1rem;
+}
+.tab .tab-item a {
+ display: block;
+ padding: .5rem 1.5rem;
+ color: #333;
+ text-decoration: none;
+}
+.tab .tab-item:hover,
+.tab .tab-item:focus {
+ border-bottom-color: #5764c6;
+}
+.tab .tab-item:hover a,
+.tab .tab-item:focus a {
+ color: #5764c6;
+}
+.tab .tab-item.active {
+ border-bottom-color: #3b49af;
+}
+.tab .tab-item.active a {
+ color: #3b49af;
+}
+.tab.tab-block {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+}
+.tab.tab-block .tab-item {
+ float: none;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ text-align: center;
}
.toast {
display: block;
@@ -969,28 +1530,95 @@ textarea.form-input {
padding: 1.4rem;
color: #666;
border: 0.1rem solid #eaeaea;
- border-radius: 3px;
+ border-radius: .3rem;
background-color: #efefef;
}
.toast.toast-primary {
color: #fff;
- background-color: #5764C6;
+ background-color: #5764c6;
border-color: #4f5dc3;
}
.toast.toast-success {
color: #fff;
- background-color: #00c372;
- border-color: #00b96c;
+ background-color: #32b643;
+ border-color: #30ae40;
+}
+.toast.toast-info {
+ color: #fff;
+ background-color: #0193eb;
+ border-color: #018de1;
}
.toast.toast-warning {
- color: #896902;
- background-color: #fccf42;
- border-color: #fccc38;
+ color: #fff;
+ background-color: #ffb700;
+ border-color: #f5b000;
}
.toast.toast-danger {
color: #fff;
- background-color: #e74c3c;
- border-color: #e64433;
+ background-color: #e85600;
+ border-color: #de5200;
+}
+.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 {
+ opacity: 1;
+ -webkit-transform: translate(-50%, -0.5rem);
+ transform: translate(-50%, -0.5rem);
+}
+.tooltip[data-tooltip-pos="right"]::after {
+ bottom: 50%;
+ left: 100%;
+ -webkit-transform: translate(0, 50%);
+ transform: translate(0, 50%);
+}
+.tooltip[data-tooltip-pos="right"]:hover::after {
+ -webkit-transform: translate(0.5rem, 50%);
+ transform: translate(0.5rem, 50%);
+}
+.tooltip[data-tooltip-pos="bottom"]::after {
+ top: 100%;
+ bottom: auto;
+ -webkit-transform: translate(-50%, 0);
+ transform: translate(-50%, 0);
+}
+.tooltip[data-tooltip-pos="bottom"]:hover::after {
+ -webkit-transform: translate(-50%, 0.5rem);
+ transform: translate(-50%, 0.5rem);
+}
+.tooltip[data-tooltip-pos="left"]::after {
+ right: 100%;
+ bottom: 50%;
+ left: auto;
+ -webkit-transform: translate(0, 50%);
+ transform: translate(0, 50%);
+}
+.tooltip[data-tooltip-pos="left"]:hover::after {
+ -webkit-transform: translate(-0.5rem, 50%);
+ transform: translate(-0.5rem, 50%);
}
.clearfix::after,
.container::after,
@@ -1037,28 +1665,28 @@ textarea.form-input {
margin-right: auto;
}
.mt-10 {
- margin-top: 10px;
+ margin-top: 1rem;
}
.mr-10 {
- margin-right: 10px;
+ margin-right: 1rem;
}
.mb-10 {
- margin-bottom: 10px;
+ margin-bottom: 1rem;
}
.ml-10 {
- margin-left: 10px;
+ margin-left: 1rem;
}
.mt-5 {
- margin-top: 5px;
+ margin-top: .5rem;
}
.mr-5 {
- margin-right: 5px;
+ margin-right: .5rem;
}
.mb-5 {
- margin-bottom: 5px;
+ margin-bottom: .5rem;
}
.ml-5 {
- margin-left: 5px;
+ margin-left: .5rem;
}
.block {
display: block;
@@ -1079,13 +1707,13 @@ textarea.form-input {
display: none !important;
}
.shadow {
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
}
.light-shadow {
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
+ box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15);
}
.rounded {
- border-radius: 3px;
+ border-radius: .3rem;
}
.circle {
border-radius: 50%;