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

Homepage loading & footer CSS #34

Merged
merged 2 commits into from
Dec 20, 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
89 changes: 50 additions & 39 deletions front-end/app/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
@tailwind components;
@tailwind utilities;

@import '@trussworks/react-uswds/lib/uswds.css';
@import '@trussworks/react-uswds/lib/index.css';
@import "@trussworks/react-uswds/lib/uswds.css";
@import "@trussworks/react-uswds/lib/index.css";

.usa-button {
background-color: #005ea2;
background-color: #005ea2;
}

.usa-modal__close {
background-color: rgba(0,0,0,0);
background-color: rgba(0, 0, 0, 0);
}

.usa-button--unstyled {
background-color: rgba(0,0,0,0);
background-color: rgba(0, 0, 0, 0);
}

.usa-file-input {
max-width: 40rem;
}

.usa-alert .usa-alert__body {
margin-left: 0.5rem ;
padding-left: 0.5rem ;
margin-left: 0.5rem;
padding-left: 0.5rem;
}

@media (min-width: 64em) {
.usa-alert--info .usa-alert__body {
padding-right: 3.5rem;
padding-right: 3.5rem;
}
}

Expand All @@ -45,42 +45,46 @@
padding-left: 1.2rem !important;
}


.footer-primary {
div{
background: #162E51;
div {
background: #162e51;
color: white !important;
min-height: 84px;
a {
color: white !important;
}
}
.usa_footer-trademark {
font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif!important;
font-family:
Source Sans Pro Web,
Helvetica Neue,
Helvetica,
Roboto,
Arial,
sans-serif !important;
font-size: 14px;
font-weight: 300;
line-height: 23px;
letter-spacing: 0em;
text-align: right;
}

}

// @media all and (min-height: 35rem){
// .usa-footer{
// position: absolute;
// bottom: 0;
// width: 100%;
// }
// }

@media all and (min-height: 35rem) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can blame my linter for all the other file changes here...this uncommenting is the only real change in this file!

.usa-footer {
position: absolute;
bottom: 0;
width: 100%;
}
}

.hover\:text-base-lightest:hover, .text-base-lightest {
.hover\:text-base-lightest:hover,
.text-base-lightest {
color: #f0f0f0 !important;
}

.usa-nav-container {
max-width: 100% !important;
max-width: 100% !important;
}

@media all and (min-width: 64em) and (min-width: 64em) {
Expand All @@ -90,39 +94,44 @@
}
}

.main-body{
.main-body {
min-height: 74vh;
margin-top: 1rem;
margin-bottom: 1rem;
//styleName: H1;
h1{
font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
h1 {
font-family:
Source Sans Pro Web,
Helvetica Neue,
Helvetica,
Roboto,
Arial,
sans-serif !important;
font-size: 40px;
font-weight: 700;
line-height: 50px;
letter-spacing: 0em;
text-align: left;
}
.width-lg{

.width-lg {
width: 100%;
max-width: 100%;
}
.usa-button--outline{
.usa-button--outline {
background-color: white !important;
&:hover {
background-color: #005ea2 !important;
color: white;
}
}

}

.no-content::before{
.no-content::before {
content: "" !important;
}

.parse-icon::before{
.parse-icon::before {
background-image: url("/parsing.svg");
background-position: 50% 50%;
}
Expand All @@ -147,28 +156,30 @@
background-position: 50% 50%;
}

.usa-step-indicator__segment--complete::before{
background-color: #162E51 !important;
.usa-step-indicator__segment--complete::before {
background-color: #162e51 !important;
}

.usa-step-indicator-in-progress::before{
.usa-step-indicator-in-progress::before {
background-color: #005ea2 !important;
box-shadow: inset 0 0 0 0.25rem #005ea2, 0 0 0 0.25rem #fff !important;
box-shadow:
inset 0 0 0 0.25rem #005ea2,
0 0 0 0.25rem #fff !important;
}

.right-justified-text {
text-align: right;
}

@media (min-width: 64em){
@media (min-width: 64em) {
.usa-logo {
margin-top: 2rem !important;
margin-bottom: 2rem !important;
}
}

.max-611{
.max-611 {
max-width: 611px;
margin-left: auto;
margin-right: auto;
}
}
4 changes: 2 additions & 2 deletions front-end/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import UploadTutorial from "./upload_tutorial/page";

export default function Home() {
return <h1>Front page</h1>
return <UploadTutorial></UploadTutorial>;
}
Loading