Summary Files Commits Branches @commit @diff @stats
path: root / dist / spectre.css
diff options
context:
space:
mode:
Commitd5dc078eb7eb895a3130cdb6188dc59b56324f17 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-10 19:17:27 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-10 19:17:27 +0800
Files4c2794a49f14d1dd62f9a5eb41d47dd58f02a086 /dist/spectre.css
Spectre-Dark-Gruvbox-d5dc078eb7eb895a3130cdb6188dc59b56324f17.tar
Spectre-Dark-Gruvbox-d5dc078eb7eb895a3130cdb6188dc59b56324f17.tar.gz
Spectre-Dark-Gruvbox-d5dc078eb7eb895a3130cdb6188dc59b56324f17.zip
Parent262410614591d36f78554f08d49e5c82458ef938 (diff)
Parentf3055ba6c57d31b60bdbd6aff2a137852a23dcdc (diff)
Merge branch 'master' into gh-pages
1 files changed, 126 insertions, 109 deletions
-rw-r--r--dist/spectre.css235
diff --git a/dist/spectre.css b/dist/spectre.css
index e20dc06..2b4b560 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -514,6 +514,7 @@ pre code {
}
.container {
width: 100%;
+ overflow-x: hidden;
margin-left: auto;
margin-right: auto;
padding-left: 1rem;
@@ -684,7 +685,7 @@ pre code {
padding: .7rem 1.5rem;
border: 0.1rem solid #5764c6;
background-color: transparent;
- border-radius: 3px;
+ border-radius: .3rem;
color: #5764c6;
font-size: 1.4rem;
line-height: 1.6rem;
@@ -718,19 +719,19 @@ pre code {
pointer-events: none;
}
.btn.loading::after {
- border: 2px solid #5764c6;
+ border: 0.2rem solid #5764c6;
border-right-color: transparent;
border-top-color: transparent;
- border-radius: 8px;
+ border-radius: .8rem;
content: "";
position: absolute;
left: 50%;
top: 50%;
- margin-left: -8px;
- margin-top: -8px;
+ margin-left: -0.8rem;
+ margin-top: -0.8rem;
display: block;
- width: 16px;
- height: 16px;
+ width: 1.6rem;
+ height: 1.6rem;
-webkit-animation: loading 500ms infinite linear;
animation: loading 500ms infinite linear;
}
@@ -776,14 +777,14 @@ pre code {
}
.btn.btn-sm {
height: 2.4rem;
- border-radius: 2px;
+ border-radius: .2rem;
font-size: 1.2rem;
line-height: 1.4rem;
padding: .4rem 1rem;
}
.btn.btn-lg {
height: 4.2rem;
- border-radius: 4px;
+ border-radius: .4rem;
font-size: 1.8rem;
line-height: 2rem;
padding: 1rem 1.8rem;
@@ -829,75 +830,43 @@ pre code {
margin-left: -0.1rem;
margin-top: -0.5rem;
}
-@media screen and (min-width: 481px) {
- .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;
- }
+.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;
}
-@media screen and (max-width: 480px) {
- .btn-group {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- }
- .btn-group .btn {
- -webkit-box-flex: 1;
- -webkit-flex: 1 0 100%;
- -ms-flex: 1 0 100%;
- flex: 1 0 100%;
- }
- .btn-group .btn:first-child:not(:last-child) {
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- }
- .btn-group .btn:not(:first-child):not(:last-child) {
- margin-top: -0.1rem;
- border-radius: 0;
- }
- .btn-group .btn:last-child:not(:first-child) {
- margin-top: -0.1rem;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- }
+.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;
@@ -1136,7 +1105,7 @@ textarea.form-input {
.input-group .input-group-addon {
line-height: 1.6rem;
padding: .7rem .8rem;
- border: 1px solid #c5c5c5;
+ border: 0.1rem solid #c5c5c5;
border-radius: .3rem;
background-color: #efefef;
}
@@ -1315,7 +1284,7 @@ textarea.form-input {
-ms-flex-align: center;
align-items: center;
background-color: #efefef;
- border: 1px solid #e2e2e2;
+ border: 0.1rem solid #e2e2e2;
}
.chip:hover,
.chip:focus {
@@ -1324,6 +1293,11 @@ textarea.form-input {
.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;
@@ -1530,41 +1504,73 @@ textarea.form-input {
border-bottom: 0.1rem solid #efefef;
margin: .5rem;
}
-.modal {
+.modal.active {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ -webkit-box-align: center;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ overflow: hidden;
+ z-index: 499;
+}
+.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-container {
+ display: block;
text-align: left;
- margin: 0;
+ margin: 0 auto;
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 {
+.modal-container .modal-header {
padding: 1.5rem;
- border-bottom: 1px solid #efefef;
}
-.modal .modal-header .modal-title {
+.modal-container .modal-header .modal-title {
margin: 0;
+ font-size: 1.5rem;
}
-.modal .modal-body {
+.modal-container .modal-body {
position: relative;
padding: 1.5rem;
max-height: 50vh;
overflow-y: auto;
}
-.modal .modal-footer {
+.modal-container .modal-footer {
padding: 1.5rem;
text-align: right;
}
@media screen and (min-width: 640px) {
- .modal {
+ .modal-container {
width: 64rem;
}
}
+@media screen and (min-width: 320px) {
+ .modal-sm .modal-container {
+ width: 32rem;
+ }
+}
.breadcrumb {
list-style: none;
margin: .5rem 0;
@@ -1749,10 +1755,10 @@ textarea.form-input {
display: table;
clear: both;
}
-.pull-left {
+.float-left {
float: left !important;
}
-.pull-right {
+.float-right {
float: right !important;
}
.rel {
@@ -1764,22 +1770,6 @@ textarea.form-input {
.fixed {
position: fixed;
}
-.top {
- position: absolute;
- top: 0;
-}
-.right {
- position: absolute;
- right: 0;
-}
-.bottom {
- position: absolute;
- bottom: 0;
-}
-.left {
- position: absolute;
- left: 0;
-}
.centered {
display: block;
float: none;
@@ -1810,6 +1800,30 @@ textarea.form-input {
.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;
}
@@ -1855,6 +1869,9 @@ textarea.form-input {
.text-capitalize {
text-transform: capitalize;
}
+.text-normal {
+ font-weight: normal;
+}
.text-bold {
font-weight: bold;
}