Skip to content

Commit

Permalink
Styling stats buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ethinot committed Apr 25, 2023
1 parent a1058bf commit 4a9535e
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
1 change: 0 additions & 1 deletion client/src/components/Menu/InputField.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
border: none;
border-radius: 5px;
padding: 3%;
font-family: "Electrolize", sans-serif;
color: rgb(43, 43, 43);
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
Expand Down
57 changes: 56 additions & 1 deletion client/src/components/Menu/Stats/Statistics.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
color: whitesmoke;
font-family: "Electrolize", sans-serif;
flex-direction: column;
align-items: center;
border-radius: 5px;
box-shadow: rgba(232, 71, 106, 0.4) 0px 2px 4px,
rgba(232, 71, 106, 0.3) 0px 7px 13px -3px,
Expand All @@ -25,9 +26,63 @@

.panels {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-bottom: 2%;
width: 40%;
justify-content: space-around;
}

.today-stats-btn {
cursor: pointer;
outline: none;
border: none;
border-radius: 5px;
padding: 30%;
color: rgb(43, 43, 43);
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
transition: 0.2s;
-webkit-transition: 0.2s;
-moz-transition: 0.2s;
-ms-transition: 0.2s;
-o-transition: 0.2s;
}

.today-stats-btn:hover {
scale: 1.05;
background-color: #efefef;
transition: 0.2s;
-webkit-transition: 0.2s;
-moz-transition: 0.2s;
-ms-transition: 0.2s;
-o-transition: 0.2s;
}

.month-stats-btn {
cursor: pointer;
outline: none;
border: none;
border-radius: 5px;
padding: 4%;
color: rgb(43, 43, 43);
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
transition: 0.2s;
-webkit-transition: 0.2s;
-moz-transition: 0.2s;
-ms-transition: 0.2s;
-o-transition: 0.2s;
}

.month-stats-btn:hover {
scale: 1.05;
background-color: #efefef;
transition: 0.2s;
-webkit-transition: 0.2s;
-moz-transition: 0.2s;
-ms-transition: 0.2s;
-o-transition: 0.2s;
}

@media screen and (max-width: 820px) {
Expand Down

0 comments on commit 4a9535e

Please sign in to comment.