Design Extended to button
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {useState} from "react";
|
import React, {useState} from "react";
|
||||||
import Button from "@/components/Button";
|
import Button from "@/components/Button";
|
||||||
import {NextResponse} from "next/server";
|
import {NextResponse} from "next/server";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
@@ -57,6 +57,8 @@ export default function Login() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button text={"Login"} color={"#77932b"} width={100} height={40} onClick={() => on_login_click()}/>
|
<Button text={"Login"} color={"#77932b"} width={100} height={40} onClick={() => on_login_click()}/>
|
||||||
|
|
||||||
|
|
||||||
</login>
|
</login>
|
||||||
// </div>
|
// </div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ export default function SemesterTile(p)
|
|||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
gap: 5
|
gap: 5
|
||||||
}}>
|
}}>
|
||||||
<Button icon={deleteItem} width={30} height={30} color={"rgba(0, 0, 0, 0)"} onClick={p.onButtonDeleteClick}/>
|
<Button icon={deleteItem} width={30} height={30} color={"#ffffff"} onClick={p.onButtonDeleteClick}/>
|
||||||
<Button icon={editItem} width={30} height={30} color={"rgba(0, 0, 0, 0)"} onClick={p.onButtonEditClick}/>
|
<Button icon={editItem} width={30} height={30} color={"#ffffff"} onClick={p.onButtonEditClick}/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -82,6 +82,11 @@ Button
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button:hover
|
||||||
|
{
|
||||||
|
filter: brightness(0.65);
|
||||||
|
}
|
||||||
|
|
||||||
.button:hover {
|
.button:hover {
|
||||||
background-color: #585858;
|
background-color: #585858;
|
||||||
}
|
}
|
||||||
@@ -396,7 +401,7 @@ Login
|
|||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
/*gap: 10px;*/
|
/*gap: 10px;*/
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: #ffffff;
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
width: 375px;
|
width: 375px;
|
||||||
height: 350px;
|
height: 350px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user