Summary Files Commits Branches @commit @diff @stats
path: root / src / modals.less
diff options
context:
space:
mode:
Commitc9e625c9dd8f1628c58b10bb165961eae068002f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 16:30:05 +0800
Committer
 GitHub <noreply@github.com>
2017-08-15 16:30:05 +0800
Files9031e1df36c23e49deecad79df2a272b0d076270 /src/modals.less
Spectre-Dark-Gruvbox-0.2.15.tar
Spectre-Dark-Gruvbox-0.2.15.tar.gz
Spectre-Dark-Gruvbox-0.2.15.zip
Parent846353cb40512404c5b8d27084a6fbe7b4a47d23 (diff)
Parentd6b5a13424cb56db116483f79d6253205e26757c (diff)
Merge pull request #249 from picturepan2/0.2.15 v0.2.15
0.2.15
1 files changed, 8 insertions, 9 deletions
-rw-r--r--src/modals.less17
diff --git a/src/modals.less b/src/modals.less
index 4353a54..fb5cdf9 100644
--- a/src/modals.less
+++ b/src/modals.less
@@ -7,7 +7,7 @@
left: 0;
opacity: 0;
overflow: hidden;
- padding: @layout-padding;
+ padding: @layout-spacing;
position: fixed;
right: 0;
top: 0;
@@ -19,7 +19,7 @@
z-index: @zindex-4;
.modal-overlay {
- background: fade(@dark-color, 50%);
+ background: fade(@bg-color, 75%);
bottom: 0;
cursor: default;
display: block;
@@ -31,14 +31,14 @@
.modal-container {
animation: slide-down .2s ease 1;
- max-width: 64rem;
+ max-width: 640px;
z-index: @zindex-0;
}
}
&.modal-sm {
.modal-container {
- max-width: 32rem;
+ max-width: @control-max-width;
}
}
}
@@ -48,14 +48,13 @@
border-radius: @border-radius;
display: block;
padding: 0;
- .shadow-variant(.4rem);
+ .shadow-variant(.2rem);
text-align: left;
.modal-header {
- padding: @layout-padding-lg;
+ padding: @layout-spacing-lg;
.modal-title {
- font-size: @font-size-lg;
margin: 0;
}
}
@@ -63,12 +62,12 @@
.modal-body {
max-height: 50vh;
overflow-y: auto;
- padding: @layout-padding-lg;
+ padding: @layout-spacing-lg;
position: relative;
}
.modal-footer {
- padding: @layout-padding-lg;
+ padding: @layout-spacing-lg;
text-align: right;
}
}