Files
hpos-web/src/App.css
2023-07-22 15:14:14 +05:30

422 lines
6.5 KiB
CSS

body {
background-color: rgb(247, 245, 249);
}
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
/* ::-webkit-scrollbar {
display: none;
} */
.dashboard-title::-webkit-scrollbar {
display: none;
}
.title {
font-weight: 900;
}
.dashboard-title {
width: 100%;
font-family: Arial Black;
text-align: center;
align-self: center;
justify-content: center;
align-items: center;
display: inline-flex;
flex-direction: row;
font-size: xx-large;
background-color: rgb(215, 192, 252);
}
.last-update {
width: 100%;
font-size: small;
text-align: center;
font-weight: 200;
}
.developer {
font-size: medium;
font-weight: 600;
}
.dev-logo {
width: 1em;
}
.nscm-logo {
width: 1em;
}
.gov-logo {
width: 1em;
}
.gov-logo-1 {
width: 1.79em;
}
.gov-logo-3 {
width: 1.79em;
}
.title-text {
margin: 0 1em 0 1em;
font-size: medium;
}
.numeric-card {
height: 30vh;
width: 28vw;
padding: 20px;
box-shadow: 5px 10px 8px 10px #888888;
border-radius: 15px;
margin: 20px;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
@media screen and (min-width: 320px) {
.numeric-card {
height: 200px;
width: 300px;
padding: 20px;
box-shadow: 5px 10px 8px 10px #888888;
border-radius: 15px;
margin: 20px;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.card-title {
color: black;
font-size: 1em;
font-weight: 600;
font-family: sans-serif;
}
.card-data {
color: black;
font-size: 4em;
font-family: sans-serif;
}
.cards-container {
align-items: center;
display: flex;
flex-direction: column;
}
.cards-row {
margin: 5px;
display: flex;
flex-direction: column;
}
.dashboard-title {
text-align: center;
align-self: center;
font-size: xx-large;
background-color: rgb(215, 192, 252);
}
.nscm-logo {
width: 2em;
}
.gov-logo {
width: 2em;
}
.title-text {
margin: 0 1em 0 1em;
font-size: small;
}
}
@media screen and (min-width: 500px) {
.numeric-card {
height: 200px;
width: 300px;
padding: 20px;
box-shadow: 5px 10px 8px 10px #888888;
border-radius: 15px;
margin: 20px;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.card-title {
color: black;
font-size: 1em;
font-weight: 600;
font-family: sans-serif;
}
.card-data {
color: black;
font-size: 8em;
font-family: sans-serif;
}
.cards-container {
align-items: center;
display: flex;
flex-direction: column;
}
.cards-row {
margin: 30px;
display: flex;
flex-direction: column;
}
.dashboard-title {
text-align: center;
align-self: center;
font-size: xx-large;
background-color: rgb(215, 192, 252);
}
}
@media (min-width: 900px) {
.numeric-card {
height: 150px;
width: 200px;
padding: 20px;
box-shadow: 5px 10px 8px 10px #888888;
border-radius: 15px;
margin: 20px;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.card-title {
color: black;
font-size: 2em;
font-weight: 600;
font-family: sans-serif;
}
.card-data {
color: black;
font-size: 4em;
font-family: sans-serif;
}
.cards-container {
align-items: center;
display: flex;
flex-direction: column;
}
.cards-row {
margin: 5px;
display: flex;
flex-direction: row;
}
.dashboard-title {
text-align: center;
align-self: center;
font-size: xx-large;
background-color: rgb(215, 192, 252);
}
.title-text {
font-size: x-large;
}
}
@media screen and (min-width: 1200px) {
.numeric-card {
height: 200px;
width: 320px;
padding: 20px;
box-shadow: 5px 10px 8px 10px #888888;
border-radius: 15px;
margin: 20px;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.card-title {
color: black;
font-size: 2em;
font-weight: 600;
font-family: sans-serif;
}
.card-data {
color: black;
font-size: 6em;
font-family: sans-serif;
}
.cards-container {
height: 80vh;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
}
.cards-row {
margin: 5px;
display: flex;
flex-direction: row;
}
.dashboard-title {
height: 10vh;
text-align: center;
align-self: center;
font-size: xx-large;
background-color: rgb(215, 192, 252);
}
.title-text {
font-size: xx-large;
}
.nscm-logo {
width: 2em;
}
.gov-logo {
width: 2.5em;
}
.gov-logo-3 {
width: 2.5em;
margin-top: 5px;
}
}
@media screen and (min-width: 2560px) {
.numeric-card {
height: 30vh;
width: 28vw;
padding: 20px;
box-shadow: 5px 10px 8px 10px #888888;
border-radius: 15px;
margin: 20px;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.card-title {
color: black;
font-size: 6em;
font-weight: 600;
font-family: sans-serif;
}
.card-data {
color: black;
font-size: 18em;
font-family: sans-serif;
}
.cards-container {
height: 80vh;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
}
.cards-row {
margin: 20px;
display: flex;
flex-direction: row;
}
.dashboard-title {
text-align: center;
align-self: center;
background-color: rgb(215, 192, 252);
}
.title-text {
font-size: 2vw;
}
.nscm-logo {
width: 5em;
}
.gov-logo-1 {
width: 4em;
}
.gov-logo {
width: 5em;
}
.gov-logo-3 {
width: 5em;
}
}
div.chart {
font-family: sans-serif;
font-size: 0.7em;
}
div.bar {
background-color: DarkRed;
color: white;
height: 3em;
line-height: 3em;
padding-right: 1em;
margin-bottom: 2px;
text-align: right;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: rgb(207, 235, 250);
color: black;
text-align: center;
}