diff options
| author | Horus3 | 2015-02-25 16:41:52 +0100 |
|---|---|---|
| committer | Horus3 | 2015-02-25 16:41:52 +0100 |
| commit | 49ffcba2c3c4a19d147dd792d7f6c99b7545a491 (patch) | |
| tree | 4fbd8a283ef7ab13f92e11e5030ad5c362be4524 /static/css/ripples.css | |
| parent | 9e1d8d0fb2b57903b1c6c0c2765b7808655c74a0 (diff) | |
| download | statuspage-49ffcba2c3c4a19d147dd792d7f6c99b7545a491.tar.gz | |
UX on front end.
Diffstat (limited to 'static/css/ripples.css')
| -rw-r--r-- | static/css/ripples.css | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/static/css/ripples.css b/static/css/ripples.css new file mode 100644 index 0000000..0a1831f --- /dev/null +++ b/static/css/ripples.css @@ -0,0 +1,36 @@ +.withripple { + position: relative; +} +.ripple-wrapper { + position: absolute; + top: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + overflow: hidden; + border-radius: inherit; + pointer-events: none; +} +.ripple { + position: absolute; + width: 20px; + height: 20px; + margin-left: -10px; + margin-top: -10px; + border-radius: 100%; + background-color: rgba(0, 0, 0, 0.05); + transform: scale(1); + transform-origin: 50%; + opacity: 0; + pointer-events: none; +} +.ripple.ripple-on { + transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s; + opacity: 0.1; +} +.ripple.ripple-out { + transition: opacity 0.1s linear 0s !important; + opacity: 0; +} +/*# sourceMappingURL=ripples.css.map */ |
