Summary Files Commits Branches @commit @diff @stats
path: root / dist
diff options
context:
space:
mode:
Commit5f8ef36411b678e2f503bbf1d2b406196747d3e0 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-04 11:45:32 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-04 11:45:32 +0800
Filesb0b9208a2895ba31c574746b4ec8ccca4f4d0e02 /dist
Spectre-Dark-Gruvbox-5f8ef36411b678e2f503bbf1d2b406196747d3e0.tar
Spectre-Dark-Gruvbox-5f8ef36411b678e2f503bbf1d2b406196747d3e0.tar.gz
Spectre-Dark-Gruvbox-5f8ef36411b678e2f503bbf1d2b406196747d3e0.zip
Parent23a08d04fee88bb16905e726315978c5ab673c3f (diff)
add modals code
1 files changed, 36 insertions, 0 deletions
-rw-r--r--dist/spectre.css36
diff --git a/dist/spectre.css b/dist/spectre.css
index a849bc1..0d20d3f 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -406,6 +406,8 @@ h5,
h6 {
font-weight: 300;
line-height: 1.1;
+ margin-top: 2.5rem;
+ margin-bottom: 1rem;
color: inherit;
}
h1 {
@@ -835,6 +837,9 @@ button.btn-clear::after {
.form-group:not(:last-child) {
margin-bottom: 1rem;
}
+.form-horizontal {
+ padding: 1rem;
+}
.form-horizontal .col-12,
.form-horizontal .col-11,
.form-horizontal .col-10,
@@ -1284,6 +1289,37 @@ textarea.form-input {
flex: 1;
text-align: center;
}
+.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;
+}
.tooltip {
position: relative;
}