Summary Files Commits Branches @commit @diff @stats
path: root / src / modals.less
diff options
context:
space:
mode:
Commit33c89ed8fd6535dc21d0132ef61fc560099279f7 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-03-19 17:55:09 +0800
Committer
 GitHub <noreply@github.com>
2017-03-19 17:55:09 +0800
Filesb854b458761aead1e009db59e503e36e7862110f /src/modals.less
Spectre-Dark-Gruvbox-33c89ed8fd6535dc21d0132ef61fc560099279f7.tar
Spectre-Dark-Gruvbox-33c89ed8fd6535dc21d0132ef61fc560099279f7.tar.gz
Spectre-Dark-Gruvbox-33c89ed8fd6535dc21d0132ef61fc560099279f7.zip
Parentee309ce40db4bc0fb5b4ccc076a054dd9574ac5f (diff)
Parent1d63c12eebb44b76947726dfeee98919627c9d9b (diff)
Merge pull request #170 from picturepan2/feature/0.2.10 v0.2.10
Feature/0.2.10
1 files changed, 11 insertions, 11 deletions
-rw-r--r--src/modals.less22
diff --git a/src/modals.less b/src/modals.less
index ad679cf..30d1133 100644
--- a/src/modals.less
+++ b/src/modals.less
@@ -7,7 +7,7 @@
left: 0;
opacity: 0;
overflow: hidden;
- padding: @layout-gutter;
+ padding: @layout-padding;
position: fixed;
right: 0;
top: 0;
@@ -16,11 +16,12 @@
&.active {
display: flex;
opacity: 1;
- z-index: 1988;
+ z-index: @zindex-4;
.modal-overlay {
background: fade(@dark-color, 50%);
bottom: 0;
+ cursor: default;
display: block;
left: 0;
position: absolute;
@@ -29,8 +30,9 @@
}
.modal-container {
- animation: slide-down .2s;
+ animation: slide-down .2s ease 1;
max-width: 64rem;
+ z-index: @zindex-0;
}
}
@@ -42,21 +44,19 @@
}
.modal-container {
- background: @light-bg-color;
+ background: @bg-color-light;
border-radius: @border-radius;
display: block;
margin: 0 auto;
padding: 0;
- .shadow;
+ box-shadow: @shadow-4;
text-align: left;
- z-index: 1988;
-
.modal-header {
- padding: 1.5rem;
+ padding: @layout-padding-lg;
.modal-title {
- font-size: 1.6rem;
+ font-size: @font-size-lg;
margin: 0;
}
}
@@ -64,12 +64,12 @@
.modal-body {
max-height: 50vh;
overflow-y: auto;
- padding: 1.5rem;
+ padding: @layout-padding-lg;
position: relative;
}
.modal-footer {
- padding: 1.5rem;
+ padding: @layout-padding-lg;
text-align: right;
}
}