Summary Files Commits Branches @commit @diff @stats
path: root / src / modals.less
diff options
context:
space:
mode:
Commite78b3c34348f26d40a813612c5a3786f1c56607a (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-29 18:07:53 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-29 18:07:53 +0800
Filesf857491026c5f728fe95fe1564ec30c931a1b30a /src/modals.less
Spectre-Dark-Gruvbox-e78b3c34348f26d40a813612c5a3786f1c56607a.tar
Spectre-Dark-Gruvbox-e78b3c34348f26d40a813612c5a3786f1c56607a.tar.gz
Spectre-Dark-Gruvbox-e78b3c34348f26d40a813612c5a3786f1c56607a.zip
Parent66c492fd05c2d720c81e2be8d6845560b868e7ff (diff)
Initial SASS build
1 files changed, 0 insertions, 73 deletions
-rw-r--r--src/modals.less73
diff --git a/src/modals.less b/src/modals.less
deleted file mode 100644
index fb5cdf9..0000000
--- a/src/modals.less
+++ /dev/null
@@ -1,73 +0,0 @@
-// Modals
-.modal {
- align-items: center;
- bottom: 0;
- display: none;
- justify-content: center;
- left: 0;
- opacity: 0;
- overflow: hidden;
- padding: @layout-spacing;
- position: fixed;
- right: 0;
- top: 0;
-
- &:target,
- &.active {
- display: flex;
- opacity: 1;
- z-index: @zindex-4;
-
- .modal-overlay {
- background: fade(@bg-color, 75%);
- bottom: 0;
- cursor: default;
- display: block;
- left: 0;
- position: absolute;
- right: 0;
- top: 0;
- }
-
- .modal-container {
- animation: slide-down .2s ease 1;
- max-width: 640px;
- z-index: @zindex-0;
- }
- }
-
- &.modal-sm {
- .modal-container {
- max-width: @control-max-width;
- }
- }
-}
-
-.modal-container {
- background: @bg-color-light;
- border-radius: @border-radius;
- display: block;
- padding: 0;
- .shadow-variant(.2rem);
- text-align: left;
-
- .modal-header {
- padding: @layout-spacing-lg;
-
- .modal-title {
- margin: 0;
- }
- }
-
- .modal-body {
- max-height: 50vh;
- overflow-y: auto;
- padding: @layout-spacing-lg;
- position: relative;
- }
-
- .modal-footer {
- padding: @layout-spacing-lg;
- text-align: right;
- }
-}