Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all_Updation_done #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 132 additions & 3 deletions pages/event_registration.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,128 @@
}

body {
height: 120vh;
position: relative;
/* width: 100%; */
background-color: #111827;
}
.btn-53,
.btn-53 *,
.btn-53 :after,
.btn-53 :before,
.btn-53:after,
.btn-53:before {
border: 0 solid;
box-sizing: border-box;
}

.btn-53 {
-webkit-tap-highlight-color: transparent;
-webkit-appearance: button;
background-color: rgb(59 130 246 / 0.5);
background-image: none;
color: #fff;
cursor: pointer;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
font-size: 100%;
line-height: 1.5;
margin: 0;
-webkit-mask-image: -webkit-radial-gradient(#000, #fff);
padding: 0;
}

.btn-53:disabled {
cursor: default;
}

.btn-53:-moz-focusring {
outline: auto;
}

.btn-53 svg {
display: block;
vertical-align: middle;
}

.btn-53 [hidden] {
display: none;
}

.btn-53 {
border-radius: 999px;
box-sizing: border-box;
display: block;
font-weight: 900;
overflow: hidden;
padding: 1.2rem 3rem;
position: relative;
text-transform: uppercase;
}

.btn-53 .original {
background:transparent;
color: white;
display: grid;
inset: 0;
place-content: center;
position: absolute;
transition: transform 0.2s cubic-bezier(0.87, 0, 0.13, 1);
}

.btn-53:hover .original {
transform: translateY(100%);
}

.btn-53 .letters {
display: inline-flex;
}

.btn-53 span {
opacity: 0;
transform: translateY(-15px);
transition: transform 0.2s cubic-bezier(0.87, 0, 0.13, 1), opacity 0.2s;
}

.btn-53 span:nth-child(2n) {
transform: translateY(15px);
}

.btn-53:hover span {
opacity: 1;
transform: translateY(0);
}

.btn-53:hover span:nth-child(2) {
transition-delay: 0.1s;
}

.btn-53:hover span:nth-child(3) {
transition-delay: 0.2s;
}

.btn-53:hover span:nth-child(4) {
transition-delay: 0.3s;
}

.btn-53:hover span:nth-child(5) {
transition-delay: 0.4s;
}

.btn-53:hover span:nth-child(6) {
transition-delay: 0.5s;
}
.btn-53:hover span:nth-child(7) {
transition-delay: 0.6s;
}
.btn-53:hover span:nth-child(8) {
transition-delay: 0.7s;
}
select option {
background-color: rgba(74, 144, 255, 0.571);
color: black;
}
</style>

<body>
Expand Down Expand Up @@ -125,7 +243,7 @@ <h1 class="text-gray-700 text-center lg:text-2xl md:text-xl sm:text-lg">
<div class="relative z-0">
<div class="error"></div>
<select id="Residence" name="Residence"
class="block py-2.5 px-0 w-full text-lg bg-transparent border-0 border-b-2 border-white appearance-none text-blue-200 dark:border-gray-600 dark:focus:border-blue-200 focus:outline-none focus:ring-0 focus:border-blue-200 peer" />
class="block py-2.5 px-0 w-full text-lg bg-transparent border-0 border-b-2 border-white appearance-none text-blue-200 dark:border-gray-600 dark:focus:border-blue-200 focus:outline-none focus:ring-0 focus:border-blue-200 peer" >
<option value="" selected disabled class="text-black">Residence</option>
<option value="hosteller" class="text-black">Hosteller</option>
<option value="day Scholar" class="text-black">Day Scholar</option>
Expand All @@ -145,8 +263,19 @@ <h1 class="text-gray-700 text-center lg:text-2xl md:text-xl sm:text-lg">
</div>
</div>
<div class="px-4 pb-2 pt-4">
<button style="color: rgb(135, 178, 206);" class="submit uppercase block w-full p-4 text-sm rounded-md focus:outline-none h-16">
Register
<button class="btn-53 submit uppercase block w-full p-4 text-sm rounded-md focus:outline-none h-16">
<div class="original">Register</div>
<div class="letters">

<span>R</span>
<span>E</span>
<span>G</span>
<span>I</span>
<span>S</span>
<span>T</span>
<span>E</span>
<span>R</span>
</div>
</button>
</div>
</div>
Expand Down
144 changes: 137 additions & 7 deletions pages/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,131 @@

</head>
<style>

.form {
position: relative;
height: 1vh;
}

body {
height: 140vh;
height: 110vh;
position: relative;
/* width: 100%; */
background-color: #111827;
}
.btn-53,
.btn-53 *,
.btn-53 :after,
.btn-53 :before,
.btn-53:after,
.btn-53:before {
border: 0 solid;
box-sizing: border-box;
}

.btn-53 {
-webkit-tap-highlight-color: transparent;
-webkit-appearance: button;
background-color: rgb(59 130 246 / 0.5);
background-image: none;
color: #fff;
cursor: pointer;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
font-size: 100%;
line-height: 1.5;
margin: 0;
-webkit-mask-image: -webkit-radial-gradient(#000, #fff);
padding: 0;
}

.btn-53:disabled {
cursor: default;
}

.btn-53:-moz-focusring {
outline: auto;
}

.btn-53 svg {
display: block;
vertical-align: middle;
}

.btn-53 [hidden] {
display: none;
}

.btn-53 {
border-radius: 999px;
box-sizing: border-box;
display: block;
font-weight: 900;
overflow: hidden;
padding: 1.2rem 3rem;
position: relative;
text-transform: uppercase;
}

.btn-53 .original {
background:transparent;
color: white;
display: grid;
inset: 0;
place-content: center;
position: absolute;
transition: transform 0.2s cubic-bezier(0.87, 0, 0.13, 1);
}

.btn-53:hover .original {
transform: translateY(100%);
}

.btn-53 .letters {
display: inline-flex;
}

.btn-53 span {
opacity: 0;
transform: translateY(-15px);
transition: transform 0.2s cubic-bezier(0.87, 0, 0.13, 1), opacity 0.2s;
}

.btn-53 span:nth-child(2n) {
transform: translateY(15px);
}

.btn-53:hover span {
opacity: 1;
transform: translateY(0);
}

.btn-53:hover span:nth-child(2) {
transition-delay: 0.1s;
}

.btn-53:hover span:nth-child(3) {
transition-delay: 0.2s;
}

.btn-53:hover span:nth-child(4) {
transition-delay: 0.3s;
}

.btn-53:hover span:nth-child(5) {
transition-delay: 0.4s;
}

.btn-53:hover span:nth-child(6) {
transition-delay: 0.5s;
}
.btn-53:hover span:nth-child(7) {
transition-delay: 0.6s;
}
.btn-53:hover span:nth-child(8) {
transition-delay: 0.7s;
}
</style>

<body>
Expand Down Expand Up @@ -73,18 +187,20 @@ <h2><strong>✔Registration Successful!</strong></h2>


<!-- content -->
<div class="content">
<div class="content ">
<div class="form">

<div class="w-10/12 sm:w-9/12 md:w-9/12 lg:w-7/12 mx-auto">
<form class="sm:w-2/3 w-full px-4 lg:px-0 mx-auto" onsubmit="return validateForm(event)" id="reg" name="regi-form">
<a href="/"><img src="/public/img/iwoc_logo.png" class="w-2/3 ml-auto mr-auto" /></a>


<br />
<div class="formbox">
<div class="formbox relative">
<img src="../public/img/cap.png" width="100px" class="absolute top-[-50px] left-[-50px] z-[99]" alt="">
<div class="p-10 rounded-lg formBackground">
<h1 class="text-gray-700 text-center lg:text-2xl md:text-xl sm:text-lg">
<span id="form-head"> <strong>Registration Form</strong></span>
<span id="form-head"> <strong class="z-[100]">Registration Form</strong></span>
</h1>
<div class="pb-1 pt-4 mt-2">
<div class="relative z-0">
Expand Down Expand Up @@ -144,8 +260,22 @@ <h1 class="text-gray-700 text-center lg:text-2xl md:text-xl sm:text-lg">
</div>
</div>
<div class="px-4 pb-2 pt-4">
<button style="color: rgb(135, 178, 206);" class="submit uppercase block w-full p-4 text-sm rounded-md focus:outline-none h-16">
<!-- <button style="color: rgb(135, 178, 206);" class="submit uppercase block w-full p-4 text-sm rounded-md focus:outline-none h-16">
Register
</button> -->
<button class="btn-53 submit uppercase block w-full p-4 text-sm rounded-md focus:outline-none h-16">
<div class="original">Register</div>
<div class="letters">

<span>R</span>
<span>E</span>
<span>G</span>
<span>I</span>
<span>S</span>
<span>T</span>
<span>E</span>
<span>R</span>
</div>
</button>
</div>
</div>
Expand Down
Loading