From 5f8ef36411b678e2f503bbf1d2b406196747d3e0 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 4 Apr 2016 11:45:32 +0800 Subject: add modals code --- src/modals.less | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/modals.less (limited to 'src/modals.less') diff --git a/src/modals.less b/src/modals.less new file mode 100644 index 0000000..b51f5ca --- /dev/null +++ b/src/modals.less @@ -0,0 +1,32 @@ +// Modals +.modal { + display: block; + width: 50vw; + text-align: left; + margin: 0; + padding: 0; + border-radius: .3rem; + background-color: #fff; + z-index: 999; + .shadow; + .centered; + + .modal-header { + padding: 1.5rem; + border-bottom: 1px solid @core-border-color; + + .modal-title { + margin: 0; + } + } + .modal-body { + position: relative; + padding: 1.5rem; + max-height: 50vh; + overflow-y: auto; + } + .modal-footer { + padding: 1.5rem; + text-align: right; + } +} \ No newline at end of file -- cgit v1.3.1-23-gd82d