Summary Files Commits Branches @commit @diff @stats
path: root / src / modals.less
diff options
context:
space:
mode:
Commitcdaa2cd708311a771f1f2d966eee4c4f5013e33f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-24 15:43:05 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-02-24 15:43:05 +0800
Filesed66a57ab23da4a3d203fec5326cdd2244528ec6 /src/modals.less
Spectre-Dark-Gruvbox-cdaa2cd708311a771f1f2d966eee4c4f5013e33f.tar
Spectre-Dark-Gruvbox-cdaa2cd708311a771f1f2d966eee4c4f5013e33f.tar.gz
Spectre-Dark-Gruvbox-cdaa2cd708311a771f1f2d966eee4c4f5013e33f.zip
Parent0d120075d9bcab35386d310164613be023be514d (diff)
CHG: Lots of good fixes
1 files changed, 9 insertions, 14 deletions
-rw-r--r--src/modals.less23
diff --git a/src/modals.less b/src/modals.less
index ba5fde0..306344b 100644
--- a/src/modals.less
+++ b/src/modals.less
@@ -7,6 +7,7 @@
left: 0;
opacity: 0;
overflow: hidden;
+ padding: @layout-gutter;
position: fixed;
right: 0;
top: 0;
@@ -29,6 +30,13 @@
.modal-container {
animation: slide-down .216s;
+ max-width: 64rem;
+ }
+ }
+
+ &.modal-sm {
+ .modal-container {
+ max-width: 32rem;
}
}
}
@@ -41,6 +49,7 @@
padding: 0;
.shadow;
text-align: left;
+
z-index: 1988;
.modal-header {
@@ -64,17 +73,3 @@
text-align: right;
}
}
-
-@media screen and (min-width: 640px) {
- .modal-container {
- width: 64rem;
- }
-}
-
-@media screen and (min-width: 320px) {
- .modal-sm {
- .modal-container {
- width: 32rem;
- }
- }
-}