Files
hpos-web/src/App.css

253 lines
4.1 KiB
CSS
Raw Normal View History

2023-07-05 07:12:43 +05:30
body {
2023-07-07 05:17:03 +05:30
background-color: rgb(247, 245, 249);
2023-07-07 04:51:55 +05:30
color: aliceblue;
2023-07-05 07:12:43 +05:30
}
2023-07-07 04:51:55 +05:30
.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;
}
2023-07-05 07:12:43 +05:30
::-webkit-scrollbar {
display: none;
}
.title {
font-weight: 900;
}
2023-07-07 05:17:03 +05:30
@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: 50px;
display: flex;
flex-direction: column;
}
2023-07-07 04:51:55 +05:30
}
2023-07-07 05:17:03 +05:30
@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: 4em;
font-family: sans-serif;
}
.cards-container {
align-items: center;
display: flex;
flex-direction: column;
}
.cards-row {
2023-07-07 08:48:14 +05:30
margin: 30px;
2023-07-07 05:17:03 +05:30
display: flex;
flex-direction: column;
}
2023-07-07 04:51:55 +05:30
}
2023-07-07 05:17:03 +05:30
@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: 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: 50px;
display: flex;
flex-direction: row;
}
2023-07-07 04:51:55 +05:30
}
2023-07-07 05:17:03 +05:30
@media screen and (min-width: 1200px) {
2023-07-07 08:48:14 +05:30
.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: 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: 40px;
display: flex;
flex-direction: row;
}
}
@media screen and (min-width: 2560px) {
2023-07-07 05:17:03 +05:30
.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 {
2023-07-07 08:48:14 +05:30
margin: 40px;
2023-07-07 05:17:03 +05:30
display: flex;
flex-direction: row;
}
2023-07-05 07:12:43 +05:30
}
2023-07-07 04:51:55 +05:30
div.chart {
font-family: sans-serif;
font-size: 0.7em;
2023-07-05 07:12:43 +05:30
}
2023-07-07 04:51:55 +05:30
2023-07-05 07:12:43 +05:30
div.bar {
2023-07-07 04:51:55 +05:30
background-color: DarkRed;
color: white;
height: 3em;
line-height: 3em;
padding-right: 1em;
margin-bottom: 2px;
text-align: right;
2023-07-07 05:17:03 +05:30
}