Skip to content

Commit

Permalink
remove deprecated stylesheet convention (see thomasloven/lovelace-car…
Browse files Browse the repository at this point in the history
…d-mod#332 for more details)
  • Loading branch information
tmack8001 committed Feb 7, 2024
1 parent ecf3625 commit 04a6cc2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 32 deletions.
33 changes: 17 additions & 16 deletions src/custom-elements/rivian-r1s-state-card-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,19 +390,20 @@ elements:
max: 100
width: 70px
height: 8px
style: |
.card-content {
padding:0 !important;
background-color: transparent
border: 0px solid transparent;
border-color: transparent;
}
bar-card-card {
border-radius: 4px;
height:8px;
overflow: hidden;
}
:host {
top: 89%;
left: 25%;
}
card_mod:
style: |
.card-content {
padding:0 !important;
background-color: transparent
border: 0px solid transparent;
border-color: transparent;
}
bar-card-card {
border-radius: 4px;
height:8px;
overflow: hidden;
}
:host {
top: 89%;
left: 25%;
}
33 changes: 17 additions & 16 deletions src/custom-elements/rivian-r1t-state-card-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -465,22 +465,23 @@ elements:
max: 100
width: 70px
height: 20px
style: |
:host {
top: 81%;
left: 25%;
}
.card-content {
padding: 0 !important;
}
bar-card-card {
border-radius: 10px;
height: 14px;
overflow: hidden;
}
bar-card-value {
margin: auto
}
card_mod:
style: |
:host {
top: 81%;
left: 25%;
}
.card-content {
padding: 0 !important;
}
bar-card-card {
border-radius: 10px;
height: 14px;
overflow: hidden;
}
bar-card-value {
margin: auto
}
- type: conditional
conditions:
- entity: binary_sensor.<vehicle_name__or__r1t>_wiper_fluid_level
Expand Down

0 comments on commit 04a6cc2

Please sign in to comment.