Commit 52602516 authored by timel's avatar timel

feat: update theme

parent 9eec35cc
...@@ -45,16 +45,19 @@ ...@@ -45,16 +45,19 @@
} }
} }
.btn-add { .btn-add-container {
position: absolute; position: absolute;
bottom: 40px; bottom: 40px;
left: 50%; width: 100%;
transform: translate(-50%); display: flex;
background: linear-gradient(rgba(89, 0, 255, 0.611), rgba(38, 0, 255, 0.611)); justify-content: center;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); .btn-add {
&:hover { background-color: rgba(0, 168, 202, 0.451);
background-color: rgb(78, 0, 223) !important;
box-shadow: 0 0 20px 0 rgba(128, 0, 255, 0.5); box-shadow: 0 0 20px 0 rgba(0, 221, 255, 0.5);
transform: translate(-50%) scale(1.3); &:hover {
background-color: rgba(0, 168, 202, 0.451) !important;
transform: scale(1.1);
}
} }
} }
...@@ -40,13 +40,16 @@ export const DeckSelect: React.FC<{ ...@@ -40,13 +40,16 @@ export const DeckSelect: React.FC<{
</div> </div>
))} ))}
</div> </div>
<Button <div className={styles["btn-add-container"]}>
className={styles["btn-add"]} <Button
icon={<PlusOutlined />} className={styles["btn-add"]}
shape="circle" icon={<PlusOutlined />}
type="text" shape="circle"
onClick={onAdd} type="text"
/> onClick={onAdd}
size="large"
/>
</div>
</> </>
); );
}; };
......
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
grid-template-columns: repeat(10, 1fr); grid-template-columns: repeat(10, 1fr);
gap: 5px; gap: 5px;
} }
// --border-radius: 10px;
background-color: hsla(0, 0%, 100%, 0.05); background-color: hsla(0, 0%, 100%, 0.05);
backdrop-filter: blur(5px);
} }
.deck .container { .deck .container {
......
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
transition: 0.2s; transition: 0.2s;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
box-shadow: 0 0 0 4px #3400d1; box-shadow: 0 0 0 4px #2a5560;
background: hsla(0, 0%, 100%, 0.07); // background: hsla(0, 0%, 100%, 0.07);
filter: brightness(1.2) saturate(1.2); filter: brightness(1.2);
} }
.icon { .icon {
background: linear-gradient(#514f5780, #2a283277); background: linear-gradient(#514f5780, #2a283277);
......
...@@ -11,12 +11,13 @@ ...@@ -11,12 +11,13 @@
z-index: -1; z-index: -1;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; // align-items: center;
} }
.inner { .inner {
width: 90vw; transform: translateY(-70%);
height: 50vh; width: 60vw;
background: rgba(72, 0, 255, 1); height: 100vh;
background: radial-gradient(#00814f, #1c0161);
filter: blur(502px); filter: blur(502px);
} }
...@@ -6,10 +6,14 @@ import styles from "./index.module.scss"; ...@@ -6,10 +6,14 @@ import styles from "./index.module.scss";
const _Background: React.FC<{ const _Background: React.FC<{
style?: React.CSSProperties; style?: React.CSSProperties;
innerStyle?: React.CSSProperties; innerStyle?: React.CSSProperties;
}> = ({ style, innerStyle }) => { innerOpacity?: number;
}> = ({ style, innerStyle, innerOpacity = 1 }) => {
return ( return (
<div className={styles.background} style={style}> <div className={styles.background} style={style}>
<div className={styles.inner} style={innerStyle}></div> <div
className={styles.inner}
style={{ ...innerStyle, opacity: innerOpacity }}
></div>
</div> </div>
); );
}; };
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
.neos-pic { .neos-pic {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
filter: drop-shadow(0 0 50px #ffffff7d) drop-shadow(0 10px 0.5rem #3d0a71ce); filter: drop-shadow(0 0 50px #ffffff7d) drop-shadow(0 10px 0.5rem #0a3c71ce);
} }
.neos-logo { .neos-logo {
filter: drop-shadow(0 0 2rem #ffffffbc); filter: drop-shadow(0 0 2rem #ffffffbc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment