Skip to content

Commit

Permalink
formatted CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sammdu committed Dec 13, 2021
1 parent 32e5104 commit e0f24be
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
3 changes: 2 additions & 1 deletion css/details.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ main > div aside {
}
}

.offer-selected, .offer-selected > * {
.offer-selected,
.offer-selected > * {
background-color: #1d2345 !important;
color: #ffffff;
}
Expand Down
14 changes: 7 additions & 7 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ section.sec-inputs button {
width: 100%;
}

section.sec-inputs button[name="login"] {
section.sec-inputs button[name='login'] {
border-radius: 0.5rem;
/* width: 100%; */
min-width: 15.5rem;
Expand All @@ -97,10 +97,10 @@ section.sec-inputs button[name="login"] {
font-weight: 500;
transition: all 250ms ease;
}
section.sec-inputs button[name="login"]:hover {
section.sec-inputs button[name='login']:hover {
transform: translateY(-0.2rem);
}
section.sec-inputs button[name="login"]:active {
section.sec-inputs button[name='login']:active {
transform: none;
}

Expand All @@ -114,7 +114,7 @@ section.sec-inputs article form input {
width: 100%;
}

section.sec-inputs button[name="updateFinancials"] {
section.sec-inputs button[name='updateFinancials'] {
margin: 1rem 0 0 0;
padding: 1rem;
transition: all 250ms ease;
Expand Down Expand Up @@ -312,19 +312,19 @@ div.cars-container {
width: 5rem;
border-radius: 0 0 1.1rem 0;
}
.car-offer button.claim-btn span.claim-heart:hover{
.car-offer button.claim-btn span.claim-heart:hover {
width: 7rem;
}

/* either makes the background image a filled heart or empty heart */
.bg-heart-filled {
background-image: url("../assets/icons/heart-filled-min.svg");
background-image: url('../assets/icons/heart-filled-min.svg');
background-repeat: no-repeat;
background-position: center;
background-size: 2rem;
}
.bg-heart-empty {
background-image: url("../assets/icons/heart-unfilled-min.svg");
background-image: url('../assets/icons/heart-unfilled-min.svg');
background-repeat: no-repeat;
background-position: center;
background-size: 2rem;
Expand Down
25 changes: 12 additions & 13 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
/* import the Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

html, body {
html,
body {
background-color: #f6fbfd;
color: #1d2345;
font-family: "Poppins", "Poppins Latin", "Now",
"Roboto", "Helvetica", "Arial", sans-serif;
font-family: 'Poppins', 'Poppins Latin', 'Now', 'Roboto', 'Helvetica',
'Arial', sans-serif;
font-size: 14px;
}

Expand Down Expand Up @@ -120,18 +121,19 @@ button:hover {
border-radius: 0 0 1.1rem 1.1rem;
}

input, select {
input,
select {
font-family: inherit;
font-size: 1em;
}

/* remove increment arrows from number fields */
input[type="number"] {
input[type='number'] {
-moz-appearance: textfield;
appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
Expand Down Expand Up @@ -221,8 +223,7 @@ footer div.footer-spacer {

.card {
background-color: #ffffff;
box-shadow:
0 0.08rem 0.06rem -0.62rem rgba(0, 0, 0, 0.065),
box-shadow: 0 0.08rem 0.06rem -0.62rem rgba(0, 0, 0, 0.065),
0 0.28rem 0.21rem -0.62rem rgba(0, 0, 0, 0.095),
0 1.25rem 0.93rem -0.62rem rgba(0, 0, 0, 0.17);
border-radius: 1.2rem;
Expand Down Expand Up @@ -252,14 +253,12 @@ footer div.footer-spacer {
word-break: break-all;
}
.link-light:link,
.link-light:visited
{
.link-light:visited {
text-decoration: underline;
color: inherit;
}
.link-light:hover,
.link-light:active
{
.link-light:active {
text-decoration: none;
}

Expand Down

0 comments on commit e0f24be

Please sign in to comment.