Summary Files Commits Branches @commit @diff @stats
path: root / src / modals.less
diff options
context:
space:
mode:
Commit78de8f1a1f423a86c05f361e87012a8ea1f1211b (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Files4efd8509510b7b831dd665a6273b07ec9cc0da5e /src/modals.less
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar.gz
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.zip
Parentef4918530c3d332abbfd4e3076ffc8f9405d4da7 (diff)
IMPORTANT: Replace all rem units to px
1 files changed, 7 insertions, 7 deletions
-rw-r--r--src/modals.less14
diff --git a/src/modals.less b/src/modals.less
index 4353a54..60aa2b1 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;
@@ -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,11 +48,11 @@
border-radius: @border-radius;
display: block;
padding: 0;
- .shadow-variant(.4rem);
+ .shadow-variant(4px);
text-align: left;
.modal-header {
- padding: @layout-padding-lg;
+ padding: @layout-spacing-lg;
.modal-title {
font-size: @font-size-lg;
@@ -63,12 +63,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;
}
}