Comments (5)
Trying this out with card_mod
gives an even simpler and cleaner result. Looking forward to this.
from home-assistant-sun-card.
Hide all text and add a clock. Then my panels looks to same as my iwatch
from home-assistant-sun-card.
How was this acheived with card_mod? I can't seem to get it to apply.
from home-assistant-sun-card.
Try this:
type: custom:sun-card
language: de
card_mod:
style: |
div.sun-card {
padding: 1.3em 0;
}
div.sun-card-header {
padding: 0 2em;
}
.sun-card-text-subtitle {
font-size: inherit !important;
font-weight: 300 !important;
}
.sun-card-text-time {
font-weight: bold !important;
}
div.sun-card-text-container {
align-items: inherit;
}
div.sun-card-text-container:nth-child(1) {
text-align: left;
}
div.sun-card-text-container:nth-child(2) {
text-align: right;
}
div.sun-card-footer {
display: none;
}
from home-assistant-sun-card.
Thanks for the reply kongo, I did also reach out in the discord for Home Assistant and there was someone whom assisted me there to come to this result:
card_mod:
style: |
.sun-card-header span {
font-size: var(--mdc-typography-body1-font-size) !important;
padding-bottom: 0px !important;
}
.sun-card-text-subtitle {
color: var(--secondary-text-color) !important;
}
.sun-card-footer span {
font-size: var(--mdc-typography-body1-font-size) !important;
}
.sun-card-footer-row {
padding-top: 0px !important
}
Again, thanks for taking the time!
from home-assistant-sun-card.
Related Issues (20)
- CZ language
- Graphics not in sync
- Change Styling / Font-Size HOT 2
- UA language
- 12h time makes next Dawn the same as sunset time and darkmode won't apply HOT 1
- Error translation IT
- Dutch Translation proporsal from google
- Setup with Synology Docker Container
- Feature Request: Change font sizes HOT 1
- Feature Request: Support for Moon visualization HOT 3
- Javascript version
- Enhancement: Rename Solar Noon HOT 2
- add Ukraine language
- Enhancement: add clock
- TypeError: SVGGeometryElement.getPointAtLength: Argument 1 is not a finite floating-point value.
- Manual installation HOT 1
- Greek Language Support
- Incorrect Translation
- Own translation
- Dead repository? Any living fork? How to build it?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-sun-card.