Summary Files Commits Branches @commit @diff @stats
path: root / src / _modals.scss
diff options
context:
space:
mode:
Commitfbcd70887bd0f301d2dfd1230fd0553cfeda21ec (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-09-30 03:48:23 -0500
Committer
 GitHub <noreply@github.com>
2017-09-30 03:48:23 -0500
Filesf0f7e20c6ed46dfaba398a7d1e875b7d5e103bf1 /src/_modals.scss
Spectre-Dark-Gruvbox-fbcd70887bd0f301d2dfd1230fd0553cfeda21ec.tar
Spectre-Dark-Gruvbox-fbcd70887bd0f301d2dfd1230fd0553cfeda21ec.tar.gz
Spectre-Dark-Gruvbox-fbcd70887bd0f301d2dfd1230fd0553cfeda21ec.zip
Parentb8de0381be6ad405ed5488d08031d4eee1a4d2ee (diff)
Parent085f9cb7561268f9816079ab70c2297d8a3f3a80 (diff)
Merge pull request #299 from picturepan2/0.4.3 v0.4.3
0.4.3
1 files changed, 16 insertions, 4 deletions
-rw-r--r--src/_modals.scss20
diff --git a/src/_modals.scss b/src/_modals.scss
index 21d6ed8..ced52a8 100644
--- a/src/_modals.scss
+++ b/src/_modals.scss
@@ -32,13 +32,25 @@
.modal-container {
animation: slide-down .2s ease 1;
max-width: 640px;
+ width: 100%;
z-index: $zindex-0;
}
}
&.modal-sm {
.modal-container {
- max-width: $control-max-width;
+ max-width: 320px;
+ }
+ }
+
+ &.modal-lg {
+ .modal-overlay {
+ background: $bg-color-light;
+ }
+
+ .modal-container {
+ box-shadow: none;
+ max-width: 960px;
}
}
}
@@ -52,7 +64,7 @@
text-align: left;
.modal-header {
- padding: $layout-spacing-lg;
+ padding: $unit-4 $unit-6;
.modal-title {
margin: 0;
@@ -62,12 +74,12 @@
.modal-body {
max-height: 50vh;
overflow-y: auto;
- padding: $layout-spacing-lg;
+ padding: $unit-4 $unit-6;
position: relative;
}
.modal-footer {
- padding: $layout-spacing-lg;
+ padding: $unit-4 $unit-6;
text-align: right;
}
}