aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-03-11 18:53:34 +0000
committerShpuld Shpludson <shp@cock.li>2019-03-11 18:53:34 +0000
commit7c26435e66fd7e142ea4b88fbe51eede32eeb5ce (patch)
treed7b4ea789ceaaa8e5dacd7e74100962853853132 /src/App.scss
parent7e9c8c3d219aa3b787c5606efbb54a73c1738b07 (diff)
parentf397537642a6b8a4079d8d45d835ddd50f2d2b4a (diff)
Merge branch 'develop' into 'master'
Update master with bugfixes (and other changes) See merge request pleroma/pleroma-fe!673
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss
index a0d1a804..598735d9 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -671,6 +671,31 @@ nav {
border-radius: var(--inputRadius, $fallback--inputRadius);
}
+@keyframes modal-background-fadein {
+ from {
+ background-color: rgba(0, 0, 0, 0);
+ }
+ to {
+ background-color: rgba(0, 0, 0, 0.5);
+ }
+}
+
+.modal-view {
+ z-index: 1000;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ overflow: auto;
+ animation-duration: 0.2s;
+ background-color: rgba(0, 0, 0, 0.5);
+ animation-name: modal-background-fadein;
+}
+
.button-icon {
font-size: 1.2em;
}