diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-09-03 20:04:31 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-09-03 20:04:31 -0400 |
commit | afe5c52ffe28039b242bef34d2c9a3c6104da975 (patch) | |
tree | 1d74e1203f5f2bf501085ce28e9c96002564287f /assets/sass | |
parent | ffd58d06fa827827c696cb46e5c0e2fca3c240bc (diff) |
Improve modal css
Diffstat (limited to 'assets/sass')
-rw-r--r-- | assets/sass/_form.sass | 1 | ||||
-rw-r--r-- | assets/sass/_popover.sass | 22 |
2 files changed, 9 insertions, 14 deletions
diff --git a/assets/sass/_form.sass b/assets/sass/_form.sass index df680a18..9a02d25c 100644 --- a/assets/sass/_form.sass +++ b/assets/sass/_form.sass @@ -119,6 +119,7 @@ ul.form-errors li .form-column margin-right: 25px + flex-grow: 1 .form-login max-width: 350px diff --git a/assets/sass/_popover.sass b/assets/sass/_popover.sass index 3939f059..f8ef609d 100644 --- a/assets/sass/_popover.sass +++ b/assets/sass/_popover.sass @@ -7,27 +7,21 @@ left: 0 width: 100% height: 100% - background: rgba(0, 0, 0, 0.8) + background: rgba(0, 0, 0, 0.9) overflow: auto z-index: 100 #popover-content - position: absolute - width: 75% - left: 12% - top: 1% + position: fixed + width: 950px + max-width: 95% + max-height: calc(100% - 100px) + top: 5% + left: 50% + transform: translate(-50%, -5%) padding: 15px background: #fff overflow: auto - max-height: 95% - - @include xs-device - left: 0 - width: 100% - - @include sm-device - left: 2.5% - width: 85% .popover-form margin-bottom: 0 |