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

Home page css #269

Merged
merged 1 commit into from
Dec 19, 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
172 changes: 170 additions & 2 deletions client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/* display: "inline-block";
margin: "0 2px";
transform: "scale(0.8)";

font: 26px; */

color: black;
Expand All @@ -23,7 +24,6 @@
vertical-align: middle !important;
}


.About-linkCard {
min-height: 300px;
min-width: 275px;
Expand All @@ -42,6 +42,7 @@
text-align: center !important;
}


/* about pages */
.member-image {
width: 150px;
Expand Down Expand Up @@ -110,6 +111,39 @@
background-color: inherit; /* Change to the desired background color on hover */
}

/*----------------------------------------------------------------------------------------------*/
/* Account page- Servers.js CSS Components */

.Account-Servers-bullet {
display: inline-block;
margin: 0 2px;
transform: scale(0.8);
}

.Account-Servers-server-card {
min-width: 275px;
min-height: 250px;
max-width: 500px;
text-align: left;
margin-bottom: 12px;
margin-top: 12px;
margin-left: 12px;
}

.Account-Servers-heightened {
min-height: 250px;
}

.Account-Servers-title {
font-size: 37px;
}

.Account-Servers-pos {
margin-bottom: 12px;
}




/* Outlet styles */
.outlet-root {
Expand Down Expand Up @@ -171,10 +205,11 @@
}

.object-contents {
flex: 1;
flex:auto;
display: flex;
flex-direction: column;
overflow: auto;
width: fit-content;
}

.button-confirm {
Expand All @@ -194,4 +229,137 @@

.object-domain {
margin-bottom: 35px;
}

/* Homepage Styles */
.home-root {
background-color: rgb(250, 249, 246);
min-height: 100%;
margin-top: auto;
/* padding-bottom: 3;
padding-top: 3; */
margin-left: auto;
min-width: 275;
}

.home-bullet {
display: inline-block;
margin: 0 2px;
transform: scale(0.8);
}

.home-centered {
min-Width: 275;
text-align: center;
margin-Top: 0;
}

.home-heightened {
min-height: 250px;
}

.home-intro-title {
font-size: 28px !important;
font-weight: bold !important;
}

.home-position {
margin-bottom: 12;
}

.home-margintop{
margin-top: 50px;
}

.home-colorBackground {
background-color: rgb(186, 209, 234);
}

.home-linkcard {
min-height: 470px;
min-width: 275;
text-align: center;
margin-top: 5;
}

.home-supportcard {
text-align: center;
margin-bottom: 10;
min-height: 460px;
min-width: 275;
}

.home-subtitle {
font-size: 24px !important;
}

/* prefix Styles */
.resources-root {
background-color: rgb(250, 249, 246);
margin-top: auto;
/* padding-bottom: 3;
padding-top: 3; */
margin-left: auto;
min-width: 275;
}

.resources-supportcard {
text-align: center;
margin-bottom: 8;
}

.resources-title {
font-size: 28px !important;
font-weight: bold !important;
}

.resources-linkcard {
min-height: auto;
text-align: center;
}

.resources-subtitle {
font-size: 25px !important;
font-weight:600 !important;
}

.resources-bullet {
display: inline-block;
margin: 0 2px;
transform: scale(0.8);
}

/* builder Styles */
.add-button {
/* border-radius: 60% !important;
width:20px !important;
height: 60px !important; */
display: flex !important;
justify-content: center !important;
align-items: center !important;
color: rgb(37, 92, 181) !important;
}

.delete-button {
color: var(--main-red-color) !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
}

.bold-title {
font-weight: bold;
}

.required-field {
/* color: rgb(227, 55, 55) !important; */
color: var(--main-red-color) !important;
}


/* text field */
.large_textfield {
border-style: inherit;
width: max-content;
grid-auto-rows: auto;
}
31 changes: 5 additions & 26 deletions client/src/components/home/BcoDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,27 @@ import {
Card,
CardActionArea,
CardContent,
makeStyles,
Typography
} from "@material-ui/core";
import { Link } from "react-router-dom"
import logo from "../../images/logo.png";

const useStyles = makeStyles({
bullet: {
display: "inline-block",
margin: "0 2px",
transform: "scale(0.8)",
},
linkCard: {
minHeight: "300px",
minWidth: 275,
textAlign: "center"
},
title: {
fontSize: "33px",
},
pos: {
marginBottom: 12,
},
});

export default function BcoDb() {
const classes = useStyles();

return (
<Card className={classes.linkCard} elevation={1}>
<CardActionArea className={classes.linkCard} component={Link} to='/bcodbs'>
<Card className="home-linkcard" elevation={1}>
<CardActionArea className="home-linkcard" component={Link} to='/bcodbs'>
<CardContent>
<Typography className={classes.title}>
<Typography className="home-intro-title">
BioCompute DB Search
<br />
<img src={logo} height={100} alt="BCO logo" />
<br />
</Typography>
<Typography className={classes.bullet}>
<Typography className="home-bullet">
Search the BioCompute DB and view objects in the database.
<br />
The BCODB page allwos searching and viewing BioCompute Objects from
The BCODB page allows searching and viewing BioCompute Objects from
any DB instance that a user has signed up for. The Public DB is accessable
without an account or providing credentials.
</Typography>
Expand Down
29 changes: 3 additions & 26 deletions client/src/components/home/BioComputeResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,18 @@ import {
Card,
CardActionArea,
CardContent,
makeStyles,
Typography
} from "@material-ui/core";
import { Link } from "react-router-dom";
import cloudlogo from "../../images/cloud.png"

const useStyles = makeStyles({
bullet: {
display: "inline-block",
margin: "0 2px",
transform: "scale(0.8)",
},
centered: {
minWidth: 275,
textAlign: "center"
},
heightened: {
minHeight: "250px"
},
title: {
fontSize: "33px",
},
pos: {
marginBottom: 12,
},
});

export default function BioComputeResources() {
const classes = useStyles();

return (
<Card className={classes.centered} elevation={1}>
<Card className="home-centered" elevation={1}>
<CardActionArea component={Link} to='/resources'>
<CardContent className={classes.linkCard} >
<Typography className={classes.title}>
<CardContent className="home-linkcard" >
<Typography className="home-intro-title">
Cloud-based tools for BioCompute
<br />
<img src={cloudlogo} height={100} alt="cloud logo" />
Expand Down
29 changes: 4 additions & 25 deletions client/src/components/home/Builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,24 @@ import {
Card,
CardActionArea,
CardContent,
makeStyles,
Typography
} from "@material-ui/core";
import { Link } from "react-router-dom"
import logo from "../../images/logo.png";

const useStyles = makeStyles({
bullet: {
display: "inline-block",
margin: "0 2px",
transform: "scale(0.8)",
},
linkCard: {
minHeight: "300px",
minWidth: 275,
textAlign: "center"
},
title: {
fontSize: "33px",
},
pos: {
marginBottom: 12,
},
});

export default function Builder() {
const classes = useStyles();

return (
<Card className={classes.linkCard} elevation={1}>
<CardActionArea className={classes.linkCard} component={Link} to='/builder'>
<Card className="home-linkcard" elevation={1}>
<CardActionArea className="home-linkcard" component={Link} to='/builder'>
<CardContent>
<Typography className={classes.title}>
<Typography className="home-intro-title">
BioCompute Builder
<br />
<img src={logo} height={100} alt="BCO logo" />
<br />
</Typography>
<Typography className={classes.bullet}>
<Typography className="home-bullet">
Use the BioCompute Builder or view objects in the database.
<br />
The BioCompute Builder is a platform-free, form-based editor. The
Expand Down
Loading