AIPages - Changed AIPages classes to AIPage from Bai

This is more universal name compared to the previous css class
This commit is contained in:
Camerin Figueroa 2022-07-17 19:55:29 -04:00
parent 61a993e0b4
commit 542e8d2319
3 changed files with 16 additions and 16 deletions

View File

@ -89,7 +89,7 @@ class Bai extends React.Component {
); );
return ( return (
<div className="Bai"> <div className="AIPage">
{content} {content}
<div className="about"> <div className="about">
<h1>About</h1> <h1>About</h1>

View File

@ -85,7 +85,7 @@ class Bai extends React.Component {
); );
return ( return (
<div className="Bai"> <div className="AIPage">
{content} {content}
<div className="about"> <div className="about">
<h1>About</h1> <h1>About</h1>

View File

@ -1,4 +1,4 @@
.Bai { .AIPage {
color: white; color: white;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -6,34 +6,34 @@
padding: 2rem; padding: 2rem;
} }
.Bai * { .AIPage * {
margin-top: 5px; margin-top: 5px;
} }
.Bai .about { .AIPage .about {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.Bai h1 { .AIPage h1 {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.Bai p { .AIPage p {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
text-align: center; text-align: center;
} }
.Bai img { .AIPage img {
width:0; width:0;
height:0; height:0;
overflow: hidden; overflow: hidden;
transition: height 1s; transition: height 1s;
} }
.Bai img.show { .AIPage img.show {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
height: 50vh; height: 50vh;
@ -43,7 +43,7 @@
transition: height 2s; transition: height 2s;
} }
.Bai button { .AIPage button {
font-size: 24px; font-size: 24px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@ -54,32 +54,32 @@
padding: 15px; padding: 15px;
} }
.Bai input { .AIPage input {
width:0; width:0;
height:0; height:0;
} }
.Bai .prediction { .AIPage .prediction {
background-color: #373747; background-color: #373747;
border-radius: 10px; border-radius: 10px;
padding: 8px; padding: 8px;
font-size: 16px; font-size: 16px;
} }
.Bai .content { .AIPage .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.Bai .hide { .AIPage .hide {
display: none; display: none;
} }
.Bai .error { .AIPage .error {
display:none; display:none;
} }
.Bai .error.enable{ .AIPage .error.enable{
justify-content: center; justify-content: center;
display:flex; display:flex;
color: white; color: white;