mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Working on refining scroll on modals
This commit is contained in:
@@ -16,6 +16,20 @@
|
||||
-webkit-box-shadow: $box-shadow
|
||||
box-shadow: $box-shadow
|
||||
|
||||
@mixin elipse-shadow($elipse-shadow)
|
||||
content: ""
|
||||
position: absolute
|
||||
z-index: -1
|
||||
-webkit-box-shadow: $elipse-shadow
|
||||
box-shadow: $elipse-shadow
|
||||
bottom: -12%
|
||||
left: 10%
|
||||
right: 10%
|
||||
width: 80%
|
||||
height: 10%
|
||||
-moz-border-radius: 100%
|
||||
border-radius: 100%
|
||||
|
||||
@mixin border-radius($border-radius)
|
||||
-webkit-border-radius: $border-radius
|
||||
border-radius: $border-radius
|
||||
|
||||
@@ -4,8 +4,15 @@
|
||||
dialog, .reveal-modal
|
||||
border: none
|
||||
outline: none
|
||||
padding: 1rem
|
||||
overflow-y: scroll
|
||||
padding: 1.25rem
|
||||
padding-bottom: 0 !important
|
||||
border-bottom: 20px solid white
|
||||
overflow-y: auto
|
||||
overflow-x: hidden
|
||||
// Not working yet - want a nice gradient shadow when there is overflow - needs JS too
|
||||
// &:after
|
||||
// @include elipse-shadow(0 0 40px rgba(0, 0, 0, 0.8))
|
||||
|
||||
|
||||
// Reveal.js break point:
|
||||
// @media only screen and (max-width: 40.063em)
|
||||
|
||||
Reference in New Issue
Block a user