Skip to content

Commit

Permalink
update styles.css and vehicle-info-card.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Jun 17, 2024
1 parent bced13c commit 71fc106
Show file tree
Hide file tree
Showing 2 changed files with 153 additions and 185 deletions.
27 changes: 17 additions & 10 deletions src/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
'Helvetica Neue';
}
*:focus {
outline: none;
Expand Down Expand Up @@ -384,6 +383,20 @@ header h1 {
color: var(--warning-color, --error-color) !important;
}

.subcard-icon {
transition: transform 0.3s;
transform: rotate(0deg);
display: inline-block;
}

.subcard-icon.active {
transform: rotate(90deg);
}

.subcard-icon.hidden {
visibility: hidden;
}

.sub-attributes {
overflow: hidden;
padding-top: 0 !important;
Expand All @@ -398,7 +411,7 @@ header h1 {
.sub-attributes.active {
max-height: 1000px;
opacity: 1;
padding: inherit !important;
padding: inherit;
}

.error {
Expand Down Expand Up @@ -430,16 +443,10 @@ dialog::backdrop {

@keyframes tap-feedback {
0% {
transform: translateX(-100%);
opacity: 0;
}
64% {
transform: translateX(0);
opacity: 0.1;
transform: translateX(-50%);
}
100% {
transform: translateX(100%);
opacity: 0;
}
}

Expand Down
Loading

0 comments on commit 71fc106

Please sign in to comment.