Skip to content

Experimental #2

Merged
merged 2 commits into from
Oct 9, 2023
Merged
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
2 changes: 2 additions & 0 deletions class_registration_app/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@ nav a:first-of-type {
padding: 1rem 0;
margin-top: 1rem;
}
}
</style>
70 changes: 66 additions & 4 deletions class_registration_app/src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@
}

a,
.green {
text-decoration: none;
color: hsla(160, 100%, 37%, 1);
.navy {
text-decoration: underline;
font-weight: 700;
text-shadow: 1px 1px 2px navy;
color: white;
transition: 0.4s;
}

@media (hover: hover) {
a:hover {
background-color: hsla(160, 100%, 37%, 0.2);
background-color: hsla(226, 93%, 53%, 0.299);
cursor:pointer;
}
}

Expand All @@ -33,3 +36,62 @@ a,
padding: 0 2rem;
}
}

.btn-97,
.btn-97 *,
.btn-97 :after,
.btn-97 :before,
.btn-97:after,
.btn-97:before {
border: 0 solid;
box-sizing: border-box;
}
.btn-97 {
-webkit-tap-highlight-color: transparent;
-webkit-appearance: button;
background-color: #000;
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-97:disabled {
cursor: default;
}
.btn-97:-moz-focusring {
outline: auto;
}
.btn-97 svg {
display: block;
vertical-align: middle;
}
.btn-97 [hidden] {
display: none;
}
.btn-97 {
background: navy;
border: 1px solid;
border-radius: 999px;
box-sizing: border-box;
color: white;
display: block;
font-weight: 900;
-webkit-mask-image: none;
overflow: hidden;
padding: 1.2rem 3rem;
position: relative;
text-transform: uppercase;
transition: 0.2s;
}
.btn-97:hover {
box-shadow: 0 6px 0 -4px #fff, 0 9px 0 -4px #aaa, 0 12px 0 -4px #000;
transform: translateY(-5px);
}

18 changes: 14 additions & 4 deletions class_registration_app/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
</div>

<div class="login">
<button>Login with your NetID here</button>
<button class="btn-97" style="position: absolute;top:42%;left:50%;transform:translate(-50%,-50%)">Login with your NetID here</button>
<a style="position: absolute;top:80%;left:50%;transform:translate(-50%,-50%)">Forget your login?</a>
</div>
</div>
</template>
Expand All @@ -42,16 +43,25 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 30vw;
width: 40vw;
height: 30vh;
background-color: white;
background-image: url("https://today.uconn.edu/wp-content/uploads/2023/06/062023-JonathanXVFirstShoots-5-scaled.jpg");
background-size: contain;
border: 1px solid black;
border-radius: 9999px;
}
.backdrop {
position: fixed;
left: 0%;
top: 0%;
height: 100vh;
width: 100vw;
background-image: url("https://today.uconn.edu/wp-content/uploads/2020/03/Aerial131009a125.jpg");
background-size: contain;
background-size:cover;
background-repeat: no-repeat;
}
.logos {
Expand Down