diff --git a/src/components/Assets.jsx b/src/components/Assets.jsx
index b507ba2..422e523 100644
--- a/src/components/Assets.jsx
+++ b/src/components/Assets.jsx
@@ -1,8 +1,10 @@
import React, { useState, useEffect } from 'react';
import firebase from 'firebase/app';
import 'firebase/storage';
-import { Stack } from './Stack';
+import { HStack, Stack, VStack } from './Stack';
import { copyToClipboard } from '../utils';
+import { Trans } from '@lingui/macro';
+import { ProBadge } from './ProBadge';
const Assets = () => {
const [files, setFiles] = useState([]);
@@ -142,6 +144,13 @@ const Assets = () => {
onDragOver={handleDragDropEvent}
onDrop={handleDrop}
>
+
+
+ Assets
+
+
+
+
{
{isFetchingFiles && Fetching your files...
}
- {files.length ? (
-
-
-
-
-
- ) : null}
-
- {filteredFiles.map((file, index) => (
-
- ))}
-
+
+ {files.length ? (
+
+
+
+
+
+ ) : null}
+
+ {filteredFiles.map((file, index) => (
+
+ ))}
+
+
);
};
diff --git a/src/components/MainHeader.jsx b/src/components/MainHeader.jsx
index c6fcc07..324ceeb 100644
--- a/src/components/MainHeader.jsx
+++ b/src/components/MainHeader.jsx
@@ -48,9 +48,7 @@ export function MainHeader(props) {
class="btn btn--dark hint--rounded hint--bottom-left"
aria-label={i18n._(t`Upload/Use assets`)}
>
-
- Assets
-
+ Assets
{!props.isFileMode && (
diff --git a/src/style.css b/src/style.css
index 244a55a..c8976d0 100644
--- a/src/style.css
+++ b/src/style.css
@@ -946,6 +946,11 @@ body > #demo-frame {
position: absolute;
border: none;
background: var(--color-close-btn);
+ background: linear-gradient(
+ to bottom,
+ var(--color-close-btn),
+ color-mix(in lch, var(--color-close-btn), black)
+ );
color: white;
border-radius: 0.3rem;
padding: 0.4rem 0.5rem;
@@ -994,7 +999,7 @@ body > #demo-frame {
background: var(--color-popup);
/* fix me */
- background: linear-gradient(45deg, #2d063c, #3a2b63);
+ background: linear-gradient(45deg, #2d063cad, #3a2b63);
box-shadow:
inset 1px -1px 0 0 #ffffff17,
0 20px 31px 0 #0000008a;
@@ -1038,6 +1043,7 @@ body > #demo-frame {
/* transition-duration: 0.3s; */
/* transform: translateY(0px) scale(1); */
/* opacity: 1; */
+ backdrop-filter: (3px);
}
.modal-overlay {
@@ -1050,7 +1056,8 @@ body > #demo-frame {
z-index: 5;
opacity: 0;
will-change: opacity;
- background: var(--color-overlay);
+ /* background: var(--color-overlay); */
+ backdrop-filter: blur(5px) grayscale(1);
transition: opacity var(--duration-modal-overlay-show);
}