Design Extended to button

This commit is contained in:
brausjonas
2023-05-24 01:05:04 +02:00
parent 702e3e8e4d
commit 12f5773930
3 changed files with 11 additions and 4 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
import {useState} from "react";
import React, {useState} from "react";
import Button from "@/components/Button";
import {NextResponse} from "next/server";
import Link from "next/link";
@@ -57,6 +57,8 @@ export default function Login() {
</div>
<Button text={"Login"} color={"#77932b"} width={100} height={40} onClick={() => on_login_click()}/>
</login>
// </div>
);
+2 -2
View File
@@ -21,8 +21,8 @@ export default function SemesterTile(p)
alignItems: "center",
gap: 5
}}>
<Button icon={deleteItem} width={30} height={30} color={"rgba(0, 0, 0, 0)"} onClick={p.onButtonDeleteClick}/>
<Button icon={editItem} width={30} height={30} color={"rgba(0, 0, 0, 0)"} onClick={p.onButtonEditClick}/>
<Button icon={deleteItem} width={30} height={30} color={"#ffffff"} onClick={p.onButtonDeleteClick}/>
<Button icon={editItem} width={30} height={30} color={"#ffffff"} onClick={p.onButtonEditClick}/>
</div>
</div>
)
+6 -1
View File
@@ -82,6 +82,11 @@ Button
color: white;
}
.button:hover
{
filter: brightness(0.65);
}
.button:hover {
background-color: #585858;
}
@@ -396,7 +401,7 @@ Login
justify-content: space-evenly;
/*gap: 10px;*/
border-radius: 10px;
background-color: #ffffff;
background-color: rgba(255, 255, 255, 0.5);
width: 375px;
height: 350px;
}